CN115474080B - Wired screen-throwing control method and device - Google Patents

Wired screen-throwing control method and device Download PDF

Info

Publication number
CN115474080B
CN115474080B CN202211087093.7A CN202211087093A CN115474080B CN 115474080 B CN115474080 B CN 115474080B CN 202211087093 A CN202211087093 A CN 202211087093A CN 115474080 B CN115474080 B CN 115474080B
Authority
CN
China
Prior art keywords
terminal
preset range
detection
dynamic
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211087093.7A
Other languages
Chinese (zh)
Other versions
CN115474080A (en
Inventor
陈龙
颜专
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Langyuan Electronic Technology Co Ltd
Original Assignee
Changsha Langyuan Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Langyuan Electronic Technology Co Ltd filed Critical Changsha Langyuan Electronic Technology Co Ltd
Priority to CN202211087093.7A priority Critical patent/CN115474080B/en
Publication of CN115474080A publication Critical patent/CN115474080A/en
Application granted granted Critical
Publication of CN115474080B publication Critical patent/CN115474080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a wired screen-throwing control method and a device, wherein the method comprises the following steps: starting a first terminal and detecting whether a dynamic detection target exists in a preset range; when a dynamic detection target exists in the preset range, controlling the first terminal to start the display equipment, and transmitting a preset sound source to the display equipment; the first terminal is connected with the display equipment through an HDIM data line; collecting audio source data played by display equipment in real time; when the sound source data is consistent with the preset sound source, determining that the first terminal and the display equipment establish a screen-throwing connection relation. The application provides a wired screen-throwing control method and device, which are used for improving dynamic interaction between terminal equipment and display equipment so as to realize quick establishment of a screen-throwing connection relationship.

Description

Wired screen-throwing control method and device
Technical Field
The invention relates to the technical field of screen projection, in particular to a wired screen projection control method and device.
Background
The screen projection technology refers to transmitting an image of a terminal (such as a computer) to a display device (such as a television or a projector) for display so that the image displayed on the display device can be synchronized with an image displayed on a screen of the terminal. With the development of screen projection technology, the use of IPTV set-top boxes is becoming popular, and set-top boxes of different models are hooked with different communication operators. The television and the set top box are connected through an HDMI wire, and after the set top box and the television are started, the set top box throws pictures and sounds to the television through an HDMI.
When the set top box and the television are used for screen projection, the set top box and the television are independently separated, namely, the controller of the set top box can only remotely control the set top box, and the remote controller of the television can only directly control the television. The set-top box and the television need to be turned on and off using respective remote controls, respectively. And the set top box is out of the screen, can not interact with the television, can not learn the on-off state of the television, can not remotely control the television even if the on-off state of the television is obtained, and can not more effectively interact with the television.
Disclosure of Invention
The application provides a wired screen-throwing control method and device, which are used for improving dynamic interaction between terminal equipment and display equipment so as to realize quick establishment of a screen-throwing connection relationship.
In a first aspect, the present application provides a wired screen-projection control method, including:
starting a first terminal and detecting whether a dynamic detection target exists in a preset range;
when a dynamic detection target exists in the preset range, controlling the first terminal to start display equipment, and sending a preset sound source to the display equipment; the first terminal is connected with the display device through an HDIM data line;
collecting sound source data played by the display equipment in real time;
and when the sound source data is consistent with the preset sound source, determining that the first terminal and the display equipment establish a screen-throwing connection relation.
Thus, when a dynamic detection target exists in a preset range, the first terminal is controlled to start the display device, the first terminal and the display device are not required to be independently started by adopting a controller or a control panel respectively, the dynamic interaction experience between the first terminal and the display device is optimized, and the screen-throwing connection relationship between the first terminal and the display device can be quickly established. Further, after the display device is started, the preset audio is sent to the display device through the first terminal, whether the display device can successfully play the preset audio is verified, so that whether the display device is successfully started or not is determined, whether stable connection between the first terminal and the display device is established or not can be further verified, and an effective verification method is provided for the screen-throwing connection relation between the first terminal and the display device.
In one implementation manner, the detecting whether the preset range has a dynamic detection target specifically includes:
according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range;
and when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range.
In one implementation, the first detection policy specifically includes:
setting a sensing device on the first terminal;
acquiring reference data of the sensing device;
when the switching of the reference data of the sensing device is detected, the dynamic detection target is judged to exist in a preset range.
In one implementation, the second detection policy specifically includes:
collecting sound data in a preset range in real time;
and detecting voice activity of the voice data according to a preset algorithm, and judging that the dynamic detection target exists in a preset range when the voice data contains human voice.
In one implementation manner, the wired screen-throwing control method further includes controlling the first terminal to obtain an instruction for starting the display device, specifically:
controlling the first terminal to perform infrared learning;
receiving all infrared remote control signals transmitted by a controller of the display equipment and storing the signals to the first terminal;
and carrying out logic analysis on the infrared remote control signals to obtain the function instruction mapped by each infrared remote control signal.
In one implementation manner, the wired screen-on control method further includes detecting a level signal of the HDIM data line in real time, specifically:
detecting the level signal of the HDIM data line in real time after the first terminal is started;
and when the level signal is converted, judging that the display equipment is successfully started, and establishing a screen-throwing connection relation between the first terminal and the display equipment.
In one implementation manner, the wired screen-throwing control method further comprises the following steps: when receiving an operation screen-throwing instruction sent by a user side, directly starting the display equipment, establishing a screen-throwing connection relation between the first terminal and the display equipment, and closing dynamic target detection.
In a second aspect, the present application further provides a wired screen projection control device, including a target detection module, an equipment interaction module, a data acquisition module and a relationship determination module, specifically:
the target detection module is used for starting the first terminal and detecting whether a dynamic detection target exists in a preset range or not;
the device interaction module is used for controlling the first terminal to start display device when a dynamic detection target exists in the preset range, and sending a preset sound source to the display device; the first terminal is connected with the display device through an HDIM data line;
the data acquisition module is used for acquiring the sound source data played by the display equipment in real time;
and the relation judging module is used for determining that the first terminal and the display equipment establish a screen-throwing connection relation when the sound source data are consistent with the preset sound source.
Thus, when a dynamic detection target exists in a preset range, the first terminal is controlled to start the display device, the first terminal and the display device are not required to be independently started by adopting a controller or a control panel respectively, the dynamic interaction experience between the first terminal and the display device is optimized, and the screen-throwing connection relationship between the first terminal and the display device can be quickly established. Further, after the display device is started, the preset audio is sent to the display device through the first terminal, whether the display device can successfully play the preset audio is verified, so that whether the display device is successfully started or not is determined, whether stable connection between the first terminal and the display device is established or not can be further verified, and an effective verification method is provided for the screen-throwing connection relation between the first terminal and the display device.
In one implementation manner, the target detection module is configured to start the first terminal and detect whether a dynamic detection target exists in a preset range, and specifically includes:
according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range;
and when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range.
In one implementation, the first detection policy specifically includes:
setting a sensing device on the first terminal;
acquiring reference data of the sensing device;
when the switching of the reference data of the sensing device is detected, the dynamic detection target is judged to exist in a preset range.
In one implementation, the second detection policy specifically includes:
collecting sound data in a preset range in real time;
and detecting voice activity of the voice data according to a preset algorithm, and judging that the dynamic detection target exists in a preset range when the voice data contains human voice.
In one implementation manner, the wired screen-throwing control device further includes an infrared learning module, which is configured to control the first terminal to obtain an instruction for starting the display device, specifically:
controlling the first terminal to perform infrared learning;
receiving all infrared remote control signals transmitted by a controller of the display equipment and storing the signals to the first terminal;
and carrying out logic analysis on the infrared remote control signals to obtain the function instruction mapped by each infrared remote control signal.
In one implementation manner, the relationship determination module further includes detecting, in real time, a level signal of the HDIM data line, specifically:
detecting the level signal of the HDIM data line in real time after the first terminal is started;
and when the level signal is converted, judging that the display equipment is successfully started, and establishing a screen-throwing connection relation between the first terminal and the display equipment.
In one implementation, the device interaction module further includes: when receiving an operation screen-throwing instruction sent by a user side, directly starting the display equipment, establishing a screen-throwing connection relation between the first terminal and the display equipment, and closing dynamic target detection.
In a third aspect, the present application further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the wired screen-on control method as described above when executing the computer program.
In a fourth aspect, the present application further provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where when the computer program runs, the device where the computer readable storage medium is controlled to execute the wired screen projection control method as described above.
Drawings
Fig. 1 is a schematic flow chart of a wired screen-throwing control method provided by an embodiment of the invention;
FIG. 2 is a schematic flow chart of dynamic object detection according to an embodiment of the present invention;
fig. 3 is a block diagram of a wired screen-throwing control device according to an embodiment of the present invention.
Detailed Description
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
The terms first and second and the like in the description and in the claims of the present application and in the drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
First, some terms in this application are explained for easy understanding by those skilled in the art.
(1) And (3) a terminal: an apparatus for connection to a computer system via a communication line. The information may be sent to the host system or received from the host system. In a computer network, computers in a computer network can be used remotely through terminals.
(2) Display device: may also be referred to as a display, or directly colloquially as a display screen, etc. Is a device that can output images or tactile information, such as a braille display designed for the blind. If the input signal is an electronic signal, such a display device will be referred to as an electronic display device, as opposed to a mechanical display device.
(3) MIC: MIC is a term abbreviated from Microphone and refers to a Microphone. Microphones are known as microphones, which are a simple device for picking up and transmitting sound, and convert sound signals into electrical signals, commonly known as microphones.
(4) VAD algorithm: known as Voice Activity Detection, the function of the algorithm is to detect if it is human speech.
(5) CEC: (Consumer Electronics Control) the single bus protocol, the electronic device can control all HDMI connected devices by a single remote controller by means of CEC signals using devices connected to the controllable HDMI interface, such as One-button Play (One-button Play), system Standby (System Standby), allowing HDMI devices to command control to each other without user intervention.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of a wired screen-throwing control method according to an embodiment of the present invention. The embodiment of the invention provides a wired screen-throwing control method, which comprises the following steps of 101-104:
step 101: starting a first terminal and detecting whether a dynamic detection target exists in a preset range;
step 102: when a dynamic detection target exists in the preset range, controlling the first terminal to start display equipment, and sending a preset sound source to the display equipment; the first terminal is connected with the display device through an HDIM data line;
step 103: collecting sound source data played by the display equipment in real time;
step 104: and when the sound source data is consistent with the preset sound source, determining that the first terminal and the display equipment establish a screen-throwing connection relation.
The first terminal is a computing machine capable of directly sending out a control command, and includes, but is not limited to, a computer, a mobile phone, a tablet, a panel, a touch screen and other server devices, and the display device is a device capable of outputting images or touch information (such as a braille display designed for the blind person), such as a home IPTV, and also an office IPTV, such as a flight meeting, a flying book and the like. Preferably, in the embodiment of the present invention, the first terminal is a set top box, and the display device is a television.
In an embodiment, the detecting whether the dynamic detection target exists in the preset range specifically includes: according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range; and when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range. In the embodiment of the invention, two detection strategies are adopted to detect the dynamic target simultaneously, and the dynamic detection target in the preset range of the first terminal is determined only when the two detection strategies simultaneously judge that the dynamic detection target exists in the preset range. If only one detection target judges that the dynamic detection target exists, the dynamic target detection is carried out again after a preset time interval, and when at least one detection strategy judges that the dynamic detection target exists, the dynamic detection target exists in a preset range, so that the situation that the judgment result is inconsistent when one detection strategy has a fault or the two detection strategies are not synchronous can be avoided, and the accuracy and the strictness of the dynamic target detection are improved.
In one embodiment, the first detection policy specifically includes: setting a sensing device on the first terminal; acquiring reference data of the sensing device; when the switching of the reference data of the sensing device is detected, the dynamic detection target is judged to exist in a preset range. An infrared sensor or a radar sensor is arranged on the set top box, and whether a dynamic detection target exists in a preset range is judged through the transformation of the sensor. Preferably, in the embodiment of the present invention, a radar sensor is disposed on the set-top box, and a detection direction of the radar sensor faces the television, and a human body movement is used as a dynamic detection target. Initializing a detection pin of the radar sensor, wherein the detection pin of the radar sensor is at a high level, triggering the detection pin level of the radar sensor to be pulled down when a dynamic detection target exists, and switching the pin level of the radar sensor at the moment, so that the existence of the dynamic sensor in a preset range is judged. Further, the preset range of dynamic target detection can be determined according to the detection range of the sensor, and is typically 8 to 16 meters.
In one embodiment, the second detection policy specifically includes: collecting sound data in a preset range in real time; and detecting voice activity of the voice data according to a preset algorithm, and judging that the dynamic detection target exists in a preset range when the voice data contains human voice. And (3) setting MIC equipment on the set top box, and collecting sound data in a preset range of the set top box in real time. And voice activity detection is carried out on the collected voice data by adopting a VAD algorithm, and whether voice exists in the voice data is judged. The VAD algorithm divides the frequency spectrum of sound data into six sub-bands (80 Hz-250Hz,250Hz-500Hz,500Hz-1K,1K-2K,2K-3K, 3K-4K.) according to the frequency spectrum range of human voice, and calculates the energy of the six sub-bands respectively. And then, carrying out operation by using a probability density function of the Gaussian model to obtain a log-likelihood ratio function. The log-likelihood ratio is divided into global and local, global being a weighted sum of six subbands and local referring to each subband. The voice judgment can firstly judge the sub-band, the sub-band judgment can not judge the global state, and if one party passes the judgment, the voice data is judged to have human voice, namely, a dynamic detection target of human body movement exists.
As a preferable scheme of the embodiment of the invention, when receiving an operation screen-throwing instruction sent by a user side, the display equipment is directly started, the screen-throwing connection relation between the first terminal and the display equipment is established, and dynamic target detection is closed. Referring to fig. 2, fig. 2 is a schematic flow chart of dynamic object detection according to an embodiment of the present invention. When the dynamic detection target exists, the calibration is 1, and if the dynamic detection target does not exist, the calibration is 0. The first detection strategy is used as radar judgment, and the second detection strategy is used as VAD judgment. Under scene 1, when the radar judgment and the VAD judgment are both calibrated to be 1, determining that a dynamic detection target exists in a preset range, starting the television, and closing the dynamic target detection. Scene 2 and scene 3 are the situation that any detection strategy is calibrated to be 1, at this time, the dynamic target detection is restarted after 2 seconds, if the judgment of one detection strategy is still 1, the dynamic detection target exists in the preset range, the television is started, and the dynamic target detection is closed. In scene 4, if both detection strategies are determined to be 0, then no dynamic detection target exists in the preset range, the television is not started at this time, and the dynamic target detection is continuously started in the preset range. In the scenes 5-8, no matter whether the detection strategy is judged to be 1 or not, if only a screen-throwing instruction of operation sent by a user is received, the television is started immediately, the screen-throwing connection relation between the set top box and the television is established, and dynamic target detection is closed. In an embodiment, the wired screen-throwing control method further includes controlling the first terminal to obtain an instruction for starting the display device, specifically: controlling the first terminal to perform infrared learning; receiving all infrared remote control signals transmitted by a controller of the display equipment and storing the signals to the first terminal; and carrying out logic analysis on the infrared remote control signals to obtain the function instruction mapped by each infrared remote control signal. In order to enable the set top box to be compatible with television interaction functions of various brands, the embodiment of the invention further comprises a circuit module which is integrated by an infrared receiving circuit and an infrared transmitting circuit and is arranged in the set top box, so that the set top box is ensured to have an infrared learning function. Because the infrared receiving circuit and the infrared transmitting circuit are common technical structures in the prior art, the circuit structure is not repeated here. When the set top box is in infrared learning, any infrared remote control signal emitted by the controller of the television, namely the remote controller, is received by the set top box and stored in the set top box within the infrared receiving range of the set top box. The received infrared remote control signal is logically analyzed, and preferably, the embodiment of the invention adopts a Kingst digital signal logic analyzer to logically analyze the infrared remote control signal so as to obtain the functional instruction mapped by the infrared remote control signal. Based on the above, after the set top box finishes the infrared learning of the remote controller corresponding to the television, the set top box has the function of remote control/starting of the television.
In an embodiment, after the display device is started, the set-top box sends a section of preset sound source to the television through an HDMI data line connected with the television, and the MIC device is installed on the set-top box to collect the sound source data played by the display device at the moment. The VAD sound detection can also be used for identifying the use scene of the guide sound source, preferably, the VAD algorithm is used for judging whether the play sound source of the television set is consistent with the sent preset sound source at the moment, if so, the television set is successfully started, the television set outputs the designated sound source transmitted by the set top box through the loudspeaker, and the set top box and the television set establish a screen connection relation at the moment. If the preset sound source cannot be identified in the collected sound source data, the preset sound source sent by the set top box cannot be normally transmitted to the television set, the television set is used for playing, at the moment, the television is failed to start, and the screen connection relation is not established between the set top box and the television set.
As a preferred scheme of the embodiment of the present invention, after the first terminal is started, the level signal of the HDIM data line is detected in real time; and when the level signal is converted, judging that the display equipment is successfully started, and establishing a screen-throwing connection relation between the first terminal and the display equipment. The set top box is connected with the television through the HDMI data line, the power supply pins of the HDMI data pins are detected, when the television is successfully started, the power supply pins of the HDMI data line are switched to a high level, the set top box can transmit data such as audio and video to the television, therefore, when the level signal of the HDMI data line is detected to be switched to the high level, the television can be judged to be successfully started, and the set top box and the television establish a screen connection relation. In some specific application scenarios, when the CEC protocol exists in the HDMI communication, if the television is turned on successfully, the corresponding bus will be pulled up to +3.3v, and at this time, whether the television is turned on successfully can be determined directly by detecting whether the bus (open collector line) has level switching.
The embodiment of the invention also provides a wired screen-throwing control device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the wired screen-throwing control method when executing the computer program.
In an embodiment of the present invention, a computer readable storage medium is further provided, where the computer readable storage medium includes a stored computer program, and when the computer program runs, the device where the computer readable storage medium is located is controlled to execute the above-mentioned wired screen-throwing control.
The computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules may be a series of computer program instruction segments capable of performing particular functions for describing the execution of the computer program in a wired cast control device.
The wired screen-throwing control equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The wired screen-casting control device may include, but is not limited to, a processor, a memory, a display. It will be appreciated by those skilled in the art that the above components are merely examples of a wired screen-casting control device and do not constitute a limitation of the wired screen-casting control device, and may include more or fewer components than those described, or may combine certain components, or different components, e.g., the wired screen-casting control device may also include input-output devices, network access devices, buses, etc.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the wired screen-throwing control apparatus, and connects various parts of the entire wired screen-throwing control apparatus using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the wired screen-casting control device by running or executing the computer program and/or module stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, a text conversion function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the modules integrated by the wired screen-throwing control device can be stored in a computer readable storage medium if the modules are realized in the form of software functional units and sold or used as independent products. Based on this understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the invention provides a wired screen-throwing control method, which is used for controlling a first terminal to start display equipment when a dynamic detection target exists in a preset range, and the first terminal and the display equipment are not required to be independently started by adopting a controller or a control panel respectively, so that the dynamic interaction experience between the first terminal and the display equipment is optimized, and the screen-throwing connection relationship between the first terminal and the display equipment can be quickly established. Further, after the display device is started, the preset audio is sent to the display device through the first terminal, whether the display device can successfully play the preset audio is verified, so that whether the display device is successfully started or not is determined, whether stable connection between the first terminal and the display device is established or not can be further verified, and an effective verification method is provided for the screen-throwing connection relation between the first terminal and the display device.
Example 2
Referring to fig. 3, fig. 3 is a block diagram of a wired screen-throwing control device according to an embodiment of the present invention. The embodiment of the invention provides a wired screen-throwing control device, which comprises a target detection module 201, a device interaction module 202, a data acquisition module 203 and a relation judgment module 204, and specifically comprises the following steps:
the target detection module 201 is configured to start the first terminal and detect whether a dynamic detection target exists in a preset range;
the device interaction module 202 is configured to control the first terminal to start a display device when a dynamic detection target exists in the preset range, and send a preset sound source to the display device; the first terminal is connected with the display device through an HDIM data line;
the data acquisition module 203 is configured to acquire audio source data played by the display device in real time;
the relationship determination module 204 is configured to determine that the first terminal establishes a screen-projection connection relationship with the display device when the sound source data is consistent with the preset sound source.
In an embodiment, the object detection module 201 is configured to start the first terminal and detect whether a dynamic detection object exists in a preset range, and specifically includes: according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range;
and when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range.
In one embodiment, the first detection policy specifically includes:
setting a sensing device on the first terminal;
acquiring reference data of the sensing device;
when the switching of the reference data of the sensing device is detected, the dynamic detection target is judged to exist in a preset range.
In one embodiment, the second detection policy specifically includes:
collecting sound data in a preset range in real time;
and detecting voice activity of the voice data according to a preset algorithm, and judging that the dynamic detection target exists in a preset range when the voice data contains human voice.
In an embodiment, the wired screen-throwing control device further includes an infrared learning module, configured to control the first terminal to obtain an instruction for starting the display device, specifically:
controlling the first terminal to perform infrared learning;
receiving all infrared remote control signals transmitted by a controller of the display equipment and storing the signals to the first terminal;
and carrying out logic analysis on the infrared remote control signals to obtain the function instruction mapped by each infrared remote control signal.
In one embodiment, the relationship determination module 204 further detects the level signal of the HDIM data line in real time, specifically:
detecting the level signal of the HDIM data line in real time after the first terminal is started;
and when the level signal is converted, judging that the display equipment is successfully started, and establishing a screen-throwing connection relation between the first terminal and the display equipment.
In one embodiment, the device interaction module 202 further includes: when receiving an operation screen-throwing instruction sent by a user side, directly starting the display equipment, establishing a screen-throwing connection relation between the first terminal and the display equipment, and closing dynamic target detection.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the above-described apparatus, which is not described in detail herein.
The embodiment of the invention provides a wired screen-throwing control device, which controls a first terminal to start display equipment when a dynamic detection target exists in a preset range, does not need to independently start the first terminal and the display equipment by adopting a controller or a control panel respectively, optimizes dynamic interaction experience between the first terminal and the display equipment, and can quickly establish a screen-throwing connection relation between the first terminal and the display equipment. Further, after the display device is started, the preset audio is sent to the display device through the first terminal, whether the display device can successfully play the preset audio is verified, so that whether the display device is successfully started or not is determined, whether stable connection between the first terminal and the display device is established or not can be further verified, and an effective verification method is provided for the screen-throwing connection relation between the first terminal and the display device.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and substitutions can be made by those skilled in the art without departing from the technical principles of the present invention, and these modifications and substitutions should also be considered as being within the scope of the present invention.

Claims (9)

1. The wired screen projection control method is characterized by comprising the following steps of:
starting a first terminal and detecting whether a dynamic detection target exists in a preset range; according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range;
when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range;
when a dynamic detection target exists in the preset range, controlling the first terminal to start display equipment, and sending a preset sound source to the display equipment; the first terminal is connected with the display device through an HDIM data line;
collecting sound source data played by the display equipment in real time;
and when the sound source data is consistent with the preset sound source, determining that the first terminal and the display equipment establish a screen-throwing connection relation.
2. The method for controlling wired screen as claimed in claim 1, wherein the first detection strategy specifically comprises:
setting a sensing device on the first terminal;
acquiring reference data of the sensing device;
when the switching of the reference data of the sensing device is detected, the dynamic detection target is judged to exist in a preset range.
3. The method for controlling wired screen as claimed in claim 1, wherein the second detection strategy specifically comprises:
collecting sound data in a preset range in real time;
and detecting voice activity of the voice data according to a preset algorithm, and judging that the dynamic detection target exists in a preset range when the voice data contains human voice.
4. The method for controlling wired screen as claimed in claim 1, wherein the method for controlling wired screen further comprises controlling the first terminal to obtain an instruction for starting the display device, specifically:
controlling the first terminal to perform infrared learning;
receiving all infrared remote control signals transmitted by a controller of the display equipment and storing the signals to the first terminal;
and carrying out logic analysis on the infrared remote control signals to obtain the function instruction mapped by each infrared remote control signal.
5. The wired screen-throwing control method as claimed in claim 1, wherein the wired screen-throwing control method further comprises detecting a level signal of the HDIM data line in real time, specifically:
detecting the level signal of the HDIM data line in real time after the first terminal is started; and when the level signal is converted, judging that the display equipment is successfully started, and establishing a screen-throwing connection relation between the first terminal and the display equipment.
6. The wired screen-casting control method as claimed in claim 1, further comprising: when receiving an operation screen-throwing instruction sent by a user side, directly starting the display equipment, establishing a screen-throwing connection relation between the first terminal and the display equipment, and closing dynamic target detection.
7. The wired screen throwing control device is characterized by comprising a target detection module, a device interaction module, a data acquisition module and a relation judgment module, and specifically comprises the following components:
the target detection module is used for starting the first terminal and detecting whether a dynamic detection target exists in a preset range or not; according to the first detection strategy and the second detection strategy, dynamic target detection is carried out in a preset range at the same time; when the first detection strategy and the second detection strategy simultaneously judge that a dynamic detection target exists in a preset range, determining that the dynamic detection target exists in the preset range; when only one detection strategy judges that the dynamic detection target exists in the preset range, carrying out dynamic target detection again after a preset time interval, and if at least one detection strategy judges that the dynamic detection target exists in the preset range, determining that the dynamic detection target exists in the preset range;
the device interaction module is used for controlling the first terminal to start display device when a dynamic detection target exists in the preset range, and sending a preset sound source to the display device; the first terminal is connected with the display device through an HDIM data line;
the data acquisition module is used for acquiring the sound source data played by the display equipment in real time;
and the relation judging module is used for determining that the first terminal and the display equipment establish a screen-throwing connection relation when the sound source data are consistent with the preset sound source.
8. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the wired screen-casting control method according to any one of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the wired screen-casting control method according to any one of claims 1 to 6.
CN202211087093.7A 2022-09-07 2022-09-07 Wired screen-throwing control method and device Active CN115474080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211087093.7A CN115474080B (en) 2022-09-07 2022-09-07 Wired screen-throwing control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211087093.7A CN115474080B (en) 2022-09-07 2022-09-07 Wired screen-throwing control method and device

Publications (2)

Publication Number Publication Date
CN115474080A CN115474080A (en) 2022-12-13
CN115474080B true CN115474080B (en) 2024-02-20

Family

ID=84368888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211087093.7A Active CN115474080B (en) 2022-09-07 2022-09-07 Wired screen-throwing control method and device

Country Status (1)

Country Link
CN (1) CN115474080B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2714224A1 (en) * 2010-06-18 2010-11-23 Guest Tek Interactive Entertainment Ltd. Controller for providing user-tailored entertainment experience at entertainment device and method thereof
CN203325206U (en) * 2013-06-27 2013-12-04 广州中国科学院软件应用技术研究所 Infrared remote-control learning and control device
CN204256193U (en) * 2014-12-22 2015-04-08 海信集团有限公司 A kind of detecting system of human body
CN105015419A (en) * 2015-07-17 2015-11-04 中山大学 Automatic parking system and method based on stereoscopic vision localization and mapping
CN105825524A (en) * 2016-03-10 2016-08-03 浙江生辉照明有限公司 Target tracking method and apparatus
CN109003005A (en) * 2018-09-18 2018-12-14 南京邮电大学 A kind of green energy resource distribution method of the data back towards edge calculations
CN109606363A (en) * 2018-11-19 2019-04-12 江苏大学 A kind of intelligent automobile of multimode feedback can open up lane and keep control method
CN113242435A (en) * 2021-04-13 2021-08-10 江苏视博云信息技术有限公司 Screen projection method, device and system
CN113242637A (en) * 2021-05-26 2021-08-10 漳州市二阶堂网络科技有限公司 Light control method, system, equipment and medium for smart home
CN113329383A (en) * 2021-05-27 2021-08-31 中船邮轮科技发展有限公司 Recording tracking terminal and method
CN113750268A (en) * 2020-06-01 2021-12-07 Uvd机器人设备公司 Method for detecting human and/or animal movement and performing mobile disinfection
CN114296675A (en) * 2020-08-05 2022-04-08 腾讯科技(深圳)有限公司 Screen projection state determination method, device, equipment and computer readable storage medium
CN114501090A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method, device, equipment and computer readable storage medium
CN114816864A (en) * 2022-03-30 2022-07-29 长沙朗源电子科技有限公司 Graphic card testing device and graphic card testing method based on graphic card testing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11086998B2 (en) * 2018-01-30 2021-08-10 Dell Products L.P. Modifiable policy action secure boot violation system
US10571991B2 (en) * 2018-04-30 2020-02-25 Centurylink Intellectual Property Llc Method and system for implementing auto-switching or auto-playing video content
JP7431563B2 (en) * 2019-11-28 2024-02-15 キヤノン株式会社 Image search device, image search method, and program

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2714224A1 (en) * 2010-06-18 2010-11-23 Guest Tek Interactive Entertainment Ltd. Controller for providing user-tailored entertainment experience at entertainment device and method thereof
CN203325206U (en) * 2013-06-27 2013-12-04 广州中国科学院软件应用技术研究所 Infrared remote-control learning and control device
CN204256193U (en) * 2014-12-22 2015-04-08 海信集团有限公司 A kind of detecting system of human body
CN105015419A (en) * 2015-07-17 2015-11-04 中山大学 Automatic parking system and method based on stereoscopic vision localization and mapping
CN105825524A (en) * 2016-03-10 2016-08-03 浙江生辉照明有限公司 Target tracking method and apparatus
CN109003005A (en) * 2018-09-18 2018-12-14 南京邮电大学 A kind of green energy resource distribution method of the data back towards edge calculations
CN109606363A (en) * 2018-11-19 2019-04-12 江苏大学 A kind of intelligent automobile of multimode feedback can open up lane and keep control method
CN113750268A (en) * 2020-06-01 2021-12-07 Uvd机器人设备公司 Method for detecting human and/or animal movement and performing mobile disinfection
CN114296675A (en) * 2020-08-05 2022-04-08 腾讯科技(深圳)有限公司 Screen projection state determination method, device, equipment and computer readable storage medium
CN113242435A (en) * 2021-04-13 2021-08-10 江苏视博云信息技术有限公司 Screen projection method, device and system
CN113242637A (en) * 2021-05-26 2021-08-10 漳州市二阶堂网络科技有限公司 Light control method, system, equipment and medium for smart home
CN113329383A (en) * 2021-05-27 2021-08-31 中船邮轮科技发展有限公司 Recording tracking terminal and method
CN114501090A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method, device, equipment and computer readable storage medium
CN114816864A (en) * 2022-03-30 2022-07-29 长沙朗源电子科技有限公司 Graphic card testing device and graphic card testing method based on graphic card testing device

Also Published As

Publication number Publication date
CN115474080A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN109147784B (en) Voice interaction method, device and storage medium
CN111370018B (en) Audio data processing method, electronic device and medium
CN109040641B (en) Video data synthesis method and device
US20210398527A1 (en) Terminal screen projection control method and terminal
CN111638779A (en) Audio playing control method and device, electronic equipment and readable storage medium
US9491401B2 (en) Video call method and electronic device supporting the method
CN108922531B (en) Slot position identification method and device, electronic equipment and storage medium
CN109473097B (en) Intelligent voice equipment and control method thereof
US20200388089A1 (en) Title method, apparatus and system for processing vehicle diagnosis case and diagnosis device
CN111081275B (en) Terminal processing method and device based on sound analysis, storage medium and terminal
CN111314763A (en) Streaming media playing method and device, storage medium and electronic equipment
CN114594751A (en) Vehicle function testing method, device, equipment and computer readable storage medium
CN115474080B (en) Wired screen-throwing control method and device
CN116939283A (en) Equipment control method, device, electronic equipment and storage medium
CN105450970A (en) Information processing method and electronic equipment
CN111401283A (en) Face recognition method and device, electronic equipment and storage medium
CN113766385B (en) Earphone noise reduction method and device
CN111416955B (en) Video call method and electronic equipment
CN111556406B (en) Audio processing method, audio processing device and earphone
CN114490228A (en) Bluetooth automatic test method and related device
CN111757005A (en) Shooting control method and device, computer readable medium and electronic equipment
CN112333531A (en) Audio data playing method and device and readable storage medium
CN114093350B (en) Voice data acquisition method, voice call method, voice data acquisition device and computer equipment
CN112135152B (en) Information processing method and device
CN111367492B (en) Webpage display method and device and storage medium

Legal Events

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