WO2023142655A1 - Screen projection method, display device, and intelligent device - Google Patents

Screen projection method, display device, and intelligent device Download PDF

Info

Publication number
WO2023142655A1
WO2023142655A1 PCT/CN2022/135421 CN2022135421W WO2023142655A1 WO 2023142655 A1 WO2023142655 A1 WO 2023142655A1 CN 2022135421 W CN2022135421 W CN 2022135421W WO 2023142655 A1 WO2023142655 A1 WO 2023142655A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen projection
mode
display device
target device
screen
Prior art date
Application number
PCT/CN2022/135421
Other languages
French (fr)
Chinese (zh)
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
Priority claimed from CN202210100384.9A external-priority patent/CN116567343A/en
Priority claimed from CN202210118550.8A external-priority patent/CN116614659A/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202280085577.XA priority Critical patent/CN118556405A/en
Publication of WO2023142655A1 publication Critical patent/WO2023142655A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network

Definitions

  • the present application relates to the technical field of display devices, and in particular to a screen projection method, a display device and a smart device.
  • users can initiate screen projection to display devices through smart terminals such as mobile phones and tablets, so as to push media resources such as video, audio, and images in small-screen terminals to large-screen display devices for playback, realizing multiple screen interaction and screen sharing.
  • the user needs to initiate screen projection on the smart terminal.
  • the smart terminal scans for other devices that can be projected.
  • the user selects a target device.
  • the smart terminal establishes a screen projection connection with the target device. After the connection is successful, the target device receives and displays the information sent by the smart terminal. media data.
  • this screen projection method may have problems such as inconvenient operation and insufficient intelligence of the screen projection response.
  • the user performs the screencasting operation on the screencasting sender, and then watches the screencasting content on the screencasting receiver. If the distance between the screencasting sender and the screencasting receiver is far, the process will consume the user’s time and limit the screencasting. Functional usage scenarios, and low intelligence.
  • the present disclosure provides a display device, including: a display for displaying an image and/or a user interface; a communicator for communicating with a smart device; a controller connected to the display and the controller and configured to: receive The screen projection command input by the user scans the connectable device, and the connectable device is a screen projection sending terminal that enables the screen projection function; sends a screen projection request to the target device in the connectable device, and the screen projection request is used to indicate the target device and the display device Establish a screen projection connection; receive the media data sent by the target device in response to the screen projection request, and control the display to play the media data.
  • the present disclosure also provides a smart device, including: a display, for displaying an image and/or a user interface; a communicator, for communicating with the display device; and a controller, configured to: receive a screen projection request sent by the display device ; The screen projection request is sent by the display device in response to the screen projection instruction input by the user, after determining that the target device is a smart device from the scanned connectable devices, and the connectable device is a screen projection sending terminal with the screen projection function enabled; Screen request, establish a screen projection connection with the display device; after the screen projection connection is successful, send media data to the display device.
  • a smart device including: a display, for displaying an image and/or a user interface; a communicator, for communicating with the display device; and a controller, configured to: receive a screen projection request sent by the display device ; The screen projection request is sent by the display device in response to the screen projection instruction input by the user, after determining that the target device is a smart device from the scanned connectable devices
  • the present disclosure also provides a screen projection method for a display device, including: the display device receives a screen projection instruction input by the user, scans for a connectable device, and the connectable device is a screen projection sending terminal that enables the screen projection function; The target device among the connectable devices sends a screen projection request, and the screen projection request is used to instruct the target device to establish a screen projection connection with the display device; the display device receives the media data sent by the target device in response to the screen projection request, and plays the media data.
  • the present disclosure also provides a screen projection method for a smart device, including: the smart device receives a screen projection request sent by a display device; If the target device is determined to be a smart device, the connectable device is a screen projection sending terminal with the screen projection function enabled; the smart device responds to the screen projection request and establishes a screen projection connection with the display device; after the screen projection connection is successful, the smart device sends a screen projection to The display device sends media data.
  • FIG. 1 shows a usage scenario of a display device
  • FIG. 2 shows a hardware configuration block diagram of a control device 100
  • FIG. 3 shows a hardware configuration block diagram of a display device 200
  • FIG. 4 shows a software configuration diagram in a display device 200
  • Figure 5 shows a speech recognition network architecture diagram
  • Fig. 6 shows an example diagram of screen projection interaction scenarios
  • FIG. 7 shows a scene diagram 1 in which a user inputs voice on a display device
  • Figure 8 shows the UI display effect of the display device when there is no connectable device in the scene
  • FIG. 9 shows the UI display effect 1 of the display device when there are multiple connectable devices in the scene
  • Fig. 10 shows the UI display effect 2 of the display device when there are multiple connectable devices in the scene
  • Fig. 11 shows a schematic diagram of a target device displaying a screen casting request
  • Fig. 12 shows the UI display effect diagram of the display device after the target device rejects the screen projection request
  • Fig. 13 shows a schematic diagram of synchronous playback between the target device and the display device after the screen projection connection is successful
  • FIG. 14 shows the UI display effect of the display device when the screen projection is exited when the display device is connected to the target device for the first time
  • FIG. 15 shows the second scene where the user inputs voice on the display device
  • Fig. 16 shows the UI display effect diagram of the display device when the device specified by the user in the screen casting instruction cannot be scanned by the display device;
  • FIG. 17 shows a flow chart of the first screen projection method executed by the display device
  • FIG. 18 shows a flow chart of a second screen projection method executed by the display device
  • Fig. 19 shows a flow chart of a screen projection method executed by a smart device
  • Fig. 20 shows a screen projection interaction logic diagram
  • Fig. 21 shows a schematic diagram of a user interface of a display device
  • Fig. 22 shows a flow chart of a screen projection method
  • Fig. 23 shows a schematic diagram of a user interface of another display device
  • Fig. 24 shows a schematic diagram of a user interface of another display device
  • Fig. 25 shows a schematic diagram of a user interface of another display device
  • Fig. 26 shows a schematic diagram of a user interface of another display device
  • Fig. 27 shows a schematic diagram of switching the use mode of a Wifi module
  • Fig. 28 shows a schematic diagram of a user interface of another display device
  • Fig. 29 shows another schematic diagram of switching the use mode of the Wifi module.
  • Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment.
  • the display device 200 also performs data communication with the server 400 , and the smart device 300 or the control device 100 can be used by the user to operate the display device 200 .
  • control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly.
  • Device 200 At least one mode of inputting user commands such as buttons on the remote control, voice input, and control panel input can be selected by the user to control the display device 200 .
  • the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
  • the smart device 300 can also be used to control the display device 200 .
  • the display device 200 is controlled using an application program running on the smart device.
  • the smart device 300 and the display device may also be used for data communication.
  • the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300.
  • the module for obtaining voice commands configured inside the display device 200 can directly receive the user's voice command control
  • the user's voice command control can also be received through the voice control device provided outside the display device 200 .
  • the display device 200 also performs data communication with the server 400 .
  • the display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • the server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
  • the software steps executed by one step execution body can be migrated to another step execution body for data communication with it for execution as needed.
  • the software steps executed by the server can be migrated to be executed by the display device in data communication with it as required, and vice versa.
  • FIG. 2 shows a block diagram of the configuration of the control device 100 according to the exemplary embodiment.
  • the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
  • the user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button or an alternative module.
  • FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to an exemplary embodiment.
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
  • the user interface is used to receive input signals, and the controller 250 is respectively connected to the display 260 and the user interface.
  • the controller includes a CPU, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
  • the display 260 includes a display screen component for presenting images, and a drive component for driving image display, for receiving image signals output from the controller, and displaying video content, image content, and menu manipulation interface. Components and user manipulation of the UI interface, etc.
  • the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
  • the tuner-demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
  • the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
  • the display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220 .
  • the detector 230 is used to collect signals of the external environment or interaction with the outside.
  • the detector 230 includes a light receiver, which is a sensor for collecting ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
  • the external device interface 240 may include, but is not limited to, the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), Any one or more interfaces such as RGB ports. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
  • HDMI high-definition multimedia interface
  • component analog or data high-definition component input interface
  • CVBS composite video input interface
  • USB input interface USB
  • Any one or more interfaces such as RGB ports. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
  • the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box wait.
  • the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory.
  • the controller 250 controls the overall operations of the display device 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
  • the object may be any of a selectable object, such as a hyperlink, icon, or other operable control.
  • the operations related to the selected object include: displaying operations connected to hyperlink pages, documents, images, etc., or executing operations corresponding to the icon.
  • the controller includes a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processing unit (Graphics Processing Unit, GPU), a RAM (Random Access Memory, RAM), a ROM (Read -Only Memory, ROM), at least one of the first interface to the nth interface for input/output, a communication bus (Bus) and the like.
  • CPU Central Processing Unit
  • video processor video processor
  • audio processor Video Processing Unit
  • graphics processing unit GPU
  • RAM Random Access Memory
  • ROM Read -Only Memory
  • CPU processor It is used to execute the operating system and application program instructions stored in the memory, and to execute various application programs, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video content.
  • a CPU processor may include multiple processors. For example, including a main processor and one or more sub-processors.
  • the graphics processor is configured to generate various graphic objects, such as at least one of icons, operation menus, and user input instruction display graphics.
  • the graphics processor includes an arithmetic unit, which performs calculations by receiving various interactive instructions input by users, and displays various objects according to display attributes; it also includes a renderer, which renders various objects obtained based on the arithmetic unit, and the above-mentioned rendered objects are used to be displayed on the display.
  • the video processor is used to receive an external video signal and perform video decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. At least one of the processing can obtain a signal that can be directly displayed or played on the display device 200 .
  • the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
  • the demultiplexing module is used for demultiplexing the input audio and video data streams.
  • the video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
  • An image synthesis module such as an image synthesizer, is used to superimpose and mix the graphic generator with the zoomed video image according to the GUI signal input by the user or generated by itself, so as to generate an image signal available for display.
  • the frame rate conversion module is used for converting the input video frame rate.
  • the display formatting module is used to convert the received frame rate to the video output signal, and change the signal to conform to the display format signal, such as outputting RGB data signal.
  • the audio processor is used to receive an external audio signal, perform decompression and decoding according to the standard codec protocol of the input signal, and perform at least one of processing such as noise reduction, digital-to-analog conversion, and amplification processing , to obtain a sound signal that can be played on a loudspeaker.
  • GUI graphical user interface
  • the way of inputting user commands may be to input a specific sound or gesture, and then the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
  • the user interface 280 is an interface that can be used to receive control input (such as: physical buttons on the display device body, or others).
  • the system of the display device may include a kernel (Kernel), a command parser (shell), a file system and application programs.
  • kernel Kernel
  • shell command parser
  • file system and application programs.
  • the kernel, shell, and file system make up the basic operating system structure, and they allow users to manage files, run programs, and use the system.
  • the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signal and inter-process communication (IPC).
  • IPC inter-process communication
  • the Shell and user applications are loaded.
  • the application is started, it is compiled into machine code to form a process.
  • the system of the display device is divided into three layers, which are application layer, middleware layer and hardware layer from top to bottom.
  • the application layer mainly includes common applications on TV, and application framework (Application Framework), among which, commonly used applications are mainly applications developed based on the browser browser, such as: HTML5APPs; and native applications (Native APPs);
  • Application Framework is a complete program model that has all the basic functions required by standard application software, such as: file access, data exchange, etc. frame).
  • Native APPs can support online or offline, message push or local resource access.
  • the middleware layer includes middleware such as various TV protocols, multimedia protocols, and system components.
  • Middleware can use the basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so as to achieve the purpose of resource sharing and function sharing.
  • the hardware layer mainly includes the HAL interface, hardware and drivers.
  • the HAL interface is a unified interface for all TV chips to connect, and the specific logic is implemented by each chip.
  • Drivers mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
  • the smart device is used to receive input information and output a processing result of the information.
  • the speech recognition service device is an electronic device deployed with a speech recognition service
  • the semantic service device is an electronic device deployed with a semantic service
  • the business service device is an electronic device deployed with a business service.
  • the electronic device here may include a server, a computer, etc.
  • the speech recognition service, semantic service (also called a semantic engine) and business service here are web services that can be deployed on the electronic device, wherein the speech recognition service is used for audio Recognized as text, the semantic service is used for semantic analysis of the text, and the business service is used to provide specific services such as the weather query service of Moji Weather, the music query service of QQ Music, etc.
  • there may be multiple entity service devices deployed with different business services in the architecture shown in FIG. 5 or one or more functional services may be integrated in one or more entity service devices.
  • the following is an example description of the process of processing the information input to the smart device based on the architecture shown in FIG. process:
  • the smart device After receiving the query sentence input by voice, the smart device can upload the audio of the query sentence to the voice recognition service device, so that the voice recognition service device can recognize the audio as text through the voice recognition service and return it to the smart device.
  • the smart device before uploading the audio of the query sentence to the speech recognition service device, the smart device may perform denoising processing on the audio of the query sentence, where the denoising processing may include steps such as removing echo and environmental noise.
  • the smart device uploads the text of the query sentence recognized by the speech recognition service to the semantic service device, so that the semantic service device can perform semantic analysis on the text through the semantic service to obtain the business field and intention of the text.
  • the semantic service device sends a query instruction to the corresponding business service device to obtain the query result given by the business service.
  • the smart device can obtain and output the query result from the semantic service device.
  • the semantic service device can also send the semantic analysis result of the query sentence to the smart device, so that the smart device can output the feedback sentence in the semantic analysis result.
  • FIG. 5 is only an example, and does not limit the protection scope of the present disclosure. In the embodiments of the present disclosure, other architectures may also be used to implement similar functions. For example, all or part of the three processes may be completed by a smart terminal, which will not be repeated here.
  • the above embodiments introduce the hardware/software architecture and function realization of the display device.
  • a device terminal that is the same as or similar to the display device, it can be used as the object to be projected, that is, the receiving end of the screen projection; for other smart devices such as smartphones, tablets, laptops, etc., if they support the screen projection function, they can be used as the screen projection receiver. screen sender.
  • the media resources or screen playback content in the smart device can be projected to the display device, so as to realize the sharing and playback of media on different terminals and different screens, in teaching, games, conferences, etc. widely used in the scene.
  • the wireless network (wifi) switch and the screen projection switch of the smart device 1 can be turned on, so that the LAN is connected to the Internet and the screen projection function is turned on.
  • smart device 1 When device 1 initiates screen projection, smart device 1 will search for other smart devices in the local area network that can receive screen projection data to form the first device list. After the user selects a display device in the first device list, the smart device and display device After the screen projection connection is established and the screen projection connection is successful, the smart device sends the screencast media data to the display device, and the display device plays the media data.
  • the smart device and the display device can establish a screen projection connection through certain protocols, such as DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, Miracast protocol, etc.; Mirror projection, such as Airplay, etc., so that the media data image currently being displayed by the smart device is pushed to the display device side synchronously.
  • DLNA Digital Living Network Alliance, Digital Living Network Alliance
  • Miracast protocol Miracast protocol
  • Mirror projection such as Airplay, etc.
  • the smart device after the smart device is successfully connected to the display device, for each available media resource on the Web, such as HTML documents, images, videos, audio and programs, a general URI (Uniform Resource Identifier , Uniform Resource Identifier) for resource location, that is, the URI is equivalent to providing an address for locating resources.
  • a general URI Uniform Resource Identifier , Uniform Resource Identifier
  • the smart device can push the URI of the media data that needs to be projected to the display device. After receiving the URI, the display device can locate the resource, and then download and play the corresponding media data.
  • the smart device may also push the URL (Uniform Resource Locator, Uniform Resource Locator) of the media data, that is, the network address of the media resource, to the display device, so that the display device accesses the URL and downloads the media data.
  • URL Uniform Resource Locator, Uniform Resource Locator
  • the smart device can also directly encode media data such as images, videos, and audio, and synchronize them to the display device in real time in the form of a media stream; after receiving the media stream, the display device decodes the media stream and play. After the screen projection connection is successful, the transmission mode of the media data from the smart device to the display device is not limited to the examples of the embodiments of the present disclosure.
  • the display device receives the projection screen input by the user Screen command, the display device side actively scans for connectable devices in response to screen projection commands.
  • Connectable devices refer to screen projection sending terminals that have enabled the screen projection function (that is, the screen projection switch
  • the device identifiers of the devices are combined into a second device list.
  • the device identifiers can be device names, device models, etc., which are convenient for users to identify devices.
  • the second device list can be used to select a target device, and the display device will automatically send a screen projection to the target device.
  • Request the target device responds to the screen projection request, and establishes a screen projection connection with the display device.
  • the screen projection connection is equivalent to building a data transmission channel, so that the screen projection data can be transmitted from the target device to the display device.
  • the smart device initiates the screen projection after responding to the user's operation, and the smart device scans the devices that can be projected to obtain the first device list, based on the selection in the first device list After displaying the device, the smart device establishes a screen projection connection with the display device, and then sends the media data to be projected to the display device.
  • the screen projection mode 1 shown in (a) in Figure 6 can be used to ensure efficient and convenient screen projection operations and avoid interfering with business processes in the scene.
  • the teacher only needs to enter a screen projection command on the display device, and the display device can actively scan and initiate a screen projection request to the laptop.
  • the teacher only needs to stand at position B and refer to the projected courseware to explain.
  • Moving between location A and location B does not require other screen projection assistance, thus reducing the time spent on screen projection operations and will not interfere with the normal teaching process, allowing students to focus more on the knowledge shared by projection screens;
  • user A wants Project the exciting video currently playing on your mobile phone to the TV in the living room, so as to share the video with user B who is watching TV in the living room, but user A is not in the living room, then the projection mode of the example (b) in Figure 6
  • the second can be implemented by user A.
  • the disclosure realizes the scene adaptability of the screen projection mode, so that the user can select a suitable screen projection mode according to the scene, personal habits and other factors.
  • screen projection mode 2 if the smart device A does not support certain screen projection protocols, after the smart device A sends a screen projection request to the display device, it will prompt that it cannot connect or the connection fails; Mode 1, if the smart device A does not support the screen projection protocol, the screen mirroring function, or the switch status of the screen projection switch of the smart device is off, it will be displayed that the device is in the scanning stage, and the device of the smart device A cannot be scanned and read at all.
  • Information that is, smart device A is not a connectable device, so by displaying the scan results on the device side, it can be reflected to a certain extent that there is a smart device with an abnormal screen projection connection problem in the scene.
  • the display device is the screen projection device determined by the user.
  • the display device can be used to play the video of smart device B, but the display device does not scan the smart device B. If it detects that the screen projection switch of smart device B is turned off, the smart device can be turned on B's screen projection switch, after the display device re-scans and scans to smart device B, then a screen projection connection with smart device B can be established.
  • the input of the screen projection instruction can trigger and start the processing logic of the screen projection mode 1, wherein the form of the screen projection instruction is not limited, for example, the screen projection instruction can be voice input, if the display device has a voice collector, For example, a microphone, etc., can realize the sound collection function, collect the user's voice command, for example, detect the semantically similar voice information spoken by the user such as "cast screen", "I want to cast screen", "cast screen from mobile phone", and display
  • the semantic service at the bottom of the device receives the collected voice information, and sends the voice information to a semantic server such as Semantic Cloud.
  • the semantic server analyzes the voice information, such as keyword extraction and semantic recognition, and then feeds back the analysis results to the semantic service.
  • the semantic service then recognizes the result of the analysis, for example, if it recognizes that the user's voice intention is screen projection, the display device will confirm that it has received the screen projection instruction.
  • the screen projection is invoked on the display device through voice, without manual operation by the user, which improves the efficiency and convenience of the screen projection, and realizes the rapid response and function trigger of the projection screen.
  • the sound collector of the display device can be in the always-on state, so that the display device can collect user voice information at all times, but this method may involve privacy security risks, or lead to invalid, irrelevant sound collection and analysis, It also results in increased power consumption of the device.
  • the display device can turn on the sound collector when receiving a preset operation instruction, the preset operation instruction is not limited, for example, after the voice key on the remote controller responds to the user's operation, the display device receives the key value sent by the remote controller Finally, if it is recognized that the user has triggered the voice key, the voice collector will be turned on to collect the voice information input by the user. The operation of long pressing the voice key can keep the voice collector in the continuous collection state.
  • the voice collector After the voice key is released, the voice collector will Stop collecting, and the display device can collect a piece of voice information during the period from when the voice key is pressed to when it is released.
  • the sound collector can be automatically turned off.
  • the screen projection instruction can also be input in other ways, such as clicking the screen projection button on the remote control, clicking the screen projection control set in the page under a certain access path of the display device; or through preset gesture control, the display
  • the device collects user gesture images, and through gesture recognition, the user input is a screen projection command; or, with the help of the communication connection between the mobile terminal and the display device, the screen projection command is issued through the mobile terminal, and so on.
  • the display device receives the "screen projection" spoken by the user, the display device collects the voice information, and sends it to the voice server for analysis. According to the semantic server feedback As a result of the analysis of the user's voice intention, it is determined that the screen projection command has been received. Since the screen projection command does not specify the device information of the screen projection sender, it is necessary to set the target device according to the preset rules, and then send the The target device sends a screen mirroring request.
  • the display device actively scans the connectable devices in response to the screen projection command to obtain a device list.
  • the device list scanned by the display device is named the second device list.
  • the second device list includes The device identifiers of the scanned S connectable devices, the device identifiers are not limited to the device name, device model, etc., according to the S value status of the second device list, the preset rules for setting the target device can be configured.
  • the preset rule 1 can be configured as follows: if the value of S is zero, it means that the second device list is an empty set, indicating that the display device has not scanned for available devices, and there is no connectable device in the current scene. Refer to FIG. 8
  • the UI example of can display the first prompt pop-up window 80 on the current interface layer.
  • the first prompt pop-up window 80 includes a first prompt message 81, a first exit control 82 and a first rescan control 83.
  • the first prompt message 81 is used to prompt that there is currently no connectable device, such as the first prompt in FIG.
  • An example of a prompt message 81 is "Currently no connectable device has been scanned, you can try to turn on the screen projection switch of the target device and re-scan". If the first exit control 82 is selected, then exit the screen projection and end the screen projection mode 1.
  • Processing logic if the user expects the screen projection sender to be the smart device 1, then switch the screen projection switch of the smart device 1 to the on state, and then trigger the first rescanning control 83, and the display device will rescan for connectable devices, and can Scan to the smart device 1, the smart device 1 is the target device selected by the user, the display device sends a screen projection request to the smart device 1 to build a screen projection connection between the display device and the smart device 1, so as to receive the media data pushed by the smart device 1 .
  • preset rule 1 can also be configured as follows: if the value of S is 1, it means that the second device list is a single-element set, indicating that the display device only scans one available device, that is, there is only one available device in the current scene. If the device is connected, the user does not need to select it. By default, the only device that can be connected is set as the target device, and the display device sends a screen projection request to the target device.
  • preset rule 1 can also be configured as follows: if the value of S is greater than 1, it means that the second device list is a multi-element set, indicating that the display device has scanned multiple available devices, that is, there are multiple devices in the current scene If the device can be connected, the user needs to cooperate with the selected target to make the device on the current interface layer. Referring to the examples in FIG. 9 and FIG. 10 , the device list 90 can be displayed. Optionally, referring to FIG.
  • the device list 90 includes device identifiers 91 and confirmation controls 92 of S scanned connectable devices, each device identifier has a corresponding selection control 911, and the device list 90 includes For example, if the target device selected by the user is the smart device 2, the selection control 911 of the smart device 2 is switched to the selected state, and then the confirmation control 92 is selected, that is, it is confirmed that the smart device 2 is set as the target device, and the display device Send a screencasting request to smart device 2.
  • the device list 90 may only include the device identifiers 91 of S connectable devices, without setting the confirmation control 92 and each device identifier has a corresponding selection control 911.
  • the display device can be set Focus, the focus is linked with the user's action of switching devices. Assuming that the user's expected screencasting sender is the smart device 2, it can be realized by moving the focus so that the focus falls on the smart device 2, and then trigger the OK button on the remote control. That is, it is confirmed that the smart device 2 is selected as the target device, and the display device sends a screen projection request to the smart device 2 .
  • the presentation effect of the focus is not limited, for example, setting the focus to be highlighted, or adding a focus frame, or enlarging the device logo with the focus to a certain extent, etc., so that the focus is eye-catching and easy to identify.
  • the target device selected by the user is canceled.
  • the target device receives the screen casting request.
  • it can accept the screen casting request by default and establish a screen casting connection with the display device, or, referring to the example in FIG. 11 , on the current interface of the target device Display a screen projection request pop-up window 111, which includes a screen projection request information 112, an acceptance control 113 and a rejection control 114 in the screen projection request pop-up window 111, and the screen projection request information 112 should include the device identification of the display device as the screen projection request/receiving end, For example, the example in FIG.
  • the screen projection connection and after the connection is successful, the screen projection data is sent to the living room TV; if the user does not want to accept the screen projection request, trigger the rejection control 114 to be selected, then close the screen projection request pop-up window 111, and send it to the living room TV Screencasting rejection indication information; referring to the example in Figure 12, after the display device receives the screencasting rejection indication information, it displays a prompt message on the current interface, for example, prompting "The target device has rejected your screencasting request, please try again later or Switch to other devices”, the prompt information can be viewed by the user, and the user can choose to initiate a screen projection request to the target device again, or switch to other connectable screen projection senders, or stop initiating screen projection requests to any connectable devices.
  • a screen projection connection with the display device is established. After the screen projection connection is successful, referring to the example in FIG. 13 , the target device synchronously pushes the media data played on the current screen On the display device side, the display device receives the media data, loads and plays the media data in the screen projection interface, and realizes screen mirroring and resource sharing at both ends of the screen projection interaction.
  • the first screen projection end control 131 is displayed on the playback interface of the target device
  • the second screen projection end control 132 is displayed on the screen projection interface of the display device
  • the first screen projection end control 132 is displayed. If any one of the screen control 131 and the second end screen projection control 132 is selected, it is necessary to exit the screen projection interaction process.
  • the target device if the target device detects that the first end screen projection control 131 is selected, the target device disconnects the screen projection connection with the display device, cancels the display of the first end screen projection control 131, and sends a message to the display device The first exit screen projection instruction information; the display device exits the screen projection interface after receiving the first exit screen projection instruction information.
  • the display device if the display device detects that the second end screen projection control 132 is selected, the display device disconnects the screen projection connection with the target device, exits the screen projection interface, and sends the second screen projection exit to the target device Instruction information: the target device receives the second exit screen projection instruction information, and cancels the display of the first end screen projection control 131 .
  • the display device can maintain a screen projection connection list, the screen projection connection list includes several historical connection records, each historical connection record records the connection information of a smart device that has established a screen projection connection with the display device, and the connection information It is not limited to include device identification, screen casting times, permission type and connection time, etc.
  • the display device and the smart device 2 are successfully connected each time the screen projection is successfully connected, the number of screen projections of the smart device 2 is cumulatively increased by one; the permission type is used to represent the continuous screen projection permission of the smart device, assuming that the smart device 2 has the projection Screen continuous permission, the display device is allowed to automatically initiate a screen projection request to the smart device 2 when it scans the smart device 2; the connection time is the time when the smart device and the display device successfully establish a screen projection connection.
  • connection record D between the smart device D and the display device is generated, the connection record D is inserted into the screen projection connection list, and the number of screen projections in the connection record D is updated to 1.
  • the device ID and connection time in the connection information are generally fixed, and the number of screen projections will accumulate. If the permission type is permanent permission, it will remain unchanged. If the permission type is no permission or temporary permission, the permission type may change with the user's authorization operation. change.
  • the display device if the display device detects that the second end screen projection control 132 is selected, or the display device receives the first exit screen projection instruction information sent by the target device, it queries the connection list of the target device from the screen projection connection list. Display the number of screen projection times of the display device. If the number of screen projection times is 1, it means that the target device is connected to the display device for the first time. Referring to the example in Figure 14, the display device displays a third prompt pop-up window 141 before exiting the screen projection interface.
  • the pop-up window 141 includes authorization query information 142, a single authorization control 143 (that is, “Yes, only next time continuous” in Figure 14), and a permanent authorization control 144 (that is, “Yes, permanent continuous” in Figure 14) and deny authorization control 145 (ie "No” in FIG. 14).
  • the authorization inquiry information 142 is used to inquire whether to grant the continuous permission of screen projection to the target device. For example, in FIG.
  • the third prompt pop-up window 141 is closed, and the current screen projection connection between the display device and the target device is disconnected. Open, and update the connection information of the smart device 2 in the screen projection connection list, that is, add the second permission identifier in the connection information of the smart device 2, and the second permission identifier is used to indicate that the smart device 2 has a permanent continuous screen projection permission, when any subsequent screen projection connection between the smart device 2 and the display device is disconnected, there is no need to display the third prompt pop-up window 141, that is, the continuous screen projection permission of the smart device 2 has permanent validity.
  • the third prompt pop-up window 141 is closed to display the current screen projection between the device and the target device
  • the connection is disconnected, and the first permission identifier is added to the connection information of the smart device 2.
  • the first permission identifier is used to indicate that the smart device 2 has a single screen projection continuous permission. Assume that the current projection between the display device and the smart device 2 If the number of times is i, when the display device scans the smart device 2 next time, it will automatically complete the screen projection connection with the smart device 2, and the screen projection times corresponding to the smart device 2 will become i+1.
  • the display device will revoke the first permission identifier of the smart device 2, so that when the i+1th screen projection connection between the display device and the smart device 2 is disconnected, the third prompt pop-up window 141 can be displayed again , to determine the subsequent permission status of the smart device 2 for continuous screen projection.
  • the permission types of different smart devices can be set according to factors such as the frequency of screen projection to smart devices, usage habits, and scene requirements.
  • the display device if the display device detects that the second end screen projection control 132 is selected, or the display device receives the first exit screen projection instruction information sent by the target device, it queries the connection list of the target device from the screen projection connection list. Display the screen casting times of the device. If the screen casting times are greater than 1, it means that the target device and the display device are not connected for the first time. Then identify the permission type corresponding to the target device.
  • the target device has the second permission identifier, that is, the permission type is permanent screen projection continuous permission
  • the third prompt pop-up window 141 will not be displayed, and the current screen projection connection with the target device will be directly disconnected; If the target device has the first permission ID, that is, the permission type is the single screen projection continuous permission, or, if the target device does not have the first permission ID and the second permission ID, that is, the target device permission type is no continuous screen projection permission, the display device needs to display the third prompt pop-up window 141 again when exiting the screen projection, and update the permission type of the target device according to the user's authorization operation instruction. For example, the target device under the i-th (i greater than 1) screen projection connection has no continuous screen projection permission.
  • the target device When the i-th screen projection connection is disconnected, if it is detected that the single authorization control 143 is selected, it is the target device. If it is detected that the selected one is the permanent authorization control 144, then the second authorization identification is added for the target device; if it is detected that the selected one is the denial authorization control 145, then the permission type of the target device remains unchanged. Change.
  • the preset rules for setting the target device can be defined and configured based on the screen projection connection list. It can be understood that the number of screen projections is 0 before the target device and the display device are connected for the first screen projection. After the first screen projection connection is successful, the number of screen projections becomes 1. Before the second screen projection connection is successful, the number of screen projections remains unchanged.
  • the default adaptation rule is: the display device responds to the screen projection command, Scan the current connectable devices to get the device list, then compare the device list with the screen projection connection list, query the M first devices that currently have the first permission ID or the second permission ID from the device list, the first device uses For a smart device that has the permission to cast screens continuously, if the M value is equal to 1, no matter whether the S value of the current device list is greater than 1 or not, the only first device queried will be set as the target device without being selected by the user .
  • the preset rules for adaptation are further as follows: if M is greater than 1, it means that all M first devices have the permission to continue screen projection. Choose one of the devices as the target device.
  • the first device with the highest priority can be set as the target device according to a preset priority.
  • the preset priority is, for example, sorted according to the number of screen projections. The more screen projections, the higher the priority, or, The preset priority is sorted according to the connection time, the closer the connection time is to the current time, the higher the priority.
  • the preset priority is not limited to the example of this embodiment.
  • the way of configuring the preset rules is not limited to the examples of the present disclosure.
  • the display device only supports single-channel projection, only one target device can be set; if the display device supports multi-channel projection, it is allowed to set one or more targets while avoiding playback conflicts
  • Devices such as display devices that support N-way projection, if N is greater than 1, N projection windows can be created and displayed in the screen-casting interface, and the display device can receive media data from N target devices The media data is loaded and displayed in the N projection windows respectively, and the projection windows in the N projection windows have independent controls for ending the projection, and the projection windows in the N projection windows can be independently controlled.
  • the voice content may be in the form of "screen projection + target device identifier 151", that is, the device corresponding to the target device identifier specified in the screen casting instruction is
  • the sound collector collects the voice information, and then sends the voice information to the semantic server.
  • the semantic server feeds back the analysis result, and the display device recognizes the analysis result. For example, if the voice information is "screen projection from smart device 3", the user The voice intent is screen projection, and the target device is smart device 3.
  • the display device scans to obtain a device list, and then further detects whether the target device identifier is included in the device list. If the target device ID is included in the device list, it indicates that the smart device A specified by the user in the screen projection command has been scanned by the display device, and the smart device A is a connectable device, then the smart device A is used as the target device, and the projection is sent to the target device. screen request and establish a screen mirroring connection.
  • the target device identifier if the target device identifier is not included in the device list, it means that the display device cannot scan the smart device B specified by the user in the screen projection instruction, and the smart device B is currently an unconnectable device.
  • the second prompt pop-up window 160 is displayed on the current interface of the display device, and the second prompt pop-up window 160 includes a second prompt message 161, a connection control 162 (i.e. "Yes” in FIG. 16 ), a second rescan control 163 (i.e. "No, rescan” among Fig. 16) and the second exit control 164 (i.e. "No, exit” among Fig.
  • the second prompt information 161 is used for prompting that no specified device has been scanned, and asks whether to switch to the current
  • the prompt in Figure 16 reads "Your specified smart device B has not been scanned, please check smart device B, is it switched to the current connectable device?"
  • the second prompt message 161 is for the user to view, if detected
  • the connection control 162 is selected, that is, it is determined to switch to a connectable device
  • the second prompt pop-up window 160 is closed, and the target device is set according to the aforementioned preset rules, which will not be repeated here. Then send a screen projection request to the target device, and establish a screen projection connection between the display device and the target device.
  • the second prompt information 161 can be used for the user to check the abnormal situation of the smart device B, for example, check whether the smart device B has turned on the screen projection switch, whether it supports the screen projection function, etc., if If it is determined that smart device B does not support screen projection at all, then it can be determined that the second exit control 164 is selected, that is, it refuses to switch to a connectable device, the display device closes the second prompt pop-up window 160, and exits the processing flow of screen projection mode 1; if determined The screen projection switch of smart device B is turned off, and the screen projection switch has been turned on, then the second rescanning control 163 can be selected, that is, the switch to the connectable device is refused, the display device closes the second prompt pop-up window 160, and rescans After scanning, the smart device B can be searched and scanned, and the smart device B is specially specified in the screen projection command, so after re-scanning, set the smart device B
  • FIG. 17 illustrates the first screen projection method executed by the display device, the method is executed by the controller 250 of the display device, and includes the following program steps:
  • Step S171 receiving a screen projection instruction input by the user, and scanning for connectable devices.
  • the connectable device is a screen projection sending terminal with the screen projection function enabled.
  • Step S172 sending a screen projection request to the target device among the connectable devices.
  • the screen projection request is used to instruct the target device to establish a screen projection connection with the display device.
  • Step S173 receiving the media data sent by the target device in response to the screen projection request, and playing the media data.
  • FIG. 18 illustrates the second screen projection method executed by the display device, the method is executed by the controller 250 of the display device, and includes the following procedural steps:
  • Step S181 collect voice information input by the user, and send the voice information to the semantic server.
  • Step S182 receiving the analysis result fed back by the semantic server, and identifying the user's voice intention as screen projection.
  • Step S183 scanning for connectable devices to obtain a device list.
  • the device list includes device IDs that display the connectable devices scanned by the device.
  • Step S184 judging whether the parsing result contains the target device identifier. If the parsing result does not contain the target device identifier, execute step S185; if the parsing result contains the target device identifier, execute step S186.
  • Step S185 setting a target device according to preset rules, and sending a screen projection request to the target device. After step S185 is executed, go to step S1812.
  • Step S186 detecting whether the target device identifier is included in the device list.
  • the device list includes device IDs of S connectable devices scanned by the display device. If the target device ID is included in the device list, step S187 is performed; if the target device ID is not included in the device list, step S188 is performed.
  • Step S187 sending a screen projection request to the smart device indicated by the target device identifier. After step S187 is executed, go to step S1812.
  • Step S188 prompting that the smart device specified by the target device identifier has not been scanned.
  • Step S189 inquire whether to switch to the current connectable device. If it is agreed to switch to the current connectable device, execute step S1810; if reject to switch to the current connectable device, execute step S1811.
  • Step S1810 setting a target device according to preset rules, and sending a screen projection request to the target device. After step S1810 is executed, go to step S1812.
  • Step S1811 re-scanning for connectable devices or exiting screen projection.
  • Step S1812 receiving the media data sent by the target device in response to the screen projection request, and controlling the display to play the media data.
  • the preset rule is configured as:
  • Get the current S value of the device list the S value is used to represent the total number of connectable devices scanned by the display device.
  • the S value of the device list is detected to be zero, it will prompt that there is currently no device that can be connected, and it is allowed to exit the screen mirroring or re-scan for connectable devices;
  • the preset rule can also be configured as:
  • the first device with the highest priority is set as the target device.
  • FIG. 19 illustrates a screen projection method executed by a smart device, the method is executed by a controller in the smart device, and includes the following procedural steps:
  • Step S191 receiving a screen projection request sent by the display device.
  • the screen projection request is sent by the display device in response to the screen projection instruction input by the user, after determining that the target device is a smart device from the scanned connectable devices, and the connectable device is a screen projection sending terminal with the screen projection function enabled.
  • Step S192 in response to the screen projection request, establish a screen projection connection with the display device.
  • step S193 after the screen projection connection is successful, the media data is sent to the display device.
  • screen projection mode 1 after the smart device as the screen projection sender turns on the screen projection switch, it does not need to actively scan the screen projection device, but passively waits for the scan of the display device, and then receives and responds to the screen projection request sent by the display device After that, build a screen projection connection with the display device, and then share the specified projection data or screen content to the display device; and in screen projection mode 2, after the smart device turns on the screen device, the display device does not actively scan for connectable devices, but waits for the scan and designation from the sender, then receives and responds to the screen projection request sent by the smart device, establishes a screen projection connection with the smart device, and then receives the projection from the smart device. incoming media data.
  • the projection mode can be adapted according to the actual scene, thereby expanding the scene adaptability of the projection function.
  • the voice projection improves the intelligence of the projection, and provides users with a more efficient and convenient projection use and interactive experience.
  • the software and hardware configuration of the smart device is not limited to the examples disclosed in the present disclosure, and the smart device needs to support a screen projection function and have a media playback capability.
  • the screen projection interaction involves the display device and the smart device.
  • the display device is the screen projection receiver
  • the target device/smart device is the screen projection sender.
  • Voice, UI interaction and other forms of input the display device responds to the screen projection command, scans the currently connected devices, and if the target device that the user expects to send media resources can be scanned, the screen projection request can be sent to the target device.
  • the device can establish a screen projection connection with the display device in response to the screen projection request.
  • the target device can synchronize its current media data to the display device, so as to realize the projection of the media data of the target device to the display device for playback. .
  • the teacher only needs to input a screen projection command on the display device, and the display device can actively scan and initiate a screen projection request to the laptop.
  • the teacher only needs to stand at position B and refer to the projected courseware to explain , there is no need to move between position A and position B, and there is no need for other screen projection assistance, so the time spent on screen projection operation is reduced, and the normal teaching process will not be disturbed, so that students can pay more attention to the knowledge shared by projection screen.
  • the present disclosure makes the screen projection operation more efficient and convenient, thereby improving the scene adaptability and intelligence of the screen projection function, and improving the user's screen projection experience.
  • FIG. 20 illustrates a screen projection interaction logic between a display device and a smart device, involving two interactive terminals: device A (screen projection sender/target device) and device B (screen projection receiver/display device) , and cooperate with user interaction.
  • Figure 20 at least includes the following steps:
  • Device B receives a screen projection instruction from a user.
  • Device B detects the screen-casting command, and the screen-casting command is not limited to voice commands, button commands, and the like.
  • Device B starts the configured screen projection service/protocol in response to the screen projection instruction.
  • Device B starts the configured screen projection service/protocol to trigger screen projection mode 1.
  • This embodiment takes Miracast as an example.
  • Miracast projection is not limited to device A and device B being in the same local area network, and does not require the use of external connection lines and other materials, and does not require device A or device B to install specific executable files. Both device A and device B need to support screen mirroring, so that screen sharing between different terminals can be realized.
  • Device B activates the wifi switch, and initializes wifip2pManager.
  • Device B invokes discoverPeers in the P2P protocol to actively scan for connectable P2P devices, and obtains a device list.
  • Device B sends a Peers_changed broadcast through wifip2pManager.
  • the device B listens to the Peers_changed broadcast, and sets the target device as the device A according to the device list and the screen projection instruction, and referring to the preset rules.
  • Device B encapsulates wifip2pconfig of device A.
  • Device B sends a screen projection request to device A.
  • the device B performs a P2P pairing connection with the device A.
  • Device B acquires information such as the IP address and port number of device A.
  • Device B initiates a TCP (Transmission Control Protocol, Transmission Control Protocol) connection to device A.
  • TCP Transmission Control Protocol
  • device A and device B perform RTSP (Real Time Streaming Protocol, real-time streaming protocol) negotiation under the Miracast service.
  • RTSP Real Time Streaming Protocol, real-time streaming protocol
  • Device A establishes a UDP (User Datagram Protocol, User Datagram Protocol) connection with device B.
  • UDP User Datagram Protocol
  • UDP sends encapsulated IP packets without establishing a connection.
  • Device A transmits the Miracast data stream to device B through UDP.
  • Device B displays Miracast projection data.
  • the screen projection connection in the present disclosure covers P2P connection, TCP connection and UDP connection, and these connections need to be disconnected when the screen projection connection is disconnected. While realizing multi-screen interaction and screen sharing, the disclosure makes the screen projection operation more efficient and convenient, thereby improving the scene adaptability and intelligence of the screen projection function, and improving the user's screen projection experience.
  • the Miracast screen projection mentioned in the above embodiments is an essential function of electronic devices such as display devices and mobile phones.
  • the Miracast projection function utilizes the peer-to-peer (Peer-to-peer) network transmission function, based on the Wifi display standard protocol (standard protocol, WFD protocol for short).
  • the screen image and sound data of terminals that support the wireless screen projection function, such as mobile phones or tablets, are transmitted to other external devices for display, so as to achieve the purpose of screen sharing.
  • the screen image and sound data on the terminal may be transmitted to the display device, so that the display device can display it.
  • the Wifi module on the display device needs to support P2P and STA mode (STAtion).
  • STAtion STAtion
  • the Wifi module needs to work in the P2P mode.
  • the display device is connected to the Internet normally, the Wifi The module needs to work in STA mode.
  • the Wifi module can use the time-slice time-division multiplexing technology, and work in both P2P mode and STA mode at the same time, allowing users to cast screens anytime and anywhere while using the display device functions normally.
  • Time-division multiplexing Wifi module means that the Wifi module switches between P2P mode and STA mode in turn.
  • the Wifi module can be converted from STA mode to P2P mode, then converted from P2P mode to STA mode, and then continue to switch from STA mode to P2P pattern, and so on.
  • FIG. 21 shows a schematic diagram of a user interface of a display device according to some embodiments.
  • the user interface appears to display mosaics, which affects the user's viewing.
  • the Wifi module by setting the Wifi module on the display, so that the Wifi module is in the P2P mode for a longer time than in the STA mode, and controls the Wifi module to receive the media data sent by the target device in response to the screen projection request. This can ensure that a large amount of projection data will not be lost, and mosaic will not appear.
  • FIG. 22 shows a flow chart of a screen projection method according to some embodiments.
  • the method includes S2210-S2230. The method is described in detail below:
  • the display device sends a screen projection request to the target device.
  • the target device may also send a screen projection request to the display device. It can be set according to the user's needs and the functions of the display device and the target device.
  • take the target device sending a screen casting request to the display device as an example to describe the screen casting method.
  • the target device may respond to the user's operation, so that the target device sends a screen projection request to the display device.
  • the target device may be a terminal that supports a wireless screen projection function, such as a mobile phone or a tablet.
  • FIG. 23 shows a schematic diagram of a user interface of another display device according to some embodiments.
  • a list of screen-casting devices searched by the target device is displayed, and the device list All the devices in can realize the screen projection function with the display device, and the device list includes three device names named "terminal A", "terminal B" and "terminal C".
  • the touch-screen mobile phone can respond to the position corresponding to the user's hand pressing the device control to achieve the purpose of selecting the device.
  • the position corresponding to the terminal C control on the touch-screen mobile phone is touched, and terminal C is When displaying the device, send a screencasting request to the display device.
  • there is no limitation on how to call up the screen projection device list on the target device and any method that can realize the display device to display the screen projection device list is acceptable.
  • the devices in the screen-casting device list are arranged according to the number of screen-casting times, and the devices with more screen-casting times are arranged in front of the device list.
  • other arrangements can also be used to arrange the devices in the screen projection device list.
  • the arrangement order of the devices is preset in the display device.
  • the screen-casting devices are pre-set in order to sort the devices that can currently realize the screen-casting connection with the display device.
  • a notification message is displayed on the display device, and the notification message may be used to ask the user whether to agree to screen projection between the display device and the terminal.
  • the display device judges whether the user agrees to cast the screen between the display device and the target device according to the user's operation. If it is detected that the screen projection between the display device and the target device is confirmed, the display device sends an instruction to agree to the screen projection to the target device, and the target device and the display device perform projection. screen connection. After the screen projection connection is executed, the target device can send screen projection data to the display device.
  • FIG. 24 shows a schematic diagram of another user interface of a display device according to some embodiments.
  • the content of the query message is "whether you agree to the target device to perform screen projection".
  • an agree control and a disagree control are displayed.
  • the control device allows the user to move the focus to the consent control and press the confirmation key on the control device.
  • the screen projection consent command is generated, and the screen projection consent command is sent to the target device, and the target device and the display device perform screen projection connection.
  • the control device can also allow the user to move the focus to the disagreement control, and in response to the user's pressing operation on the confirmation key on the control device, at this time, a disagreement screen projection command is generated.
  • the display device does not agree with the target device. Execute the screencast connection.
  • the border of the control can be thickened.
  • other forms can also be used to indicate that the control is selected.
  • the Controls can change shape, from square to circular, etc., and when the control is selected, the control will be enlarged according to the preset ratio.
  • the display area of the video control on the user interface is the same.
  • the display area of the control is 1.2 times larger than that of the original control. Since the present disclosure does not limit the focus on the control and the shape of the control, other forms that can facilitate the user to distinguish that the video control is selected can be accepted.
  • a preset button is set on the control device. Instruction; when the second preset button is pressed, a screen projection instruction that does not agree is generated.
  • the inquiry message can also be played in the form of voice, and the display device detects whether the user agrees to the voice of screen projection according to the content of the inquiry message. Exemplarily, the display device plays "whether you agree to the target device's screen projection", detects the user's "agree” answer within a certain period of time, and generates an instruction to agree to the screen projection at this time.
  • a disapproval screen projection instruction can be generated after the user has heard the inquiry message played by the display device.
  • the query message is displayed on the user interface of the display device, the query message is played by voice, so that the user can be reminded to check the query message and avoid missing the projected screen content.
  • the method before receiving the screen projection request sent by the target device, the method further includes:
  • the power-on button on the press control device can be pressed by the user to generate a power-on command.
  • the power button provided on the display device can also be pressed by the user to generate a power-on instruction.
  • the use mode of the Wifi module is determined according to the state of the screen projection switch.
  • a screen projection switch is provided on the user interface of the display device, and the screen projection switch controls the use of the screen projection function of the display device.
  • the setting of the screen projection switch is convenient for the user to set whether to use the screen projection function.
  • FIG. 25 a schematic diagram of a user interface of another display device according to some embodiments is shown in FIG. 25 , and a screen projection switch is displayed on the display interface in FIG. 25 .
  • the state of the screen projection switch is set to the on state, and the screen projection can be performed at any time. For users who do not use the screen mirroring function frequently, the status of the screen mirroring switch can be set to off.
  • FIG. 25 a schematic diagram of a user interface of another display device according to some embodiments is shown in FIG. 26 .
  • the screen projection switch is turned on. When the status of the screen projection switch is on, press the confirmation button on the control device, or press the left button to switch the status of the screen projection switch to off. Refer to the screen projection switch in Figure 25 again. The state of the screen projection switch is Disabled.
  • the usage mode of the Wifi module if the state of the screen projection switch is on, set the usage mode of the Wifi module to the third mode, wherein the time in STA mode in the third mode is longer than the time in P2P mode. For users who often use the screen mirroring function, the status of the screen mirroring switch can be set to on. When the display device is turned on, the usage mode of the Wifi module is the third mode.
  • the status of the screen projection switch is on, it means that the user wants to use the screen projection function.
  • set the Wifi module Before receiving the screen projection request from the terminal, set the Wifi module to be in STA mode for a longer time than in P2P mode , which can meet the needs of users for normal use of the Internet and ensure that users can use the Internet function normally.
  • the Wifi module spends less time in P2P mode, and it will not have much impact, because there is no real screen projection at this time, and no screen projection data is transmitted to the display device, so the display device can still be used for less time in P2P mode.
  • the display device can be discovered, and the device discovered by the display device can be displayed in the screen projection device list.
  • the discovered devices can be displayed in the list of screen-casting devices shown in FIG. 7 .
  • the display device can be searched for screen projection at any time. After the screen projection connection is completed, you can wait for the terminal to send the screen projection data.
  • the usage mode of the display device is the third mode.
  • the Wifi module is constantly switching between P2P mode and STA mode, and the time in P2P mode is longer than that in STA mode.
  • the state of the screen projection switch is off, then set the use mode of the Wifi module to the fourth mode, wherein the fourth mode is the STA mode.
  • the status of the screen projection switch is off, it means that the user does not want to use the screen projection function for the time being.
  • the use mode of the Wifi module is directly set to STA mode, so that the Wifi module will not be time-shared. Multiplexing can make the Wifi module completely in STA mode and improve the performance of the display device connected to the Internet.
  • user A is an elderly person, and generally does not use the screen projection function, so the state of the screen projection switch is set to off.
  • the Wifi module to STA mode can save resources and improve the normal network speed and quality in single mode STA mode.
  • the usage mode of the Wifi module is the fourth mode
  • an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal.
  • the display device cannot perform the screen projection operation. If you want to use the screen projection function later, the display device can be used by the user to continue to operate, and continue to enable the display device to realize the screen projection function.
  • the instruction to start the P2P mode may be generated by the user moving the focus to the application control for starting the P2P mode through the control device and pressing the confirmation key on the control device.
  • FIG. 12 shows a schematic diagram of a user interface of another display device according to some embodiments, and application controls for starting the P2P mode are displayed on the user interface in FIG. 28 .
  • the specific location where the display device displays the application control for starting the P2P mode, and how to control the display of the application control on the user interface are not limited.
  • the application control for starting the P2P mode can be set on the home page interface of the display device.
  • the application control for starting the P2P mode can also be set on the secondary interface.
  • the first-level interface that is, the home page interface, displays setting controls.
  • the control device allows the user to move the focus to the setting control and press the confirmation key on the control device.
  • the user interface jumps to the second-level corresponding to the setting control.
  • the application control for starting the P2P mode is displayed on the secondary interface, and of course other controls related to setting display device properties can also be displayed on the secondary interface.
  • the display device determines the usage mode of the Wifi module according to its own actual situation.
  • the display device may be controlled by the control device, and the display device may also be controlled by an application configured in the first terminal for controlling the display device, and the application is similar to a virtual control device. Judging whether it is currently controlled by the first terminal may be understood as whether the display device is connected to an application set in the first terminal for controlling the display device.
  • the application for controlling the display device is in the same local area network as the display device, and when the Wifi module of the display device is in STA mode, it can control the display device.
  • the operation to be performed is determined according to the current situation of the display device, that is, whether the display device is controlled by the first terminal.
  • the usage mode of the Wifi module is set to the first mode.
  • the Wifi module when an instruction to start the P2P mode is received, it means that the user wants to use the screen projection function, and when the display device is controlled by the first terminal, the Wifi module is time-division multiplexed to set the usage mode of the Wifi module for the first mode.
  • the connection between the application for controlling the display device in the first terminal and the display device requires that the Wifi module is in the STA mode.
  • set the Wifi module in P2P mode for a longer time than in STA mode. Setting the use mode of the Wifi module to the first mode in this way can not only ensure that the application for controlling the display device set on the first terminal can still control the display device, but also prevent the Wifi module from missing a large amount of projection data.
  • the use mode of the Wifi module is set to the second mode.
  • the use mode of the Wifi module is set to the second mode, and the second mode is only P2P model. This is because the application used to control the display device in the first terminal is not connected to the display device, and does not require the Wifi module to be in STA mode, so directly set the Wifi module of the display device as a P2P module, which can completely avoid missing the Wifi module Screen data.
  • the method for setting the Wifi module includes: judging whether it is currently controlled by the first terminal.
  • the display device now needs to perform miracast projection, so it is necessary to set a better state so that there will be no mosaic on the screen of the display device.
  • whether the current display device is controlled by the first terminal may be determined by determining whether the display device is connected to an application for controlling the display device.
  • the Wifi module needs to be time-division multiplexed, increase the time-sharing parameters of the P2P mode, reduce the time-sharing parameters of the STA, and set the time of the Wifi module in P2P mode to be longer than the time in STA mode. If there is no application connected to control the display device, just set the overall mode of the display device to P2P mode, which can reduce the packet loss rate.
  • judging whether it is currently controlled by the first terminal may be understood as whether the display device is connected to an application set in the first terminal for controlling the display device.
  • the application for controlling the display device has been introduced above, and will not be repeated here.
  • the usage mode of the Wifi module is set to the first mode, wherein the time of the P2P mode in the first mode is longer than the time of the STA mode.
  • the usage mode of the Wifi module is set to the first mode, and in the first mode, it is still time-division multiplexing
  • the WIFI module this is because the application of the control display device in the first terminal requires the Wifi module to be in STA mode, but in order to ensure that the Wifi module will not miss a large amount of projection data, the Wifi module is set to be in P2P mode
  • the time is longer than the time in STA mode, so that it can not only ensure that the application for controlling the display device set on the first terminal can still control the display device, but also prevent the Wifi module from missing a large amount of projection data.
  • one time period is 500 unit time, that is, switching from STA mode to P2P mode, and then switching from P2P mode to STA mode.
  • P2P mode it takes 300 unit time
  • the switching time between P2P mode and STA mode is 70 unit time
  • Another schematic diagram of switching the use mode of the Wifi module first in STA mode for 60 unit time, then STA mode is converted to P2P mode for 70 unit time, continue to be in P2P mode for 300 unit time, and then P2P mode is converted to STA mode for 70 unit time , and then repeatedly enter the STA mode, and continue to switch the mode of the Wifi module according to this rule.
  • the screen mirroring switch is set to on by default. In this way, you can cast your screen at any time every time you use it.
  • an application for controlling the display device set on the terminal can be used to control the display device.
  • the display device performs a screen projection operation, and the whole display device finds that the display device has been connected to the application for controlling the display device.
  • the Wifi module is time-division multiplexed, so that the display device can be controlled by the application for controlling the display device. Screencasting is also possible.
  • the Wifi module When the Wifi module is time-division multiplexed, it is necessary to increase the time in P2P mode and reduce the time in STA mode. Because the application used to control the display device is a small amount of data for the control of the display device, the time spent in the STA mode can be reduced. However, the amount of projection data transmitted by the projection screen is relatively large, and the time in the P2P mode needs to be increased. The control device at home was found in the back, and the display device was disconnected from the application used to control the display device. At this time, the display device is in the screen projection state. In order to ensure the reliability of receiving packets of the display device, the picture quality is guaranteed.
  • the usage mode of the Wifi module is set to the second mode, wherein the second mode is the P2P mode.
  • the usage mode of the Wifi module is set to the second mode, and the second mode is only the P2P mode . This is because if there is no application controlling the display device in the first terminal connected to the display device, the Wifi module does not need to be in STA mode, so directly set the Wifi module of the display device as a P2P module, which can avoid the Wifi module missing connection screen data.
  • the display device searches for the display device at any time in the normal use of the Internet function scene to cast the screen. After the display device successfully casts the screen, the Wifi The use mode of the module is set to only P2P mode or to increase the time of P2P mode to ensure data quality. After the screen projection is over, return to the coexistence mode of P2P mode and STA mode again.
  • the screen projection end instruction is received, the screen projection connection is disconnected from the target device, and the status of the screen projection switch is determined.
  • the user can perform the operation of disconnecting the screen projection on the display device, and the operation of disconnecting the screen projection can also be performed on the target device.
  • After disconnecting the screen projection connection with the target device judge the state of the screen projection switch. If the state of the screen projection switch is on, set the use mode of the Wifi module to the third mode, where the STA mode time in the third mode is longer than P2P mode time.
  • the status of the screen projection switch when the status of the screen projection switch is on, it means that the user wants to use the display device to realize the screen projection function, but at this time the screen projection operation is not actually performed, and the function is mainly realized by using the display device to connect to the Internet , so set the time of the Wifi module in STA mode to be longer than the time of P2P mode. This will not only enable the display device to connect to the Internet normally and realize the Internet access function, but also enable the display device to be searched by the terminal and realize screen projection at any time.
  • the usage mode of the Wifi module is set to the fourth mode, wherein the fourth mode is the STA mode.
  • the status of the screen projection switch is off, it means that the user does not want the display device to implement the screen projection function, so the use mode of the Wifi module is directly set to the STA mode.
  • the Wifi module after completing the screen projection connection with the target device, use the Wifi module whose P2P mode time is longer than the STA mode time to receive the screen projection data, so as to ensure that the data will not be missed, or that the screen projection data will be missed in a small amount In the case of avoiding mosaic.
  • An embodiment of the present disclosure further provides a display device, including: a display, a user interface, and a controller.
  • the display is used to display images and/or user interfaces;
  • the user interface is used to receive input signals;
  • the controllers connected to the display and the user interface are used to perform: receive the screen projection request sent by the target device, and communicate with the target device Complete the screen projection connection, set the Wifi module so that the Wifi module is in P2P mode longer than the time in STA mode; control the Wifi module to receive the projection data sent by the target device; play the projection data.
  • the controller is configured to set the Wifi module according to the following steps: determine whether it is currently controlled by the first terminal; if it is controlled by the first terminal, set the use mode of the Wifi module to the first mode, wherein the first mode The time in the P2P mode is longer than the time in the STA mode; if it is not controlled by the first terminal, set the use mode of the Wifi module to the second mode, wherein the second mode is the P2P mode.
  • the controller before receiving the screen projection request sent by the target device, is further configured to: receive a power-on command, and determine whether the state of the screen projection switch is on; if the state of the screen projection switch is on, then Set the use mode of the Wifi module to the third mode, where the STA mode time in the third mode is longer than the P2P mode time.
  • the controller is also used to execute: if the state of the screen projection switch is off, then set the usage mode of the Wifi module to the fourth mode, wherein the fourth mode is the STA mode; when the usage mode of the Wifi module is In the fourth mode, an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal; if it is controlled by the first terminal, the use mode of the Wifi module is set as the first mode; if it is not controlled by the first terminal, then Set the use mode of the Wifi module to the second mode.
  • the controller is also used to perform: receiving the screen projection end instruction, disconnecting the screen projection connection with the target device, and judging the state of the screen projection switch; if the state of the screen projection switch is on, then setting the use of the Wifi module The mode is the third mode; if the state of the screen projection switch is off, set the usage mode of the Wifi module to the fourth mode.
  • a screen projection method and a display device in which the Wifi module is set to be in the P2P mode for a time longer than the STA mode time, so as to ensure that a large amount of screen projection data will not be lost and mosaic will not occur.
  • the method includes: receiving a screen projection request sent by a target device, completing a screen projection connection with the target device, setting the Wifi module so that the time of the Wifi module in the P2P mode is longer than the time in the STA mode; controlling the Wifi module to receive the screen projection data sent by the target device ; Play the projection data.
  • the UI and its interactive operation methods provided in the present disclosure are only exemplary, and do not constitute a limitation to the present application, and the actual UI design and application shall prevail.
  • the user's response/interaction operation on the UI interface in the present disclosure is not limited to the execution through the controls in the interface, and voice commands can also be input.
  • the display device displays the UI interface in Figure 14
  • the user can say After the voice information of "permanent continuous connection" is displayed, and the result of device recognition and analysis is displayed, it is learned that the user's voice intention is to grant the smart device 2 the permission of permanent screen projection and continuous connection.
  • the device scan result of the screen projection receiver, the selection rules of the screen projection sender, the type of screen projection protocol/function, the screen projection connection method adapted to different projection protocols, the screen projection data transmission method, the projection
  • the screen projection mode of the present disclosure is flexibly and adaptively modified and expanded.
  • the screen projection mode and its interaction logic are not limited to the examples of the present disclosure.
  • the underlying processing logic of screen projection interaction between device A and device B can be adapted to different systems and different screen projection protocols/functions, and is not limited to the example shown in FIG. 20 .
  • the present disclosure also provides a computer-readable non-volatile storage medium, which can store a program.
  • the program execution may include the program steps of the above-mentioned screen projection method at the display device end; when the computer storage medium is located in the smart device, the program execution may include the above-mentioned screen projection method at the smart device end program steps.
  • the computer storage medium may be a magnetic disk, an optical disk, a read-only memory (English: Read-Only Memory, ROM for short), or a random access memory (English: Random Access Memory, RAM for short).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application discloses a screen projection method, a display device, and an intelligent device. For a display device end: a screen projection instruction input by a user is received, and connectable devices are scanned for, a connectable device being a screen projection sending terminal using a screen projection function; a screen projection request is sent to a target device among the connectable devices, the screen projection request being used for instructing the target device to establish a screen projection connection with the display device; media data sent by the target device is received in response to the screen projection request, and the media data is played. Multi-screen interaction and screen sharing are implemented while a screen projection operation is made to be more efficient and convenient, scenario adaptability and intelligence of a screen projection function are improved, and the screen projection use experience of a user is improved.

Description

一种投屏方法、显示设备及智能设备Screen projection method, display device and smart device
相关申请的交叉引用Cross References to Related Applications
本公开要求在2022年01月27日提交、申请号为202210100384.9;在2022年02月08日提交、申请号为202210118550.8的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application filed on January 27, 2022, with application number 202210100384.9; and filed on February 08, 2022, with application number 202210118550.8, the entire contents of which are incorporated in this disclosure by reference.
技术领域technical field
本申请涉及显示设备技术领域,尤其涉及一种投屏方法、显示设备及智能设备。The present application relates to the technical field of display devices, and in particular to a screen projection method, a display device and a smart device.
背景技术Background technique
在一些应用场景中,用户可通过手机、平板电脑等智能终端向显示设备发起投屏,从而将小屏终端中的视频、音频和图像等媒体资源推送到大屏显示设备上进行播放,实现多屏互动和屏幕共享。用户需要在智能终端发起投屏,智能终端扫描可投射的其他设备,用户再从中选定一个目标设备,智能终端与目标设备建立投屏连接,连接成功后,目标设备接收并显示智能终端发送的媒体数据。In some application scenarios, users can initiate screen projection to display devices through smart terminals such as mobile phones and tablets, so as to push media resources such as video, audio, and images in small-screen terminals to large-screen display devices for playback, realizing multiple screen interaction and screen sharing. The user needs to initiate screen projection on the smart terminal. The smart terminal scans for other devices that can be projected. The user then selects a target device. The smart terminal establishes a screen projection connection with the target device. After the connection is successful, the target device receives and displays the information sent by the smart terminal. media data.
然而在一些业务场景中该投屏方式可能存在操作不便、投屏响应不够智能等问题。例如,用户在投屏发送端执行投屏操作,再在投屏接收端观看投屏内容,如果投屏发送端与投屏接收端的距离较远,则该过程耗费用户的时间,限制了投屏功能的使用场景,且智能化较低。However, in some business scenarios, this screen projection method may have problems such as inconvenient operation and insufficient intelligence of the screen projection response. For example, the user performs the screencasting operation on the screencasting sender, and then watches the screencasting content on the screencasting receiver. If the distance between the screencasting sender and the screencasting receiver is far, the process will consume the user’s time and limit the screencasting. Functional usage scenarios, and low intelligence.
发明内容Contents of the invention
本公开提供一种显示设备,包括:显示器,用于显示图像和/或用户界面;通信器,用于与智能设备通信连接;控制器,与显示器和控制器连接,被配置为执行:接收到用户输入的投屏指令,扫描可连接设备,可连接设备为启用投屏功能的投屏发送终端;向可连接设备中的目标设备发送投屏请求,投屏请求用于指示目标设备与显示设备建立投屏连接;接收目标设备响应投屏请求后发送的媒体数据,控制显示器播放媒体数据。The present disclosure provides a display device, including: a display for displaying an image and/or a user interface; a communicator for communicating with a smart device; a controller connected to the display and the controller and configured to: receive The screen projection command input by the user scans the connectable device, and the connectable device is a screen projection sending terminal that enables the screen projection function; sends a screen projection request to the target device in the connectable device, and the screen projection request is used to indicate the target device and the display device Establish a screen projection connection; receive the media data sent by the target device in response to the screen projection request, and control the display to play the media data.
本公开还提供一种智能设备,包括:显示器,用于显示图像和/或用户界面;通信器,用于与显示设备通信连接;控制器,被配置为执行:接收显示设备发送的投屏请求;投屏请求是显示设备响应用户输入的投屏指令,从扫描到的可连接设备中确定目标设备为智能设备后发送的,可连接设备为启用投屏功能的投屏发送终端;响应于投屏请求,建立与显示设备的投屏连接;投屏连接成功后,向显示设备发送媒体数据。The present disclosure also provides a smart device, including: a display, for displaying an image and/or a user interface; a communicator, for communicating with the display device; and a controller, configured to: receive a screen projection request sent by the display device ;The screen projection request is sent by the display device in response to the screen projection instruction input by the user, after determining that the target device is a smart device from the scanned connectable devices, and the connectable device is a screen projection sending terminal with the screen projection function enabled; Screen request, establish a screen projection connection with the display device; after the screen projection connection is successful, send media data to the display device.
本公开还提供一种用于显示设备的投屏方法,包括:显示设备接收到用户输入的投屏指令,扫描可连接设备,可连接设备为启用投屏功能的投屏发送终端;显示设备向可连接设备中的目标设备发送投屏请求,投屏请求用于指示目标设备与显示设备建立投屏连接;显示设备接收目标设备响应投屏请求后发送的媒体数据,播放媒体数据。The present disclosure also provides a screen projection method for a display device, including: the display device receives a screen projection instruction input by the user, scans for a connectable device, and the connectable device is a screen projection sending terminal that enables the screen projection function; The target device among the connectable devices sends a screen projection request, and the screen projection request is used to instruct the target device to establish a screen projection connection with the display device; the display device receives the media data sent by the target device in response to the screen projection request, and plays the media data.
本公开还提供一种用于智能设备的投屏方法,包括:智能设备接收显示设备发送的投屏请求;投屏请求是显示设备响应用户输入的投屏指令,从扫描到的可连接设备中确定目标设备为智能设备后发送的,可连接设备为启用投屏功能的投屏发送终端;智能设备响应于投屏请求,建立与显示设备的投屏连接;投屏连接成功后,智能设备 向显示设备发送媒体数据。The present disclosure also provides a screen projection method for a smart device, including: the smart device receives a screen projection request sent by a display device; If the target device is determined to be a smart device, the connectable device is a screen projection sending terminal with the screen projection function enabled; the smart device responds to the screen projection request and establishes a screen projection connection with the display device; after the screen projection connection is successful, the smart device sends a screen projection to The display device sends media data.
附图说明Description of drawings
图1示出了一种显示设备的使用场景;FIG. 1 shows a usage scenario of a display device;
图2示出了一种控制装置100的硬件配置框图;FIG. 2 shows a hardware configuration block diagram of a control device 100;
图3示出了一种显示设备200的硬件配置框图;FIG. 3 shows a hardware configuration block diagram of a display device 200;
图4示出了一种显示设备200中软件配置图;FIG. 4 shows a software configuration diagram in a display device 200;
图5示出了一种语音识别网络架构图;Figure 5 shows a speech recognition network architecture diagram;
图6示出了投屏交互场景示例图;Fig. 6 shows an example diagram of screen projection interaction scenarios;
图7示出了用户在显示设备端输入语音的场景图一;FIG. 7 shows a scene diagram 1 in which a user inputs voice on a display device;
图8示出了场景中无可连接设备时,显示设备的UI显示效果;Figure 8 shows the UI display effect of the display device when there is no connectable device in the scene;
图9示出了场景中具有多个可连接设备时,显示设备的UI显示效果一;FIG. 9 shows the UI display effect 1 of the display device when there are multiple connectable devices in the scene;
图10示出了场景中具有多个可连接设备时,显示设备的UI显示效果二;Fig. 10 shows the UI display effect 2 of the display device when there are multiple connectable devices in the scene;
图11示出了目标设备显示投屏请求的示意图;Fig. 11 shows a schematic diagram of a target device displaying a screen casting request;
图12示出了目标设备拒绝投屏请求后,显示设备端的UI显示效果图;Fig. 12 shows the UI display effect diagram of the display device after the target device rejects the screen projection request;
图13示出了投屏连接成功后,目标设备与显示设备的同步播放示意图;Fig. 13 shows a schematic diagram of synchronous playback between the target device and the display device after the screen projection connection is successful;
图14示出了显示设备与目标设备首次连接场景下,退出投屏时显示设备的UI显示效果;FIG. 14 shows the UI display effect of the display device when the screen projection is exited when the display device is connected to the target device for the first time;
图15示出了用户在显示设备端输入语音的场景图二;FIG. 15 shows the second scene where the user inputs voice on the display device;
图16示出了用户在投屏指令中指定的设备无法被显示设备扫描到时,显示设备的UI显示效果图;Fig. 16 shows the UI display effect diagram of the display device when the device specified by the user in the screen casting instruction cannot be scanned by the display device;
图17示出了显示设备端执行的第一种投屏方法的流程图;FIG. 17 shows a flow chart of the first screen projection method executed by the display device;
图18示出了显示设备端执行的第二种投屏方法的流程图;FIG. 18 shows a flow chart of a second screen projection method executed by the display device;
图19示出了一种智能设备端执行的投屏方法的流程图;Fig. 19 shows a flow chart of a screen projection method executed by a smart device;
图20示出了一种投屏交互逻辑图;Fig. 20 shows a screen projection interaction logic diagram;
图21示出了一种显示设备的用户界面示意图;Fig. 21 shows a schematic diagram of a user interface of a display device;
图22示出了一种投屏方法的流程图;Fig. 22 shows a flow chart of a screen projection method;
图23示出了又一种显示设备的用户界面示意图;Fig. 23 shows a schematic diagram of a user interface of another display device;
图24示出了又一种显示设备的用户界面示意图;Fig. 24 shows a schematic diagram of a user interface of another display device;
图25示出了又一种显示设备的用户界面示意图;Fig. 25 shows a schematic diagram of a user interface of another display device;
图26示出了又一种显示设备的用户界面示意图;Fig. 26 shows a schematic diagram of a user interface of another display device;
图27示出了一种Wifi模块的使用模式的切换示意图;Fig. 27 shows a schematic diagram of switching the use mode of a Wifi module;
图28示出了又一种显示设备的用户界面示意图;Fig. 28 shows a schematic diagram of a user interface of another display device;
图29示出了又一种Wifi模块的使用模式的切换示意图。Fig. 29 shows another schematic diagram of switching the use mode of the Wifi module.
具体实施方式Detailed ways
为使本公开的目的和实施方式更加清楚,下面将结合本公开示例性实施例中的附图,对本公开示例性实施方式进行清楚、完整地描述,显然,描述的示例性实施例仅是本公开一部分实施例,而不是全部的实施例。In order to make the purpose and implementation of the present disclosure clearer, the following will clearly and completely describe the exemplary implementations of the present disclosure in conjunction with the accompanying drawings in the exemplary embodiments of the present disclosure. Obviously, the described exemplary embodiments are only the present invention. Some, but not all, embodiments are disclosed.
需要说明的是,本公开中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本公开的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of terms in the present disclosure is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of the present disclosure. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.
本公开中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明。应该理解这样使用的用语在适当情况下可以互换。The terms "first", "second", and "third" in the description and claims of the present disclosure and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean limiting specific sequential or sequential unless otherwise noted. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
图1为根据实施例中显示设备的使用场景的示意图。如图1所示,显示设备200还与服务器400进行数据通信,智能设备300或控制装置100可供用户来操作显示设 备200。Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in FIG. 1 , the display device 200 also performs data communication with the server 400 , and the smart device 300 or the control device 100 can be used by the user to operate the display device 200 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式中的至少一种,通过无线或有线方式来控制显示设备200。遥控器上按键、语音输入、控制面板输入等至少一种输入用户指令的方式可供用户选择,来控制显示设备200。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly. Device 200. At least one mode of inputting user commands such as buttons on the remote control, voice input, and control panel input can be selected by the user to control the display device 200 .
在一些实施例中,智能设备300可以包括移动终端、平板电脑、计算机、笔记本电脑,AR/VR设备等中的任意一种。In some embodiments, the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
在一些实施例中,也可以使用智能设备300以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。In some embodiments, the smart device 300 can also be used to control the display device 200 . For example, the display device 200 is controlled using an application program running on the smart device.
在一些实施例中,也可以使用智能设备300和显示设备进行数据的通信。In some embodiments, the smart device 300 and the display device may also be used for data communication.
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制装置来接收用户的语音指令控制。In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the module for obtaining voice commands configured inside the display device 200 can directly receive the user's voice command control , the user's voice command control can also be received through the voice control device provided outside the display device 200 .
在一些实施例中,显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, the display device 200 also performs data communication with the server 400 . The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . The server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
在一些实施例中,一个步骤执行主体执行的软件步骤可以随需求迁移到与之进行数据通信的另一步骤执行主体上进行执行。示例性的,服务器执行的软件步骤可以随需求迁移到与之数据通信的显示设备上执行,反之亦然。In some embodiments, the software steps executed by one step execution body can be migrated to another step execution body for data communication with it for execution as needed. Exemplarily, the software steps executed by the server can be migrated to be executed by the display device in data communication with it as required, and vice versa.
图2示出了根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起到用户与显示设备200之间交互中介作用。FIG. 2 shows a block diagram of the configuration of the control device 100 according to the exemplary embodiment. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
在一些实施例中,通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。In some embodiments, the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
在一些实施例中,用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button or an alternative module.
图3示出了根据示例性实施例中显示设备200的硬件配置框图。FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to an exemplary embodiment.
在一些实施例中,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口中的至少一种。用户接口用于接收输入信号,控制器250分别与显示器260与用户接口连接。In some embodiments, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one. The user interface is used to receive input signals, and the controller 250 is respectively connected to the display 260 and the user interface.
在一些实施例中控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。In some embodiments the controller includes a CPU, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
在一些实施例中,显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自控制器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面等。In some embodiments, the display 260 includes a display screen component for presenting images, and a drive component for driving image display, for receiving image signals output from the controller, and displaying video content, image content, and menu manipulation interface. Components and user manipulation of the UI interface, etc.
在一些实施例中,显示器260可为液晶显示器、OLED显示器、以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
在一些实施例中,调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。In some embodiments, the tuner-demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与控制装置100或服务器400建立控制信号和数据信号的发送和接收。In some embodiments, the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220 .
在一些实施例中,检测器230用于采集外部环境或与外部交互的信号。例如,检测器230包括光接收器,用于采集环境光线强度的传感器;或者,检测器230包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器230包括声音采集器,如麦克风等,用于接收外部声音。In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, the detector 230 includes a light receiver, which is a sensor for collecting ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
在一些实施例中,外部装置接口240可以包括但不限于如下:高清多媒体接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), Any one or more interfaces such as RGB ports. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box wait.
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operations of the display device 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
在一些实施例中,对象可以是可选对象中的任何一个,例如超链接、图标或其他可操作的控件。与所选择的对象有关操作有:显示连接到超链接页面、文档、图像等操作,或者执行与图标相对应程序的操作。In some embodiments, the object may be any of a selectable object, such as a hyperlink, icon, or other operable control. The operations related to the selected object include: displaying operations connected to hyperlink pages, documents, images, etc., or executing operations corresponding to the icon.
在一些实施例中控制器包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),RAM(Random Access Memory,RAM),ROM(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种。In some embodiments, the controller includes a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processing unit (Graphics Processing Unit, GPU), a RAM (Random Access Memory, RAM), a ROM (Read -Only Memory, ROM), at least one of the first interface to the nth interface for input/output, a communication bus (Bus) and the like.
CPU处理器。用于执行存储在存储器中操作系统和应用程序指令,以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。CPU处理器,可以包括多个处理器。如,包括一个主处理器以及一个或多个子处理器。CPU processor. It is used to execute the operating system and application program instructions stored in the memory, and to execute various application programs, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video content. A CPU processor may include multiple processors. For example, including a main processor and one or more sub-processors.
在一些实施例中,图形处理器,用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等中的至少一种。图形处理器包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象;还包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。In some embodiments, the graphics processor is configured to generate various graphic objects, such as at least one of icons, operation menus, and user input instruction display graphics. The graphics processor includes an arithmetic unit, which performs calculations by receiving various interactive instructions input by users, and displays various objects according to display attributes; it also includes a renderer, which renders various objects obtained based on the arithmetic unit, and the above-mentioned rendered objects are used to be displayed on the display.
在一些实施例中,视频处理器,用于将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等视频处理中的至少一种,可得到直接可显示设备200上显示或播放的信号。In some embodiments, the video processor is used to receive an external video signal and perform video decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. At least one of the processing can obtain a signal that can be directly displayed or played on the display device 200 .
在一些实施例中,视频处理器,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等中的至少一种。其中,解复用模块,用于对输入音视频数据流进行解复用处理。视频解码模块,用于对解复用后的视频信号进行处理,包括解码和缩放处理等。图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。帧率转换模块,用于对转换输入视频帧率。显示格式化模块,用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like. Wherein, the demultiplexing module is used for demultiplexing the input audio and video data streams. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling. An image synthesis module, such as an image synthesizer, is used to superimpose and mix the graphic generator with the zoomed video image according to the GUI signal input by the user or generated by itself, so as to generate an image signal available for display. The frame rate conversion module is used for converting the input video frame rate. The display formatting module is used to convert the received frame rate to the video output signal, and change the signal to conform to the display format signal, such as outputting RGB data signal.
在一些实施例中,音频处理器,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理中的至少一种,得到可以在扬声器中播放的声音信号。In some embodiments, the audio processor is used to receive an external audio signal, perform decompression and decoding according to the standard codec protocol of the input signal, and perform at least one of processing such as noise reduction, digital-to-analog conversion, and amplification processing , to obtain a sound signal that can be played on a loudspeaker.
在一些实施例中,显示器260上显示的图形用户界面(GUI)上提供可供用户输入用户命令图标或者控件,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,输入用户命令的方式可以是输入特定的声音或手势,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the graphical user interface (GUI) displayed on the display 260 provides icons or controls for the user to input user commands, and the user input interface receives user input commands through the graphical user interface (GUI). Alternatively, the way of inputting user commands may be to input a specific sound or gesture, and then the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
在一些实施例中,用户接口280,为可用于接收控制输入的接口(如:显示设备 本体上的实体按键,或其他等)。In some embodiments, the user interface 280 is an interface that can be used to receive control input (such as: physical buttons on the display device body, or others).
在一些实施例中,显示设备的系统可以包括内核(Kernel)、命令解析器(shell)、文件系统和应用程序。内核、shell和文件系统一起组成了基本的操作系统结构,它们让用户可以管理文件、运行程序并使用系统。上电后,内核启动,激活内核空间,抽象硬件、初始化硬件参数等,运行并维护虚拟内存、调度器、信号及进程间通信(IPC)。内核启动后,再加载Shell和用户应用程序。应用程序在启动后被编译成机器码,形成一个进程。In some embodiments, the system of the display device may include a kernel (Kernel), a command parser (shell), a file system and application programs. Together, the kernel, shell, and file system make up the basic operating system structure, and they allow users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signal and inter-process communication (IPC). After the kernel starts, the Shell and user applications are loaded. After the application is started, it is compiled into machine code to form a process.
如图4所示,将显示设备的系统分为三层,从上至下分别为应用层、中间件层和硬件层。As shown in FIG. 4 , the system of the display device is divided into three layers, which are application layer, middleware layer and hardware layer from top to bottom.
应用层主要包含电视上的常用应用,以及应用框架(Application Framework),其中,常用应用主要是基于浏览器Browser开发的应用,例如:HTML5APPs;以及原生应用(Native APPs);The application layer mainly includes common applications on TV, and application framework (Application Framework), among which, commonly used applications are mainly applications developed based on the browser browser, such as: HTML5APPs; and native applications (Native APPs);
应用框架(Application Framework)是一个完整的程序模型,具备标准应用软件所需的一切基本功能,例如:文件存取、资料交换等,以及这些功能的使用接口(工具栏、状态列、菜单、对话框)。Application Framework (Application Framework) is a complete program model that has all the basic functions required by standard application software, such as: file access, data exchange, etc. frame).
原生应用(Native APPs)可以支持在线或离线,消息推送或本地资源访问。Native APPs can support online or offline, message push or local resource access.
中间件层包括各种电视协议、多媒体协议以及系统组件等中间件。中间件可以使用系统软件所提供的基础服务(功能),衔接网络上应用系统的各个部分或不同的应用,能够达到资源共享、功能共享的目的。The middleware layer includes middleware such as various TV protocols, multimedia protocols, and system components. Middleware can use the basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so as to achieve the purpose of resource sharing and function sharing.
硬件层主要包括HAL接口、硬件以及驱动,其中,HAL接口为所有电视芯片对接的统一接口,具体逻辑由各个芯片来实现。驱动主要包含:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。The hardware layer mainly includes the HAL interface, hardware and drivers. The HAL interface is a unified interface for all TV chips to connect, and the specific logic is implemented by each chip. Drivers mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
为清楚说明本公开的实施例,下面结合图5对本公开实施例提供的一种语音识别网络架构进行描述。In order to clearly illustrate the embodiments of the present disclosure, a speech recognition network architecture provided by the embodiments of the present disclosure will be described below with reference to FIG. 5 .
参见图5,智能设备用于接收输入的信息以及输出对该信息的处理结果。语音识别服务设备为部署有语音识别服务的电子设备,语义服务设备为部署有语义服务的电子设备,业务服务设备为部署有业务服务的电子设备。这里的电子设备可包括服务器、计算机等,这里的语音识别服务、语义服务(也可称为语义引擎)和业务服务为可部署在电子设备上的web服务,其中,语音识别服务用于将音频识别为文本,语义服务用于对文本进行语义解析,业务服务用于提供具体的服务如墨迹天气的天气查询服务、QQ音乐的音乐查询服务等。在一个实施例中,图5所示架构中可存在部署有不同业务服务的多个实体服务设备,也可以一个或多个实体服务设备中集合一项或多项功能服务。Referring to FIG. 5 , the smart device is used to receive input information and output a processing result of the information. The speech recognition service device is an electronic device deployed with a speech recognition service, the semantic service device is an electronic device deployed with a semantic service, and the business service device is an electronic device deployed with a business service. The electronic device here may include a server, a computer, etc., and the speech recognition service, semantic service (also called a semantic engine) and business service here are web services that can be deployed on the electronic device, wherein the speech recognition service is used for audio Recognized as text, the semantic service is used for semantic analysis of the text, and the business service is used to provide specific services such as the weather query service of Moji Weather, the music query service of QQ Music, etc. In an embodiment, there may be multiple entity service devices deployed with different business services in the architecture shown in FIG. 5 , or one or more functional services may be integrated in one or more entity service devices.
在一些实施例中,下面对基于图5所示架构处理输入智能设备的信息的过程进行举例描述,以输入智能设备的信息为通过语音输入的查询语句为例,上述过程可包括如下三个过程:In some embodiments, the following is an example description of the process of processing the information input to the smart device based on the architecture shown in FIG. process:
[语音识别][Speech Recognition]
智能设备可在接收到通过语音输入的查询语句后,将该查询语句的音频上传至语音识别服务设备,以由语音识别服务设备通过语音识别服务将该音频识别为文本后返回至智能设备。在一个实施例中,将查询语句的音频上传至语音识别服务设备前,智能设备可对查询语句的音频进行去噪处理,这里的去噪处理可包括去除回声和环境噪声等步骤。After receiving the query sentence input by voice, the smart device can upload the audio of the query sentence to the voice recognition service device, so that the voice recognition service device can recognize the audio as text through the voice recognition service and return it to the smart device. In one embodiment, before uploading the audio of the query sentence to the speech recognition service device, the smart device may perform denoising processing on the audio of the query sentence, where the denoising processing may include steps such as removing echo and environmental noise.
[语义理解][semantic understanding]
智能设备将语音识别服务识别出的查询语句的文本上传至语义服务设备,以由语义服务设备通过语义服务对该文本进行语义解析,得到文本的业务领域、意图等。The smart device uploads the text of the query sentence recognized by the speech recognition service to the semantic service device, so that the semantic service device can perform semantic analysis on the text through the semantic service to obtain the business field and intention of the text.
[语义响应][semantic response]
语义服务设备根据对查询语句的文本的语义解析结果,向相应的业务服务设备下 发查询指令,以获取业务服务给出的查询结果。智能设备可从语义服务设备获取该查询结果并输出。作为一个实施例,语义服务设备还可将对查询语句的语义解析结果发送至智能设备,以由智能设备输出该语义解析结果中的反馈语句。According to the semantic analysis result of the text of the query statement, the semantic service device sends a query instruction to the corresponding business service device to obtain the query result given by the business service. The smart device can obtain and output the query result from the semantic service device. As an embodiment, the semantic service device can also send the semantic analysis result of the query sentence to the smart device, so that the smart device can output the feedback sentence in the semantic analysis result.
需要说明的是,图5所示架构只是一种示例,并非对本公开保护范围的限定。本公开实施例中,也可采用其他架构来实现类似功能,例如:三个过程全部或部分可以由智能终端来完成,在此不做赘述。It should be noted that the architecture shown in FIG. 5 is only an example, and does not limit the protection scope of the present disclosure. In the embodiments of the present disclosure, other architectures may also be used to implement similar functions. For example, all or part of the three processes may be completed by a smart terminal, which will not be repeated here.
以上实施例介绍了显示设备的硬件/软件架构以及功能实现等内容。对于与该显示设备相同或相似的设备终端,可作为被投屏对象,即投屏接收端;对于其他如智能手机、平板电脑、笔记本电脑等智能设备,若支持投屏功能,则可作为投屏发送端。通过显示设备与智能设备间的投屏交互,可将智能设备内的媒体资源或屏幕播放内容投射到显示设备,实现媒体在不同终端、不同屏幕上的共享及播放,在教学、游戏、会议等场景中广泛应用。The above embodiments introduce the hardware/software architecture and function realization of the display device. For a device terminal that is the same as or similar to the display device, it can be used as the object to be projected, that is, the receiving end of the screen projection; for other smart devices such as smartphones, tablets, laptops, etc., if they support the screen projection function, they can be used as the screen projection receiver. screen sender. Through the screen projection interaction between the display device and the smart device, the media resources or screen playback content in the smart device can be projected to the display device, so as to realize the sharing and playback of media on different terminals and different screens, in teaching, games, conferences, etc. widely used in the scene.
在现有实现方式中,智能设备1的无线网络(wifi)开关和投屏开关可处于打开状态,使局域网联网并且投屏功能处于开启状态,这是实现投屏的前提条件,之后可以通过智能设备1发起投屏,则智能设备1会搜索局域网内可接收投屏数据的其他智能设备,组成第一设备列表,可供用户在第一设备列表中选定显示设备后,智能设备与显示设备建立投屏连接,投屏连接成功后,智能设备将投屏的媒体数据发送给显示设备,显示设备对媒体数据进行播放。In the existing implementation, the wireless network (wifi) switch and the screen projection switch of the smart device 1 can be turned on, so that the LAN is connected to the Internet and the screen projection function is turned on. When device 1 initiates screen projection, smart device 1 will search for other smart devices in the local area network that can receive screen projection data to form the first device list. After the user selects a display device in the first device list, the smart device and display device After the screen projection connection is established and the screen projection connection is successful, the smart device sends the screencast media data to the display device, and the display device plays the media data.
在一些实施例中,智能设备与显示设备可通过某些协议建立投屏连接,比如DLNA(Digital Living Network Alliance,数字生活网络联盟)协议、Miracast协议等;又或者,智能设备与显示设备进行屏幕镜像投屏,例如Airplay等,从而将智能设备当前正在显示的媒体数据镜像同步推送至显示设备端。In some embodiments, the smart device and the display device can establish a screen projection connection through certain protocols, such as DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, Miracast protocol, etc.; Mirror projection, such as Airplay, etc., so that the media data image currently being displayed by the smart device is pushed to the display device side synchronously.
在一些实施例中,在智能设备与显示设备投屏连接成功之后,对于Web上每一个可用的媒体资源,如HTML文档、图像、视频、音频和程序等,可由一个通用的URI(Uniform Resource Identifier,统一资源标志符)进行资源定位,即URI相当于提供了一个定位资源的地址。可选地,智能设备可将需要投屏的媒体数据的URI推送给显示设备,显示设备接收到URI后,即可定位资源,进而下载及播放相应的媒体数据。In some embodiments, after the smart device is successfully connected to the display device, for each available media resource on the Web, such as HTML documents, images, videos, audio and programs, a general URI (Uniform Resource Identifier , Uniform Resource Identifier) for resource location, that is, the URI is equivalent to providing an address for locating resources. Optionally, the smart device can push the URI of the media data that needs to be projected to the display device. After receiving the URI, the display device can locate the resource, and then download and play the corresponding media data.
在一些实施例中,智能设备也可将媒体数据的URL(Uniform Resource Locator,统一资源定位符),即媒体资源的网络地址推送给显示设备,以便显示设备访问URL并下载媒体数据。In some embodiments, the smart device may also push the URL (Uniform Resource Locator, Uniform Resource Locator) of the media data, that is, the network address of the media resource, to the display device, so that the display device accesses the URL and downloads the media data.
在一些实施例中,智能设备也可直接将图像、视频、音频等媒体数据进行编码,并以媒体流的形式实时同步至显示设备端;显示设备端接收媒体流后,对媒体流进行解码及播放。投屏连接成功后,媒体数据从智能设备向显示设备的传输方式不限于本公开实施例的示例。In some embodiments, the smart device can also directly encode media data such as images, videos, and audio, and synchronize them to the display device in real time in the form of a media stream; after receiving the media stream, the display device decodes the media stream and play. After the screen projection connection is successful, the transmission mode of the media data from the smart device to the display device is not limited to the examples of the embodiments of the present disclosure.
考虑到背景技术中论述的投屏功能场景适配性差,投屏响应智能化不足,操作不便等缺陷,在一些实施例中,参照图6中的(a),显示设备端接收用户输入的投屏指令,显示设备端响应于投屏指令,主动扫描可连接设备,可连接设备是指已开启投屏功能(即投屏开关状态为on)的投屏发送终端,并将扫描到的可连接设备的设备标识组合成第二设备列表,设备标识可以为设备名称、设备型号等,方便用户识别设备,第二设备列表可供用于选定一目标设备,则显示设备自动向目标设备发送投屏请求,目标设备响应于投屏请求,建立与显示设备间的投屏连接,投屏连接相当于构建数据传输通道,使得投屏数据能从目标设备传达至显示设备。Considering the poor adaptability of the screen projection function discussed in the background technology, insufficient intelligence of the screen projection response, and inconvenient operation, in some embodiments, referring to (a) in FIG. 6 , the display device receives the projection screen input by the user Screen command, the display device side actively scans for connectable devices in response to screen projection commands. Connectable devices refer to screen projection sending terminals that have enabled the screen projection function (that is, the screen projection switch The device identifiers of the devices are combined into a second device list. The device identifiers can be device names, device models, etc., which are convenient for users to identify devices. The second device list can be used to select a target device, and the display device will automatically send a screen projection to the target device. Request, the target device responds to the screen projection request, and establishes a screen projection connection with the display device. The screen projection connection is equivalent to building a data transmission channel, so that the screen projection data can be transmitted from the target device to the display device.
在一些实施例中,参照图6中的(b),是智能设备端响应用户的操作后发起投屏,智能设备扫描可投屏设备,得到第一设备列表,基于第一设备列表中选定显示设备后,智能设备建立与显示设备的投屏连接后,向显示设备发送需要投屏的媒体数据。In some embodiments, referring to (b) in FIG. 6 , the smart device initiates the screen projection after responding to the user's operation, and the smart device scans the devices that can be projected to obtain the first device list, based on the selection in the first device list After displaying the device, the smart device establishes a screen projection connection with the display device, and then sends the media data to be projected to the display device.
由此可见,图6中的(a)和图6中的(b)相比,触发投屏操作、设备扫描及发送投屏请求的执行端完全相反,实际场景可适配任一种投屏模式,例如在教学、会议等场景中,可以采用图6中的(a)示例的投屏模式一,保证投屏操作的高效便捷,避免 干扰场景中的业务进程,以背景技术中的教学场景为例,教师只需在显示设备端输入一个投屏指令,就可由显示设备主动扫描并向笔记本电脑发起投屏请求,教师只需站在位置B处参照投屏的课件进行讲解,无需在位置A和位置B之间移动,也无需其他投屏辅助,因此缩减了投屏操作所耗费时间,不会干扰正常教学进程,使学生更关注于投屏分享的知识上;又例如,用户A希望将自己手机当前播放的精彩视频投射到客厅电视上,从而将该视频分享给客厅中正在观看电视的用户B,但用户A未在客厅中,则图6中的(b)示例的投屏模式二可供用户A实施。本公开实现了投屏模式的场景适配性,以便用户根据场景、个人习惯等因素选择合适的投屏模式。It can be seen that compared with (b) in Figure 6, (a) in Figure 6, the execution end that triggers the screen projection operation, device scanning, and sending the screen projection request is completely opposite, and the actual scene can be adapted to any kind of screen projection mode, for example, in scenes such as teaching and conferences, the screen projection mode 1 shown in (a) in Figure 6 can be used to ensure efficient and convenient screen projection operations and avoid interfering with business processes in the scene. For example, the teacher only needs to enter a screen projection command on the display device, and the display device can actively scan and initiate a screen projection request to the laptop. The teacher only needs to stand at position B and refer to the projected courseware to explain. Moving between location A and location B does not require other screen projection assistance, thus reducing the time spent on screen projection operations and will not interfere with the normal teaching process, allowing students to focus more on the knowledge shared by projection screens; another example, user A wants Project the exciting video currently playing on your mobile phone to the TV in the living room, so as to share the video with user B who is watching TV in the living room, but user A is not in the living room, then the projection mode of the example (b) in Figure 6 The second can be implemented by user A. The disclosure realizes the scene adaptability of the screen projection mode, so that the user can select a suitable screen projection mode according to the scene, personal habits and other factors.
在一些实施例中,对于投屏模式二,若智能设备A不支持某些投屏协议,则智能设备A向显示设备发送投屏请求后,就会提示无法连接或连接失败;而对于投屏模式一,若智能设备A不支持投屏协议、屏幕镜像投屏功能,或者智能设备的投屏开关状态为off,则显示设备在扫描阶段,根本就无法扫描和读取到智能设备A的设备信息,即智能设备A不属于可连接设备,因此通过显示设备端的扫描结果,可以在一定程度上反映出场景中存在投屏连接异常问题的智能设备。例如,显示设备为用户确定的投屏设备,显示设备可用于播放智能设备B的视频,但是显示设备未扫描到智能设备B,检测到智能设备B的投屏开关被关闭,则可开启智能设备B的投屏开关,显示设备端重新扫描后,扫描到智能设备B,则可建立与智能设备B的投屏连接。In some embodiments, for screen projection mode 2, if the smart device A does not support certain screen projection protocols, after the smart device A sends a screen projection request to the display device, it will prompt that it cannot connect or the connection fails; Mode 1, if the smart device A does not support the screen projection protocol, the screen mirroring function, or the switch status of the screen projection switch of the smart device is off, it will be displayed that the device is in the scanning stage, and the device of the smart device A cannot be scanned and read at all. Information, that is, smart device A is not a connectable device, so by displaying the scan results on the device side, it can be reflected to a certain extent that there is a smart device with an abnormal screen projection connection problem in the scene. For example, the display device is the screen projection device determined by the user. The display device can be used to play the video of smart device B, but the display device does not scan the smart device B. If it detects that the screen projection switch of smart device B is turned off, the smart device can be turned on B's screen projection switch, after the display device re-scans and scans to smart device B, then a screen projection connection with smart device B can be established.
在一些实施例中,投屏指令的输入可以触发和启动投屏模式一的处理逻辑,其中投屏指令的形式不限定,例如投屏指令可以是语音输入的,若显示设备具有声音采集器,例如麦克风等,即可实现收音功能,采集用户的语音指令,例如检测到用户说出的诸如“投屏”、“我要投屏”、“从手机投屏”等语义相似的语音信息,显示设备底层的语义服务接收采集的语音信息,并将语音信息发送给如语义云等语义服务器端,语义服务器对语音信息进行如关键词提取、语义识别等解析处理后,将解析结果反馈给语义服务,语义服务再对解析结果进行识别,例如识别到用户语音意图为投屏,则显示设备确认接收到投屏指令。通过语音在显示设备端唤起投屏,无需用户手动操作,提升了投屏的高效性和便捷性,实现投屏的快速响应和功能触发。语音处理逻辑和架构可适应性参照图5的示例及其相关描述,此处不再赘述。In some embodiments, the input of the screen projection instruction can trigger and start the processing logic of the screen projection mode 1, wherein the form of the screen projection instruction is not limited, for example, the screen projection instruction can be voice input, if the display device has a voice collector, For example, a microphone, etc., can realize the sound collection function, collect the user's voice command, for example, detect the semantically similar voice information spoken by the user such as "cast screen", "I want to cast screen", "cast screen from mobile phone", and display The semantic service at the bottom of the device receives the collected voice information, and sends the voice information to a semantic server such as Semantic Cloud. The semantic server analyzes the voice information, such as keyword extraction and semantic recognition, and then feeds back the analysis results to the semantic service. , the semantic service then recognizes the result of the analysis, for example, if it recognizes that the user's voice intention is screen projection, the display device will confirm that it has received the screen projection instruction. The screen projection is invoked on the display device through voice, without manual operation by the user, which improves the efficiency and convenience of the screen projection, and realizes the rapid response and function trigger of the projection screen. For the adaptability of speech processing logic and architecture, refer to the example in FIG. 5 and related descriptions, and details will not be repeated here.
在一些实施例中,显示设备的声音采集器可处于常启状态,使得显示设备能时刻采集用户语音信息,但这种方式可能会涉及隐私安全风险,或者导致无效、无关声音的采集和解析,还会导致设备耗电增加。可选地,显示设备可以在接收到预设操作指令时开启声音采集器,预设操作指令不限定,例如遥控器上的语音键响应用户的操作后,显示设备接收到遥控器发送的键值后,识别到用户触发了语音键,则开启声音采集器,以采集用户输入的语音信息,长按语音键的操作可以使声音采集器保持持续采集状态,在语音键被释放后,声音采集器停止采集,语音键从被按下到被松开时段内,显示设备可采集一段语音信息。可选地,语音键被松开后,若预设时长内未被语音键再次触发,可自动关闭声音采集器。In some embodiments, the sound collector of the display device can be in the always-on state, so that the display device can collect user voice information at all times, but this method may involve privacy security risks, or lead to invalid, irrelevant sound collection and analysis, It also results in increased power consumption of the device. Optionally, the display device can turn on the sound collector when receiving a preset operation instruction, the preset operation instruction is not limited, for example, after the voice key on the remote controller responds to the user's operation, the display device receives the key value sent by the remote controller Finally, if it is recognized that the user has triggered the voice key, the voice collector will be turned on to collect the voice information input by the user. The operation of long pressing the voice key can keep the voice collector in the continuous collection state. After the voice key is released, the voice collector will Stop collecting, and the display device can collect a piece of voice information during the period from when the voice key is pressed to when it is released. Optionally, after the voice key is released, if the voice key is not triggered again within a preset time period, the sound collector can be automatically turned off.
在一些实施例中,投屏指令还可通过其他方式输入,例如点击遥控器上的投屏键,点击显示设备某访问路径下的页面中设置的投屏控件;或者通过预设手势控制,显示设备采集用户手势图像,通过手势识别用户输入的是投屏指令;又或者,借助移动终端与显示设备的通信连接,通过移动终端下发投屏指令,等等。In some embodiments, the screen projection instruction can also be input in other ways, such as clicking the screen projection button on the remote control, clicking the screen projection control set in the page under a certain access path of the display device; or through preset gesture control, the display The device collects user gesture images, and through gesture recognition, the user input is a screen projection command; or, with the help of the communication connection between the mobile terminal and the display device, the screen projection command is issued through the mobile terminal, and so on.
在一些实施例中,以语音输入投屏指令为例,参照图7,显示设备接收用户说出的“投屏”,显示设备采集该语音信息,并发送给语音服务器进行解析,根据语义服务器反馈的解析结果,获知用户语音意图为投屏,则确定接收到投屏指令,由于该投屏指令中未指定投屏发送端的设备信息,因此需要根据预设规则来设定目标设备,然后向该目标设备发送投屏请求。In some embodiments, taking the voice input projection command as an example, referring to FIG. 7, the display device receives the "screen projection" spoken by the user, the display device collects the voice information, and sends it to the voice server for analysis. According to the semantic server feedback As a result of the analysis of the user's voice intention, it is determined that the screen projection command has been received. Since the screen projection command does not specify the device information of the screen projection sender, it is necessary to set the target device according to the preset rules, and then send the The target device sends a screen mirroring request.
在一些实施例中,显示设备响应于投屏指令,主动扫描可连接设备,得到设备列表,为便于区分,将显示设备端扫描得到的设备列表命名为第二设备列表,第二设备列表中包括被扫描到的S个可连接设备的设备标识,设备标识不限于设备名称、设备 型号等,根据第二设备列表的S值状态,可配置用于设定目标设备的预设规则。In some embodiments, the display device actively scans the connectable devices in response to the screen projection command to obtain a device list. For ease of distinction, the device list scanned by the display device is named the second device list. The second device list includes The device identifiers of the scanned S connectable devices, the device identifiers are not limited to the device name, device model, etc., according to the S value status of the second device list, the preset rules for setting the target device can be configured.
在一些实施例中,预设规则一可配置为:若S值为零,相当于第二设备列表为空集,表明显示设备未扫描到可用设备,当前场景中无可连接设备,参照图8的UI示例,可在当前界面图层上显示第一提示弹窗80。可选地,第一提示弹窗80中包括第一提示信息81、第一退出控件82和第一重新扫描控件83,第一提示信息81用于提示当前无可连接设备,例如图8中第一提示信息81示例为“当前未扫描到可连接设备,可在尝试打开目标设备的投屏开关后重新扫描”,若第一退出控件82被选择,则退出投屏,结束投屏模式一的处理逻辑;若用户期望的投屏发送端为智能设备1,则将智能设备1的投屏开关切换为开启状态,然后触发第一重新扫描控件83,显示设备会重新扫描可连接设备,并能够扫描到智能设备1,智能设备1为用户选定的目标设备,显示设备向智能设备1发送投屏请求,以构建显示设备与智能设备1的投屏连接,从而接收智能设备1推送的媒体数据。In some embodiments, the preset rule 1 can be configured as follows: if the value of S is zero, it means that the second device list is an empty set, indicating that the display device has not scanned for available devices, and there is no connectable device in the current scene. Refer to FIG. 8 The UI example of , can display the first prompt pop-up window 80 on the current interface layer. Optionally, the first prompt pop-up window 80 includes a first prompt message 81, a first exit control 82 and a first rescan control 83. The first prompt message 81 is used to prompt that there is currently no connectable device, such as the first prompt in FIG. An example of a prompt message 81 is "Currently no connectable device has been scanned, you can try to turn on the screen projection switch of the target device and re-scan". If the first exit control 82 is selected, then exit the screen projection and end the screen projection mode 1. Processing logic: if the user expects the screen projection sender to be the smart device 1, then switch the screen projection switch of the smart device 1 to the on state, and then trigger the first rescanning control 83, and the display device will rescan for connectable devices, and can Scan to the smart device 1, the smart device 1 is the target device selected by the user, the display device sends a screen projection request to the smart device 1 to build a screen projection connection between the display device and the smart device 1, so as to receive the media data pushed by the smart device 1 .
在一些实施例中,预设规则一还可配置为:若S值为1,相当于第二设备列表为单元素集,表明显示设备仅扫描到一个可用设备,即当前场景中具有唯一的可连接设备,则无需用户选定,默认将唯一的可连接设备设定为目标设备,显示设备向目标设备发送投屏请求。In some embodiments, preset rule 1 can also be configured as follows: if the value of S is 1, it means that the second device list is a single-element set, indicating that the display device only scans one available device, that is, there is only one available device in the current scene. If the device is connected, the user does not need to select it. By default, the only device that can be connected is set as the target device, and the display device sends a screen projection request to the target device.
在一些实施例中,预设规则一还可配置为:若S值大于1,相当于第二设备列表为多元素集,表明显示设备扫描到多个可用设备,即当前场景中具有多个的可连接设备,就需要用户配合选定目标在当前界面图层上设备,参照图9和图10的示例,可显示设备列表90。可选地,参照图9,设备列表90中包括S个扫描到的可连接设备的设备标识91和确认控件92,每项设备标识具有对应的选择控件911,设备列表90中包括可供用户选择的一个目标设备,例如用户选择的目标设备为智能设备2,则智能设备2的选择控件911切换为选中状态,之后确认控件92被选择,即确认将智能设备2设定为目标设备,显示设备向智能设备2发送投屏请求。In some embodiments, preset rule 1 can also be configured as follows: if the value of S is greater than 1, it means that the second device list is a multi-element set, indicating that the display device has scanned multiple available devices, that is, there are multiple devices in the current scene If the device can be connected, the user needs to cooperate with the selected target to make the device on the current interface layer. Referring to the examples in FIG. 9 and FIG. 10 , the device list 90 can be displayed. Optionally, referring to FIG. 9 , the device list 90 includes device identifiers 91 and confirmation controls 92 of S scanned connectable devices, each device identifier has a corresponding selection control 911, and the device list 90 includes For example, if the target device selected by the user is the smart device 2, the selection control 911 of the smart device 2 is switched to the selected state, and then the confirmation control 92 is selected, that is, it is confirmed that the smart device 2 is set as the target device, and the display device Send a screencasting request to smart device 2.
可选地,参照图10,设备列表90中可仅包括S个可连接设备的设备标识91,而无需设置确认控件92和每项设备标识具有对应的选择控件911,该示例中显示设备可设置焦点,焦点随用户切换设备的动作而联动,假设用户期望的投屏发送端为智能设备2,则可以通过移动焦点的方式实现,使焦点落在智能设备2,之后触发遥控器的OK键,即确认将智能设备2选定为目标设备,显示设备向智能设备2发送投屏请求。其中,焦点的呈现效果不限定,例如设置焦点为高亮,或者施加焦点框,或者对具备焦点的设备标识做一定程度的放大处理等,使得焦点醒目,便于辨别即可。Optionally, referring to FIG. 10, the device list 90 may only include the device identifiers 91 of S connectable devices, without setting the confirmation control 92 and each device identifier has a corresponding selection control 911. In this example, the display device can be set Focus, the focus is linked with the user's action of switching devices. Assuming that the user's expected screencasting sender is the smart device 2, it can be realized by moving the focus so that the focus falls on the smart device 2, and then trigger the OK button on the remote control. That is, it is confirmed that the smart device 2 is selected as the target device, and the display device sends a screen projection request to the smart device 2 . The presentation effect of the focus is not limited, for example, setting the focus to be highlighted, or adding a focus frame, or enlarging the device logo with the focus to a certain extent, etc., so that the focus is eye-catching and easy to identify.
在一些实施例中,若检测到图9的设备列表90中的空选操作,则确定确认控件92被选择,或者检测到取消控件93被选择,或者检测到在图10界面中执行返回操作,均默认用户选择的目标设备被取消,可选地,退出投屏,结束投屏模式一的处理逻辑。In some embodiments, if the empty selection operation in the device list 90 of FIG. 9 is detected, it is determined that the confirmation control 92 is selected, or it is detected that the cancel control 93 is selected, or it is detected that the return operation is performed in the interface of FIG. 10 , By default, the target device selected by the user is canceled. Optionally, exit the screen projection and end the processing logic of screen projection mode 1.
在一些实施例中,目标设备接收到投屏请求,可选地,可默认接受投屏请求,并建立与显示设备的投屏连接,或者,参照图11的示例,在目标设备的当前界面上显示投屏请求弹窗111,投屏请求弹窗111中包括投屏请求信息112、接受控件113和拒绝控件114,投屏请求信息112应包括作为投屏请求/接收端的显示设备的设备标识,例如图11中示例为“客厅电视发起投屏请求,是否接受?”,若用户想要接受该投屏请求,接受控件113被选择,则关闭投屏请求弹窗111,目标设备建立与客厅电视的投屏连接,并在连接成功后,将投屏数据发送至客厅电视;若用户不想接受该投屏请求,触发拒绝控件114被选择,则关闭投屏请求弹窗111,并向客厅电视发送投屏拒绝指示信息;参照图12的示例,显示设备接收到投屏拒绝指示信息后,在当前界面上显示提示信息,例如提示“目标设备已拒绝你的投屏请求,请稍后再试或切换其他设备”,该提示信息可供用户查看,可选择再次向该目标设备发起投屏请求,或者切换到其他可连接的投屏发送端,或者停止向任何可连接设备发起投屏请求。In some embodiments, the target device receives the screen casting request. Optionally, it can accept the screen casting request by default and establish a screen casting connection with the display device, or, referring to the example in FIG. 11 , on the current interface of the target device Display a screen projection request pop-up window 111, which includes a screen projection request information 112, an acceptance control 113 and a rejection control 114 in the screen projection request pop-up window 111, and the screen projection request information 112 should include the device identification of the display device as the screen projection request/receiving end, For example, the example in FIG. 11 is "The living room TV initiates a screen projection request, do you accept it?" If the user wants to accept the screen projection request, the acceptance control 113 is selected, and the screen projection request pop-up window 111 is closed, and the target device is established with the living room TV. The screen projection connection, and after the connection is successful, the screen projection data is sent to the living room TV; if the user does not want to accept the screen projection request, trigger the rejection control 114 to be selected, then close the screen projection request pop-up window 111, and send it to the living room TV Screencasting rejection indication information; referring to the example in Figure 12, after the display device receives the screencasting rejection indication information, it displays a prompt message on the current interface, for example, prompting "The target device has rejected your screencasting request, please try again later or Switch to other devices”, the prompt information can be viewed by the user, and the user can choose to initiate a screen projection request to the target device again, or switch to other connectable screen projection senders, or stop initiating screen projection requests to any connectable devices.
在一些实施例中,若目标设备接受显示设备的投屏请求,则建立与显示设备的投屏连接,投屏连接成功后,参照图13的示例,目标设备将当前屏幕播放的媒体数据同 步推送到显示设备端,显示设备接收到媒体数据,在投屏界面中加载及播放媒体数据,实现投屏交互双端的屏幕镜像和资源共享。In some embodiments, if the target device accepts the screen projection request of the display device, a screen projection connection with the display device is established. After the screen projection connection is successful, referring to the example in FIG. 13 , the target device synchronously pushes the media data played on the current screen On the display device side, the display device receives the media data, loads and plays the media data in the screen projection interface, and realizes screen mirroring and resource sharing at both ends of the screen projection interaction.
在一些实施例中,参照图13,投屏连接成功后,目标设备的播放界面中显示第一结束投屏控件131,显示设备的投屏界面显示第二结束投屏控件132,第一结束投屏控件131和第二结束投屏控件132中的任一个被选择,都需要退出投屏交互流程。In some embodiments, referring to FIG. 13 , after the screen projection connection is successful, the first screen projection end control 131 is displayed on the playback interface of the target device, the second screen projection end control 132 is displayed on the screen projection interface of the display device, and the first screen projection end control 132 is displayed. If any one of the screen control 131 and the second end screen projection control 132 is selected, it is necessary to exit the screen projection interaction process.
在一些实施例中,若目标设备端检测到第一结束投屏控件131被选择,则目标设备断开与显示设备的投屏连接,取消显示第一结束投屏控件131,并向显示设备发送第一退出投屏指示信息;显示设备接收到第一退出投屏指示信息,退出投屏界面。In some embodiments, if the target device detects that the first end screen projection control 131 is selected, the target device disconnects the screen projection connection with the display device, cancels the display of the first end screen projection control 131, and sends a message to the display device The first exit screen projection instruction information; the display device exits the screen projection interface after receiving the first exit screen projection instruction information.
在一些实施例中,若显示设备端检测到第二结束投屏控件132被选择,则显示设备断开与目标设备的投屏连接,退出投屏界面,并向目标设备发送第二退出投屏指示信息;目标设备接收到第二退出投屏指示信息,取消显示第一结束投屏控件131。In some embodiments, if the display device detects that the second end screen projection control 132 is selected, the display device disconnects the screen projection connection with the target device, exits the screen projection interface, and sends the second screen projection exit to the target device Instruction information: the target device receives the second exit screen projection instruction information, and cancels the display of the first end screen projection control 131 .
在一些实施例中,显示设备可维护一个投屏连接列表,投屏连接列表包括若干历史连接记录,每个历史连接记录记载一个与显示设备建立过投屏连接的智能设备的连接信息,连接信息不限于包括设备标识、投屏次数、权限类型和连接时间等。其中,例如显示设备与智能设备2每次投屏连接成功时,将智能设备2的投屏次数累积加一;权限类型用于表征智能设备的投屏续连权限情况,假设智能设备2具备投屏续连权限,则显示设备在扫描到智能设备2时,允许自动向智能设备2发起投屏请求;连接时间为智能设备与显示设备成功建立投屏连接的时间。显示设备与一个新的智能设备D首次产生投屏连接,则生成智能设备D与显示设备的连接记录D,将连接记录D插入到投屏连接列表内,并将连接记录D内的投屏次数更新为1。连接信息中设备标识和连接时间一般是固定的,投屏次数会累积,权限类型若为永久型权限则保持不变,若权限类型为无权限或临时权限,则权限类型可能随用户授权操作而变更。In some embodiments, the display device can maintain a screen projection connection list, the screen projection connection list includes several historical connection records, each historical connection record records the connection information of a smart device that has established a screen projection connection with the display device, and the connection information It is not limited to include device identification, screen casting times, permission type and connection time, etc. Among them, for example, when the display device and the smart device 2 are successfully connected each time the screen projection is successfully connected, the number of screen projections of the smart device 2 is cumulatively increased by one; the permission type is used to represent the continuous screen projection permission of the smart device, assuming that the smart device 2 has the projection Screen continuous permission, the display device is allowed to automatically initiate a screen projection request to the smart device 2 when it scans the smart device 2; the connection time is the time when the smart device and the display device successfully establish a screen projection connection. When the display device and a new smart device D create a screen projection connection for the first time, a connection record D between the smart device D and the display device is generated, the connection record D is inserted into the screen projection connection list, and the number of screen projections in the connection record D is updated to 1. The device ID and connection time in the connection information are generally fixed, and the number of screen projections will accumulate. If the permission type is permanent permission, it will remain unchanged. If the permission type is no permission or temporary permission, the permission type may change with the user's authorization operation. change.
在一些实施例中,若显示设备端检测到第二结束投屏控件132被选择,或者显示设备接收到目标设备发送的第一退出投屏指示信息时,从投屏连接列表中查询目标设备与显示设备的投屏次数,若投屏次数为1,说明目标设备与显示设备是首次连接,则参照图14的示例,显示设备在退出投屏界面前显示第三提示弹窗141,第三提示弹窗141中包括授权询问信息142、单次授权控件143(即图14中的“是,仅下次续连”)、永久授权控件144(即图14中的“是,永久续连”)和拒绝授权控件145(即图14中的“否”)。其中,授权询问信息142用于询问是否为目标设备授予投屏续连权限,例如图14中示例为“即将断开智能设备2,是否自动续连?”,若检测到拒绝授权控件145被选择,即拒绝为智能设备2授予投屏续连权限,则关闭第三提示弹窗,显示设备与目标设备当前的投屏连接断开,并且下一次显示设备扫描到智能设备2时,不会自动向智能设备2发起投屏请求并与之连接,并且下一次的投屏连接断开时,仍需要显示第三提示弹窗141来询问智能设备2的权限类型。In some embodiments, if the display device detects that the second end screen projection control 132 is selected, or the display device receives the first exit screen projection instruction information sent by the target device, it queries the connection list of the target device from the screen projection connection list. Display the number of screen projection times of the display device. If the number of screen projection times is 1, it means that the target device is connected to the display device for the first time. Referring to the example in Figure 14, the display device displays a third prompt pop-up window 141 before exiting the screen projection interface. The pop-up window 141 includes authorization query information 142, a single authorization control 143 (that is, "Yes, only next time continuous" in Figure 14), and a permanent authorization control 144 (that is, "Yes, permanent continuous" in Figure 14) and deny authorization control 145 (ie "No" in FIG. 14). Among them, the authorization inquiry information 142 is used to inquire whether to grant the continuous permission of screen projection to the target device. For example, in FIG. , that is, refuse to grant the continuous screen projection permission for smart device 2, then close the third prompt pop-up window, the current screen projection connection between the display device and the target device is disconnected, and the next time the display device scans to the smart device 2, it will not automatically Initiate a screen projection request to the smart device 2 and connect with it, and the next time the screen projection connection is disconnected, a third prompt pop-up window 141 still needs to be displayed to inquire about the permission type of the smart device 2 .
在一些实施例中,若检测到永久授权控件144被选择,即同意为智能设备2授予永久投屏续连权限,则关闭第三提示弹窗141,显示设备与目标设备当前的投屏连接断开,并对投屏连接列表中智能设备2的连接信息进行更新,即在智能设备2的连接信息中填加第二权限标识,第二权限标识用于表征智能设备2具备永久投屏续连权限,则在后续智能设备2与显示设备的任意一次投屏连接断开时,都无需再显示第三提示弹窗141,即智能设备2的投屏续连权限具有永久有效性。In some embodiments, if it is detected that the permanent authorization control 144 is selected, that is, the smart device 2 is agreed to grant the permanent continuous screen projection permission, the third prompt pop-up window 141 is closed, and the current screen projection connection between the display device and the target device is disconnected. Open, and update the connection information of the smart device 2 in the screen projection connection list, that is, add the second permission identifier in the connection information of the smart device 2, and the second permission identifier is used to indicate that the smart device 2 has a permanent continuous screen projection permission, when any subsequent screen projection connection between the smart device 2 and the display device is disconnected, there is no need to display the third prompt pop-up window 141, that is, the continuous screen projection permission of the smart device 2 has permanent validity.
在一些实施例中,若检测到单次授权控件143被选择,即同意为智能设备2授予单次投屏续连权限,则关闭第三提示弹窗141,显示设备与目标设备当前的投屏连接断开,并在智能设备2的连接信息中填加第一权限标识,第一权限标识用于表征智能设备2具备单次投屏续连权限,假设显示设备与智能设备2当前的投屏次数为i,则在显示设备下一次扫描到智能设备2时,自动完成与智能设备2的投屏连接,智能设备2对应的投屏次数变为i+1,此时智能设备2的单次投屏续连权限失效,显示设备将撤销智能设备2的第一权限标识,这样在断开显示设备与智能设备2的第i+1次投屏连接时,可再次显示第三提示弹窗141,来决定智能设备2后续的投屏续连权限状态。 不同智能设备的权限类型可根据对智能设备的投屏频次、使用习惯和场景要求等因素设定。In some embodiments, if it is detected that the single authorization control 143 is selected, that is, it is agreed to grant the smart device 2 a single continuous screen projection permission, then the third prompt pop-up window 141 is closed to display the current screen projection between the device and the target device The connection is disconnected, and the first permission identifier is added to the connection information of the smart device 2. The first permission identifier is used to indicate that the smart device 2 has a single screen projection continuous permission. Assume that the current projection between the display device and the smart device 2 If the number of times is i, when the display device scans the smart device 2 next time, it will automatically complete the screen projection connection with the smart device 2, and the screen projection times corresponding to the smart device 2 will become i+1. At this time, the single time of the smart device 2 If the continuous screen projection permission fails, the display device will revoke the first permission identifier of the smart device 2, so that when the i+1th screen projection connection between the display device and the smart device 2 is disconnected, the third prompt pop-up window 141 can be displayed again , to determine the subsequent permission status of the smart device 2 for continuous screen projection. The permission types of different smart devices can be set according to factors such as the frequency of screen projection to smart devices, usage habits, and scene requirements.
在一些实施例中,若显示设备端检测到第二结束投屏控件132被选择,或者显示设备接收到目标设备发送的第一退出投屏指示信息时,从投屏连接列表中查询目标设备与显示设备的投屏次数,若投屏次数大于1,说明目标设备与显示设备并非首次连接,则识别目标设备对应的权限类型。若目标设备具备第二权限标识,即权限类型为永久投屏续连权限,则显示设备退出投屏时,不再显示第三提示弹窗141,直接断开与目标设备当前的投屏连接;若目标设备具备第一权限标识,即权限类型为单次投屏续连权限,或者,若目标设备不具备第一权限标识和第二权限标识,即目标设备的权限类型为无投屏续连权限,则显示设备在退出投屏时,需要再次显示第三提示弹窗141,并根据用户的授权操作指令,对目标设备的权限类型进行更新。例如第i(i大于1)次投屏连接下目标设备无投屏续连权限,在第i次投屏连接断开时,若检测到被选择的是单次授权控件143,则为目标设备填加第一权限标识;若检测到被选择的是永久授权控件144,则为目标设备填加第二权限标识;若检测到被选择的是拒绝授权控件145,则目标设备的权限类型保持不变。In some embodiments, if the display device detects that the second end screen projection control 132 is selected, or the display device receives the first exit screen projection instruction information sent by the target device, it queries the connection list of the target device from the screen projection connection list. Display the screen casting times of the device. If the screen casting times are greater than 1, it means that the target device and the display device are not connected for the first time. Then identify the permission type corresponding to the target device. If the target device has the second permission identifier, that is, the permission type is permanent screen projection continuous permission, then when the display device quits screen projection, the third prompt pop-up window 141 will not be displayed, and the current screen projection connection with the target device will be directly disconnected; If the target device has the first permission ID, that is, the permission type is the single screen projection continuous permission, or, if the target device does not have the first permission ID and the second permission ID, that is, the target device permission type is no continuous screen projection permission, the display device needs to display the third prompt pop-up window 141 again when exiting the screen projection, and update the permission type of the target device according to the user's authorization operation instruction. For example, the target device under the i-th (i greater than 1) screen projection connection has no continuous screen projection permission. When the i-th screen projection connection is disconnected, if it is detected that the single authorization control 143 is selected, it is the target device. If it is detected that the selected one is the permanent authorization control 144, then the second authorization identification is added for the target device; if it is detected that the selected one is the denial authorization control 145, then the permission type of the target device remains unchanged. Change.
在一些实施例中,可以基于投屏连接列表,来定义和配置用于设定目标设备的预设规则,可以理解的是,目标设备与显示设备首次投屏连接前,投屏次数为0,首次投屏连接成功后,投屏次数变为1,在第2次投屏连接成功之前,投屏次数保持为1不变,因此适配的预设规则为:显示设备响应于投屏指令,扫描当前的可连接设备,得到设备列表,然后将设备列表与投屏连接列表进行比较,从设备列表中查询当前具备第一权限标识或第二权限标识的M个第一设备,第一设备用于表示具有投屏续连权限的智能设备,若M值等于1,无论当前设备列表的S值是否大于1,都将唯一查询到的第一设备设定为目标设备,而无需由用户选定。In some embodiments, the preset rules for setting the target device can be defined and configured based on the screen projection connection list. It can be understood that the number of screen projections is 0 before the target device and the display device are connected for the first screen projection. After the first screen projection connection is successful, the number of screen projections becomes 1. Before the second screen projection connection is successful, the number of screen projections remains unchanged. Therefore, the default adaptation rule is: the display device responds to the screen projection command, Scan the current connectable devices to get the device list, then compare the device list with the screen projection connection list, query the M first devices that currently have the first permission ID or the second permission ID from the device list, the first device uses For a smart device that has the permission to cast screens continuously, if the M value is equal to 1, no matter whether the S value of the current device list is greater than 1 or not, the only first device queried will be set as the target device without being selected by the user .
在一些实施例中,适配的预设规则进一步为:若M大于1,说明M个第一设备都具备投屏续连权限,为避免出现投屏续连冲突问题,需要从M个第一设备中择一设定为目标设备。可选地,可以根据预设优先级,将优先级最高的第一设备设定为目标设备,预设优先级例如是按照投屏次数排序,投屏次数越多则优先级越高,或者,预设优先级是按照连接时间排序,连接时间距离当前时间越近则优先级越高。预设优先级不限于本实施例的示例。预设规则的配置方式不限于本公开的示例。In some embodiments, the preset rules for adaptation are further as follows: if M is greater than 1, it means that all M first devices have the permission to continue screen projection. Choose one of the devices as the target device. Optionally, the first device with the highest priority can be set as the target device according to a preset priority. The preset priority is, for example, sorted according to the number of screen projections. The more screen projections, the higher the priority, or, The preset priority is sorted according to the connection time, the closer the connection time is to the current time, the higher the priority. The preset priority is not limited to the example of this embodiment. The way of configuring the preset rules is not limited to the examples of the present disclosure.
在一些实施例中,若显示设备仅支持单路投屏,则仅能设定一个目标设备;若显示设备支持多路投屏,在避免播放冲突的情况下,允许设定一个或多个目标设备,例如显示设备支持N路投屏,N大于1,则可在投屏界面中创建并显示N个投屏窗口,显示设备可接收来自N个目标设备投屏的媒体数据,并将N路媒体数据分别加载显示于N个投屏窗口内,N个投屏窗口中的投屏窗口具有独立的结束投屏控件,N个投屏窗口中的投屏窗口均可独立控制。In some embodiments, if the display device only supports single-channel projection, only one target device can be set; if the display device supports multi-channel projection, it is allowed to set one or more targets while avoiding playback conflicts Devices, such as display devices that support N-way projection, if N is greater than 1, N projection windows can be created and displayed in the screen-casting interface, and the display device can receive media data from N target devices The media data is loaded and displayed in the N projection windows respectively, and the projection windows in the N projection windows have independent controls for ending the projection, and the projection windows in the N projection windows can be independently controlled.
在一些实施例中,参照图15的示例,投屏指令是语音输入时,语音内容可以是“投屏+目标设备标识151”的形式,即投屏指令中指定的目标设备标识对应的设备为投屏发送端,声音采集器采集语音信息后,将语音信息发送给语义服务器,语义服务器反馈解析结果,显示设备对解析结果进行识别,例如语音信息为“从智能设备3投屏”,则用户语音意图为投屏,目标设备为智能设备3。In some embodiments, referring to the example in FIG. 15 , when the screen casting instruction is voice input, the voice content may be in the form of "screen projection + target device identifier 151", that is, the device corresponding to the target device identifier specified in the screen casting instruction is At the projection sending end, the sound collector collects the voice information, and then sends the voice information to the semantic server. The semantic server feeds back the analysis result, and the display device recognizes the analysis result. For example, if the voice information is "screen projection from smart device 3", the user The voice intent is screen projection, and the target device is smart device 3.
在一些实施例中,在识别到解析结果中包含目标设备标识时,显示设备扫描得到设备列表,则进一步检测设备列表中是否包含目标设备标识。若设备列表中包含目标设备标识,表明投屏指令中用户指定的智能设备A已被显示设备扫描到,智能设备A属于可连接设备,则将智能设备A作为目标设备,向该目标设备发送投屏请求,并建立投屏连接。In some embodiments, when it is recognized that the parsing result contains the target device identifier, the display device scans to obtain a device list, and then further detects whether the target device identifier is included in the device list. If the target device ID is included in the device list, it indicates that the smart device A specified by the user in the screen projection command has been scanned by the display device, and the smart device A is a connectable device, then the smart device A is used as the target device, and the projection is sent to the target device. screen request and establish a screen mirroring connection.
在一些实施例中,若设备列表中不包含目标设备标识,说明显示设备无法扫描到用户在投屏指令中指定的智能设备B,智能设备B当前属于不可连接设备,参照图16的示例,在显示设备的当前界面上显示第二提示弹窗160,第二提示弹窗160中包括 第二提示信息161、连接控件162(即图16中的“是”)、第二重新扫描控件163(即图16中的“否,重新扫描”)和第二退出控件164(即图16中的“否,退出”),第二提示信息161用于提示未扫描到指定设备,并询问是否切换为当前的可连接设备,例如图16中提示为“未扫描到您指定的智能设备B,请检查智能设备B,是否切换为当前可连接设备?”,第二提示信息161供用户查看后,若检测到连接控件162被选择,即确定可以切换至可连接设备,则关闭第二提示弹窗160,并按照前述预设规则来设定目标设备,此处不再赘述。然后向目标设备发送投屏请求,建立显示设备与目标设备的投屏连接。In some embodiments, if the target device identifier is not included in the device list, it means that the display device cannot scan the smart device B specified by the user in the screen projection instruction, and the smart device B is currently an unconnectable device. Referring to the example in FIG. 16 , in A second prompt pop-up window 160 is displayed on the current interface of the display device, and the second prompt pop-up window 160 includes a second prompt message 161, a connection control 162 (i.e. "Yes" in FIG. 16 ), a second rescan control 163 (i.e. "No, rescan" among Fig. 16) and the second exit control 164 (i.e. "No, exit" among Fig. 16), the second prompt information 161 is used for prompting that no specified device has been scanned, and asks whether to switch to the current For example, the prompt in Figure 16 reads "Your specified smart device B has not been scanned, please check smart device B, is it switched to the current connectable device?", after the second prompt message 161 is for the user to view, if detected When the connection control 162 is selected, that is, it is determined to switch to a connectable device, the second prompt pop-up window 160 is closed, and the target device is set according to the aforementioned preset rules, which will not be repeated here. Then send a screen projection request to the target device, and establish a screen projection connection between the display device and the target device.
在一些实施例中,由于智能设备B无法被扫描到,第二提示信息161可供用户排查智能设备B的异常情况,例如排查智能设备B是否打开投屏开关,是否支持投屏功能等,若确定智能设备B根本不支持投屏,则可以确定第二退出控件164被选择,即拒绝切换至可连接设备,显示设备关闭第二提示弹窗160,退出投屏模式一的处理流程;若确定智能设备B的投屏开关被关闭,并已打开投屏开关,则第二重新扫描控件163可被选择,也即拒绝切换至可连接设备,显示设备关闭第二提示弹窗160,并重新扫描后,就能够搜索扫描到智能设备B,并且智能设备B是投屏指令中特别指定的,因此重新扫描后,将智能设备B设定为目标设备。In some embodiments, since the smart device B cannot be scanned, the second prompt information 161 can be used for the user to check the abnormal situation of the smart device B, for example, check whether the smart device B has turned on the screen projection switch, whether it supports the screen projection function, etc., if If it is determined that smart device B does not support screen projection at all, then it can be determined that the second exit control 164 is selected, that is, it refuses to switch to a connectable device, the display device closes the second prompt pop-up window 160, and exits the processing flow of screen projection mode 1; if determined The screen projection switch of smart device B is turned off, and the screen projection switch has been turned on, then the second rescanning control 163 can be selected, that is, the switch to the connectable device is refused, the display device closes the second prompt pop-up window 160, and rescans After scanning, the smart device B can be searched and scanned, and the smart device B is specially specified in the screen projection command, so after re-scanning, set the smart device B as the target device.
基于前述实施例的描述,在一些实施例中,图17示例第一种显示设备端执行的投屏方法,方法由显示设备的控制器250执行,包括如下程序步骤:Based on the description of the foregoing embodiments, in some embodiments, FIG. 17 illustrates the first screen projection method executed by the display device, the method is executed by the controller 250 of the display device, and includes the following program steps:
步骤S171,接收到用户输入的投屏指令,扫描可连接设备。可连接设备为启用投屏功能的投屏发送终端。Step S171, receiving a screen projection instruction input by the user, and scanning for connectable devices. The connectable device is a screen projection sending terminal with the screen projection function enabled.
步骤S172,向可连接设备中的目标设备发送投屏请求。投屏请求用于指示目标设备与显示设备建立投屏连接。Step S172, sending a screen projection request to the target device among the connectable devices. The screen projection request is used to instruct the target device to establish a screen projection connection with the display device.
步骤S173,接收目标设备响应投屏请求后发送的媒体数据,播放媒体数据。Step S173, receiving the media data sent by the target device in response to the screen projection request, and playing the media data.
基于前述实施例的描述,在一些实施例中,图18示例第二种显示设备端执行的投屏方法,方法由显示设备的控制器250执行,包括如下程序步骤:Based on the description of the foregoing embodiments, in some embodiments, FIG. 18 illustrates the second screen projection method executed by the display device, the method is executed by the controller 250 of the display device, and includes the following procedural steps:
步骤S181,采集用户输入的语音信息,并将语音信息发送给语义服务器。Step S181, collect voice information input by the user, and send the voice information to the semantic server.
步骤S182,接收语义服务器反馈的解析结果,识别用户语音意图为投屏。Step S182, receiving the analysis result fed back by the semantic server, and identifying the user's voice intention as screen projection.
步骤S183,扫描可连接设备,得到设备列表。设备列表中包括显示设备扫描到的可连接设备的设备标识。Step S183, scanning for connectable devices to obtain a device list. The device list includes device IDs that display the connectable devices scanned by the device.
步骤S184,判断解析结果中是否包含目标设备标识。若解析结果中不包含目标设备标识,则执行步骤S185;若解析结果中包含目标设备标识,则执行步骤S186。Step S184, judging whether the parsing result contains the target device identifier. If the parsing result does not contain the target device identifier, execute step S185; if the parsing result contains the target device identifier, execute step S186.
步骤S185,根据预设规则设定目标设备,并向目标设备发送投屏请求。步骤S185执行完成后转步骤S1812。Step S185, setting a target device according to preset rules, and sending a screen projection request to the target device. After step S185 is executed, go to step S1812.
步骤S186,检测设备列表中是否包含目标设备标识。设备列表包括被显示设备扫描到的S个可连接设备的设备标识,若设备列表中包含目标设备标识,则执行步骤S187;若设备列表中不包含目标设备标识,则执行步骤S188。Step S186, detecting whether the target device identifier is included in the device list. The device list includes device IDs of S connectable devices scanned by the display device. If the target device ID is included in the device list, step S187 is performed; if the target device ID is not included in the device list, step S188 is performed.
步骤S187,向目标设备标识指示的智能设备发送投屏请求。步骤S187执行完成后转步骤S1812。Step S187, sending a screen projection request to the smart device indicated by the target device identifier. After step S187 is executed, go to step S1812.
步骤S188,提示未扫描到目标设备标识指定的智能设备。Step S188, prompting that the smart device specified by the target device identifier has not been scanned.
步骤S189,询问是否切换为当前的可连接设备。若同意切换至当前的可连接设备,则执行步骤S1810;若拒绝切换至当前的可连接设备,则执行步骤S1811。Step S189, inquire whether to switch to the current connectable device. If it is agreed to switch to the current connectable device, execute step S1810; if reject to switch to the current connectable device, execute step S1811.
步骤S1810,根据预设规则设定目标设备,并向目标设备发送投屏请求。步骤S1810执行完成后转步骤S1812。Step S1810, setting a target device according to preset rules, and sending a screen projection request to the target device. After step S1810 is executed, go to step S1812.
步骤S1811,重新扫描可连接设备或退出投屏。Step S1811, re-scanning for connectable devices or exiting screen projection.
步骤S1812,接收目标设备响应投屏请求后发送的媒体数据,控制显示器播放媒体数据。Step S1812, receiving the media data sent by the target device in response to the screen projection request, and controlling the display to play the media data.
可选地,在步骤S185和步骤S1810中,预设规则被配置为:Optionally, in step S185 and step S1810, the preset rule is configured as:
获取设备列表当前的S值;S值用于表征显示设备扫描到的可连接设备的总数。Get the current S value of the device list; the S value is used to represent the total number of connectable devices scanned by the display device.
若检测到设备列表的S值为零,提示当前无可连接设备,允许退出投屏或重新扫描可连接设备;If the S value of the device list is detected to be zero, it will prompt that there is currently no device that can be connected, and it is allowed to exit the screen mirroring or re-scan for connectable devices;
若检测到S值等于1,将唯一的可连接设备设定为目标设备;If it is detected that the S value is equal to 1, set the only connectable device as the target device;
若检测到S值大于1,显示设备列表,并接收对设备列表中目标设备的选定操作。If it is detected that the S value is greater than 1, display the device list, and receive the selected operation on the target device in the device list.
可选地,在步骤S185和步骤S1810中,预设规则还可被配置为:Optionally, in step S185 and step S1810, the preset rule can also be configured as:
查询设备列表中当前具备投屏续连权限的M个第一设备;Query the M first devices in the device list that currently have continuous permission to cast screens;
若M值等于1,将唯一查询到的第一设备设定为目标设备;If the value of M is equal to 1, the only first device found in the query is set as the target device;
若M值大于1,根据预设优先级,将优先级最高的第一设备设定为目标设备。If the value of M is greater than 1, according to the preset priority, the first device with the highest priority is set as the target device.
基于前述实施例的描述,在一些实施例中,图19示例一种智能设备端执行的投屏方法,方法由智能设备中的控制器执行,包括如下程序步骤:Based on the description of the foregoing embodiments, in some embodiments, FIG. 19 illustrates a screen projection method executed by a smart device, the method is executed by a controller in the smart device, and includes the following procedural steps:
步骤S191,接收显示设备发送的投屏请求。投屏请求是显示设备响应用户输入的投屏指令,从扫描到的可连接设备中确定目标设备为智能设备后发送的,可连接设备为启用投屏功能的投屏发送终端。Step S191, receiving a screen projection request sent by the display device. The screen projection request is sent by the display device in response to the screen projection instruction input by the user, after determining that the target device is a smart device from the scanned connectable devices, and the connectable device is a screen projection sending terminal with the screen projection function enabled.
步骤S192,响应于投屏请求,建立与显示设备的投屏连接。Step S192, in response to the screen projection request, establish a screen projection connection with the display device.
步骤S193,投屏连接成功后,向显示设备发送媒体数据。In step S193, after the screen projection connection is successful, the media data is sent to the display device.
在投屏模式一中,作为投屏发送端的智能设备在打开投屏开关之后,无需主动扫描可投屏设备,而是被动等待显示设备的扫描,之后接收并响应到显示设备发送的投屏请求后,构建与显示设备的投屏连接,然后就可将指定的投屏数据或屏幕内容共享到显示设备端;而在投屏模式二中,智能设备在打开投屏开关后,主动扫描可投屏设备,显示设备不主动扫描可连接设备,而是等待发送端的扫描和指定,然后接收并响应智能设备端发送的投屏请求,建立与智能设备的投屏连接,即可接收智能设备投射而来的媒体数据。具体可根据实际场景,适配投屏模式,从而扩展投屏功能的场景适配性,语音投屏提升了投屏智能化,为用户提供更高效、便捷的投屏使用和交互体验。另外,智能设备的软硬件配置不限于本公开的示例,智能设备需支持投屏功能,并具有媒体播放能力。In screen projection mode 1, after the smart device as the screen projection sender turns on the screen projection switch, it does not need to actively scan the screen projection device, but passively waits for the scan of the display device, and then receives and responds to the screen projection request sent by the display device After that, build a screen projection connection with the display device, and then share the specified projection data or screen content to the display device; and in screen projection mode 2, after the smart device turns on the screen device, the display device does not actively scan for connectable devices, but waits for the scan and designation from the sender, then receives and responds to the screen projection request sent by the smart device, establishes a screen projection connection with the smart device, and then receives the projection from the smart device. incoming media data. Specifically, the projection mode can be adapted according to the actual scene, thereby expanding the scene adaptability of the projection function. The voice projection improves the intelligence of the projection, and provides users with a more efficient and convenient projection use and interactive experience. In addition, the software and hardware configuration of the smart device is not limited to the examples disclosed in the present disclosure, and the smart device needs to support a screen projection function and have a media playback capability.
上述实施例,投屏交互双端涉及显示设备和智能设备,显示设备为投屏接收端,目标设备/智能设备为投屏发送端,显示设备端可供用户输入投屏指令,投屏指令可以语音、UI交互等形式输入,显示设备响应于投屏指令,扫描当前可连接设备,用户期望的投屏发送媒体资源的目标设备若能够被扫描到,即可向目标设备发送投屏请求,目标设备响应投屏请求,可建立与显示设备的投屏连接,投屏连接成功后,目标设备可将其当前的媒体数据同步到显示设备,从而实现将目标设备的媒体数据投射到显示设备端播放。以教学场景为例,教师只需在显示设备端输入一个投屏指令,就可由显示设备端主动扫描并向笔记本电脑发起投屏请求,教师只需站在位置B处参照投屏的课件进行讲解,无需在位置A和位置B之间移动,也无需其他投屏辅助,因此缩减了投屏操作所耗费时间,不会干扰正常教学进程,使学生更关注于投屏分享的知识上。由此可见,本公开在实现多屏互动和屏幕共享的同时,使投屏操作更高效便捷,从而提升投屏功能的场景适配性和智能化,提升用户的投屏使用体验。In the above embodiment, the screen projection interaction involves the display device and the smart device. The display device is the screen projection receiver, and the target device/smart device is the screen projection sender. Voice, UI interaction and other forms of input, the display device responds to the screen projection command, scans the currently connected devices, and if the target device that the user expects to send media resources can be scanned, the screen projection request can be sent to the target device. The device can establish a screen projection connection with the display device in response to the screen projection request. After the screen projection connection is successful, the target device can synchronize its current media data to the display device, so as to realize the projection of the media data of the target device to the display device for playback. . Taking the teaching scene as an example, the teacher only needs to input a screen projection command on the display device, and the display device can actively scan and initiate a screen projection request to the laptop. The teacher only needs to stand at position B and refer to the projected courseware to explain , there is no need to move between position A and position B, and there is no need for other screen projection assistance, so the time spent on screen projection operation is reduced, and the normal teaching process will not be disturbed, so that students can pay more attention to the knowledge shared by projection screen. It can be seen that, while realizing multi-screen interaction and screen sharing, the present disclosure makes the screen projection operation more efficient and convenient, thereby improving the scene adaptability and intelligence of the screen projection function, and improving the user's screen projection experience.
在一些实施例中,图20示例一种显示设备与智能设备的投屏交互逻辑,涉及交互双端为设备A(投屏发送端/目标设备)和设备B(投屏接收端/显示设备),并配合用户交互操作。图20至少包括如下步骤:In some embodiments, FIG. 20 illustrates a screen projection interaction logic between a display device and a smart device, involving two interactive terminals: device A (screen projection sender/target device) and device B (screen projection receiver/display device) , and cooperate with user interaction. Figure 20 at least includes the following steps:
S2001、确定设备A的投屏开关处于打开状态。S2001. Determine that the screen projection switch of device A is on.
S2002、设备B接收来自用户的投屏指令。S2002. Device B receives a screen projection instruction from a user.
设备B检测投屏指令,投屏指令不限于语音指令、按键指令等。Device B detects the screen-casting command, and the screen-casting command is not limited to voice commands, button commands, and the like.
S2003、设备B响应于投屏指令,启动已配置的投屏服务/协议。S2003. Device B starts the configured screen projection service/protocol in response to the screen projection instruction.
设备B启动已配置的投屏服务/协议,以触发投屏模式一。Device B starts the configured screen projection service/protocol to trigger screen projection mode 1.
本实施例以Miracast为例,Miracast投屏不局限于设备A和设备B在同一局域网内,也不需要借助外界连接线等物质,更不需要设备A或设备B安装特定的可执行文件,只需要设备A和设备B都支持镜像投屏,就能实现不同终端间的屏幕共享。This embodiment takes Miracast as an example. Miracast projection is not limited to device A and device B being in the same local area network, and does not require the use of external connection lines and other materials, and does not require device A or device B to install specific executable files. Both device A and device B need to support screen mirroring, so that screen sharing between different terminals can be realized.
S2004、设备B启动wifi开关,初始化wifip2pManager。S2004. Device B activates the wifi switch, and initializes wifip2pManager.
S2005、设备B调用P2P协议中的discoverPeers主动扫描可连接的P2P设备,并得到设备列表。S2005. Device B invokes discoverPeers in the P2P protocol to actively scan for connectable P2P devices, and obtains a device list.
S2006、设备B通过wifip2pManager发送Peers_changed广播。S2006. Device B sends a Peers_changed broadcast through wifip2pManager.
S2007、设备B监听到Peers_changed广播,根据设备列表和投屏指令,并参照预设规则,设定目标设备为设备A。S2007. The device B listens to the Peers_changed broadcast, and sets the target device as the device A according to the device list and the screen projection instruction, and referring to the preset rules.
此处可参照图18的方案,不再赘述。Here, the solution in FIG. 18 may be referred to, and details are not repeated here.
S2008、设备B封装设备A的wifip2pconfig。S2008. Device B encapsulates wifip2pconfig of device A.
S2009、设备B向设备A发送投屏请求。S2009. Device B sends a screen projection request to device A.
S2010、设备B与设备A进行P2P配对连接。S2010, the device B performs a P2P pairing connection with the device A.
S2011、设备B获取设备A的IP地址和端口号等信息。S2011. Device B acquires information such as the IP address and port number of device A.
S2012、设备B向设备A发起TCP(Transmission Control Protocol,传输控制协议)连接。S2012. Device B initiates a TCP (Transmission Control Protocol, Transmission Control Protocol) connection to device A.
设备A与设备B成功完成TCP连接。Device A and device B successfully complete the TCP connection.
S2013、设备A与设备B进行Miracast服务下的RTSP(Real Time Streaming Protocol,实时流传输协议)协商。S2013, device A and device B perform RTSP (Real Time Streaming Protocol, real-time streaming protocol) negotiation under the Miracast service.
S2014、设备A与设备B建立UDP(User Datagram Protocol,用户数据报协议)连接。S2014. Device A establishes a UDP (User Datagram Protocol, User Datagram Protocol) connection with device B.
UDP无需建立连接就能发送封装的IP数据包。UDP sends encapsulated IP packets without establishing a connection.
S2015、设备A通过UDP将Miracast数据流传输至设备B。S2015. Device A transmits the Miracast data stream to device B through UDP.
S2016、设备B显示Miracast投屏数据。S2016. Device B displays Miracast projection data.
本公开的投屏连接覆盖P2P连接、TCP连接和UDP连接,在断开投屏连接时,这些连接都需要断开。本公开在实现多屏互动和屏幕共享的同时,使投屏操作更高效便捷,从而提升投屏功能的场景适配性和智能化,提升用户的投屏使用体验。The screen projection connection in the present disclosure covers P2P connection, TCP connection and UDP connection, and these connections need to be disconnected when the screen projection connection is disconnected. While realizing multi-screen interaction and screen sharing, the disclosure makes the screen projection operation more efficient and convenient, thereby improving the scene adaptability and intelligence of the screen projection function, and improving the user's screen projection experience.
上述实施例中提到的Miracast投屏,是电子设备如显示设备、手机等必备功能。Miracast投屏功能利用点对点(Peer-to-peer)网络传输功能,基于Wifi display标准协议(标准协议,简称WFD协议)实现。将例如手机或者平板等支持无线投屏功能的终端的屏幕画面和声音数据传输到其他外部设备进行显示,以达到屏幕共享的目的。示例性的,可以将终端上的屏幕画面和声音数据传输到显示设备,以使显示设备进行显示。对于投屏功能的支持,显示设备上的Wifi模块需要支持P2P和STA模式(STAtion),当显示设备需要使用投屏功能时,Wifi模块需要工作在P2P模式,当显示设备正常连接互联网时,Wifi模块需要工作在STA模式。The Miracast screen projection mentioned in the above embodiments is an essential function of electronic devices such as display devices and mobile phones. The Miracast projection function utilizes the peer-to-peer (Peer-to-peer) network transmission function, based on the Wifi display standard protocol (standard protocol, WFD protocol for short). The screen image and sound data of terminals that support the wireless screen projection function, such as mobile phones or tablets, are transmitted to other external devices for display, so as to achieve the purpose of screen sharing. Exemplarily, the screen image and sound data on the terminal may be transmitted to the display device, so that the display device can display it. For the support of the screen projection function, the Wifi module on the display device needs to support P2P and STA mode (STAtion). When the display device needs to use the screen projection function, the Wifi module needs to work in the P2P mode. When the display device is connected to the Internet normally, the Wifi The module needs to work in STA mode.
Wifi模块可以利用时间片分时复用技术,同时工作在P2P模式和STA模式两种模式下,可以让用户在正常使用显示设备功能的同时随时随地进行投屏。分时复用Wifi模块,是指Wifi模块在P2P模式和STA模式之间轮流切换,Wifi模块可以从STA模式转换为P2P模式,再由P2P模式转换为STA模式,然后继续从STA模式切换到P2P模式,如此往复。The Wifi module can use the time-slice time-division multiplexing technology, and work in both P2P mode and STA mode at the same time, allowing users to cast screens anytime and anywhere while using the display device functions normally. Time-division multiplexing Wifi module means that the Wifi module switches between P2P mode and STA mode in turn. The Wifi module can be converted from STA mode to P2P mode, then converted from P2P mode to STA mode, and then continue to switch from STA mode to P2P pattern, and so on.
但是,显示设备处于Miracast投屏功能时,显示在显示设备上的画面经常出现马赛克情况,如图21所示,图21中示出了根据一些实施例的一种显示设备的用户界面示意图,该用户界面出现显示有马赛克的情况,影响用户的观看。However, when the display device is in the Miracast screen projection function, mosaics often appear in the picture displayed on the display device, as shown in FIG. 21 , which shows a schematic diagram of a user interface of a display device according to some embodiments. The user interface appears to display mosaics, which affects the user's viewing.
因此,面对使用Miracast投屏功能时,画面出现马赛克情况提出新的解决方案。Therefore, when using the Miracast screen projection function, a new solution is proposed for the mosaic situation on the screen.
具体的,通过在显示器设置Wifi模块,以使Wifi模块处于P2P模式时间大于处于STA模式时间,并控制Wifi模块接收目标设备响应投屏请求后发送的媒体数据。这样可以保证不丢失大量投屏数据,不会出现马赛克的情况。Specifically, by setting the Wifi module on the display, so that the Wifi module is in the P2P mode for a longer time than in the STA mode, and controls the Wifi module to receive the media data sent by the target device in response to the screen projection request. This can ensure that a large amount of projection data will not be lost, and mosaic will not appear.
经过分析得知,出现该情况是由于终端向显示设备发送投屏数据时,出现长时间丢包情况导致的。由于Wifi模块被分时复用,当Wifi模块处于STA模式下,无法接收投屏数据,所以导致Wifi模块漏接投屏数据,即出现丢包情况,如果大量投屏数据未被接收,将会影响显示设备上的画面,出现马赛克的情况。After analysis, it is found that this situation is caused by long-term packet loss when the terminal sends screen projection data to the display device. Since the Wifi module is time-division multiplexed, when the Wifi module is in STA mode, it cannot receive the projection data, so the Wifi module misses the projection data, that is, packet loss occurs. If a large amount of projection data is not received, it will Affects the picture on the display device, resulting in mosaic.
为了解决上述技术问题,本公开实施例提供一种投屏方法,该方法中将Wifi模块设置为处于P2P模式时间大于STA模式时间,这样可以保证不丢失大量投屏数据,不会出现马赛克的情况。如图22所示,图22中示出了根据一些实施例的一种投屏方法的流程图,方法包括S2210-S2230,下面对该方法进行详细介绍:In order to solve the above technical problems, the embodiment of the present disclosure provides a screen projection method, in which the Wifi module is set to be in the P2P mode for a longer time than the STA mode time, so as to ensure that a large amount of screen projection data will not be lost and mosaic will not appear . As shown in FIG. 22, FIG. 22 shows a flow chart of a screen projection method according to some embodiments. The method includes S2210-S2230. The method is described in detail below:
前述实施例中,是以显示设备向目标设备发送投屏请求的示例进行说明的。在实际的应用过程中,还可以是目标设备向显示设备发送投屏请求。可以根据用户需求以及显示设备以及目标设备的功能进行设定。接下来,以目标设备向显示设备发送投屏请求为例,对投屏方法进行说明。In the foregoing embodiments, an example is described in which the display device sends a screen projection request to the target device. In an actual application process, the target device may also send a screen projection request to the display device. It can be set according to the user's needs and the functions of the display device and the target device. Next, take the target device sending a screen casting request to the display device as an example to describe the screen casting method.
S2210、接收目标设备发送的投屏请求,与目标设备完成投屏连接。S2210. Receive a screen projection request sent by the target device, and complete a screen projection connection with the target device.
本公开实施例中,目标设备可以响应用户的操作,以使目标设备向显示设备发送投屏请求。一些实施例中,目标设备可以为手机或平板等支持无线投屏功能的终端。示例性的,如图23所示,图23中示出了根据一些实施例的又一种显示设备的用户界面示意图,在图23中显示有目标设备搜索到的投屏设备列表,该设备列表中的设备均可与显示设备实现投屏功能,设备列表中包括三个设备名称为“终端A”、“终端B”和“终端C”。当终端为触屏手机时,触屏手机可以响应用户手部按压设备控件对应的位置,实现选中设备的目的,当触屏手机上与终端C控件对应的位置被触碰时,且终端C为显示设备时,发送投屏请求到显示设备。本公开实施例中,并不限制如何在目标设备调出投屏设备列表的方法,任何可以实现显示设备显示该投屏设备列表的方式均可。In the embodiment of the present disclosure, the target device may respond to the user's operation, so that the target device sends a screen projection request to the display device. In some embodiments, the target device may be a terminal that supports a wireless screen projection function, such as a mobile phone or a tablet. Exemplarily, as shown in FIG. 23, FIG. 23 shows a schematic diagram of a user interface of another display device according to some embodiments. In FIG. 23, a list of screen-casting devices searched by the target device is displayed, and the device list All the devices in can realize the screen projection function with the display device, and the device list includes three device names named "terminal A", "terminal B" and "terminal C". When the terminal is a touch-screen mobile phone, the touch-screen mobile phone can respond to the position corresponding to the user's hand pressing the device control to achieve the purpose of selecting the device. When the position corresponding to the terminal C control on the touch-screen mobile phone is touched, and terminal C is When displaying the device, send a screencasting request to the display device. In the embodiments of the present disclosure, there is no limitation on how to call up the screen projection device list on the target device, and any method that can realize the display device to display the screen projection device list is acceptable.
一些实施例中,投屏设备列表中的设备按照投屏次数排列,将投屏次数较多的设备排列在设备列表的前面。一些实施例中,也可以采用其他的排列方式,排列投屏设备列表中的设备,示例性的,显示设备中预先设置设备的排列次序,具体的,按照自身喜好,将以往与显示设备进行过投屏的设备预先设置排列次序,将当前可以与显示设备实现投屏连接的设备进行排序。In some embodiments, the devices in the screen-casting device list are arranged according to the number of screen-casting times, and the devices with more screen-casting times are arranged in front of the device list. In some embodiments, other arrangements can also be used to arrange the devices in the screen projection device list. For example, the arrangement order of the devices is preset in the display device. The screen-casting devices are pre-set in order to sort the devices that can currently realize the screen-casting connection with the display device.
一些实施例中,显示设备接收到投屏请求,显示设备上显示有通知消息,通知消息可以用于询问用户是否同意显示设备与终端投屏。显示设备根据用户的操作判断用户确定是否同意显示设备和目标投屏,如果检测到确定同意显示设备与目标设备投屏后,显示设备发送同意投屏指令到目标设备,目标设备和显示设备执行投屏连接。在执行投屏连接后,目标设备方可向显示设备发送投屏数据。In some embodiments, when the display device receives the screen projection request, a notification message is displayed on the display device, and the notification message may be used to ask the user whether to agree to screen projection between the display device and the terminal. The display device judges whether the user agrees to cast the screen between the display device and the target device according to the user's operation. If it is detected that the screen projection between the display device and the target device is confirmed, the display device sends an instruction to agree to the screen projection to the target device, and the target device and the display device perform projection. screen connection. After the screen projection connection is executed, the target device can send screen projection data to the display device.
如图24所示,图24示出了根据一些实施例的又一种显示设备的用户界面示意图,在图24中该询问消息的内容为“是否同意目标设备进行投屏”。在显示询问消息的同时,还显示有同意控件和不同意控件。控制装置可供用户将焦点移动到同意控件上,并按压控制装置上的确认键,此时生成同意投屏指令,发送同意投屏指令到目标设备,目标设备和显示设备执行投屏连接。另外,控制装置还可供用户将焦点移动到不同意控件上,并响应于用户对控制装置上的确认键的按压操作,此时生成不同意投屏指令,此时显示设备不同意与目标设备执行投屏连接。As shown in FIG. 24, FIG. 24 shows a schematic diagram of another user interface of a display device according to some embodiments. In FIG. 24, the content of the query message is "whether you agree to the target device to perform screen projection". Along with the query message, an agree control and a disagree control are displayed. The control device allows the user to move the focus to the consent control and press the confirmation key on the control device. At this time, the screen projection consent command is generated, and the screen projection consent command is sent to the target device, and the target device and the display device perform screen projection connection. In addition, the control device can also allow the user to move the focus to the disagreement control, and in response to the user's pressing operation on the confirmation key on the control device, at this time, a disagreement screen projection command is generated. At this time, the display device does not agree with the target device. Execute the screencast connection.
需要说明的是,本公开实施例中焦点移动到控件上,可以使该控件的边框加粗,另外,也可以采用其他形式表示该控件被选中,示例性的当焦点移动到该控件上,该控件可以改变形态,可以从方形改成圆形等,也可以当控件被选中,该控件按照预设比例被放大,例如,用户界面上的视频控件的显示面积相同,当某一控件被选中后,该控件的显示面积照比原有控件的显示面积增大1.2倍。由于本公开并不对焦点位于控件上,控件的形态进行限制,所以其他可以便于用户分辨用于视频控件被选中的形式均可以被接受。It should be noted that, in the embodiment of the present disclosure, when the focus is moved to the control, the border of the control can be thickened. In addition, other forms can also be used to indicate that the control is selected. Exemplarily, when the focus moves to the control, the Controls can change shape, from square to circular, etc., and when the control is selected, the control will be enlarged according to the preset ratio. For example, the display area of the video control on the user interface is the same. When a certain control is selected , the display area of the control is 1.2 times larger than that of the original control. Since the present disclosure does not limit the focus on the control and the shape of the control, other forms that can facilitate the user to distinguish that the video control is selected can be accepted.
一些实施例中,该可以采用其他方式,实现生成同意投屏指令和生成不同意投屏指令,示例性的,控制装置上设置有预设按键,按压第一预设按键时,生成同意投屏指令;按压第二预设按键时,生成不同意投屏指令。询问消息还可以通过语音的形式播放,显示设备检测用户根据询问消息的内容通过语音回答的是否同意投屏的语音。示例性的,显示设备播放“是否同意目标设备进行投屏”,检测用户在一定的时间内回答的“同意”,此时生成同意投屏指令。还可以检测用户在一定的时间内回答的“不同意”, 此时生成不同意投屏指令。另外,如果在一定时间内未检测到用户的回复,此时可能为了保证显示设备不随意播放终端的投屏数据,在确定用户听到显示设备播放的询问消息后可以生成不同意投屏指令。一些实施例中,在显示设备的用户界面上显示询问消息的同时,通过语音播放该询问消息,这样可以提醒用户查看该询问消息,避免错过投屏内容。In some embodiments, other methods can be used to realize the generation of the screen projection instruction and the generation of the screen projection instruction of disapproval. For example, a preset button is set on the control device. Instruction; when the second preset button is pressed, a screen projection instruction that does not agree is generated. The inquiry message can also be played in the form of voice, and the display device detects whether the user agrees to the voice of screen projection according to the content of the inquiry message. Exemplarily, the display device plays "whether you agree to the target device's screen projection", detects the user's "agree" answer within a certain period of time, and generates an instruction to agree to the screen projection at this time. It is also possible to detect "disagree" answered by the user within a certain period of time, and at this time, a disagree screen projection instruction is generated. In addition, if the user's reply is not detected within a certain period of time, in order to ensure that the display device does not play the screen projection data of the terminal at will, a disapproval screen projection instruction can be generated after the user has heard the inquiry message played by the display device. In some embodiments, while the query message is displayed on the user interface of the display device, the query message is played by voice, so that the user can be reminded to check the query message and avoid missing the projected screen content.
一些实施例中,在接收目标设备发送的投屏请求之前,方法还包括:In some embodiments, before receiving the screen projection request sent by the target device, the method further includes:
接收开机指令,判断投屏开关的状态是否为开启状态。一些实施例中,按压控制装置上的开机键可供用户按压,生成开机指令。另一些实施例中,设置在显示设备上的电源键还可以供用户按压,生成开机指令。Receive a power-on command, and determine whether the state of the screen projection switch is on. In some embodiments, the power-on button on the press control device can be pressed by the user to generate a power-on command. In some other embodiments, the power button provided on the display device can also be pressed by the user to generate a power-on instruction.
本公开实施例中,当显示设备开机时,通过投屏开关的状态,确定Wifi模块的使用模式。本公开实施例中,在显示设备的用户界面上设置有投屏开关,该投屏开关控制显示设备的投屏功能的使用,投屏开关的设置方便用户对是否使用投屏功能进行设置。示例性的,如图25所示,图25中示出了根据一些实施例的又一种显示设备的用户界面示意图,在图25中的显示界面上显示有投屏开关。当用户希望使用投屏功能,投屏开关的状态设置为开启状态,可以随时进行投屏。对于不经常使用此投屏功能的用户来说,投屏开关的状态可以设置为关闭状态。In the embodiment of the present disclosure, when the display device is turned on, the use mode of the Wifi module is determined according to the state of the screen projection switch. In the embodiment of the present disclosure, a screen projection switch is provided on the user interface of the display device, and the screen projection switch controls the use of the screen projection function of the display device. The setting of the screen projection switch is convenient for the user to set whether to use the screen projection function. Exemplarily, as shown in FIG. 25 , a schematic diagram of a user interface of another display device according to some embodiments is shown in FIG. 25 , and a screen projection switch is displayed on the display interface in FIG. 25 . When the user wants to use the screen projection function, the state of the screen projection switch is set to the on state, and the screen projection can be performed at any time. For users who do not use the screen mirroring function frequently, the status of the screen mirroring switch can be set to off.
示例性的,再次参阅图25,在图25中投屏开关的状态为关闭状态,控制装置可供用户操作,将焦点移动到投屏开关控件上,控制装置上的确认键或右键可供用户按压,切换投屏开关的状态为开启状态。如图26所示,图26中示出了根据一些实施例的又一种显示设备的用户界面示意图,在图26中投屏开关的状态为开启状态。当投屏开关的状态为开启状态时,按压控制装置上的确认键,或者按压左键,切换投屏开关的状态为关闭状态,再次参阅图25的投屏开关,该投屏开关的状态为关闭状态。Exemplarily, referring to Fig. 25 again, in Fig. 25, the state of the screen projection switch is off, the control device can be operated by the user, and the focus can be moved to the screen projection switch control, and the confirmation key or right button on the control device can be used by the user Press to switch the status of the screen projection switch to on. As shown in FIG. 26 , a schematic diagram of a user interface of another display device according to some embodiments is shown in FIG. 26 . In FIG. 26 , the screen projection switch is turned on. When the status of the screen projection switch is on, press the confirmation button on the control device, or press the left button to switch the status of the screen projection switch to off. Refer to the screen projection switch in Figure 25 again. The state of the screen projection switch is Disabled.
一些实施例中,如果投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式,其中第三模式中STA模式时间大于P2P模式时间。对于经常使用投屏功能的用户,投屏开关的状态可以设置为开启状态。当显示设备开机后,Wifi模块的使用模式为第三模式。In some embodiments, if the state of the screen projection switch is on, set the usage mode of the Wifi module to the third mode, wherein the time in STA mode in the third mode is longer than the time in P2P mode. For users who often use the screen mirroring function, the status of the screen mirroring switch can be set to on. When the display device is turned on, the usage mode of the Wifi module is the third mode.
本公开实施例中,如果投屏开关的状态为开启状态,则说明用户希望使用投屏功能,当没有接收到终端的投屏请求之前,将Wifi模块设置为处于STA模式时间大于处于P2P模式时间,这样可以满足用户正常使用互联网的需求,保证用户正常使用上网功能。另外,Wifi模块处于P2P模式时间较少,也不会产生太大影响,因为此时并未真正的投屏,没有投屏数据传输到显示设备,所以处于P2P模式时间较少仍可以让显示设备处于被发现状态,具体的,终端在查找可以投屏的设备时,该显示设备可以被发现,被显示设备发现的设备可以显示在投屏设备列表中,示例性的,再次参阅图23,被发现的设备可以显示图7中的投屏设备列表中。当显示设备处于被发现状态时,随时可以搜索到显示设备进行投屏。在投屏连接完成后,即可等待终端发送投屏数据。In the embodiment of the present disclosure, if the status of the screen projection switch is on, it means that the user wants to use the screen projection function. Before receiving the screen projection request from the terminal, set the Wifi module to be in STA mode for a longer time than in P2P mode , which can meet the needs of users for normal use of the Internet and ensure that users can use the Internet function normally. In addition, the Wifi module spends less time in P2P mode, and it will not have much impact, because there is no real screen projection at this time, and no screen projection data is transmitted to the display device, so the display device can still be used for less time in P2P mode. In the discovered state, specifically, when the terminal searches for a device that can cast a screen, the display device can be discovered, and the device discovered by the display device can be displayed in the screen projection device list. For example, refer to FIG. 23 again. The discovered devices can be displayed in the list of screen-casting devices shown in FIG. 7 . When the display device is in the discovered state, the display device can be searched for screen projection at any time. After the screen projection connection is completed, you can wait for the terminal to send the screen projection data.
显示设备的使用模式为第三模式,示例性的,如图27所示,图27中示出了根据一些实施例的一种Wifi模块的使用模式的切换示意图,从STA模式转换为P2P模式,再由P2P模式转换为STA模式为一个时间周期,如果一个时间周期为500单位时间,处于STA模式为310单元时间,P2P模式和STA模式切换时间为70单位时间,处于STA模式为500-310-140=50单位时间,在实际工作中,Wifi模块不断在处于P2P模式和STA模式之间切换,处于P2P模式时间大于处于STA模式时间。在图27中首先处于STA模式310单位时间,接着STA模式转换为P2P模式70单位时间,继续处于P2P模式50单位时间,然后P2P模式转换为STA模式70单位时间,然后重复进入STA模式,按照此规律继续转换Wifi模块所处的模式。The usage mode of the display device is the third mode. For example, as shown in FIG. 27, FIG. 27 shows a schematic diagram of switching the usage mode of a Wifi module according to some embodiments, switching from STA mode to P2P mode, Then switch from P2P mode to STA mode for a time period, if a time period is 500 unit time, in STA mode is 310 unit time, P2P mode and STA mode switching time is 70 unit time, in STA mode is 500-310- 140=50 unit time. In actual work, the Wifi module is constantly switching between P2P mode and STA mode, and the time in P2P mode is longer than that in STA mode. In Figure 27, first stay in STA mode for 310 units of time, then switch from STA mode to P2P mode for 70 units of time, continue to stay in P2P mode for 50 units of time, then switch from P2P mode to STA mode for 70 units of time, and then repeatedly enter STA mode, according to this The regularity continues to switch the mode the Wifi module is in.
一些实施例中,如果投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式,其中第四模式为STA模式。本公开实施例中,当投屏开关的状态为关闭状态时,说明用户暂时不希望使用投屏功能,显示设备开机后直接将Wifi模块的使用模式设置为STA模式,这样Wifi模块不被分时复用,可以使Wifi模块完全处于STA模 式,提高显示设备与互联网连接的性能。In some embodiments, if the state of the screen projection switch is off, then set the use mode of the Wifi module to the fourth mode, wherein the fourth mode is the STA mode. In the embodiment of the present disclosure, when the status of the screen projection switch is off, it means that the user does not want to use the screen projection function for the time being. After the display device is turned on, the use mode of the Wifi module is directly set to STA mode, so that the Wifi module will not be time-shared. Multiplexing can make the Wifi module completely in STA mode and improve the performance of the display device connected to the Internet.
举一个实例,用户A是老人,一般情况下不使用投屏功能,就将此投屏开关的状态设置为关闭状态。但是经常上网观看网络电视剧,这样设置Wifi模块为STA模式,在单模式STA模式下,可以节省资源,提高正常网络速度和质量。To give an example, user A is an elderly person, and generally does not use the screen projection function, so the state of the screen projection switch is set to off. However, I often watch online TV dramas on the Internet, so setting the Wifi module to STA mode can save resources and improve the normal network speed and quality in single mode STA mode.
当Wifi模块的使用模式为第四模式时,接收到启动P2P模式的指令,判断当前是否被第一终端控制。本公开实施例中,当Wifi模块处于STA模式下时,显示设备不能执行投屏操作,如果后期希望使用投屏功能,则显示设备可供用户继续操作,继续使显示设备实现投屏功能。When the usage mode of the Wifi module is the fourth mode, an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal. In the embodiment of the present disclosure, when the Wifi module is in the STA mode, the display device cannot perform the screen projection operation. If you want to use the screen projection function later, the display device can be used by the user to continue to operate, and continue to enable the display device to realize the screen projection function.
本公开实施例中,当投屏开关的状态设置为关闭状态后,存在使用投屏功能的需求时,此时除了可以将投屏开关的状态设置为开启状态,还可以使用在显示设备上单独设置的一个仅用于启动P2P模式的应用,利用该应用实现投屏功能。In the embodiment of the present disclosure, when there is a need to use the screen projection function after the state of the screen projection switch is set to off, at this time, in addition to setting the state of the screen projection switch to the on state, it can also be used separately on the display device. An application that is set only to start the P2P mode, and use this application to realize the screen projection function.
接收到启动P2P模式的指令,可以为用户通过控制装置将焦点移动到用于启动P2P模式的应用控件上,并按压控制装置上的确认键生成。示例性的,如图28所示,图12中示出了根据一些实施例的又一种显示设备的用户界面示意图,在图28的用户界面上显示有用于启动P2P模式的应用控件。本公开实施例中,并不限制显示设备显示启动P2P模式的应用控件的具体位置,以及如何控制该应用控件显示在用户界面上。The instruction to start the P2P mode may be generated by the user moving the focus to the application control for starting the P2P mode through the control device and pressing the confirmation key on the control device. Exemplarily, as shown in FIG. 28 , FIG. 12 shows a schematic diagram of a user interface of another display device according to some embodiments, and application controls for starting the P2P mode are displayed on the user interface in FIG. 28 . In the embodiments of the present disclosure, the specific location where the display device displays the application control for starting the P2P mode, and how to control the display of the application control on the user interface are not limited.
一些实施例中,该启动P2P模式的应用控件,可以设置在显示设备的主页界面上,另一些实施例中,该启动P2P模式的应用控件还可以设置在二级界面上,示例性的,在一级界面即主页界面上,显示有设置控件,控制装置可供用户将焦点移动到该设置控件上,并按压控制装置上的确认键,该用户界面跳转到与设置控件相对应的二级界面,在该二级界面上显示有启动P2P模式的应用控件,当然二级界面上还可以显示有关于设置显示设备属性的其他控件。In some embodiments, the application control for starting the P2P mode can be set on the home page interface of the display device. In other embodiments, the application control for starting the P2P mode can also be set on the secondary interface. For example, in The first-level interface, that is, the home page interface, displays setting controls. The control device allows the user to move the focus to the setting control and press the confirmation key on the control device. The user interface jumps to the second-level corresponding to the setting control. interface, the application control for starting the P2P mode is displayed on the secondary interface, and of course other controls related to setting display device properties can also be displayed on the secondary interface.
本公开实施例中,在接收到启动P2P模式的指令后,判断当前是否被第一终端控制。本公开实施例中,显示设备根据自身实际情况,确定Wifi模块的使用模式。In the embodiment of the present disclosure, after receiving the instruction to start the P2P mode, it is judged whether it is currently controlled by the first terminal. In the embodiment of the present disclosure, the display device determines the usage mode of the Wifi module according to its own actual situation.
本公开实施例中,显示设备可以被控制装置进行控制,显示设备还可以被第一终端中设置的用于控制显示设备的应用控制,该应用类似于虚拟的控制装置。判断当前是否被第一终端控制,可以理解为显示设备是否与第一终端中设置的用于控制显示设备的应用连接。一些实施例中,用于控制显示设备的应用,和显示设备同处于同一局域网内,且显示设备的Wifi模块处于STA模式时,可以操控显示设备。In the embodiment of the present disclosure, the display device may be controlled by the control device, and the display device may also be controlled by an application configured in the first terminal for controlling the display device, and the application is similar to a virtual control device. Judging whether it is currently controlled by the first terminal may be understood as whether the display device is connected to an application set in the first terminal for controlling the display device. In some embodiments, the application for controlling the display device is in the same local area network as the display device, and when the Wifi module of the display device is in STA mode, it can control the display device.
如果被第一终端控制,则设置Wifi模块的使用模式为第一模式,其中第一模式中P2P模式时间大于STA模式时间。本公开实施例中,当接收到启动P2P模式的指令后,根据显示设备当前情况,即显示设备是否被第一终端控制,确定执行的操作。If it is controlled by the first terminal, set the use mode of the Wifi module to the first mode, wherein the time of the P2P mode in the first mode is longer than the time of the STA mode. In the embodiment of the present disclosure, after the instruction to start the P2P mode is received, the operation to be performed is determined according to the current situation of the display device, that is, whether the display device is controlled by the first terminal.
一些实施例中,如果显示设备被第一终端控制,即与第一终端中的控制显示设备的应用连接,则设置Wifi模块的使用模式为第一模式。本公开实施例中,接收到启动P2P模式的指令,此时说明用户希望使用投屏功能,并且当显示设备被第一终端控制时,将Wifi模块进行分时复用,设置Wifi模块的使用模式为第一模式。In some embodiments, if the display device is controlled by the first terminal, that is, connected to an application in the first terminal that controls the display device, the usage mode of the Wifi module is set to the first mode. In the embodiment of the present disclosure, when an instruction to start the P2P mode is received, it means that the user wants to use the screen projection function, and when the display device is controlled by the first terminal, the Wifi module is time-division multiplexed to set the usage mode of the Wifi module for the first mode.
本公开实施例中,第一终端中用于控制显示设备的应用与显示设备连接,需要Wifi模块处于STA模式。另外,为了保证Wifi模块不会大量漏接投屏数据,将Wifi模块设置为处于P2P模式时间大于处于STA模式时间。这样设置Wifi模块的使用模式为第一模式,既能保证第一终端上设置的控制显示设备的应用仍能操控显示设备,还能使Wifi模块不会大量漏接投屏数据。In the embodiment of the present disclosure, the connection between the application for controlling the display device in the first terminal and the display device requires that the Wifi module is in the STA mode. In addition, in order to ensure that the Wifi module will not miss a large amount of projection data, set the Wifi module to be in P2P mode for a longer time than in STA mode. Setting the use mode of the Wifi module to the first mode in this way can not only ensure that the application for controlling the display device set on the first terminal can still control the display device, but also prevent the Wifi module from missing a large amount of projection data.
如果显示设备未被第一终端控制,则设置Wifi模块的使用模式为第二模式。一些实施例中,如果显示设备未被第一终端控制,即未与第一终端中用于控制显示设备的应用连接,则设置Wifi模块的使用模式为第二模式,该第二模式仅为P2P模式。这是因为第一终端中用于控制显示设备的应用没有与显示设备连接,不需要Wifi模块处于STA模式下,所以直接将显示设备的Wifi模块设置为P2P模块,这样可以完全避免Wifi模块漏接投屏数据。If the display device is not controlled by the first terminal, the use mode of the Wifi module is set to the second mode. In some embodiments, if the display device is not controlled by the first terminal, that is, it is not connected to the application used to control the display device in the first terminal, then the use mode of the Wifi module is set to the second mode, and the second mode is only P2P model. This is because the application used to control the display device in the first terminal is not connected to the display device, and does not require the Wifi module to be in STA mode, so directly set the Wifi module of the display device as a P2P module, which can completely avoid missing the Wifi module Screen data.
以上为在与目标设备完成投屏连接前执行的步骤,下面介绍与目标设备完成投屏 连接后,方法执行的步骤。The above are the steps performed before the screen projection connection with the target device is completed. The following describes the steps performed by the method after the screen projection connection with the target device is completed.
S2220、设置Wifi模块,以使Wifi模块处于P2P模式时间大于处于STA模式时间。本公开实施例中,当显示设备与目标设备完成投屏连接后,目标设备将会将投屏数据发送到显示设备,以使显示设备显示该投屏数据,为了保证显示设备中的Wifi模块不会大量漏接投屏数据,将Wifi模块处于P2P模式时间大于处于STA模式时间。S2220. Set the Wifi module, so that the time of the Wifi module in the P2P mode is longer than the time in the STA mode. In the embodiment of the present disclosure, after the display device and the target device complete the screen projection connection, the target device will send the screen projection data to the display device so that the display device can display the screen projection data. In order to ensure that the Wifi module in the display device does not A large amount of projection data will be missed, and the time for the Wifi module to be in P2P mode is longer than that in STA mode.
一些实施例中,设置Wifi模块的方法包括:判断当前是否被第一终端控制。显示设备现在需要进行miracast投屏显示,因此需要设置一个较优状态,以使显示设备的画面不会出现马赛克。首先判定当前显示设备是否被第一终端控制,一些实施例中,判断当前显示设备是否被第一终端控制,可以通过判断显示设备是否连接用于控制显示设备的应用确定。如果连接用于控制显示设备的应用,则需要分时复用Wifi模块,提高P2P模式的分时参数,减少STA的分时参数,将Wifi模块处于P2P模式时间设置为大于处于STA模式时间。如果没有连接用于控制显示设备的应用,则仅设置显示设备整机模式为P2P模式即可,这样可以降低丢包率。In some embodiments, the method for setting the Wifi module includes: judging whether it is currently controlled by the first terminal. The display device now needs to perform miracast projection, so it is necessary to set a better state so that there will be no mosaic on the screen of the display device. First, it is determined whether the current display device is controlled by the first terminal. In some embodiments, whether the current display device is controlled by the first terminal may be determined by determining whether the display device is connected to an application for controlling the display device. If the application used to control the display device is connected, the Wifi module needs to be time-division multiplexed, increase the time-sharing parameters of the P2P mode, reduce the time-sharing parameters of the STA, and set the time of the Wifi module in P2P mode to be longer than the time in STA mode. If there is no application connected to control the display device, just set the overall mode of the display device to P2P mode, which can reduce the packet loss rate.
一些实施例中,判断当前是否被第一终端控制,可以理解为显示设备是否与第一终端中设置的用于控制显示设备的应用连接。用于控制显示设备的应用,在上文已经介绍,在此不再赘述。In some embodiments, judging whether it is currently controlled by the first terminal may be understood as whether the display device is connected to an application set in the first terminal for controlling the display device. The application for controlling the display device has been introduced above, and will not be repeated here.
具体的,如果被第一终端控制,则设置Wifi模块的使用模式为第一模式,其中第一模式中P2P模式时间大于STA模式时间。一些实施例中,如果显示设备被第一终端控制,即与第一终端中的控制显示设备的应用连接,则设置Wifi模块的使用模式为第一模式,在第一模式中还是分时复用该WIFI模块,这是因为第一终端中的控制显示设备的应用与显示设备连接需要Wifi模块处于STA模式,但是为了保证Wifi模块不会大量漏接投屏数据,将Wifi模块设置为处于P2P模式时间大于处于STA模式时间,这样既能保证第一终端上设置的控制显示设备的应用仍能操控显示设备,还能使Wifi模块不会大量漏接投屏数据。Specifically, if it is controlled by the first terminal, the usage mode of the Wifi module is set to the first mode, wherein the time of the P2P mode in the first mode is longer than the time of the STA mode. In some embodiments, if the display device is controlled by the first terminal, that is, connected to the application that controls the display device in the first terminal, then the usage mode of the Wifi module is set to the first mode, and in the first mode, it is still time-division multiplexing The WIFI module, this is because the application of the control display device in the first terminal requires the Wifi module to be in STA mode, but in order to ensure that the Wifi module will not miss a large amount of projection data, the Wifi module is set to be in P2P mode The time is longer than the time in STA mode, so that it can not only ensure that the application for controlling the display device set on the first terminal can still control the display device, but also prevent the Wifi module from missing a large amount of projection data.
示例性的,一个时间周期为500单位时间,即从STA模式转换为P2P模式,再由P2P模式转换为STA模式。处于P2P模式为300单元时间,P2P模式和STA模式切换时间为70单位时间,处于STA模式为500-300-140=60单位时间,如图29所示,图29中示出了根据一些实施例的又一种Wifi模块的使用模式的切换示意图,首先处于STA模式60单位时间,接着STA模式转换为P2P模式70单位时间,继续处于P2P模式300单位时间,然后P2P模式转换为STA模式70单位时间,然后重复进入STA模式,按照此规律继续转换Wifi模块所处的模式。Exemplarily, one time period is 500 unit time, that is, switching from STA mode to P2P mode, and then switching from P2P mode to STA mode. In P2P mode, it takes 300 unit time, the switching time between P2P mode and STA mode is 70 unit time, in STA mode, it is 500-300-140=60 unit time, as shown in Figure 29, which shows that according to some embodiments Another schematic diagram of switching the use mode of the Wifi module, first in STA mode for 60 unit time, then STA mode is converted to P2P mode for 70 unit time, continue to be in P2P mode for 300 unit time, and then P2P mode is converted to STA mode for 70 unit time , and then repeatedly enter the STA mode, and continue to switch the mode of the Wifi module according to this rule.
举一个实例,用户B喜欢把终端上的内容投屏到显示设备上,和家人分享,因此投屏开关默认设置为开启。这样每次使用投屏的时候就可以随时投屏。如果家里的控制装置未被发现,可以使用一个设置在终端的用于控制显示设备的应用来操控显示设备。显示设备进行了投屏操作,显示设备整机发现该显示设备已经连接用于控制显示设备的应用,此时分时复用了Wifi模块,这样既可以使用用于控制显示设备的应用控制显示设备,也能进行投屏操作。Wifi模块分时复用时需要提高处于P2P模式时间,降低处于STA模式时间。因为用于控制显示设备的应用对于显示设备整机的控制是少量数据,因此处于STA模式时间可以降低。而投屏传输的投屏数据量较大,需要提高处于P2P模式的时间。后面家里的控制装置被发现,显示设备与用于控制显示设备的应用断开,此时显示设备处于投屏状态,投屏连接完成后显示设备整机将使用模式设置为仅是P2P模式,保证了显示设备收包可靠性,保证了画面质量。To give an example, user B likes to cast the content on the terminal to the display device to share with his family, so the screen mirroring switch is set to on by default. In this way, you can cast your screen at any time every time you use it. If the control device at home is not found, an application for controlling the display device set on the terminal can be used to control the display device. The display device performs a screen projection operation, and the whole display device finds that the display device has been connected to the application for controlling the display device. At this time, the Wifi module is time-division multiplexed, so that the display device can be controlled by the application for controlling the display device. Screencasting is also possible. When the Wifi module is time-division multiplexed, it is necessary to increase the time in P2P mode and reduce the time in STA mode. Because the application used to control the display device is a small amount of data for the control of the display device, the time spent in the STA mode can be reduced. However, the amount of projection data transmitted by the projection screen is relatively large, and the time in the P2P mode needs to be increased. The control device at home was found in the back, and the display device was disconnected from the application used to control the display device. At this time, the display device is in the screen projection state. In order to ensure the reliability of receiving packets of the display device, the picture quality is guaranteed.
如果未被第一终端控制,则设置Wifi模块的使用模式为第二模式,其中第二模式为P2P模式。一些实施例中,如果显示设备未被第一终端控制,即未与第一终端中的控制显示设备的应用连接,则设置Wifi模块的使用模式为第二模式,该第二模式仅为P2P模式。这是因为如果没有第一终端中控制显示设备的应用与显示设备连接,则不需要Wifi模块处于STA模式下,所以直接将显示设备的Wifi模块设置为P2P模块,这样可以避免Wifi模块漏接投屏数据。If it is not controlled by the first terminal, then set the usage mode of the Wifi module to the second mode, wherein the second mode is the P2P mode. In some embodiments, if the display device is not controlled by the first terminal, that is, it is not connected to the application controlling the display device in the first terminal, then the usage mode of the Wifi module is set to the second mode, and the second mode is only the P2P mode . This is because if there is no application controlling the display device in the first terminal connected to the display device, the Wifi module does not need to be in STA mode, so directly set the Wifi module of the display device as a P2P module, which can avoid the Wifi module missing connection screen data.
本公开实施例中,显示设备在正常使用互联网功能场景下随时搜索到显示设备进行投屏,在显示设备投屏成功后,可以根据当前显示设备的情况,即是否被第一终端控制,将Wifi模块的使用模式设置为仅是P2P模式或者提高P2P模式时间,保证数据质量。投屏结束之后,再次回归到P2P模式和STA模式的共存模式。In the embodiment of the present disclosure, the display device searches for the display device at any time in the normal use of the Internet function scene to cast the screen. After the display device successfully casts the screen, the Wifi The use mode of the module is set to only P2P mode or to increase the time of P2P mode to ensure data quality. After the screen projection is over, return to the coexistence mode of P2P mode and STA mode again.
S2230、控制Wifi模块接收目标设备发送的投屏数据;播放投屏数据。本公开实施例中,当完成Wifi模块的设置后,控制设置后的Wifi模块接收目标设备发送的投屏数据。利用显示设备播放投屏数据。S2230. Control the Wifi module to receive the screen projection data sent by the target device; play the screen projection data. In the embodiment of the present disclosure, after the setting of the Wifi module is completed, the set Wifi module is controlled to receive the screen projection data sent by the target device. Use the display device to play the projection data.
一些实施例中,接收投屏结束指令,与目标设备断开投屏连接,判断投屏开关的状态。本公开实施例中,显示设备上可供用户执行断开投屏的操作,也可以在目标设备上执行断开投屏的操作。当与目标设备断开投屏连接后,判断投屏开关的状态,如果投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式,其中第三模式中STA模式时间大于P2P模式时间。本公开实施例中,当投屏开关的状态为开启状态时,说明用户希望利用显示设备实现投屏功能,但是此时并未真正执行投屏操作,还是以利用显示设备连接互联网实现功能为主,所以将Wifi模块处于STA模式时间设置为大于P2P模式时间,这样既能使显示设备正常连接互联网,实现上网功能,还可以使显示设备被终端搜索到,可以实现随时投屏。In some embodiments, the screen projection end instruction is received, the screen projection connection is disconnected from the target device, and the status of the screen projection switch is determined. In the embodiment of the present disclosure, the user can perform the operation of disconnecting the screen projection on the display device, and the operation of disconnecting the screen projection can also be performed on the target device. After disconnecting the screen projection connection with the target device, judge the state of the screen projection switch. If the state of the screen projection switch is on, set the use mode of the Wifi module to the third mode, where the STA mode time in the third mode is longer than P2P mode time. In the embodiment of the present disclosure, when the status of the screen projection switch is on, it means that the user wants to use the display device to realize the screen projection function, but at this time the screen projection operation is not actually performed, and the function is mainly realized by using the display device to connect to the Internet , so set the time of the Wifi module in STA mode to be longer than the time of P2P mode. This will not only enable the display device to connect to the Internet normally and realize the Internet access function, but also enable the display device to be searched by the terminal and realize screen projection at any time.
如果投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式,其中第四模式为STA模式。本公开实施例中,如果投屏开关的状态为关闭状态,则说明用户不希望显示设备实现投屏功能,所以直接将Wifi模块的使用模式设置为STA模式。If the state of the screen projection switch is off, set the usage mode of the Wifi module to the fourth mode, wherein the fourth mode is the STA mode. In the embodiment of the present disclosure, if the status of the screen projection switch is off, it means that the user does not want the display device to implement the screen projection function, so the use mode of the Wifi module is directly set to the STA mode.
本公开实施例中,在与目标设备完成投屏连接后,利用P2P模式时间大于STA模式时间的Wifi模块接收投屏数据,这样可以保证不会漏接数据,或保证投屏数据在少量漏接的情况下避免出现马赛克的情况。In the embodiment of the present disclosure, after completing the screen projection connection with the target device, use the Wifi module whose P2P mode time is longer than the STA mode time to receive the screen projection data, so as to ensure that the data will not be missed, or that the screen projection data will be missed in a small amount In the case of avoiding mosaic.
本公开实施例,还提供一种显示设备,包括:显示器、用户接口和控制器。其中,显示器,用于显示图像和/或用户界面;用户接口,用于接收输入信号;分别与显示器和用户接口连接的控制器,用于执行:接收目标设备发送的投屏请求,与目标设备完成投屏连接,设置Wifi模块,以使Wifi模块处于P2P模式时间大于处于STA模式时间;控制Wifi模块接收目标设备发送的投屏数据;播放投屏数据。An embodiment of the present disclosure further provides a display device, including: a display, a user interface, and a controller. Among them, the display is used to display images and/or user interfaces; the user interface is used to receive input signals; the controllers connected to the display and the user interface are used to perform: receive the screen projection request sent by the target device, and communicate with the target device Complete the screen projection connection, set the Wifi module so that the Wifi module is in P2P mode longer than the time in STA mode; control the Wifi module to receive the projection data sent by the target device; play the projection data.
一些实施例中,控制器被配置为按照下述步骤设置Wifi模块:判断当前是否被第一终端控制;如果被第一终端控制,则设置Wifi模块的使用模式为第一模式,其中第一模式中P2P模式时间大于STA模式时间;如果未被第一终端控制,则设置Wifi模块的使用模式为第二模式,其中第二模式为P2P模式。In some embodiments, the controller is configured to set the Wifi module according to the following steps: determine whether it is currently controlled by the first terminal; if it is controlled by the first terminal, set the use mode of the Wifi module to the first mode, wherein the first mode The time in the P2P mode is longer than the time in the STA mode; if it is not controlled by the first terminal, set the use mode of the Wifi module to the second mode, wherein the second mode is the P2P mode.
一些实施例中,控制器,在接收目标设备发送的投屏请求之前,还用于执行:接收开机指令,判断投屏开关的状态是否为开启状态;如果投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式,其中第三模式中STA模式时间大于P2P模式时间。In some embodiments, before receiving the screen projection request sent by the target device, the controller is further configured to: receive a power-on command, and determine whether the state of the screen projection switch is on; if the state of the screen projection switch is on, then Set the use mode of the Wifi module to the third mode, where the STA mode time in the third mode is longer than the P2P mode time.
一些实施例中,控制器,还用于执行:如果投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式,其中第四模式为STA模式;当Wifi模块的使用模式为第四模式时,接收到启动P2P模式的指令,判断当前是否被第一终端控制;如果被第一终端控制,则设置Wifi模块的使用模式为第一模式;如果未被第一终端控制,则设置Wifi模块的使用模式为第二模式。In some embodiments, the controller is also used to execute: if the state of the screen projection switch is off, then set the usage mode of the Wifi module to the fourth mode, wherein the fourth mode is the STA mode; when the usage mode of the Wifi module is In the fourth mode, an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal; if it is controlled by the first terminal, the use mode of the Wifi module is set as the first mode; if it is not controlled by the first terminal, then Set the use mode of the Wifi module to the second mode.
一些实施例中,控制器还用于执行:接收投屏结束指令,与目标设备断开投屏连接,判断投屏开关的状态;如果投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式;如果投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式。In some embodiments, the controller is also used to perform: receiving the screen projection end instruction, disconnecting the screen projection connection with the target device, and judging the state of the screen projection switch; if the state of the screen projection switch is on, then setting the use of the Wifi module The mode is the third mode; if the state of the screen projection switch is off, set the usage mode of the Wifi module to the fourth mode.
上述公开的显示设备中控制器执行的内容,可以参考上文。For the content executed by the controller in the display device disclosed above, reference may be made to the above.
上述实施例中,一种投屏方法及显示设备,该方法中将Wifi模块设置为处于P2P模式时间大于STA模式时间,这样可以保证不丢失大量投屏数据,不会出现马赛克的情况。该方法包括:接收目标设备发送的投屏请求,与目标设备完成投屏连接,设置 Wifi模块,以使Wifi模块处于P2P模式时间大于处于STA模式时间;控制Wifi模块接收目标设备发送的投屏数据;播放投屏数据。In the above embodiment, a screen projection method and a display device, in which the Wifi module is set to be in the P2P mode for a time longer than the STA mode time, so as to ensure that a large amount of screen projection data will not be lost and mosaic will not occur. The method includes: receiving a screen projection request sent by a target device, completing a screen projection connection with the target device, setting the Wifi module so that the time of the Wifi module in the P2P mode is longer than the time in the STA mode; controlling the Wifi module to receive the screen projection data sent by the target device ; Play the projection data.
本公开中提供的UI及其交互操作方式仅仅是示例性的,不构成对本申请的限制,具体应以实际UI设计和应用为准。另外,本公开中用户对UI界面的响应/交互操作,不限于通过界面中的控件执行,还可输入语音指令,以图14为例,在显示设备显示图14的UI界面时,用户可说出“永久续连”的语音信息,显示设备识别解析结果后,获知用户语音意图是为智能设备2授予永久投屏续连权限。The UI and its interactive operation methods provided in the present disclosure are only exemplary, and do not constitute a limitation to the present application, and the actual UI design and application shall prevail. In addition, the user's response/interaction operation on the UI interface in the present disclosure is not limited to the execution through the controls in the interface, and voice commands can also be input. Taking Figure 14 as an example, when the display device displays the UI interface in Figure 14, the user can say After the voice information of "permanent continuous connection" is displayed, and the result of device recognition and analysis is displayed, it is learned that the user's voice intention is to grant the smart device 2 the permission of permanent screen projection and continuous connection.
可根据投屏指令形式、投屏接收端的设备扫描结果、投屏发送端的选定规则、投屏协议/功能的类别、适配不同投屏协议的投屏连接方式、投屏数据传输方式、投屏交互双端的系统及运行状态、业务场景的投屏需求等方面,对本公开的投屏模式进行灵活、适应性地变型和扩展,投屏模式及其交互逻辑不限于本公开的示例。设备A和设备B投屏交互的底层处理逻辑可适配不同系统、不同投屏协议/功能,并不限于图20的示例。According to the screen projection command form, the device scan result of the screen projection receiver, the selection rules of the screen projection sender, the type of screen projection protocol/function, the screen projection connection method adapted to different projection protocols, the screen projection data transmission method, the projection In terms of the system and operating status of both ends of the screen interaction, the screen projection requirements of the business scene, etc., the screen projection mode of the present disclosure is flexibly and adaptively modified and expanded. The screen projection mode and its interaction logic are not limited to the examples of the present disclosure. The underlying processing logic of screen projection interaction between device A and device B can be adapted to different systems and different screen projection protocols/functions, and is not limited to the example shown in FIG. 20 .
在一些实施例中,本公开还提供一种计算机可读的非易失性存储介质,该计算机存储介质可存储有程序。当计算机存储介质位于显示设备中时,该程序执行时可包括前述显示设备端投屏方法的程序步骤;当计算机存储介质位于智能设备中时,该程序执行时可包括前述智能设备端投屏方法的程序步骤。其中,计算机存储介质可为磁碟、光盘、只读存储记忆体(英文:Read-Only Memory,简称ROM)或随机存储记忆体(英文:Random Access Memory,简称RAM)等。In some embodiments, the present disclosure also provides a computer-readable non-volatile storage medium, which can store a program. When the computer storage medium is located in the display device, the program execution may include the program steps of the above-mentioned screen projection method at the display device end; when the computer storage medium is located in the smart device, the program execution may include the above-mentioned screen projection method at the smart device end program steps. Wherein, the computer storage medium may be a magnetic disk, an optical disk, a read-only memory (English: Read-Only Memory, ROM for short), or a random access memory (English: Random Access Memory, RAM for short).
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释本公开的内容,从而使得本领域技术人员更好的使用实施方式。For convenience of explanation, the above description has been made in conjunction with specific implementation manners. However, the above exemplary discussion is not intended to be exhaustive or to limit the implementations to the precise forms disclosed above. Many modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are for better explaining the content of the present disclosure, so that those skilled in the art can use the embodiments better.

Claims (22)

  1. 一种显示设备,包括:A display device comprising:
    显示器,用于显示图像和/或用户界面;displays for displaying images and/or user interfaces;
    通信器,用于与智能设备通信连接;The communicator is used to communicate with the smart device;
    控制器,与所述显示器和所述通信器连接,被配置为执行:a controller, coupled to said display and said communicator, configured to perform:
    接收到用户输入的投屏指令,扫描可连接设备,所述可连接设备为启用投屏功能的投屏发送终端;After receiving the screen projection instruction input by the user, scan the connectable device, and the connectable device is a screen projection sending terminal with the screen projection function enabled;
    向可连接设备中的目标设备发送投屏请求,所述投屏请求用于指示所述目标设备与所述显示设备建立投屏连接;Sending a screen projection request to a target device in the connectable devices, where the screen projection request is used to instruct the target device to establish a screen projection connection with the display device;
    接收所述目标设备响应投屏请求后发送的媒体数据,控制显示器播放所述媒体数据。receiving the media data sent by the target device in response to the screen projection request, and controlling the display to play the media data.
  2. 根据权利要求1所述的显示设备,所述显示设备还包括声音采集器,所述通信器还用于与语义服务器通信连接,则所述控制器还被配置为执行:According to the display device according to claim 1, the display device further comprises a sound collector, and the communicator is also used for communication connection with the semantic server, then the controller is further configured to execute:
    控制所述声音采集器采集语音信息;Controlling the sound collector to collect voice information;
    将所述语音信息发送给所述语义服务器,所述语义服务器用于解析所述语音信息;sending the voice information to the semantic server, and the semantic server is used to parse the voice information;
    接收并识别所述语义服务器反馈的解析结果;receiving and identifying the analysis result fed back by the semantic server;
    识别所述解析结果指示的用户语音意图为投屏,即接收到所述投屏指令。Identifying that the user's voice intention indicated by the analysis result is screen projection, that is, receiving the screen projection instruction.
  3. 根据权利要求2所述的显示设备,所述控制器还被配置为按照如下方式向可连接设备中的目标设备发送投屏请求:According to the display device according to claim 2, the controller is further configured to send a screen projection request to the target device among the connectable devices in the following manner:
    识别到所述解析结果中包含目标设备标识,检测设备列表中是否包含所述目标设备标识;所述设备列表包括显示设备扫描到的可连接设备的设备标识;Recognizing that the parsing result contains the target device identifier, and detecting whether the target device identifier is included in the device list; the device list includes the device identifiers of connectable devices scanned by the display device;
    检测到所述设备列表中包含所述目标设备标识,向所述目标设备标识指示的智能设备发送投屏请求。Detecting that the target device identifier is included in the device list, sending a screen projection request to the smart device indicated by the target device identifier.
  4. 根据权利要求3所述的显示设备,所述控制器还被配置为按照如下方式向可连接设备中的目标设备发送投屏请求:According to the display device according to claim 3, the controller is further configured to send a screen projection request to the target device among the connectable devices in the following manner:
    检测到所述设备列表中不包含所述目标设备标识,显示第二提示弹窗,所述第二提示弹窗用于提示未扫描到所述目标设备标识指定的智能设备,并询问是否切换为当前的可连接设备;It is detected that the target device identifier is not included in the device list, and a second prompt pop-up window is displayed, and the second prompt pop-up window is used to prompt that the smart device specified by the target device identifier has not been scanned, and ask whether to switch to Current connectable devices;
    接收到拒绝切换至可连接设备的指令,关闭第二提示弹窗,重新扫描可连接设备或退出投屏;After receiving an instruction to refuse to switch to a connectable device, close the second prompt pop-up window, re-scan for connectable devices or exit the screen mirroring;
    接收到同意切换至可连接设备的指令,关闭第二提示弹窗,根据预设规则设定所述目标设备,并向所述目标设备发送投屏请求。After receiving an instruction to agree to switch to a connectable device, close the second prompt pop-up window, set the target device according to preset rules, and send a screen projection request to the target device.
  5. 根据权利要求3所述的显示设备,所述控制器还被配置为按照如下方式向可连接设备中的目标设备发送投屏请求:According to the display device according to claim 3, the controller is further configured to send a screen projection request to the target device among the connectable devices in the following manner:
    识别到所述解析结果中不包含目标设备标识,根据预设规则设定所述目标设备,并向所述目标设备发送投屏请求。Recognizing that the parsing result does not contain the target device identifier, setting the target device according to preset rules, and sending a screen projection request to the target device.
  6. 根据权利要求4或5所述的显示设备,用于设定所述目标设备的预设规则被配置为:According to the display device according to claim 4 or 5, the preset rule for setting the target device is configured as:
    获取所述设备列表当前的S值;S值用于表征显示设备扫描到的可连接设备的总数;Obtain the current S value of the device list; the S value is used to represent the total number of connectable devices scanned by the display device;
    若检测到设备列表的S值为零,显示第一提示弹窗,所述第一提示弹窗用于提示当前无可连接设备,允许退出投屏或重新扫描可连接设备;If it is detected that the S value of the device list is zero, a first prompt pop-up window is displayed, and the first prompt pop-up window is used to prompt that there is currently no connectable device, and it is allowed to exit the screen projection or re-scan for connectable devices;
    若检测到S值等于1,将唯一的可连接设备设定为所述目标设备;If it is detected that the S value is equal to 1, the only connectable device is set as the target device;
    若检测到S值大于1,显示所述设备列表,并接收对所述设备列表中目标设备的选定操作。If it is detected that the S value is greater than 1, display the device list, and receive a selection operation on the target device in the device list.
  7. 根据权利要求4或5所述的显示设备,所述控制器还被配置执行:According to the display device according to claim 4 or 5, the controller is further configured to perform:
    接收到退出投屏指令,查询所述显示设备与所述目标设备之间的投屏次数;所述 投屏次数在每次投屏连接成功时累积加一;After receiving the exit projection screen instruction, query the number of screen projection times between the display device and the target device; the number of screen projection times is cumulatively increased by one each time the screen projection connection is successful;
    若查询到所述投屏次数等于1,控制显示器显示第三提示弹窗,所述第三提示弹窗用于询问是否为所述目标设备授予投屏续连权限;所述投屏续连权限用于指示显示设备在扫描到所述第一设备时,自动向所述第一设备发送投屏请求;If it is inquired that the number of times of screen projection is equal to 1, the control display displays a third prompt pop-up window, and the third prompt pop-up window is used to ask whether the target device is granted continuous permission for screen projection; the continuous permission for screen projection It is used to instruct the display device to automatically send a screen projection request to the first device when the first device is scanned;
    接收到拒绝为所述目标设备授予投屏续连权限的指令,关闭所述第三提示弹窗,断开与所述目标设备的投屏连接;Receiving an instruction of refusing to grant continuous screen projection permission to the target device, closing the third prompt pop-up window, and disconnecting the screen projection connection with the target device;
    接收到同意为所述目标设备授予单次投屏续连权限的指令,关闭所述第三提示弹窗,断开与所述目标设备的投屏连接,以及为所述目标设备填加第一权限标识;After receiving an instruction agreeing to grant a single screen projection continuous permission to the target device, close the third prompt pop-up window, disconnect the screen projection connection with the target device, and add the first Authorization ID;
    接收到同意为所述目标设备授予永久投屏续连权限的指令,关闭所述第三提示弹窗,断开与所述目标设备的投屏连接,以及为所述目标设备填加第二权限标识。After receiving an instruction agreeing to grant the target device a permanent continuous screen projection permission, close the third prompt pop-up window, disconnect the screen projection connection with the target device, and add a second permission for the target device logo.
  8. 根据权利要求7所述的显示设备,所述控制器还被配置执行:The display device according to claim 7, the controller is further configured to perform:
    接收到退出投屏指令,若查询到所述投屏次数大于1,识别目标设备对应的权限类型;After receiving the screen-casting exit command, if the number of screen-casting times is greater than 1, identify the permission type corresponding to the target device;
    若所述权限类型为永久投屏续连权限,则不显示所述第三提示弹窗,断开与所述目标设备的投屏连接;If the permission type is permanent continuous screen projection permission, the third prompt pop-up window is not displayed, and the screen projection connection with the target device is disconnected;
    若所述权限类型为无投屏续连权限或单次投屏续连权限,则再次显示所述第三提示弹窗,以及根据用户的授权操作指令,对目标设备的权限类型进行更新。If the permission type is no screen projection continuous permission or single screen projection continuous permission, the third prompt pop-up window is displayed again, and the permission type of the target device is updated according to the user's authorization operation instruction.
  9. 根据权利要求7所述的显示设备,用于设定所述目标设备的预设规则被配置为:According to the display device according to claim 7, the preset rule for setting the target device is configured as:
    查询所述设备列表中当前具备所述第一权限标识或第二权限标识的M个第一设备;Querying M first devices that currently have the first authorization identifier or the second authorization identifier in the device list;
    若M值等于1,将唯一查询到的第一设备设定为所述目标设备;If the M value is equal to 1, setting the unique first device found as the target device;
    若M值大于1,根据预设优先级,将优先级最高的第一设备设定为所述目标设备。If the value of M is greater than 1, according to the preset priority, the first device with the highest priority is set as the target device.
  10. 根据权利要求1所述的显示设备,所述控制器还被配置为:The display device according to claim 1, the controller is further configured to:
    设置Wifi模块,以使所述Wifi模块处于P2P模式时间大于处于STA模式时间;Set the Wifi module so that the time of the Wifi module in P2P mode is greater than the time in STA mode;
    控制所述Wifi模块接收所述目标设备响应投屏请求后发送的媒体数据。Controlling the Wifi module to receive the media data sent by the target device after responding to the screen projection request.
  11. 根据权利要求10所述的显示设备,所述控制器被配置为按照下述步骤设置Wifi模块:According to the display device according to claim 10, the controller is configured to set the Wifi module according to the following steps:
    判断当前是否被第一终端控制;judging whether it is currently controlled by the first terminal;
    如果被所述第一终端控制,则设置Wifi模块的使用模式为第一模式,其中所述第一模式中P2P模式时间大于STA模式时间;If controlled by the first terminal, the use mode of the Wifi module is set to the first mode, wherein the time of the P2P mode in the first mode is greater than the time of the STA mode;
    如果未被所述第一终端控制,则设置Wifi模块的使用模式为第二模式,其中所述第二模式为P2P模式。If it is not controlled by the first terminal, then set the usage mode of the Wifi module to the second mode, wherein the second mode is the P2P mode.
  12. 根据权利要求10所述的显示设备,所述控制器,在接收目标设备发送的投屏请求之前,还用于执行:According to the display device according to claim 10, the controller, before receiving the screen projection request sent by the target device, is further configured to:
    接收开机指令,判断投屏开关的状态是否为开启状态;Receive the power-on command, and judge whether the state of the screen projection switch is on;
    如果所述投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式,其中所述第三模式中STA模式时间大于P2P模式时间。If the state of the screen projection switch is on, then set the use mode of the Wifi module to the third mode, wherein the STA mode time in the third mode is greater than the P2P mode time.
  13. 根据权利要求12所述的显示设备,所述控制器,还用于执行:The display device according to claim 12, the controller is further configured to:
    如果所述投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式,其中所述第四模式为STA模式;If the state of the screen projection switch is off, then the use mode of the Wifi module is set to the fourth mode, wherein the fourth mode is the STA mode;
    当Wifi模块的使用模式为第四模式时,接收到启动P2P模式的指令,判断当前是否被第一终端控制;如果被第一终端控制,则设置Wifi模块的使用模式为第一模式;如果未被第一终端控制,则设置Wifi模块的使用模式为第二模式。When the use mode of the Wifi module is the fourth mode, an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal; if it is controlled by the first terminal, the use mode of the Wifi module is set as the first mode; if not Controlled by the first terminal, the use mode of the Wifi module is set to the second mode.
  14. 根据权利要求12所述的显示设备,所述控制器还用于执行:The display device according to claim 12, the controller is further configured to:
    接收投屏结束指令,与所述目标设备断开投屏连接,判断所述投屏开关的状态;receiving the screen projection end instruction, disconnecting the screen projection connection with the target device, and judging the state of the screen projection switch;
    如果所述投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式;如果所述投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式。If the state of the screen projection switch is on, then the use mode of the Wifi module is set to be the third mode; if the state of the screen projection switch is off, then the use mode of the Wifi module is set to the fourth mode.
  15. 一种智能设备,包括:A smart device comprising:
    显示器,用于显示图像和/或用户界面;displays for displaying images and/or user interfaces;
    通信器,用于与显示设备通信连接;The communicator is used for communicating with the display device;
    控制器,与所述显示器和所述通信器连接,被配置为执行:a controller, coupled to said display and said communicator, configured to perform:
    接收显示设备发送的投屏请求;所述投屏请求是显示设备响应用户输入的投屏指令,从扫描到的可连接设备中确定目标设备为所述智能设备后发送的,所述可连接设备为启用投屏功能的投屏发送终端;Receive the screen projection request sent by the display device; the screen projection request is sent by the display device after determining that the target device is the smart device from the scanned connectable devices in response to the screen projection instruction input by the user, and the connectable device It is the sending terminal for screen projection with the screen projection function enabled;
    响应于所述投屏请求,建立与所述显示设备的投屏连接;Responding to the screen projection request, establishing a screen projection connection with the display device;
    投屏连接成功后,向所述显示设备发送媒体数据。After the screen projection connection is successful, the media data is sent to the display device.
  16. 一种投屏方法,所述方法包括:A screen projection method, the method comprising:
    显示设备接收到用户输入的投屏指令,扫描可连接设备,所述可连接设备为启用投屏功能的投屏发送终端;The display device receives the screen projection instruction input by the user, scans the connectable device, and the connectable device is a screen projection sending terminal with the screen projection function enabled;
    显示设备向可连接设备中的目标设备发送投屏请求,所述投屏请求用于指示所述目标设备与所述显示设备建立投屏连接;The display device sends a screen projection request to a target device in the connectable devices, where the screen projection request is used to instruct the target device to establish a screen projection connection with the display device;
    显示设备接收所述目标设备响应投屏请求后发送的媒体数据,播放所述媒体数据。The display device receives the media data sent by the target device in response to the screen projection request, and plays the media data.
  17. 根据权利要求16所述的投屏方法,所述显示设备接收所述目标设备响应投屏请求后发送的媒体数据,包括:According to the screen projection method according to claim 16, the display device receiving the media data sent by the target device after responding to the screen projection request comprises:
    所述显示设备设置Wifi模块,以使所述Wifi模块处于P2P模式时间大于处于STA模式时间;The display device sets the Wifi module so that the Wifi module is in P2P mode for a longer time than in STA mode;
    所述显示设备控制所述Wifi模块接收所述目标设备响应投屏请求后发送的媒体数据。The display device controls the Wifi module to receive the media data sent by the target device in response to the screen projection request.
  18. 根据权利要求17所述的方法,所述设置Wifi模块的方法包括:The method according to claim 17, the method for setting the Wifi module comprises:
    判断当前是否被第一终端控制;judging whether it is currently controlled by the first terminal;
    如果被所述第一终端控制,则设置Wifi模块的使用模式为第一模式,其中所述第一模式中P2P模式时间大于STA模式时间;If controlled by the first terminal, the use mode of the Wifi module is set to the first mode, wherein the time of the P2P mode in the first mode is greater than the time of the STA mode;
    如果未被所述第一终端控制,则设置Wifi模块的使用模式为第二模式,其中所述第二模式为P2P模式。If it is not controlled by the first terminal, then set the usage mode of the Wifi module to the second mode, wherein the second mode is the P2P mode.
  19. 根据权利要求17所述的方法,在所述接收第一终端发送的投屏请求之前,所述方法还包括:According to the method according to claim 17, before receiving the screen projection request sent by the first terminal, the method further comprises:
    接收开机指令,判断投屏开关的状态是否为开启状态;Receive the power-on command, and judge whether the state of the screen projection switch is on;
    如果所述投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式,其中所述第三模式中STA模式时间大于P2P模式时间。If the state of the screen projection switch is on, then set the use mode of the Wifi module to the third mode, wherein the STA mode time in the third mode is greater than the P2P mode time.
  20. 根据权利要求19所述的方法,所述方法还包括:The method of claim 19, further comprising:
    如果所述投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式,其中所述第四模式为STA模式;If the state of the screen projection switch is off, then the use mode of the Wifi module is set to the fourth mode, wherein the fourth mode is the STA mode;
    当Wifi模块的使用模式为第四模式时,接收到启动P2P模式的指令,判断当前是否被第一终端控制;如果被第一终端控制,则设置Wifi模块的使用模式为第一模式;如果未被第一终端控制,则设置Wifi模块的使用模式为第二模式。When the use mode of the Wifi module is the fourth mode, an instruction to start the P2P mode is received, and it is judged whether it is currently controlled by the first terminal; if it is controlled by the first terminal, the use mode of the Wifi module is set as the first mode; if not Controlled by the first terminal, the use mode of the Wifi module is set to the second mode.
  21. 根据权利要求19所述的方法,所述方法还包括:The method of claim 19, further comprising:
    接收投屏结束指令,与所述第一终端断开投屏连接,判断所述投屏开关的状态;receiving the screen projection end instruction, disconnecting the screen projection connection from the first terminal, and judging the state of the screen projection switch;
    如果所述投屏开关的状态为开启状态,则设置Wifi模块的使用模式为第三模式;如果所述投屏开关的状态为关闭状态,则设置Wifi模块的使用模式为第四模式。If the state of the screen projection switch is on, then the use mode of the Wifi module is set to be the third mode; if the state of the screen projection switch is off, then the use mode of the Wifi module is set to the fourth mode.
  22. 一种投屏方法,所述方法包括:A screen projection method, the method comprising:
    智能设备接收显示设备发送的投屏请求;所述投屏请求是显示设备响应用户输入的投屏指令,从扫描到的可连接设备中确定目标设备为所述智能设备后发送的,所述可连接设备为启用投屏功能的投屏发送终端;The smart device receives the screen projection request sent by the display device; the screen projection request is sent by the display device after determining that the target device is the smart device from the scanned connectable devices in response to the screen projection instruction input by the user. The connected device is a screen projection sending terminal with the screen projection function enabled;
    智能设备响应于所述投屏请求,建立与所述显示设备的投屏连接;The smart device establishes a screen projection connection with the display device in response to the screen projection request;
    投屏连接成功后,智能设备向所述显示设备发送媒体数据。After the screen projection connection is successful, the smart device sends media data to the display device.
PCT/CN2022/135421 2022-01-27 2022-11-30 Screen projection method, display device, and intelligent device WO2023142655A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280085577.XA CN118556405A (en) 2022-01-27 2022-11-30 Screen projection method, display device and intelligent device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210100384.9 2022-01-27
CN202210100384.9A CN116567343A (en) 2022-01-27 2022-01-27 Screen projection method and display device
CN202210118550.8 2022-02-08
CN202210118550.8A CN116614659A (en) 2022-02-08 2022-02-08 Screen projection method, display device and intelligent device

Publications (1)

Publication Number Publication Date
WO2023142655A1 true WO2023142655A1 (en) 2023-08-03

Family

ID=87470316

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135421 WO2023142655A1 (en) 2022-01-27 2022-11-30 Screen projection method, display device, and intelligent device

Country Status (2)

Country Link
CN (1) CN118556405A (en)
WO (1) WO2023142655A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160113045A1 (en) * 2014-10-15 2016-04-21 Samsung Electronics Co., Ltd. Electronic device for performing a communication connection and method for establishing a communication connection
CN111565442A (en) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 Screen projection method, equipment and system
CN111752518A (en) * 2020-06-19 2020-10-09 海信视像科技股份有限公司 Screen projection method of display equipment and display equipment
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium
CN112702803A (en) * 2020-12-29 2021-04-23 珠海市魅族科技有限公司 Channel determination method and device, terminal equipment and computer readable storage medium
CN113645693A (en) * 2021-10-14 2021-11-12 荣耀终端有限公司 WiFi P2P connection method, electronic device, program product, and medium
CN113784200A (en) * 2021-08-26 2021-12-10 青岛海信传媒网络技术有限公司 Communication terminal, display device and screen projection connection method
CN113825000A (en) * 2021-09-18 2021-12-21 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160113045A1 (en) * 2014-10-15 2016-04-21 Samsung Electronics Co., Ltd. Electronic device for performing a communication connection and method for establishing a communication connection
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium
CN111565442A (en) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 Screen projection method, equipment and system
CN111752518A (en) * 2020-06-19 2020-10-09 海信视像科技股份有限公司 Screen projection method of display equipment and display equipment
CN112702803A (en) * 2020-12-29 2021-04-23 珠海市魅族科技有限公司 Channel determination method and device, terminal equipment and computer readable storage medium
CN113784200A (en) * 2021-08-26 2021-12-10 青岛海信传媒网络技术有限公司 Communication terminal, display device and screen projection connection method
CN113825000A (en) * 2021-09-18 2021-12-21 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and storage medium
CN113645693A (en) * 2021-10-14 2021-11-12 荣耀终端有限公司 WiFi P2P connection method, electronic device, program product, and medium

Also Published As

Publication number Publication date
CN118556405A (en) 2024-08-27

Similar Documents

Publication Publication Date Title
JP6205400B2 (en) Display device
KR102001215B1 (en) Method and system for sharing content, device and computer readable recording medium thereof
US20130027289A1 (en) Electronic device
WO2015096687A1 (en) Method and device for mobile communication terminal to control smart television to play video file
RU2636678C2 (en) Method and device for thread-specific multimedia data translation
WO2020248627A1 (en) Video call method and display device
CN113590059A (en) Screen projection method and mobile terminal
CN112911380B (en) Display device and connection method with Bluetooth device
US20240089526A1 (en) Method for playback in split screen and display device
CN113630656A (en) Display device, terminal device and communication connection method
WO2024041033A1 (en) Display device and device name processing method for display device
WO2023142655A1 (en) Screen projection method, display device, and intelligent device
CN116614659A (en) Screen projection method, display device and intelligent device
JP7336179B2 (en) Communication device, communication method and program
CN113784186B (en) Terminal device, server, and communication control method
CN116347148A (en) Screen projection method and display device
JP6728449B2 (en) Display device
JP6212615B2 (en) Display device
WO2022160911A1 (en) Switching method for voice solution on display device, display device, and control apparatus
JP7364733B2 (en) display device
WO2024109129A1 (en) Electronic device and data processing method
WO2023035630A1 (en) Audio control method and display device
WO2024001535A1 (en) Display device, playing device, control device and data transmission method
JP2011081591A (en) Information processing apparatus and system, computer program and recording medium
JP6412237B2 (en) Display device

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

Country of ref document: EP

Kind code of ref document: A1