CN114816287A - Screen transmission control method and device, storage medium and electronic equipment - Google Patents

Screen transmission control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114816287A
CN114816287A CN202110109052.2A CN202110109052A CN114816287A CN 114816287 A CN114816287 A CN 114816287A CN 202110109052 A CN202110109052 A CN 202110109052A CN 114816287 A CN114816287 A CN 114816287A
Authority
CN
China
Prior art keywords
screen transmission
ultrasonic signal
target ultrasonic
end equipment
sending
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.)
Pending
Application number
CN202110109052.2A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202110109052.2A priority Critical patent/CN114816287A/en
Publication of CN114816287A publication Critical patent/CN114816287A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a screen transmission control method and device, a storage medium and electronic equipment, and belongs to the technical field of intelligent control. The method comprises the following steps: receiving a screen transmission image and/or audio sent by sending end equipment; detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent out by sending end equipment in the screen transmission process; and if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment. And the receiving end equipment detects the target ultrasonic signal in real time, if the target ultrasonic signal is not detected within the preset time, the situation that the space between the sending end equipment and the receiving end equipment is blocked is indicated, and the screen transmission process with the sending end equipment is finished. The problem that privacy or confidential information is leaked due to the fact that the screen transmission function is not closed by a user is effectively avoided.

Description

Screen transmission control method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of intelligent control, and in particular, to a screen transmission control method and apparatus, a storage medium, and an electronic device.
Background
The screen transmission refers to a technology of transmitting information such as pictures and sounds of one device to another device through a network transmission mode and displaying the information in real time. At present, the most common wireless screen transmission scene is to transmit the pictures and/or sounds of transmitting end equipment such as smart phones, computers and the like to receiving end equipment such as intelligent interactive panels, screen transmission boxes and the like. When the screen is transmitted, the sending end device generally operates a software for capturing information such as pictures and/or sounds and transmitting the information to the receiving end device, and the receiving end device receives and displays the information. After the screen transmission is finished, the user is required to manually close the screen transmission function, and the information transmission between the sending terminal equipment and the receiving terminal equipment is finished.
In an actual use scenario, a user may forget to turn off the screen transmission function due to carelessness and the like, and a picture of the sending-end device may be continuously displayed on the receiving-end device, which may cause leakage of private information or confidential information, and cause loss to the user.
Disclosure of Invention
The embodiment of the application provides a screen transmission control method and device, a storage medium and electronic equipment, and the method for automatically stopping screen transmission can be provided for a user, the screen transmission can be automatically stopped without manual operation of the user, and the problem of privacy or confidential information leakage is effectively avoided. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a screen transmission control method, which is applied to a receiving end device, and includes:
receiving a screen transmission image and/or audio sent by sending end equipment;
detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent out by sending end equipment in the screen transmission process;
and if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment.
Optionally, the detecting the target ultrasonic signal includes:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signals in the current environment;
and if the target ultrasonic signal is obtained through analysis, determining that the target ultrasonic signal is detected.
Optionally, the ending and screen transmission process of the sending end device includes:
sending a screen transmission stopping request to sending end equipment so that the sending end equipment stops sending screen transmission images and/or audio to receiving end equipment according to the screen transmission stopping request;
and/or the presence of a gas in the gas,
the network connection with the transmitting end device is ended.
Optionally, the target ultrasonic signal is an ultrasonic signal with a preset frequency and containing preset information;
the detection target ultrasonic signal comprises:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signal in the current environment to obtain an ultrasonic signal with preset frequency;
analyzing an ultrasonic signal with a preset frequency;
and if preset information is obtained through analysis, determining that the target ultrasonic signal is detected.
In a second aspect, an embodiment of the present application provides a screen transmission control method, which is applied to a sending end device, and includes:
transmitting screen transmission images and/or audio to receiving end equipment;
in the screen transmission process, sending a target ultrasonic signal to enable the receiving end equipment to detect the target ultrasonic signal, and finishing the screen transmission process with the sending end equipment when the target ultrasonic signal is not detected within a preset time length;
the target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length during interval transmission.
Optionally, the method further includes:
receiving a screen transmission stopping request sent by sending end equipment when a target ultrasonic signal is not detected within a preset time length;
and stopping sending the screen transmission image and/or audio to the receiving terminal equipment according to the screen transmission stopping request.
Optionally, the target ultrasonic signal is an ultrasonic signal with a preset frequency and containing preset information;
the emitting of the target ultrasonic signal comprises:
encoding preset information into an ultrasonic signal with a preset frequency;
and playing the ultrasonic signal with the preset frequency containing the preset information outwards.
In a third aspect, an embodiment of the present application provides a screen transmission control device, including:
the receiving module is used for receiving screen transmission images and/or audios sent by the sending end equipment;
the signal detection module is used for detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent by sending end equipment in the screen transmission process;
and the screen transmission ending module is used for ending the screen transmission process with the sending terminal equipment when the target ultrasonic signal is not detected within the preset time length.
In a fourth aspect, an embodiment of the present application provides a screen transmission control device, including:
the transmitting module is used for transmitting the screen transmission image and/or the audio to the receiving end equipment;
the ultrasonic signal module is used for sending a target ultrasonic signal in the screen transmission process so that the receiving end equipment detects the target ultrasonic signal and finishes the screen transmission process with the sending end equipment when the target ultrasonic signal is not detected within a preset time length;
the target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length during interval transmission.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of the first or second aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of the first or second aspect.
In a seventh aspect, this application provides a computer program product, which includes a computer program that, when executed by a processor, implements the method steps of the first aspect or the second aspect.
The embodiment of the application provides a screen transmission control method and device, a storage medium and electronic equipment. The screen transmission control method is applied to receiving end equipment and comprises the following steps: receiving a screen transmission image and/or audio sent by sending end equipment; detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent out by sending end equipment in the screen transmission process; and if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment. The sending end equipment sends the screen transmission image and/or audio to the receiving end equipment, and simultaneously sends out the target ultrasonic signal continuously or at a time interval less than the preset time length in the screen transmission process. And the receiving end equipment detects the target ultrasonic signal in real time, if the target ultrasonic signal is not detected within the preset time, the situation that the transmitting end equipment and the receiving end equipment are blocked and cannot receive the ultrasonic signal is indicated, and the screen transmission process with the transmitting end equipment is finished. The method for automatically stopping screen transmission when the user leaves is provided for the user, and the problem that privacy or confidential information is leaked because the screen transmission function is not closed by the user is effectively avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a flowchart of a screen transmission control method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a display effect of a prompt interface of sending-end equipment according to an embodiment of the present application;
fig. 4 is a flowchart of another screen transmission control method provided in the embodiment of the present application;
fig. 5 is a flowchart of another screen transmission control method provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of a screen transmission control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another screen transmission control device provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The screen transmission refers to a technology of transmitting information such as pictures and sounds of one device to another device in a network transmission mode and displaying the information in real time. The most common wireless screen transmission scenario at present is to transmit the picture and/or sound of a user computer or a mobile phone (referred to as a sending-end device in this application) to an intelligent interactive tablet or a screen transmission box (referred to as a receiving-end device in this application). A sending end device generally runs a software (referred to as sending end software in this application) for capturing and transmitting information such as pictures on the sending end device to a receiving end device, and a receiving end device runs a screen-transmitting receiving end software for receiving and displaying the information.
In many scenarios, a user may share information using a pass screen. However, in an actual usage scenario, a user may forget that the sending-end software runs in the background due to carelessness and the like, and then leave the receiving-end device after forgetting to turn off the screen-projection function, so that a picture of the sending-end device is continuously displayed on the receiving-end device. When the user operates the sending terminal device subsequently, the user can mistakenly disclose the picture which is not suitable for disclosure unconsciously, which causes embarrassment to the user and even divulgence and loss.
For example, in the course of classroom teaching, a teacher may project a mobile phone picture to an interactive tablet device in a classroom to demonstrate teaching contents. After a class, the user may directly return to the office by forgetting to turn off the screen transmission function. At this time, since the whole campus is a uniform network, the network still remains connected, and the screen transmission still continues. And the screen transmission software can run in the background and is easy to be ignored by teachers, and the screen transmission cannot be stopped in time. When the teacher operates the mobile phone subsequently, the content of personal privacy in the mobile phone can be displayed on the interactive tablet device in the classroom through screen transmission and seen by students.
Therefore, the embodiment of the application is intended to provide a screen transmission control method, a screen transmission control device, a storage medium and an electronic device, so as to provide a method for automatically stopping screen transmission for a user, and the screen transmission can be automatically stopped without user operation, so as to avoid the problem of privacy disclosure of the user.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, the sending end device is a mobile phone, and the receiving end device is an interactive tablet device. After the mobile phone is in communication connection with the interactive tablet device, the interface of the mobile phone is transmitted and displayed on the interactive tablet device through the screen transmission function. The starting mode of the screen transmission function can be started by a user at a mobile phone end through sending end software; alternatively, the screen transmitter may be connected to the interactive tablet device and turned on by the user through the screen transmitter.
The structure of the screen transmission device can comprise a USB interface, a memory, a processor and keys, wherein the processor is respectively connected with the USB interface, the memory and the keys. The attribute of the USB interface is USB device, and the USB interface is used for being connected with the interactive flat panel device. The screen transmission device is connected with an interactive tablet device (such as a notebook computer) through a USB interface. The screen transmission device can be combined with the USB wire to form a customized special USB wire, and can also exist in a combination mode of a USB dongle with the screen transmission device and a standard USB wire. The screen transmission device can directly obtain power supply through a USB interface of the interactive tablet device. One of the purposes of the memory is to store a specific program or a downloader of the specific program required for screen transmission. One of the purposes of the processor is to load a specific program stored in the memory or a downloader of the specific program and then perform screen transmission control. The key is used for triggering the processor to generate a related control instruction, for example, after the key is clicked, the processor receives operation data sent by the key and correspondingly generates a screen transmission instruction according to the operation data.
The following will describe implementations of embodiments of the present application. It should be noted that, for the sake of brevity, this description does not exhaust all alternative embodiments, and it should be understood by those skilled in the art after reading this description that any combination of features may constitute an alternative embodiment as long as the features are not mutually inconsistent. The features described in the different embodiments, which are not mutually inconsistent, may also be arbitrarily combined to form alternative embodiments.
The embodiment of the application discloses a screen transmission control method, which is applied to screen transmission sending end equipment and/or receiving end equipment.
Please refer to fig. 2, which is a flowchart illustrating a screen transmission control method according to an embodiment of the present application. The method is applied to receiving end equipment and comprises the following steps:
s201, screen transmission images and/or audios sent by sending end equipment are received.
The method of the embodiment is suitable for the screen transmission process of the sending terminal device and the receiving terminal device. And after the screen transmission function is started, the sending end equipment sends screen transmission images and/or audio to the receiving end equipment. Correspondingly, the receiving end equipment receives the screen transmission image and/or audio sent by the sending end equipment.
In this embodiment of the present application, the "screen transmission image" refers to an image that is sent by a sending end device to a receiving end device for display in a screen transmission process. The term "audio" refers to sound that is transmitted by the transmitting end device to the receiving end device for playing in the screen transmission process. The screen transmission image may be an image of the entire display interface of the sending end device, an image of a designated area on the display interface of the sending end device, or an image of a designated application software display window on the display interface of the sending end device.
S202, detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent by sending end equipment in the screen transmission process.
In the screen transmission process, the sending end equipment sends out a target ultrasonic signal. Correspondingly, the receiving end device detects the target ultrasonic signal.
In some embodiments, the target ultrasonic signals are transmitted continuously or at intervals, and the time interval between two adjacent target ultrasonic signals during interval transmission is less than a preset time length.
In some embodiments, the transmitting end device may configure the generating means of the ultrasonic signal. And starting to generate and send out a target ultrasonic signal at the same time of starting the screen transmission function (or after a period of time after starting the screen transmission function). Correspondingly, the receiving end device can be configured with a detection device for ultrasonic signals, and can start to detect the target ultrasonic signals while the screen transmission function is started (or after a period of time after the screen transmission function is started).
And S203, if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment.
The ultrasonic signal is characterized in that people cannot hear the ultrasonic signal and the sound playing is not influenced. But the strength of the signal is affected by the propagation distance and obstacles. The longer the distance between the sending end equipment and the receiving end equipment is, the weaker the ultrasonic signal intensity which can be detected by the receiving end equipment is; the more obstacles are between the sending end device and the receiving end device, the weaker the ultrasonic signal intensity that the receiving end device can detect. Meanwhile, the ultrasonic signal has certain directivity. The more the propagation direction of the ultrasonic signal deviates from the direction between the transmitting device and the receiving device, the weaker the ultrasonic signal intensity that can be detected by the receiving-end device.
The state of the sending end device is characterized in that in some application scenarios, the sending end device may be a portable device such as a mobile phone and a tablet computer of a user. In the screen transmission process, a user may carry the sending terminal device with him, so that the distance between the sending terminal device and the receiving terminal device is increased, the number of obstacles between the sending terminal device and the receiving terminal device is increased, and the direction of the ultrasonic signal sent by the sending terminal device deviates from the direction between the sending terminal device and the receiving terminal device.
Based on the characteristics of the ultrasonic signals and the characteristics of the state of the sending end equipment, the judgment condition for ending the screen transmission process of the receiving end equipment and the sending end equipment is set as 'the target ultrasonic signals are not detected within the preset time length'. That is, the target ultrasonic signal is not detected within a short time (within a preset time period) due to the state change of the transmitting terminal device, without directly terminating the screen transmission process. Therefore, the condition of mistakenly finishing screen transmission can be effectively reduced, and the influence on normal screen transmission is avoided.
Wherein the target ultrasound signal is not detected, comprising: no target ultrasonic signal is detected at all; alternatively, the target ultrasonic signal is detected, but the intensity of the detected target ultrasonic signal is lower than a preset threshold. In some application scenarios, when the user does not need to transmit the screen, the original distance between the sending end device and the receiving end device is relatively close, or the number of obstacles is relatively small, which is not enough to completely attenuate the target ultrasonic signal, and the ultrasonic signal with lower intensity may be continuously detected. When the detected intensity of the target ultrasonic signal is lower than a preset threshold value, the screen transmission process with the sending end device is finished, and therefore misjudgment in the scene can be reduced.
The embodiment of the application provides a screen transmission control method, which is applied to receiving end equipment and comprises the following steps: receiving a screen transmission image and/or audio sent by sending end equipment; detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent out by sending end equipment in the screen transmission process; and if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment. The sending end equipment sends the screen transmission image and/or audio to the receiving end equipment, and simultaneously sends out the target ultrasonic signal continuously or at a time interval less than the preset time length in the screen transmission process. And the receiving end equipment detects the target ultrasonic signal in real time, if the target ultrasonic signal is not detected within the preset time, the situation that the transmitting end equipment and the receiving end equipment are blocked and cannot receive the ultrasonic signal is indicated, and the screen transmission process with the transmitting end equipment is finished. The method for automatically stopping screen transmission when the user leaves is provided for the user, and the problem that privacy or confidential information is leaked because the screen transmission function is not closed by the user is effectively avoided.
In some embodiments, the detecting the target ultrasonic signal includes: receiving a sound wave signal in the current environment; analyzing the received sound wave signals in the current environment; and if the target ultrasonic signal is obtained through analysis, determining that the target ultrasonic signal is detected.
Specifically, the target ultrasonic signal may be an ultrasonic signal of a certain frequency. The receiving end equipment can receive the sound wave signals in the current environment through a microphone and other sound receiving devices, then analyzes the received signals according to the sound wave frequency, and can determine that the target signals are detected if the ultrasonic signals with the specific frequency are analyzed.
By the scheme of the embodiment, the target ultrasonic signal can be effectively detected from complex environment sound.
In other embodiments, the target ultrasonic signal may also be an ultrasonic signal of a preset frequency containing preset information. The method comprises the steps that before sending a target ultrasonic signal, sending end equipment encodes preset information into an ultrasonic signal with preset frequency; and then, the ultrasonic signal with the preset frequency containing the preset information is played outwards. Correspondingly, when the receiving end equipment detects the target ultrasonic signal, the receiving end equipment receives the sound wave signal in the current environment; analyzing the received sound wave signal in the current environment to obtain an ultrasonic signal with preset frequency; analyzing an ultrasonic signal with a preset frequency; and if preset information is obtained through analysis, determining that the target ultrasonic signal is detected.
When the receiving end equipment detects the target ultrasonic signal, the sound wave signal in the current environment is analyzed, and if the ultrasonic signal with the preset frequency is not obtained, the target ultrasonic signal is not detected.
Through the scheme of the embodiment, the preset information is added into the ultrasonic signal with the specific frequency in a coding mode, so that the detection accuracy can be further improved, and the interference of signals with the same frequency in the environment is avoided.
In some embodiments, the ending of the screen transmission process with the sending-end device may specifically include: sending a screen transmission stopping request to sending end equipment so that the sending end equipment stops sending screen transmission images and/or audio to receiving end equipment according to the screen transmission stopping request; and/or, end the network connection with the sending end device.
When the screen transmission process is finished, the receiving end device may send a request for stopping screen transmission to the sending end device, and the sending end device stops sending the screen transmission image and/or audio data to the sending end device after receiving the screen transmission request.
The data transmission path can be cut off by ending the communication connection between the receiving end equipment and the sending end equipment, so that the screen transmission process is ended.
Alternatively, both methods may be used simultaneously. And after sending the screen transmission stopping request for a period of time, disconnecting the connection with the receiving terminal equipment.
In order to further avoid misjudgment, before sending the screen transmission stopping request, prompt information may be sent to remind the user that the screen transmission function between the current sending end device and the current receiving end device is still in an open state, and further ask the user whether to close the screen transmission function. The prompt interface of the sending end device can be seen in fig. 3.
Please refer to fig. 4, which is a flowchart illustrating a screen transmission control method according to an embodiment of the present application. The method is applied to the sending terminal equipment, and comprises the following steps:
s401, screen transmission images and/or audio are sent to the receiving end equipment.
S402, in the screen transmission process, sending a target ultrasonic signal to enable the receiving end equipment to detect the target ultrasonic signal, and finishing the screen transmission process with the sending end equipment when the target ultrasonic signal is not detected within a preset time length.
The target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length when the target ultrasonic signals are transmitted at intervals.
Optionally, the method of this embodiment further includes:
receiving a screen transmission stopping request sent by sending end equipment when a target ultrasonic signal is not detected within a preset time length;
and stopping sending the screen transmission image and/or audio to the receiving terminal equipment according to the screen transmission stopping request.
Optionally, the target ultrasonic signal is an ultrasonic signal with a preset frequency and containing preset information;
emitting a target ultrasound signal, comprising:
encoding preset information into an ultrasonic signal with a preset frequency;
and playing the ultrasonic signal with the preset frequency containing the preset information outwards.
Each step in the scheme of this embodiment is embodied in the description of the embodiment corresponding to the method executed by the receiving end device, and specific implementation manners and beneficial effects thereof may refer to the above-mentioned embodiment, which is not described herein again.
Please refer to fig. 5, which is a flowchart of a screen transmission control method disclosed in the embodiment of the present application. The method is applied to the sending terminal equipment and the receiving terminal equipment, and comprises the following steps:
s501, the sending end device and the receiving end device establish network connection.
S502, starting a screen transmission function, and transmitting screen transmission images and/or audio to receiving end equipment by the transmitting end equipment. Meanwhile, the sending end equipment sends out a target ultrasonic signal. Accordingly, the receiving end device receives the screen transmission image and/or the audio. Meanwhile, the receiving end device detects the target ultrasonic signal.
And S503, when the receiving end equipment does not receive the target ultrasonic signal within the preset time length, disconnecting the network connection with the sending end equipment. And finishing screen transmission.
Each step in the scheme of this embodiment is embodied in the description of the embodiment corresponding to the method executed by the receiving end device, and specific implementation manners and beneficial effects thereof may refer to the above-mentioned embodiment, which is not described herein again.
Continuing with the teaching scenario as an example, according to the solution of the present application, after the teacher turns on the projection screen, the mobile phone will continuously play the ultrasonic waves that cannot be sensed by the human ear through the speaker at a specific frequency, such as 20kHz, where the ultrasonic waves carry specific information, such as 1010101010. And the receiving end equipment continuously receives sound waves in the environment through the microphone after the transmission screen is opened, analyzes the sound waves with the frequency of 20kHz from the sound waves, and analyzes the information contained in the sound waves. If the ultrasonic wave carrying the information 1010101010 is not received for 10 consecutive seconds, the sending terminal equipment is considered to leave the room where the receiving terminal equipment is located, and the screen projection of the sending terminal equipment is immediately stopped.
Please refer to fig. 6, which illustrates a schematic structural diagram of a screen transmission control device according to an exemplary embodiment of the present application. This pass screen controlling means 600 is the device that receiving end equipment corresponds, includes: a receiving module 601, a signal detecting module 602, and an end screen transmission module 603.
The receiving module 601 is configured to receive a screen transmission image and/or audio sent by a sending end device.
The signal detection module 602 is configured to detect a target ultrasonic signal in real time during a screen transmission process, where the target ultrasonic signal is sent by a sending end device during the screen transmission process.
And a screen transmission ending module 603, configured to end the screen transmission process with the sending end device when the target ultrasonic signal is not detected within the preset time.
Optionally, when the signal detection module 602 detects the target ultrasonic signal, it is specifically configured to:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signals in the current environment;
and if the target ultrasonic signal is obtained through analysis, determining that the target ultrasonic signal is detected.
Optionally, when the screen transmission ending module 603 ends the screen transmission process with the sending end device, the screen transmission ending module is specifically configured to:
sending a screen transmission stopping request to sending end equipment so that the sending end equipment stops sending screen transmission images and/or audio to receiving end equipment according to the screen transmission stopping request;
and/or the presence of a gas in the gas,
the network connection with the transmitting end device is ended.
Optionally, the target ultrasonic signal is an ultrasonic signal with a preset frequency and containing preset information;
when detecting the target ultrasonic signal, the signal detection module 602 is specifically configured to:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signal in the current environment to obtain an ultrasonic signal with preset frequency;
analyzing an ultrasonic signal with a preset frequency;
and if preset information is obtained through analysis, determining that the target ultrasonic signal is detected.
The method implemented by each module in the solution of this embodiment is all embodied in the description of the embodiment corresponding to the method executed by the receiving end device, and specific implementation manners and beneficial effects thereof may refer to the above embodiment, which is not described herein again.
Please refer to fig. 7, which illustrates a schematic structural diagram of a screen transmission control device according to an exemplary embodiment of the present application. This pass screen controlling means 700 is the device that the sending end equipment corresponds, includes: a sending module 701 and an ultrasonic signal module 702.
A sending module 701, configured to send a screen-transmitting image and/or audio to a receiving end device.
The ultrasonic signal module 702 is configured to send a target ultrasonic signal in a screen transmission process, so that the receiving end device detects the target ultrasonic signal, and ends the screen transmission process with the sending end device when the target ultrasonic signal is not detected within a preset time period;
the target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length when the target ultrasonic signals are transmitted at intervals.
Optionally, the apparatus 700 further includes:
a receiving module 703, configured to receive a screen transmission stop request sent by a sending end device when a target ultrasonic signal is not detected within a preset time;
and a screen transmission stopping module 704, configured to stop sending the screen transmission image and/or audio to the receiving end device according to the screen transmission stopping request.
Optionally, the target ultrasonic signal is an ultrasonic signal with a preset frequency and containing preset information;
when the ultrasonic signal module 702 sends out the target ultrasonic signal, it is specifically configured to:
encoding preset information into an ultrasonic signal with a preset frequency;
and playing the ultrasonic signal with the preset frequency containing the preset information outwards.
The method implemented by each module in the solution of this embodiment is all embodied in the description of the embodiment corresponding to the method executed by the receiving end device, and specific implementation manners and beneficial effects thereof may refer to the above embodiment, which is not described herein again.
In other embodiments, some electronic devices may act as sending end devices in some scenarios and as receiving end devices in others. These electronic devices may have modules corresponding to both apparatus 600 and apparatus 700 to implement the corresponding methods.
It should be noted that, when the screen transmission control apparatus provided in the foregoing embodiment executes the screen transmission control method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the screen transmission control device and the screen transmission control method provided by the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
The embodiments of the present application further provide a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps in the foregoing embodiments, and the specific execution process may refer to specific descriptions in the foregoing embodiments, which is not described herein again.
The device in which the storage medium is located may be an electronic device.
Please refer to fig. 8, which is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device of fig. 8 may be a transmitting end device or a receiving end device. As shown in fig. 8, the electronic device 800 may include: at least one processor 801, at least one network interface 804, a user interface 803, a memory 805, at least one communication bus 802.
Wherein a communication bus 802 is used to enable connective communication between these components.
The user interface 803 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 803 may also include a standard wired interface and a wireless interface.
The network interface 804 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Processor 801 may include one or more processing cores, among other things. The processor 801 interfaces with various components throughout the electronic device 800 using various interfaces and circuitry to perform various functions of the electronic device 800 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 805 and invoking data stored in the memory 805. Alternatively, the processor 801 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 801 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 801, but may be implemented by a single chip.
The Memory 805 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 805 includes a non-transitory computer-readable medium. The memory 805 may be used to store instructions, programs, code sets, or instruction sets. The memory 805 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 805 may optionally be at least one memory device located remotely from the processor 801 as previously described. As shown in fig. 8, the memory 805, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an operating application of the electronic device.
In the electronic device 800 shown in fig. 8, the user interface 803 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 801 may be adapted to invoke an operating application of the electronic device stored in the memory 805 and to perform in particular the operations of the method described above.
In one embodiment, the operating system of the electronic device is an android system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (12)

1. A screen transmission control method is applied to receiving end equipment and comprises the following steps:
receiving a screen transmission image and/or audio sent by sending end equipment;
detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent out by sending end equipment in the screen transmission process;
and if the target ultrasonic signal is not detected within the preset time, ending the screen transmission process with the sending terminal equipment.
2. The method of claim 1, wherein the detecting a target ultrasound signal comprises:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signals in the current environment;
and if the target ultrasonic signal is obtained through analysis, determining that the target ultrasonic signal is detected.
3. The method according to claim 1 or 2, wherein the ending of the screen transfer process with the sending end device comprises:
sending a screen transmission stopping request to sending end equipment so that the sending end equipment stops sending screen transmission images and/or audio to receiving end equipment according to the screen transmission stopping request;
and/or the presence of a gas in the gas,
the network connection with the transmitting end device is ended.
4. The method according to claim 2, wherein the target ultrasonic signal is an ultrasonic signal of a preset frequency containing preset information;
the detection target ultrasonic signal comprises:
receiving a sound wave signal in the current environment;
analyzing the received sound wave signal in the current environment to obtain an ultrasonic signal with preset frequency;
analyzing an ultrasonic signal with a preset frequency;
and if preset information is obtained through analysis, determining that the target ultrasonic signal is detected.
5. A screen transmission control method is applied to sending terminal equipment and comprises the following steps:
transmitting screen transmission images and/or audio to receiving end equipment;
in the screen transmission process, sending a target ultrasonic signal to enable the receiving end equipment to detect the target ultrasonic signal, and finishing the screen transmission process with the sending end equipment when the target ultrasonic signal is not detected within a preset time length;
the target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length during interval transmission.
6. The method of claim 5, further comprising:
receiving a screen transmission stopping request sent by sending end equipment when a target ultrasonic signal is not detected within a preset time length;
and stopping sending the screen transmission image and/or audio to the receiving terminal equipment according to the screen transmission stopping request.
7. The method according to claim 5 or 6, wherein the target ultrasonic signal is an ultrasonic signal of a preset frequency containing preset information;
the emitting of the target ultrasonic signal comprises:
encoding preset information into an ultrasonic signal with a preset frequency;
and playing the ultrasonic signal with the preset frequency containing the preset information outwards.
8. A screen transmission control device, comprising:
the receiving module is used for receiving screen transmission images and/or audios sent by the sending end equipment;
the signal detection module is used for detecting a target ultrasonic signal in real time in the screen transmission process, wherein the target ultrasonic signal is sent by sending end equipment in the screen transmission process;
and the screen transmission ending module is used for ending the screen transmission process with the sending terminal equipment when the target ultrasonic signal is not detected within the preset time length.
9. A screen transmission control device, comprising:
the transmitting module is used for transmitting the screen transmission image and/or the audio to the receiving end equipment;
the ultrasonic signal module is used for sending a target ultrasonic signal in the screen transmission process so that the receiving end equipment detects the target ultrasonic signal and finishes the screen transmission process with the sending end equipment when the target ultrasonic signal is not detected within a preset time length; the target ultrasonic signals are continuously transmitted or transmitted at intervals, and the time interval between every two adjacent target ultrasonic signals is less than the preset time length during interval transmission.
10. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-7.
11. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.
12. A computer program product comprising a computer program, characterized in that the computer program realizes the method steps of any of claims 1-7 when executed by a processor.
CN202110109052.2A 2021-01-27 2021-01-27 Screen transmission control method and device, storage medium and electronic equipment Pending CN114816287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110109052.2A CN114816287A (en) 2021-01-27 2021-01-27 Screen transmission control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110109052.2A CN114816287A (en) 2021-01-27 2021-01-27 Screen transmission control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114816287A true CN114816287A (en) 2022-07-29

Family

ID=82523705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110109052.2A Pending CN114816287A (en) 2021-01-27 2021-01-27 Screen transmission control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114816287A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115495307A (en) * 2022-08-26 2022-12-20 深圳市旭联信息技术有限公司 Screen transmission data processing method and device, computer readable storage medium and system
WO2024198993A1 (en) * 2023-03-30 2024-10-03 广州视源电子科技股份有限公司 Screen mirroring connection method and device, storage medium, and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115495307A (en) * 2022-08-26 2022-12-20 深圳市旭联信息技术有限公司 Screen transmission data processing method and device, computer readable storage medium and system
WO2024198993A1 (en) * 2023-03-30 2024-10-03 广州视源电子科技股份有限公司 Screen mirroring connection method and device, storage medium, and terminal

Similar Documents

Publication Publication Date Title
CN110459221B (en) Method and device for multi-device cooperative voice interaction
CN110336735B (en) Method and equipment for sending reminding message
CN110417641B (en) Method and equipment for sending session message
US11057664B1 (en) Learning multi-device controller with personalized voice control
CN103596292A (en) Method for rapid Bluetooth pairing connection through sound
CN112822431B (en) Method and equipment for private audio and video call
TW201328309A (en) Handling incoming calls systems and methods and accessing data method
CN103327156A (en) Method and device for outputting audio files
WO2021169628A1 (en) Enhanced video call method and system, and electronic device
CN114816287A (en) Screen transmission control method and device, storage medium and electronic equipment
KR20150033442A (en) System and method for sharing object based on knocking input
WO2016150191A1 (en) Data sharing method and device
TW202020652A (en) Voice processing method and apparatus
CN109547632B (en) Auxiliary call response method, user terminal device and server
CN112261337B (en) Method and equipment for playing voice information in multi-person voice
CN112188362B (en) Playing method, device and computer readable storage medium
US11928383B2 (en) Screen projection control method, storage medium and communication apparatus
CN108650595B (en) Hole plugging processing method and device, electronic equipment and computer readable storage medium
JP2018522294A (en) Method, apparatus, program, and recording medium for controlling operating state
US10375340B1 (en) Personalizing the learning home multi-device controller
CN110336913B (en) Method, equipment and computer readable medium for presenting call video in telephone call process
CN112583696B (en) Method and equipment for processing group session message
CN105550192B (en) A kind of information displaying method and user terminal
CN104967728A (en) Voice communication method
CN104869240A (en) Terminal

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