CN110769523A - Screen projection method - Google Patents

Screen projection method Download PDF

Info

Publication number
CN110769523A
CN110769523A CN201810846457.2A CN201810846457A CN110769523A CN 110769523 A CN110769523 A CN 110769523A CN 201810846457 A CN201810846457 A CN 201810846457A CN 110769523 A CN110769523 A CN 110769523A
Authority
CN
China
Prior art keywords
screen
frequency
frequency point
screen projection
code
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.)
Granted
Application number
CN201810846457.2A
Other languages
Chinese (zh)
Other versions
CN110769523B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810846457.2A priority Critical patent/CN110769523B/en
Publication of CN110769523A publication Critical patent/CN110769523A/en
Application granted granted Critical
Publication of CN110769523B publication Critical patent/CN110769523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to a screen projection method, which comprises the following steps: sending a request for acquiring a screen projection code; receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters; determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points; playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment. The scheme provided by the application greatly widens the screen projection application range.

Description

Screen projection method
Technical Field
The invention relates to the technical field of computers, in particular to a screen projection method.
Background
With the development of computer technology, computer devices such as mobile phones, tablet computers and notebook computers become an indispensable part of people's daily life and work. At present, in many scenes, such as teaching or multi-person meeting, related content needs to be displayed through a display screen with a large size, so that all participants can conveniently view the content intended to be viewed.
In the conventional technology, the screen is projected by a wired screen projection mode, the limited screen projection mode enables the user terminal and the screen projection equipment to be limited within a small distance, and whether the user terminal and the screen projection equipment can be effectively connected or not is also limited by the interface specifications of the user terminal and the screen projection equipment. This results in a limited range of applicability of the conventional wired screen projection method.
Disclosure of Invention
Therefore, it is necessary to provide a screen projection method for solving the problem of relatively low screen projection efficiency.
A screen projection method is applied to a terminal and comprises the following steps:
sending a request for acquiring a screen projection code;
receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters;
determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points;
playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
A screen projection device is applied to a terminal and comprises:
the sending module is used for sending a request for acquiring a screen projection code;
a receiving module for receiving a screen-cast code in response to the request and associated with the terminal, the screen-cast code including characters;
the determining module is used for determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points;
the playing module is used for playing the audio frequency sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
sending a request for acquiring a screen projection code;
receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters;
determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points;
playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
A computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
sending a request for acquiring a screen projection code;
receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters;
determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points;
playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
According to the screen projection method, the screen projection device, the storage medium and the computer equipment, after the request for acquiring the screen projection code is sent and the screen projection code which responds to the request and is locally associated is received, the frequency point sequence obtained by mapping of the screen projection code can be automatically determined according to the mapping relation between the characters and the frequency points, and then the audio sequence corresponding to the frequency point sequence is played. The screen projecting code is used for establishing local screen projecting connection between the screen projecting equipment, so that the screen projecting equipment can receive a played audio sequence, the screen projecting code is recognized, screen projecting connection with the local screen can be completed, local wired connection with the screen projecting equipment is not needed, screen projecting can be completed, and the screen projecting application range is greatly widened.
A screen projection method is applied to screen projection equipment and comprises the following steps:
receiving an audio sequence;
determining a frequency point sequence corresponding to the audio sequence;
determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
A screen projection device is applied to screen projection equipment and comprises:
a receiving module for receiving an audio sequence;
the determining module is used for determining a frequency point sequence corresponding to the audio sequence;
the processing module is used for determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and acquiring the screen-projecting code comprising the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving an audio sequence;
determining a frequency point sequence corresponding to the audio sequence;
determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
A computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
receiving an audio sequence;
determining a frequency point sequence corresponding to the audio sequence;
determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
According to the screen-projecting method, the device, the storage medium and the computer equipment, after the audio sequence is received, the frequency point sequence corresponding to the audio sequence is automatically determined, then the characters to which the frequency points included in the frequency point sequence are respectively mapped are determined according to the mapping relation between the characters and the frequency points, and the screen-projecting code including the determined characters is obtained. The screen-throwing code is used for establishing screen-throwing connection between the local and the terminal, so that the screen-throwing code can be recognized locally through receiving an audio sequence, screen-throwing connection with the terminal is completed, wired connection with the terminal is not needed locally, screen throwing can be completed, and the screen-throwing application range is greatly widened.
A screen projection method, comprising:
when receiving a screen projection instruction, the terminal sends a request for acquiring a screen projection code;
the terminal receives a screen projection code responding to the request feedback and plays an audio sequence corresponding to the screen projection code; the received screen projection code is associated with the terminal;
the screen projection equipment receives the audio sequence played by the terminal and determines a screen projection code corresponding to the audio sequence; the determined screen projection code is used for establishing screen projection connection between the terminal and the screen projection equipment;
the terminal initiates transmission of screen data of the terminal;
and the screen projection equipment displays the screen data initiated and transmitted by the terminal after the screen projection connection is successful.
According to the screen projecting method, when the terminal receives the screen projecting instruction, the terminal can request to obtain the screen projecting code, then the audio sequence corresponding to the screen projecting code can be played, and the screen projecting code is transmitted through audio. Therefore, the screen projection equipment in the terminal audio transmission range can receive the audio sequence played by the terminal, and further determine the screen projection code corresponding to the audio sequence. Because the screen projecting code is associated with the terminal, the screen projecting equipment can establish screen projecting connection with the terminal by means of the screen projecting code, the terminal can initiate transmission of screen data of the local machine, and the screen projecting equipment can display the screen data initiated by the terminal after the screen projecting connection is successful, so that screen projection from the terminal to the screen projecting equipment is realized. Therefore, the terminal and the screen projection equipment do not need to be connected in a wired mode, screen projection codes are transmitted through audio sequences, and screen projection can be completed, so that the screen projection application range is greatly widened.
A screen projection system comprises a terminal and screen projection equipment, wherein:
the terminal is used for sending a request for acquiring a screen projection code; receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters; determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points; playing an audio sequence corresponding to the frequency point sequence;
the screen projection equipment is used for receiving an audio sequence; determining a frequency point sequence corresponding to the audio sequence; determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters;
the screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In the screen projection system, after the terminal sends the request for acquiring the screen projection code and receives the screen projection code which responds to the request and is locally associated with the terminal, the frequency point sequence mapped by the screen projection code can be automatically determined according to the mapping relation between the characters and the frequency points, and then the audio sequence corresponding to the frequency point sequence is played. And the screen projection equipment automatically determines the frequency point sequence corresponding to the audio sequence after receiving the audio sequence played by the terminal, then determines the characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtains the screen projection code including the determined characters. The screen projecting code is used for establishing screen projecting connection between a local terminal and the terminal, so that the terminal and the screen projecting equipment do not need to be in wired connection, screen projection can be completed through the screen projecting code transmitted by an audio sequence, and the screen projecting application range is greatly widened.
Drawings
FIG. 1 is a diagram of an application environment of a screen projection method in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a screen projection method in one embodiment;
FIG. 3 is a schematic diagram of a combined encryption scheme in one embodiment;
FIG. 4 is a comparison of audio sequences at different playback durations in one embodiment;
FIG. 5 is a flowchart illustrating a screen projection method according to another embodiment;
FIG. 6 is a sequence diagram illustrating interaction among a terminal, a server, and a screen projection device in one embodiment;
FIG. 7 is a block diagram of a screen projection device in one embodiment;
FIG. 8 is a block diagram of a screen projection apparatus according to another embodiment;
FIG. 9 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 10 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
FIG. 1 is a diagram of an application environment of the screen projection method in one embodiment. Referring to fig. 1, the screen projection method is applied to a screen projection system. The screen projection system includes a terminal 110, a server 120, a screen projection device 130, and a display 140. The terminal 110 and the screen projection device 130 are respectively connected to the server 120, and the display 140 is connected to the screen projection device 130. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be an independent server, or may be a server cluster formed by a plurality of independent servers. The screen projection device 130 may be an electronic device such as a screen projection box or a projector. It is understood that the hardware devices shown in fig. 1 are only some of the hardware devices related to the application environment of the present application, and do not constitute a limitation to the application environment of the present application, and a specific hardware device may include more or less hardware devices than those shown in the drawings, for example, when the projection device 130 is a projection box, the application environment may include the display 140, and when the projection device 130 is a projector, the application environment may not include the display 140.
In one embodiment, when the terminal 110 and the screen projection device 130 access the same wireless local area network, the server 120 in fig. 1 may be replaced by a routing device or the like in the wireless local area network.
Specifically, in a scene that a screen is required to be projected, the terminal 110 may send a request for obtaining a screen projection code to the server 120; the receiving server 120 feeds back a screen-cast code associated with the terminal 110, which includes characters, to the terminal 110 in response to the request. The terminal 110 then determines a frequency point sequence mapped by the screen-projecting code according to the mapping relationship between the characters and the frequency points; and playing the audio sequence corresponding to the frequency point sequence. The screen projection device 130 can receive an audio sequence played by the terminal 110; then determining a frequency point sequence corresponding to the audio sequence; and determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining the screen-projecting code including the determined characters. The screen projection code is used for establishing screen projection connection between the terminal 110 and the screen projection device 130.
Further, after the screen projection connection between the terminal 110 and the screen projection device 130 is successfully completed through the screen projection code, the terminal 110 can obtain local screen data; the screen data is directly sent to the screen projection device 130, or sent to the server 120, and then forwarded to the screen projection device 130 by the server 120. The screen projecting device 130 displays the received screen data upon receiving the screen data. In this way, the screen-projecting code can be transmitted directly between the terminal 110 and the screen-projecting device 130 through audio without wired connection or access to the same local area network, and screen data can be continuously transmitted for screen projection after screen-projecting connection is established according to the transmitted screen-projecting code.
FIG. 2 is a flowchart illustrating a screen projection method according to an embodiment. The present embodiment is mainly illustrated by applying the screen projection method to the terminal 110 in fig. 1. Referring to fig. 2, the screen projection method specifically includes the following steps:
s202, a request for acquiring the screen projection code is sent.
The screen-projecting code is a certificate for projecting a screen, and may be a character string including at least one character of characters corresponding to numbers, letters, symbols, or various languages. The language corresponds to characters, such as chinese characters, latin letters, or french letters. Screen-casting codes such as "123456", "65 dfg 4" or "join me bar", etc.
In one embodiment, when the screen projection device and the terminal access the same wireless local area network, the terminal sends a request for acquiring the screen projection code to a routing device in the wireless local area network. After receiving the request, the routing equipment can directly generate screen projection codes and feed the screen projection codes back to the terminal; or the request is forwarded to a server, and the screen projection code is generated by the server and then fed back to the terminal through the routing equipment.
In one embodiment, when the screen projection device and the terminal do not access the same wireless local area network, the terminal can send a request for acquiring the screen projection code to the server, and the server generates the screen projection code and feeds the screen projection code back to the terminal.
Of course, the terminal may send a request for obtaining the screen projecting code to other computer devices except the routing device or the server, as long as the computer device can generate the screen projecting code and establish the screen projecting connection between the terminal and the screen projecting device. The receiving party of the request for obtaining the screen projection code is not limited in the embodiment of the invention.
In a specific embodiment, a screen projection application or a non-screen projection application integrated with screen projection codes can be installed on the terminal. The screen projection application is an application program special for screen projection; the non-screen-projection application integrated with the screen projection code is not an application program which is special for screen projection and has a screen projection function, such as a WeChat application.
Specifically, the terminal can start a screen-projecting application or a non-screen-projecting application integrated with a screen-projecting code according to a user instruction, continue to acquire an operation of acquiring the screen-projecting code triggered by the user in the screen-projecting application or the non-screen-projecting application integrated with the screen-projecting code, generate a request for acquiring the screen-projecting code according to the operation, and send the request to the server.
S204, screen-casting codes which respond to the request and are associated with the terminal are received, and the screen-casting codes comprise characters.
Specifically, after receiving a request for acquiring a screen-projecting code sent by a terminal, a server (or other computer equipment such as a routing device) may generate a screen-projecting code in response to the request, associate the screen-projecting code with the terminal that sent the request, and feed back the screen-projecting code to the terminal that sent the request.
In one embodiment, the screen-cast code includes characters, and may also include other data. Specifically, the screen-cast code may be composed of a preset number of characters. The screen-projecting code can be specifically a character string obtained by freely combining a preset number of characters randomly selected from a character set by a server. Wherein the screen-shot code comprises characters selected from a character set associated with the terminal. And may specifically relate to the frequency characteristics of the terminal. The number of characters included in the screen-projecting code is not limited in the embodiment of the invention.
Specifically, after receiving a request sent by a terminal for acquiring a screen-projecting code, a server may query the frequency characteristic of the terminal, determine a character set according to the frequency characteristic of the terminal, select a character from the determined character set to generate the screen-projecting code, associate the generated screen-projecting code with the terminal sending the request, and feed back the generated screen-projecting code to the terminal sending the request.
And S206, determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points.
Wherein the frequency point may be a specific frequency value comprised in the frequency band. Such as a frequency value of 16KHZ or a frequency value of 22 KHZ. The frequency point may also be a number of specific frequency values comprised in the frequency band. Such as a frequency value of 16KHZ numbered 1 or a frequency value of 22KHZ numbered 2, etc. The mapping relationship between the characters and the frequency points is a basis for mapping the characters into the frequency points, and may be a mapping table of the characters and the frequency points.
In one embodiment, the mapping relationship between the characters and the frequency points may be a one-to-one mapping relationship, that is, one character corresponds to one frequency point. For example, the frequency point "16 KHZ" corresponds to the character "A", or the frequency point "16.5 KHZ" corresponds to the character "B", etc. The mapping relationship between the characters and the frequency points may also be a one-to-many mapping relationship, that is, one character corresponds to a plurality of frequency points, and the plurality of frequency points are a frequency point group. For example, the frequency point group "16 KHZ, 17 KHZ" corresponds to the character "A", or the frequency point group "16 KHZ, 18 KHZ" corresponds to the character "B", etc.
It should be noted that the set formed by the characters in the mapping relationship between the characters and the frequency points is the character set mentioned in the foregoing embodiment. The mapping relation between one character and the frequency points corresponds to one character set.
It can be understood that in the embodiment of the present invention, the screen-projecting code is delivered by using audio, so that it is necessary to convert the characters in the screen-projecting code into audio and play the audio. The terminal playing audio is related to the frequency characteristic of the terminal, is constrained by the frequency characteristic of the terminal, has a limited frequency range capable of being played and collected by the terminal, and is used for mapping the screen-projecting code to obtain a frequency point sequence and then playing the frequency point sequence by the audio, so that the frequency point establishing a mapping relation with the character is selected from the frequency range capable of being played and collected by the terminal.
Theoretically, the frequency points in the frequency range which can be played and collected by the terminal can be used for establishing a mapping relation with the characters. However, the audio frequency zone division corresponding to the frequency points with similar frequency values is small, the terminal (or the screen projection device) is difficult to distinguish during acquisition, and only the audio frequency corresponding to the frequency point with larger frequency value difference (such as 500HZ) can be well distinguished by the terminal (or the screen projection device).
Therefore, the frequency points which can be used for establishing the mapping relation with the characters in the frequency range which can be played and collected by the terminal are limited. Also, the number of frequency points representing one character is not limited. Then, for different terminals, since the frequency characteristics of each terminal may be different, the frequency points that can be used to establish a mapping relationship with the characters may also be different, the number of characters that can be represented by the frequency points that can be used to establish a mapping relationship with the characters may also be different, and the mapping relationship between the established characters and the frequency points may also be different. Therefore, the terminal needs to determine the frequency point sequence mapped by the screen-projecting code according to the mapping relation between the characters matched with the terminal and the frequency points. The highest cut-off frequency which can be played and collected by part of the terminals can be as high as 22KHZ, and the highest cut-off frequency which can be played and collected by part of the terminals is only 17 KHZ.
Specifically, the terminal may determine the frequency point sequence mapped by the screen-casting code according to a locally stored mapping relationship between the characters and the frequency points, which are matched with the terminal, or pull the mapping relationship between the characters and the frequency points, which are matched with the terminal, from the server, and determine the frequency point sequence mapped by the screen-casting code according to the mapping relationship.
The mapping relation between the characters and the frequency points can be stored by uploading the characters and the frequency points to a server after the characters and the frequency points are established by a terminal; or the server may be established and then sent to the terminal for storage.
For example, the screen-projecting code may be "123456", and the sequence of frequency points mapped by the screen-projecting code may be "16 KHZ, 17KHZ, 18KHZ, 19KHZ, 20KHZ, 21 KHZ", where one frequency point represents one character. The frequency point sequence obtained by mapping the screen projection code is also 16KHZ and 17 KHZ; 16KHZ and 18 KHZ; 16KHZ and 19 KHZ; 16KHZ and 20 KHZ; 16KHZ and 21 KHZ; 16KHZ, 22KHZ ", two frequency points (a group of frequency points) representing a character.
S208, playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
Wherein the audio sequence is a sequence of a plurality of single-frequency audio signals. One frequency point corresponds to one single-frequency audio signal. A single frequency audio signal may specifically be a sine wave at a specific frequency for a preset duration. The frequency value of the single-frequency audio signal corresponding to the frequency point is the frequency value of the frequency point.
Specifically, after determining a frequency point sequence obtained by mapping of the screen-projecting code, the terminal can generate single-frequency audio signals under the frequency values of the frequency points in the frequency point sequence, and arrange the single-frequency audio signals corresponding to the frequency points according to the arrangement sequence of the frequency points in the frequency point sequence to obtain the audio sequence. The terminal can play the audio sequence for the screen projection equipment in the surrounding environment to receive. Therefore, the screen projection equipment can receive the audio sequence, then screen projection codes are identified according to the audio sequence, and after the identified screen projection codes are sent to the server or the routing equipment, the server or the routing equipment establishes the contact between the terminal and the screen projection equipment.
After receiving the screen-projecting code sent by the screen-projecting equipment, the server or the routing equipment can inquire the terminal associated with the screen-projecting code, and then establish screen-projecting connection between the terminal associated with the screen-projecting code and the screen-projecting equipment sending the screen-projecting code.
In one embodiment, in order to avoid the influence of the audio sequence for transmitting the screen projection code on the normal work and life of the user, when the terminal or the server selects the frequency point which establishes the mapping relation with the character, the frequency point can be selected from the frequency range which can be played and collected by the terminal and exceeds the natural human auditory frequency range. Therefore, natural human ears cannot receive the audio sequence for transmitting the screen projection code, and normal work and life cannot be influenced.
It should be noted that, in the embodiment of the present invention, when the audio transmission screen code corresponding to the frequency point exceeding the natural human ear auditory frequency range is adopted, the intensity of the audio is lower than 0.1W/cm ^ 2. Medically, ultrasound waves with intensities below 0.1W/cm 2 have been shown to be harmless to humans. The ultrasound waves involved in the transmission in the embodiments of the present invention do not cause damage to the body of a natural person.
According to the screen projection method, after the request for acquiring the screen projection code is sent and the screen projection code which responds to the request and is locally associated is received, the frequency point sequence mapped by the screen projection code can be automatically determined according to the mapping relation between the characters and the frequency points, and then the audio sequence corresponding to the frequency point sequence is played. The screen projecting code is used for establishing local screen projecting connection between the screen projecting equipment, so that the screen projecting equipment can receive a played audio sequence, the screen projecting code is recognized, screen projecting connection with the local screen can be completed, local wired connection with the screen projecting equipment is not needed, screen projecting can be completed, and the screen projecting application range is greatly widened.
In one embodiment, S206 includes: mapping characters included in the screen-projecting code into frequency points according to the mapping relation between the characters and the frequency points to obtain a frequency point sequence mapped by the screen-projecting code; when the same and continuous frequency points are included in the frequency point sequence, replacing the frequency points positioned at odd numbers in the same and continuous frequency points with the frequency points representing the repeated previous frequency points, or replacing the frequency points positioned at even numbers in the same and continuous frequency points with the frequency points representing the repeated next frequency points; and obtaining a frequency point sequence corresponding to the screen projection code after replacement.
Here, the previous frequency point is repeated, and the frequency point is coincident with the next frequency point. The frequency point after the repetition is shown, and the frequency point is shown to be consistent with the last frequency point. That is, the frequency point indicating the preceding repetition and the frequency point indicating the following repetition do not correspond to a fixed frequency point.
Specifically, the terminal may map the characters included in the screen-projecting code into frequency points according to the mapping relationship between the characters and the frequency points, so as to obtain an initial frequency point sequence mapped by the screen-projecting code. The terminal may check again whether the same and consecutive frequency points are included in the initial sequence of frequency points. If the initial frequency point sequence comprises the same and continuous frequency points, replacing frequency points positioned at odd numbers in the same and continuous frequency points with frequency points representing the repetition before, or replacing frequency points positioned at even numbers in the same and continuous frequency points with frequency points representing the repetition after; and then the frequency point sequence obtained after replacement is used as the frequency point sequence corresponding to the screen projection code.
For example, assume that the initial sequence of frequency points obtained by the terminal from the projection code mapping is "17 KHZZ, 18KHZ, 19KHZZ, 19KHZ, 17KHZZ, 18KHZ, 17KHZZ, 18KHZ, 17KHZZ, 18KHZ, 17KHZZ, 18 KHZ", where there are identical and consecutive frequency points "19 KHZZ, 19 KHZ". Assuming that the dedicated frequency point representing the repeated previous is "21 KHZ", the terminal can replace the first (odd bits) "19 KHZ" with "21 KHZ", resulting in a sequence of frequency points "17 KHZ, 18KHZ, 21KHZ, 19KHZ, 17KHZ, 18 KHZ". Assuming that the repeated subsequent dedicated frequency point is "22 KHZ", the terminal can replace the second (even-numbered) "19 KHZ" with "22 KHZ", resulting in a sequence of "17 KHZ, 18KHZ, 19KHZ, 22KHZ, 17KHZ, 18 KHZ".
In this embodiment, another mapping replacement process is performed on adjacent and continuous frequency points in a frequency point sequence obtained by mapping the screen projecting code, so that the problem that when a plurality of continuous audio frequencies with the same frequency value are received by a receiver, due to interference between audio signals and echo signals, frequency detection of the receiver is affected, the number of audio frequencies determined by the receiver is wrong, and further the number of identified frequency points is wrong, so that the identified screen projecting code is wrong is avoided.
In one embodiment, the frequency point representing the repetition before and the frequency point representing the repetition after are frequency points different from the frequency point representing the character, so that the situation that when the character is mapped to the frequency point representing the repetition before or the frequency point representing the repetition after, the same frequency points are continuously possible can be avoided.
In one embodiment, when a character is represented by a plurality of frequency points, the plurality of frequency points are two-by-two different frequency points to avoid the situation that there may be consecutive identical frequency points.
In one embodiment, obtaining a sequence of frequency points mapped by a screen-casting code comprises: inquiring a frequency point representing the start and a frequency point representing the end; and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes.
Specifically, the terminal or the server may set in advance a frequency point indicating the start and a frequency point indicating the end. In this way, after sequentially mapping the characters included in the screen-projecting code to obtain the frequency points, the terminal combines the frequency points indicating the start, the frequency points sequentially mapped by the characters included in the screen-projecting code, and the frequency points indicating the end to obtain the frequency point sequence corresponding to the screen-projecting code.
In this embodiment, when the screen-projecting code is mapped to the frequency point sequence, the frequency point representing the start and the frequency point representing the end are added to the frequency point sequence, so that when the receiving party receives the screen-projecting code, and recognizes that the frequency point representing the start exists, it can be determined that the screen-projecting code is transmitted, and then the frequency point sequence corresponding to the character included in the screen-projecting code can be determined according to the frequency point representing the start and the frequency point representing the end, so that an effective screen-projecting code is recognized, and interference of other information can be avoided.
In one embodiment, the frequency point representing the start and the frequency point representing the end are different frequency points from the frequency point representing the repetition before and the frequency point representing the repetition after, and the frequency point representing the character, so that the situation that there may be continuously identical frequency points can be avoided.
In one embodiment, S206 includes: encrypting the received screen projection code according to a preset encryption mode; determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence.
The encryption mode is a basis for encrypting characters included in the screen-projecting code. The preset encryption mode can be a fixed encryption mode, a dynamic encryption mode or a combined encryption mode and the like. And the fixed encryption mode is used for encrypting each character included in the screen-projected code by using a fixed encryption algorithm. And the dynamic encryption mode is used for encrypting each character included in the screen-projecting code by adopting different encryption algorithms. And the combined encryption mode means that each character included in the screen projection code is encrypted by using a fixed encryption algorithm, and then each character encrypted by using the fixed encryption algorithm is encrypted by using different encryption algorithms.
Specifically, the terminal can select an encryption mode to encrypt each character included in the screen-projecting code, and then encrypt each character encrypted by a fixed encryption algorithm by adopting different encryption algorithms; then, according to the mapping relation between the characters and the frequency points, determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and combining the first frequency point sequence and the second frequency point sequence to obtain a frequency point sequence corresponding to the screen projection code.
It can be understood that the second frequency point sequence mapped by the encryption mode through which the screen projection code is encrypted represents the encryption algorithm used in the encryption process and the characters acted on by each encryption algorithm.
Combining the first frequency point sequence and the second frequency point sequence to obtain a frequency point sequence corresponding to the screen projection code, wherein the frequency point sequence can be a frequency point of one character by one and a frequency point combination of an encryption algorithm for encrypting the character; or the first frequency point sequence and the second frequency point sequence are directly spliced. In the embodiment of the present invention, the combination manner of the first frequency point sequence and the second frequency point sequence is not limited.
Fig. 3 shows a schematic diagram of the combined encryption scheme in one embodiment. Referring to fig. 3, the terminal encrypts the character 1 and the character 2 … n in the screen-shot code by using a fixed encryption algorithm a, and then continuously encrypts the encrypted character 1 by using the encryption algorithm 1, and continuously encrypts … the encrypted character 2 by using the encryption algorithm 2 to continuously encrypt the encrypted character n.
In the embodiment, the screen-projecting code is encrypted and then converted into the audio for playing, so that the transmission security of the screen-projecting code is improved.
In one embodiment, S208 includes: determining the audio frequency corresponding to each frequency point included in the frequency point sequence to obtain an audio frequency sequence; the duration of each audio frequency is shorter than the duration of the general single-frequency signal; sequentially playing each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
The duration of the general single-frequency signal is the playing duration of the general single-frequency signal, that is, the playing duration of the single-frequency signal commonly used in the current acoustic wave transmission. Windowing the audio comprised in the audio sequence may specifically be adding a sine window to the audio.
It should be noted that, due to the electrical performance of the hardware device (speaker) for playing audio by the terminal, it is impossible to play the played sound waveform unchanged, and distortion occurs. In some terminals with poor playing performance, low-frequency noise, i.e. harmonic, may be played when the ultrasonic wave is played, and these harmonic waves have a "squeak" sound, are easily captured by human ears, and it is necessary to reduce the generation of harmonic waves as much as possible.
It is understood that the basic principle behind acoustic transmission is that each single frequency signal lasts for a period of time to characterize the information. The longer the single frequency signal lasts, the higher the probability that the receiver will decide accurately. But this has a negative effect that the play time of the single frequency signal becomes long. The longer the playing time of the single-frequency signal is, the higher the probability of interference is, and the longer the receiving end detects that the single-frequency signal is received once, the higher the probability of transmission failure is. In the embodiment of the invention, under the condition that the probability of accurate judgment of the receiving end is higher, the duration of each single-frequency signal is shortened as much as possible, and signal interference is avoided.
And when the terminal plays the audio sequence, the terminal plays each audio in the audio sequence in sequence according to the preset time interval, namely one audio is not played, the next audio is played after pausing for a period of time, the sound section and the mute section are reasonably matched, and the playing energy settings of the audio signals with different frequencies are different, so that the nonlinear effect generated in the playing process of the terminal can be reduced to the greatest extent, and the generation of low-frequency harmonics can be reduced.
FIG. 4 shows a comparison of audio sequences at different playback durations in one embodiment. Referring to fig. 4(a), the upper diagram of fig. 4(a) is that each audio is played with a universal single-frequency signal duration; fig. 4(a) is a diagram showing that each audio is played with a time length shorter than the time length of the general single-frequency signal. It can be seen that the present embodiment consumes a relatively short amount of time to deliver a single screen-shot code. Referring again to fig. 4(B), the audio corresponding to the frequency point "16 KHZ" represents the character "a", the audio corresponding to the frequency point "17 KHZ" represents the character "B", and the audio corresponding to the frequency point "18 KHZ" represents the character "C".
In one embodiment, the screen projection method further comprises: playing a frequency sweeping signal; determining a frequency range to which a signal component obtained by collecting a sweep frequency signal belongs; and determining the mapping relation between the locally adapted characters and the frequency points according to the determined frequency range.
The frequency sweeping signal is a constant amplitude signal with periodically changing frequency in a certain range. For example, the frequency sweep signal can be a constant amplitude signal of 1KHZ-25 KHZ. The frequency sweep signal is a signal for testing the frequency characteristics of the device.
Specifically, the terminal can play the frequency sweep signal, acquire the frequency sweep signal while playing the frequency sweep signal, and determine the frequency range to which the signal component obtained by acquiring the frequency sweep signal belongs. It can be understood that the frequency ranges of the audio signals that can be played by different terminals are different, and after the frequency sweep signal is played by the local machine, the frequency range of the frequency sweep signal that can be acquired by the local machine can be regarded as the frequency range that the local machine can necessarily play.
Furthermore, the terminal can acquire the frequency range which can be acquired by the screen projection equipment, and according to the frequency range which can be played by the terminal and the frequency range which can be acquired by the screen projection equipment, the frequency range which can be selected from the frequency points which establish the mapping relation with the characters is determined, so that the screen projection code can be played by the terminal and can be received by the screen projection equipment. Therefore, after the terminal selects the frequency point in the determined frequency range, the mapping relation between the characters and the frequency point can be established, and the mapping relation is uploaded to the server. Therefore, after receiving a request for acquiring the screen-projecting code sent by the terminal, the server can generate the screen-projecting code according to the character set corresponding to the mapping relation uploaded by the terminal and feed the screen-projecting code back to the terminal.
In one embodiment, the terminal may upload a frequency range that the terminal can play locally to the server. The server determines a frequency range which corresponds to the terminal and from which a frequency point establishing a mapping relation with the character can be selected according to the frequency range which can be played by the terminal and the frequency range which can be collected by the screen projection equipment, so that the screen projection code can be played by the terminal and can be received by the screen projection equipment. The server then selects the frequency point in the determined frequency range, and then establishes the mapping relation between the characters and the frequency point, and associates the mapping relation with the terminal. Therefore, after receiving a request for acquiring the screen projecting code sent by the terminal, the server can generate the screen projecting code according to the character set corresponding to the mapping relation associated with the terminal and feed the screen projecting code back to the terminal.
In one embodiment, the server may further set a mapping relationship between the characters corresponding to each of the plurality of preset frequency ranges and the frequency points in advance. Therefore, after receiving the frequency range which can be played by the local terminal and uploaded by the terminal, the server determines the frequency range which corresponds to the terminal and can be selected by the frequency point which establishes the mapping relation with the character according to the frequency range which can be played by the terminal and the frequency range which can be collected by the screen projection equipment. The server then compares the determined frequency range with a plurality of preset frequency ranges set in advance, and sets the mapping relation between the characters and the frequency points corresponding to the preset frequency range which falls within the determined frequency range and has the largest range as the mapping relation between the characters and the frequency points matched with the terminal.
In the embodiment, the mapping relation between the locally adapted characters and the frequency points is determined according to the local frequency characteristics, so that the screen-projecting code can be smoothly converted into the audio sequence for playing.
In one embodiment, the screen projection method further comprises: acquiring local screen data; sending the acquired screen data; and the transmitted screen data is used for instructing the screen projection equipment to display the received screen data.
The screen data is data to be displayed on a screen. The screen projection, as the name implies, is to display data displayed on the screen of one device on another device or devices so that the data displayed on the screens of these devices are consistent. Therefore, the terminal can acquire local screen data when screen projection is needed, so that screen projection is realized after the screen data is transmitted.
In one embodiment, after the screen-projecting connection is successful, the terminal can quit the screen-projecting application or the non-screen-projecting application integrated with the screen-projecting code, and open the application or file intended for screen projection, so as to display the data intended for screen projection on the screen. Therefore, the terminal can acquire the data intended to be projected by acquiring the local screen data, so that the screen projection is performed.
Specifically, the terminal performs screen recording to acquire screen data. For example, the terminal may call a screenshot interface to capture a screen image to obtain screen data. Or, the terminal may obtain data used by the terminal interface process to perform interface rendering, to obtain screen data.
Further, after the terminal acquires the screen data, the screen data can be uploaded to the server, and the server forwards the screen data to the screen projection equipment which establishes screen projection connection with the terminal so as to project the screen. After the terminal acquires the screen data, the terminal can directly transmit the screen data to the screen projection equipment which establishes screen projection connection with the local terminal when the local terminal and the screen projection equipment access the same wireless local area network, so as to project the screen.
It will be appreciated that the terminal may send the current screen data to the server when requesting a screen code from the server, or when playing an audio sequence. Therefore, after the server establishes the connection between the terminal and the screen projection equipment, the current screen data of the terminal can be immediately transmitted to the screen projection equipment, so that the screen can be projected in real time while the screen projection is successful. That is, the server may receive the current screen data of the terminal sent by the terminal in real time before or when the terminal and the screen projection device are established.
In the above embodiment, the local screen data can be locally acquired and sent, and the screen projection device can display the screen data after receiving the screen data, so that the screen projection from the local to the screen projection device is completed. Therefore, the screen can be projected without being connected with the screen projecting equipment in a wired mode or being connected to the same wireless local area network with the screen projecting equipment, and the screen projecting application range is greatly widened.
In one embodiment, after the terminal plays the audio sequence, the number of screen projection devices receiving the audio sequence may be multiple. At the moment, the terminal can establish screen projection connection with the screen projection devices through the screen projection codes, and simultaneously project the screen of the terminal onto the screen projection devices.
FIG. 5 is a flowchart illustrating a screen projection method according to an embodiment. The present embodiment is mainly illustrated by applying the screen projection method to the screen projection device 130 in fig. 1. Referring to fig. 5, the method specifically includes the following steps:
s502, receiving an audio sequence.
In particular, the screen projection device may receive an audio sequence through a sound collection device. The screen-projecting device may be in a standby state for a long period of time, and not in a state of receiving an audio sequence at this time. The screen projection device can start receiving an audio sequence when a preset trigger event is detected. The detection of the preset trigger event may be the detection of a trigger operation of the user, or the detection of a footstep sound of the user, or the like.
S504, determining a frequency point sequence corresponding to the audio sequence.
Specifically, when receiving an audio sequence, the screen projection device may detect a frequency value of each audio to obtain a frequency point corresponding to the audio, so as to obtain a frequency point sequence corresponding to the received audio sequence.
S506, determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
Specifically, the screen projection device may determine, according to a mapping relationship between characters and frequency points, characters to which the frequency points included in the frequency point sequence are respectively mapped when determining the frequency point sequence corresponding to the audio sequence, and obtain a screen projection code including the determined characters; and then sending the obtained screen projection code to a server. After receiving the screen projection code sent by the screen projection equipment, the server can inquire the terminal associated with the screen projection code, and then establish screen projection connection between the terminal associated with the screen projection code and the screen projection equipment sending the screen projection code.
It will be appreciated that the length of the audio sequence is not known by the screen projection device at the time the audio sequence is received. Then the screen projection equipment can detect the frequency value of the current audio in real time when receiving the audio sequence to obtain the frequency point corresponding to the audio and obtain the character represented by the frequency point; after receiving the complete audio sequence, the frequency value of the audio sequence can be monitored collectively, and the character represented by the frequency point is determined.
In one embodiment, the mapping relationship between the characters and the frequency points may be a one-to-one mapping relationship or a one-to-many mapping relationship; and the mapping relation between the characters matched with different terminals and the frequency points is different. Then, the frequency point sequence corresponding to the screen-projecting code obtained by the terminal includes frequency points reflecting the mapping relationship between the characters and the frequency points. Therefore, when the screen projection equipment obtains the frequency point sequence, the mapping relation between the characters matched with the terminal of the broadcast audio equipment and the frequency points can be determined, so that the characters mapped to the frequency points included in the frequency point sequence are determined according to the mapping relation between the characters and the frequency points, and the screen projection code including the determined characters is obtained.
In the above embodiment, after receiving the audio sequence, the frequency point sequence corresponding to the audio sequence is automatically determined, and then the characters to which the frequency points included in the frequency point sequence are respectively mapped are determined according to the mapping relationship between the characters and the frequency points, so as to obtain the screen-projecting code including the determined characters. The screen-throwing code is used for establishing screen-throwing connection between the local and the terminal, so that the screen-throwing code can be recognized locally through receiving an audio sequence, screen-throwing connection with the terminal is completed, wired connection with the terminal is not needed locally, screen throwing can be completed, and the screen-throwing application range is greatly widened.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: when the frequency point sequence comprises the frequency point representing the repetition of the previous frequency point, replacing the frequency point representing the repetition of the previous frequency point with the frequency point representing the adjacency and the next frequency point of the frequency point representing the repetition of the previous frequency point; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points to obtain the screen-projecting code comprising the characters obtained by mapping.
For example, if the terminal recognizes the audio sequence to obtain a frequency point sequence of "17 KHZ, 18KHZ, 21KHZ, 19KHZ, 17KHZ, 18KHZ, 17KHZ, 18 KHZ", where the dedicated frequency point representing the repeat is "21 KHZ", the terminal is replaced with the next frequency point "19 KHZ" of "21 KHZ" to obtain "17 KHZ, 18KHZ, 19KHZ, 17KHZ, 18KHZ, 17KHZ, 18 KHZ", and then character mapping is performed to obtain the screen projection code.
For another example, assuming that the terminal recognizes the audio sequence to obtain a frequency point sequence of "17 KHZ, 18KHZ, 19KHZ, 22KHZ, 17KHZ, 18KHZ, 17KHZ, 18 KHZ", wherein the dedicated frequency point that represents the repeated sequence is "22 KHZ", the terminal is replaced with the previous frequency point "19 KHZ" of "22 KHZ" to obtain "17 KHZ, 18KHZ, 19KHZ, 17KHZ, 18 KHZ", and then character mapping is performed to obtain the screen projection code.
In the embodiment, a mapping mode for representing repeated special frequency points is provided, and the accuracy of the screen-projecting code obtained by mapping is ensured.
In one embodiment, the screen projection method further comprises: when the frequency point sequence includes a frequency point representing the beginning and a frequency point representing the end, mapping the frequency points in the frequency point sequence into characters according to the mapping relationship between the characters and the frequency points, including: determining a frequency point located between a frequency point representing the beginning and a frequency point representing the end in the sequence of frequency points; and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
Specifically, after detecting the frequency points corresponding to the audio, the screen projection device may check whether the frequency points include a frequency point indicating the start. And when the frequency point indicating the beginning is judged, judging that the audio sequence converted by the screen-projecting code is received, and continuously checking whether the subsequent frequency points comprise the frequency point indicating the end. After determining that there is a frequency point indicating the end, it is able to determine frequency points located between the frequency point indicating the start and the frequency point indicating the end, including frequency points mapped by the screen projecting codes, and the screen projecting device may then map the frequency points to obtain the screen projecting codes.
In this embodiment, a frequency point sequence corresponding to a character included in the screen projection code may be determined according to a frequency point indicating the start and a frequency point indicating the end, so as to identify an effective screen projection code and avoid interference of other information.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: in the frequency point sequence, determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in an encryption mode; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the frequency points between the frequency point representing the beginning and the frequency point representing the end include the frequency point mapped by the screen projection code and the frequency point mapped by the encryption mode through which the screen projection code is encrypted. The screen projection equipment can determine a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in an encryption mode; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the frequency point located between the frequency point representing the beginning and the frequency point representing the end further comprises the frequency point representing the check code. The check code can be a check code obtained based on a hamming code check, a CRC redundancy check, a bcc exclusive-or check, an md5 check, or the like. The accuracy of the transmitted screen projection code is verified through the verification code.
In the embodiment, the screen projecting code is transmitted in an encrypted manner, so that the transmission safety of the screen projecting code is ensured.
In one embodiment, the screen projection method further comprises: amplifying the received audio sequence for the first time; filtering the audio sequence after the primary amplification through a filter; after the audio sequence after the filtering process is amplified for the second time, determining a frequency point sequence corresponding to the audio sequence, including: and determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
Specifically, the audio sequence received by the screen projection device further includes a visible environment sound signal, and after the audio sequence is amplified for one time, the visible environment sound signal included in the audio sequence is synchronously amplified. At this time, the audio sequence after the primary amplification can be filtered to filter out the low-frequency visible environment sound signal so as to reduce the noise. And after filtering and noise reduction, carrying out secondary amplification to obtain an audio signal for transmitting effective information.
It can be understood that in the first automatic gain amplification, the received signal including the background noise can be amplified smoothly as a whole due to the existence of the visible sound, but the amplification factor for the high frequency band of the loading signal is not enough. Therefore, after filtering and noise reduction, all the sound frequencies except the carrier signal are removed, and only the carrier signal is amplified, so that effective signals can be amplified as much as possible.
In the embodiment, the accuracy of frequency detection is improved by noise reduction filtering and secondary amplification of the audio sequence; moreover, since the noise reduction filtering and the secondary amplification can be performed on the audio sequence, the method is also applicable when the sender of the audio sequence is far away from the local place.
In one embodiment, the screen projection method further comprises: receiving screen data after screen projection connection is successful; and displaying the received screen data.
Specifically, after the screen projection connection is successful, the screen projection device may receive screen data forwarded by the server or the routing device, or receive screen data directly sent by the terminal, and then display the received screen data.
It can be understood that the process of processing the received audio sequence to obtain the screen-projecting code in the screen-projecting method applied to the screen-projecting device is the inverse process of processing the received screen-projecting code to obtain the audio sequence in the screen-projecting method applied to the terminal, and specific processing details may be mutually referred to and are not repeated herein.
In one embodiment, the screen projection device can receive audio devices played by a plurality of terminals, and then the screen projection device can respectively project screens and establish screen projection connection with the plurality of terminals through different screen projection codes. At this time, the screen projection device can display the screen data of the plurality of terminals in a split screen manner.
In one embodiment, in a specific screen projection scene, the screen projection method comprises the following steps: when receiving a screen projection instruction, the terminal sends a request for acquiring a screen projection code; the terminal receives a screen projection code responding to the request feedback, and plays an audio sequence corresponding to the screen projection code; the received screen projection code is associated with the terminal; the screen projection equipment receives an audio sequence played by the terminal and determines a screen projection code corresponding to the audio sequence; the determined screen projection code is used for establishing screen projection connection between the terminal and the screen projection equipment; the terminal initiates transmission of screen data of the terminal; and after the screen projection connection is successful, the screen projection equipment displays screen data initiated and transmitted by the terminal.
Specifically, a user can trigger a screen projection instruction on the terminal through predefined trigger operation, so that the terminal sends a request for acquiring a screen projection code to the connection device after receiving the screen projection instruction. The connection equipment responds to the request to generate a screen projection code, then associates the generated screen projection code with the terminal, and feeds the generated screen projection code back to the terminal. And the terminal receives the screen-projecting code fed back by the connecting equipment in response to the request, and then plays the audio sequence corresponding to the screen-projecting code. Therefore, the screen projection equipment in the audio playing range of the terminal can receive the audio sequence played by the terminal and determine the screen projection code corresponding to the audio sequence. The screen projection equipment can feed back the determined screen projection code to the connecting equipment, so that the connecting equipment can inquire the terminal associated with the screen projection code and establish screen projection connection between the screen projection equipment and the inquired terminal. The connection device may be a server, or when the terminal and the screen projection device access the same wireless local area network, the connection device may be a routing device in the wireless local area network.
The screen projection connection between the terminal and the screen projection equipment is successfully established at the connection equipment, the terminal can acquire the screen data of the local machine and transmit the screen data to the server, and therefore the server can transmit the current screen data of the terminal to the screen projection equipment in time for display after the screen projection connection between the terminal and the screen projection equipment is successfully established, and the screen can be projected in real time when the connection is successful. And after the connection device successfully establishes the screen projection connection between the terminal and the screen projection device, the terminal can continuously acquire the screen data of the terminal, transmit the screen data to the server, and transmit the screen data to the screen projection device through the server, so that the screen projection device can display the screen data after receiving the screen data transmitted by the terminal, and the screen projection from the terminal to the screen projection device is realized. When the terminal and the screen projection equipment are accessed to the same wireless local area network, the terminal can directly transmit data to the screen projection equipment, and data transfer by a server is not needed.
In this embodiment, when receiving the screen-projecting instruction, the terminal may request to obtain the screen-projecting code, and then may play an audio sequence corresponding to the screen-projecting code, and transmit the screen-projecting code through audio. Therefore, the screen projection equipment in the terminal audio transmission range can receive the audio sequence played by the terminal, and further determine the screen projection code corresponding to the audio sequence. Because the screen projecting code is associated with the terminal, the screen projecting equipment can establish screen projecting connection with the terminal by means of the screen projecting code, the terminal can initiate transmission of screen data of the local machine, and the screen projecting equipment can display the screen data initiated by the terminal after the screen projecting connection is successful, so that screen projection from the terminal to the screen projecting equipment is realized. Therefore, the terminal and the screen projection equipment do not need to be connected in a wired mode, screen projection codes are transmitted through audio sequences, and screen projection can be completed, so that the screen projection application range is greatly widened.
Fig. 6 shows a sequence diagram of the interaction of the terminal, the server and the screen projection device in one embodiment. Referring to fig. 6, a terminal transmits a request for acquiring a screen-casting code to a server, the server generates a screen-casting code in response to the request, associates the generated screen-casting code with the terminal, and feeds back the generated screen-casting code to the terminal. The screen-projecting code is formed by selecting a preset number of characters from a character set corresponding to the terminal by the server.
After receiving the screen projection code, the terminal encrypts the screen projection code according to a preset encryption mode; then, according to the mapping relation between the characters and the frequency points, determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and then combining the frequency points which represent the beginning, the first frequency point sequence, the second frequency point sequence, the frequency points which represent the check codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen projection codes.
When the frequency point sequence obtained by mapping the encrypted screen projection code comprises the same and continuous frequency points, replacing the frequency points positioned at odd number positions in the same and continuous frequency points with the frequency points representing the repeated previous positions, or replacing the frequency points positioned at even number positions in the same and continuous frequency points with the frequency points representing the repeated subsequent positions; and obtaining a first frequency point sequence mapped by the encrypted screen projection code.
The terminal further plays the audio sequences corresponding to the frequency point sequences, specifically, the terminal can determine the audio corresponding to each frequency point included in the frequency point sequences corresponding to the screen projection codes to obtain the audio sequences, wherein the duration of each audio is shorter than the duration of the general single-frequency signal. The terminal sequentially plays each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
Meanwhile, after the screen projection equipment detects a preset trigger event, the screen projection equipment starts to receive an audio sequence and determines a frequency point sequence corresponding to the audio sequence. And determining a frequency point located between a frequency point representing the beginning and a frequency point representing the end in the sequence of frequency points; then, determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in an encryption mode, and determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points to obtain the encrypted screen projection code; and determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points, and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode to obtain the decrypted screen projection code.
When the first frequency point sequence comprises the frequency points representing the repetition of the previous times, replacing the frequency points representing the repetition of the previous times with the frequency points representing the adjacency and the next of the frequency points representing the repetition of the previous times; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and then carrying out character mapping on the frequency point sequence obtained after the replacement to obtain the encrypted screen projection code. The screen projection equipment can adopt the check code carried in the audio sequence to check the screen projection code.
The screen projection terminal can send the obtained screen projection code to the server. After receiving the screen projection code sent by the screen projection equipment, the server can inquire the terminal associated with the screen projection code, and then establish screen projection connection between the terminal associated with the screen projection code and the screen projection equipment sending the screen projection code. After the screen projection connection between the terminal and the screen projection equipment is established, the server can respectively send a notification that the screen projection connection is successful to the terminal and the screen projection equipment.
The terminal can obtain local screen data and upload the screen data to the server. After receiving the screen data, the server can forward the screen data to the screen projection equipment for display between the establishing terminal and the screen projection equipment. When the terminal and the screen projection equipment are accessed to the same wireless local area network, the terminal can directly send screen data to the screen projection equipment.
Before screen projection, the terminal can play a sweep frequency signal; and determining a frequency range to which a signal component obtained by collecting the frequency sweeping signal belongs, uploading the frequency range to a server, and determining the mapping relation between the characters and the frequency points adapted to the terminal by the server according to the determined frequency range and the receivable frequency range of the screen projection equipment and issuing the mapping relation to the terminal. The terminal can map the screen-projecting code issued by the server according to the mapping relation between the character and the frequency point. It can be understood that the sequence of frequency points corresponding to the audio sequence transmitted by the terminal further includes frequency points representing the mapping relationship between the characters and the frequency points. Therefore, the screen projection equipment can determine the mapping relation between the characters and the frequency points utilized by the received audio sequence according to the frequency points representing the mapping relation between the characters and the frequency points, and when the frequency points are mapped back to the screen projection code, the accuracy of the screen projection code obtained through mapping is ensured.
For example, the terminal can play audio in the frequency range of 16-22 KHZ, and the screen projection device can also receive the audio in the frequency range. Then the terminal or the server selects frequency points with 500HZ as the frequency interval based on avoiding the mutual influence caused by too close frequency values of the frequency points when selecting the frequency points. The selected frequency points include: 16KHZ, 16.5KHZ, 17KHZ, 17.5KHZ, 18KHZ, 18.5KHZ, 19KHZ, 19.5KHZ, 20KHZ, 20.5KHZ, 21KHZ and 22KHZ, and the total frequency points are 12. The terminal may select one frequency point from the frequency points as a frequency point indicating repetition (either before or after the repetition), and if two frequency points are taken as a frequency point group to indicate one character, then 11 × 10 — 110 frequency point groups may be formed (to avoid that one frequency point group includes two identical frequency points).
The terminal or the server selects a character set of characters for generating the screen-projecting code (for example, 95 characters included in ASKII, and when the frequency range of the terminal is narrow, the number of characters can be reduced), and then selects a frequency point group representing the start, a frequency point group representing each character, a frequency point group representing each encryption mode, a frequency point group representing the check code, a frequency point group representing the end, and the like from the 110 frequency point groups to establish mapping relationships such as a mapping relationship between the characters and the frequency point groups and a mapping relationship between the encryption mode and the frequency point groups. And sending the established mapping relations to the terminal and the screen projection equipment, so that the terminal and the screen projection equipment can perform data processing according to the mapping relations.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the sub-steps or the stages of other steps.
In one embodiment, as shown in fig. 7, a screen projection device 700 is provided. Referring to fig. 7, the screen projection apparatus 700 includes: a sending module 701, a receiving module 702, a determining module 703 and a playing module 704.
A sending module 701, configured to send a request for obtaining a screen-projecting code.
A receiving module 702 is configured to receive a screen cast code associated with the terminal in response to the request, the screen cast code including characters.
The determining module 703 is configured to determine a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relationship between the characters and the frequency points.
A playing module 704, configured to play an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
In one embodiment, the determining module 703 is further configured to map characters included in the screen-projecting code into frequency points according to a mapping relationship between the characters and the frequency points, so as to obtain a frequency point sequence mapped by the screen-projecting code; when the same and continuous frequency points are included in the frequency point sequence, replacing the frequency points positioned at odd numbers in the same and continuous frequency points with the frequency points representing the repeated previous frequency points, or replacing the frequency points positioned at even numbers in the same and continuous frequency points with the frequency points representing the repeated next frequency points; and obtaining a frequency point sequence corresponding to the screen projection code obtained after replacement.
In one embodiment, the determining module 703 is further configured to query a frequency point representing a start and a frequency point representing an end; and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes.
In one embodiment, the determining module 703 is further configured to encrypt the received screen-projecting code according to a preset encryption manner; determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence.
In an embodiment, the playing module 704 is further configured to determine the audio frequency corresponding to each frequency point included in the sequence of frequency points, so as to obtain an audio sequence; the duration of each audio frequency is shorter than the duration of the general single-frequency signal; sequentially playing each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
In one embodiment, the playing module 704 is further configured to play the frequency sweep signal; determining a frequency range to which a signal component obtained by collecting a sweep frequency signal belongs; and determining the mapping relation between the locally adapted characters and the frequency points according to the determined frequency range.
In one embodiment, the mapping of characters to frequency bins is a one-to-many mapping; the frequency points exceed the natural human auditory frequency range.
In one embodiment, the sending module 701 is further configured to obtain local screen data; sending the acquired screen data; and the transmitted screen data is used for instructing the screen projection equipment to display the received screen data.
In one embodiment, as shown in fig. 8, a screen projection device 800 is provided. Referring to fig. 8, the screen projection apparatus 800 includes: a receiving module 801, a determining module 802 and a playing module 803.
A receiving module 801, configured to receive an audio sequence.
A determining module 802, configured to determine a sequence of frequency points corresponding to an audio sequence.
The processing module 803 is configured to determine, according to a mapping relationship between the characters and the frequency points, characters to which the frequency points included in the frequency point sequence are respectively mapped, and obtain a screen-projecting code including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In one embodiment, the processing module 803 is further configured to, when the frequency point sequence includes a frequency point representing a repetition prior, replace the frequency point representing the repetition prior with a frequency point representing an adjacent and subsequent frequency point of the repetition prior; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points to obtain the screen-projecting code comprising the characters obtained by mapping.
In one embodiment, the processing module 803 is further configured to, when a frequency point indicating a start and a frequency point indicating an end are included in the frequency point sequence, map the frequency points in the frequency point sequence into characters according to a mapping relationship between the characters and the frequency points, including: determining a frequency point located between a frequency point representing the beginning and a frequency point representing the end in the sequence of frequency points; and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
In one embodiment, the processing module 803 is further configured to determine, in the sequence of frequency points, a first sequence of frequency points mapped by the encrypted screen projection code and a second sequence of frequency points mapped by an encryption manner through which the encrypted screen projection code is encrypted; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the receiving module 801 is further configured to amplify the received audio sequence once; filtering the audio sequence after the primary amplification through a filter; after the audio sequence after the filtering process is amplified for the second time, determining a frequency point sequence corresponding to the audio sequence, including: and determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
In one embodiment, the processing module 803 is further configured to receive screen data after the screen-casting connection is successful; and displaying the received screen data.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 9, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a screen projection method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a screen projection method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, or an external keyboard, a touch pad or a mouse, and the like. Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 10 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the screen projection device 130 in fig. 1. As shown in fig. 10, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a screen projection method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a screen projection method. Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the screen projection apparatus provided in the present application may be implemented in the form of a computer program, where the computer program may be run on a computer device as shown in fig. 9 or fig. 10, and a non-volatile storage medium of the computer device may store various program modules constituting the screen projection apparatus, such as the sending module 701, the receiving module 702, the determining module 703, and the playing module 704 shown in fig. 7. The computer program comprised of the respective program modules causes the processor to execute the steps in the screen projection method of the various embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 9 may transmit a request for acquiring a screen-casting code through the transmission module 701 in the screen-casting apparatus 700 shown in fig. 7. A screen shot code, which is responsive to the request and associated with the terminal, is received by the receiving module 702, the screen shot code including characters. The determining module 703 determines a frequency point sequence mapped by the screen-projecting code according to the mapping relationship between the characters and the frequency points. Playing an audio sequence corresponding to the frequency point sequence through the playing module 704; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
As another example, the computer device shown in fig. 10 may receive an audio sequence through the receiving module 801 in the screen-projecting apparatus 800 shown in fig. 8. The determining module 802 determines a sequence of frequency points corresponding to the audio sequence. Determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points through the processing module 803, and obtaining a screen-projecting code including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In one embodiment, a screen projection system is provided, which includes a terminal and a screen projection device, wherein the terminal is used for sending a request for acquiring a screen projection code; receiving a screen-casting code which responds to the request and is associated with the terminal, wherein the screen-casting code comprises characters; determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points; and playing the audio sequence corresponding to the frequency point sequence. The screen projection equipment is used for receiving an audio sequence; determining a frequency point sequence corresponding to the audio sequence; and determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining the screen-projecting code including the determined characters. And the screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In one embodiment, the terminal is further configured to map characters included in the screen-projecting code into frequency points according to a mapping relationship between the characters and the frequency points, so as to obtain a frequency point sequence mapped by the screen-projecting code; when the same and continuous frequency points are included in the frequency point sequence, replacing the frequency points positioned at odd numbers in the same and continuous frequency points with the frequency points representing the repeated previous frequency points, or replacing the frequency points positioned at even numbers in the same and continuous frequency points with the frequency points representing the repeated next frequency points; and obtaining a frequency point sequence corresponding to the screen projection code obtained after replacement. The screen projection equipment is also used for replacing the frequency points representing the repetition front with the frequency points representing the adjacent and rear frequency points representing the repetition front when the frequency points representing the repetition front are included in the frequency point sequence; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points to obtain the screen-projecting code comprising the characters obtained by mapping.
In one embodiment, the terminal is further configured to query a frequency point representing a start and a frequency point representing an end; and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes. The screen projection equipment is also used for determining a frequency point between the frequency point representing the beginning and the frequency point representing the end in the frequency point sequence when the frequency point representing the beginning and the frequency point representing the end are included in the frequency point sequence; and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
In one embodiment, the terminal is further configured to encrypt the received screen-projecting code according to a preset encryption manner; determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence. The screen projection equipment is also used for determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in the frequency point sequence; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the terminal is further configured to determine audio frequencies corresponding to the frequency points included in the sequence of frequency points, to obtain an audio sequence; the duration of each audio frequency is shorter than the duration of the general single-frequency signal; sequentially playing each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
In one embodiment, the terminal is further configured to play the frequency sweep signal; determining a frequency range to which a signal component obtained by collecting a sweep frequency signal belongs; and determining the mapping relation between the locally adapted characters and the frequency points according to the determined frequency range.
In one embodiment, the mapping of characters to frequency bins is a one-to-many mapping; the frequency points exceed the natural human auditory frequency range.
In one embodiment, the terminal is further configured to obtain local screen data; sending the acquired screen data; and the transmitted screen data is used for instructing the screen projection equipment to display the received screen data. The screen projection equipment is also used for receiving screen data after screen projection connection is successful; and displaying the received screen data.
In one embodiment, the screen projection device is further configured to amplify the received audio sequence once; filtering the audio sequence after the primary amplification through a filter; and after the audio sequence after the filtering processing is subjected to secondary amplification, determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of: sending a request for acquiring a screen projection code; receiving a screen-casting code which responds to the request and is associated with the terminal, wherein the screen-casting code comprises characters; determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points; playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
In one embodiment, determining a frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises: mapping characters included in the screen-projecting code into frequency points according to the mapping relation between the characters and the frequency points to obtain a frequency point sequence mapped by the screen-projecting code; when the same and continuous frequency points are included in the frequency point sequence, replacing the frequency points positioned at odd numbers in the same and continuous frequency points with the frequency points representing the repeated previous frequency points, or replacing the frequency points positioned at even numbers in the same and continuous frequency points with the frequency points representing the repeated next frequency points; and obtaining a frequency point sequence corresponding to the screen projection code obtained after replacement.
In one embodiment, obtaining a sequence of frequency points mapped by a screen-casting code comprises: inquiring a frequency point representing the start and a frequency point representing the end; and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes.
In one embodiment, determining a frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises: encrypting the received screen projection code according to a preset encryption mode; determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence.
In one embodiment, playing an audio sequence corresponding to a sequence of frequency points includes: determining the audio frequency corresponding to each frequency point included in the frequency point sequence to obtain an audio frequency sequence; the duration of each audio frequency is shorter than the duration of the general single-frequency signal; sequentially playing each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
In one embodiment, the computer program further causes the processor to perform the steps of: playing a frequency sweeping signal; determining a frequency range to which a signal component obtained by collecting a sweep frequency signal belongs; and determining the mapping relation between the locally adapted characters and the frequency points according to the determined frequency range.
In one embodiment, the mapping of characters to frequency bins is a one-to-many mapping; the frequency points exceed the natural human auditory frequency range.
In one embodiment, the computer program further causes the processor to perform the steps of: acquiring local screen data; sending the acquired screen data; and the transmitted screen data is used for instructing the screen projection equipment to display the received screen data.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of: receiving an audio sequence; determining a frequency point sequence corresponding to the audio sequence; determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: when the frequency point sequence comprises the frequency point representing the repetition of the previous frequency point, replacing the frequency point representing the repetition of the previous frequency point with the frequency point representing the adjacency and the next frequency point of the frequency point representing the repetition of the previous frequency point; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points to obtain the screen-projecting code comprising the characters obtained by mapping.
In one embodiment, the computer program further causes the processor to perform the steps of: when the frequency point sequence includes a frequency point representing the beginning and a frequency point representing the end, mapping the frequency points in the frequency point sequence into characters according to the mapping relationship between the characters and the frequency points, including: determining a frequency point located between a frequency point representing the beginning and a frequency point representing the end in the sequence of frequency points; and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: in the frequency point sequence, determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in an encryption mode; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the computer program further causes the processor to perform the steps of: amplifying the received audio sequence for the first time; filtering the audio sequence after the primary amplification through a filter; after the audio sequence after the filtering process is amplified for the second time, determining a frequency point sequence corresponding to the audio sequence, including: and determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
In one embodiment, the computer program further causes the processor to perform the steps of: receiving screen data after screen projection connection is successful; and displaying the received screen data.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of: sending a request for acquiring a screen projection code; receiving a screen-casting code which responds to the request and is associated with the terminal, wherein the screen-casting code comprises characters; determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points; playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
In one embodiment, determining a frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises: mapping characters included in the screen-projecting code into frequency points according to the mapping relation between the characters and the frequency points to obtain a frequency point sequence mapped by the screen-projecting code; when the same and continuous frequency points are included in the frequency point sequence, replacing the frequency points positioned at odd numbers in the same and continuous frequency points with the frequency points representing the repeated previous frequency points, or replacing the frequency points positioned at even numbers in the same and continuous frequency points with the frequency points representing the repeated next frequency points; and obtaining a frequency point sequence corresponding to the screen projection code obtained after replacement.
In one embodiment, obtaining a sequence of frequency points mapped by a screen-casting code comprises: inquiring a frequency point representing the start and a frequency point representing the end; and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes.
In one embodiment, determining a frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises: encrypting the received screen projection code according to a preset encryption mode; determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points; determining a second frequency point sequence obtained by mapping the encryption mode through which the encrypted screen projection code passes according to the mapping relation between the encryption mode and the frequency points; and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence.
In one embodiment, playing an audio sequence corresponding to a sequence of frequency points includes: determining the audio frequency corresponding to each frequency point included in the frequency point sequence to obtain an audio frequency sequence; the duration of each audio frequency is shorter than the duration of the general single-frequency signal; sequentially playing each audio in the audio sequence according to a preset time interval; or, the audio included in the audio sequence is played after windowing.
In one embodiment, the computer program further causes the processor to perform the steps of: playing a frequency sweeping signal; determining a frequency range to which a signal component obtained by collecting a sweep frequency signal belongs; and determining the mapping relation between the locally adapted characters and the frequency points according to the determined frequency range.
In one embodiment, the mapping of characters to frequency bins is a one-to-many mapping; the frequency points exceed the natural human auditory frequency range.
In one embodiment, the computer program further causes the processor to perform the steps of: acquiring local screen data; sending the acquired screen data; and the transmitted screen data is used for instructing the screen projection equipment to display the received screen data.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of: receiving an audio sequence; determining a frequency point sequence corresponding to the audio sequence; determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: when the frequency point sequence comprises the frequency point representing the repetition of the previous frequency point, replacing the frequency point representing the repetition of the previous frequency point with the frequency point representing the adjacency and the next frequency point of the frequency point representing the repetition of the previous frequency point; when the frequency point sequence comprises the frequency point representing the repeated later, replacing the frequency point representing the repeated later with the frequency point representing the adjacent and previous frequency point; and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points to obtain the screen-projecting code comprising the characters obtained by mapping.
In one embodiment, the computer program further causes the processor to perform the steps of: when the frequency point sequence includes a frequency point representing the beginning and a frequency point representing the end, mapping the frequency points in the frequency point sequence into characters according to the mapping relationship between the characters and the frequency points, including: determining a frequency point located between a frequency point representing the beginning and a frequency point representing the end in the sequence of frequency points; and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
In one embodiment, determining characters to which frequency points included in a frequency point sequence are respectively mapped according to a mapping relation between the characters and the frequency points, and obtaining a screen-projecting code including the determined characters, includes: in the frequency point sequence, determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in an encryption mode; determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes; determining an encryption mode to which the second frequency point sequence is mapped according to the mapping relation between the encryption mode and the frequency points; and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
In one embodiment, the computer program further causes the processor to perform the steps of: amplifying the received audio sequence for the first time; filtering the audio sequence after the primary amplification through a filter; after the audio sequence after the filtering process is amplified for the second time, determining a frequency point sequence corresponding to the audio sequence, including: and determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
In one embodiment, the computer program further causes the processor to perform the steps of: receiving screen data after screen projection connection is successful; and displaying the received screen data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A screen projection method is applied to a terminal and comprises the following steps:
sending a request for acquiring a screen projection code;
receiving a screen cast code responsive to the request and associated with the terminal, the screen cast code including characters;
determining a frequency point sequence obtained by mapping the screen-projecting code according to the mapping relation between the characters and the frequency points;
playing an audio sequence corresponding to the frequency point sequence; and the played audio sequence is used for indicating the screen projection equipment to identify the screen projection code according to the received audio sequence, and the identified screen projection code is used for establishing screen projection connection between the associated terminal and the screen projection equipment.
2. The method of claim 1, wherein the determining the frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises:
mapping characters included in the screen-projecting code into frequency points according to the mapping relation between the characters and the frequency points to obtain a frequency point sequence mapped by the screen-projecting code;
when the frequency point sequence includes the same and continuous frequency points, then
Replacing frequency points positioned at odd number positions in the same and continuous frequency points with frequency points representing the repetition before, or replacing frequency points positioned at even number positions in the same and continuous frequency points with frequency points representing the repetition after;
and obtaining a frequency point sequence corresponding to the screen projection code after replacement.
3. The method of claim 2, wherein obtaining the sequence of frequency points mapped by the screen-casting code comprises:
inquiring a frequency point representing the start and a frequency point representing the end;
and combining the frequency points which represent the beginning, the frequency points which are obtained by sequentially mapping characters included by the screen-projecting codes and the frequency points which represent the ending to obtain a frequency point sequence corresponding to the screen-projecting codes.
4. The method of claim 1, wherein the determining the frequency point sequence mapped by the screen-casting code according to the mapping relationship between the characters and the frequency points comprises:
encrypting the received screen projection code according to a preset encryption mode;
determining a first frequency point sequence obtained by mapping the encrypted screen-projecting code according to the mapping relation between the characters and the frequency points;
determining a second frequency point sequence obtained by mapping the encryption mode through which the screen projection code is encrypted according to the mapping relation between the encryption mode and the frequency points;
and obtaining a frequency point sequence corresponding to the screen projection code according to the first frequency point sequence and the second frequency point sequence.
5. The method according to claim 1, wherein the playing the audio sequence corresponding to the frequency point sequence comprises:
determining the audio frequency corresponding to each frequency point included in the frequency point sequence to obtain an audio frequency sequence; the duration of each audio frequency is shorter than the duration of a general single-frequency signal;
sequentially playing each audio in the audio sequence according to a preset time interval; alternatively, the first and second electrodes may be,
and windowing the audio included in the audio sequence and then playing the audio.
6. The method according to any one of claims 1-5, further comprising:
playing a frequency sweeping signal;
determining a frequency range to which a signal component obtained by collecting the sweep frequency signal belongs;
and determining the mapping relation between the locally adapted character and the frequency point according to the determined frequency range.
7. The method according to any one of claims 1-5, wherein the mapping of characters to frequency points is a one-to-many mapping; the frequency points exceed the natural human auditory frequency range.
8. The method according to any one of claims 1-5, further comprising:
acquiring local screen data;
sending the acquired screen data; the screen data are sent and used for indicating the screen projection equipment to display the received screen data.
9. A screen projection method is applied to screen projection equipment and comprises the following steps:
receiving an audio sequence;
determining a frequency point sequence corresponding to the audio sequence;
determining characters to which the frequency points included in the frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining screen-projecting codes including the determined characters; and the obtained screen projection code is used for establishing screen projection connection between the terminal associated with the screen projection code and the screen projection equipment.
10. The method according to claim 9, wherein the determining, according to the mapping relationship between the characters and the frequency points, the characters to which the frequency points included in the frequency point sequence are respectively mapped to obtain the screen-shot code including the determined characters comprises:
when the frequency point sequence comprises the frequency point representing the repetition before, then
Replacing the frequency point before the representation repetition with the frequency point adjacent and after the frequency point before the representation repetition;
when the frequency point sequence comprises the frequency point representing the repeated frequency point, then
Replacing the representation-repeated subsequent frequency point with an adjacent and preceding frequency point of the representation-repeated subsequent frequency point;
and mapping the frequency points in the frequency point sequence obtained by replacing into characters according to the mapping relation between the characters and the frequency points, and obtaining the screen-projecting code comprising the characters obtained by mapping.
11. The method of claim 10, further comprising:
when the frequency point sequence comprises a frequency point representing the beginning and a frequency point representing the end, then
The mapping the frequency points in the frequency point sequence into characters according to the mapping relationship between the characters and the frequency points comprises:
determining, in the sequence of frequency points, a frequency point located between a frequency point at which the representation starts and a frequency point at which the representation ends;
and mapping the determined frequency points into characters according to the mapping relation between the characters and the frequency points.
12. The method according to claim 9, wherein the determining, according to the mapping relationship between the characters and the frequency points, the characters to which the frequency points included in the frequency point sequence are respectively mapped to obtain the screen-shot code including the determined characters comprises:
determining a first frequency point sequence obtained by mapping the encrypted screen projection code and a second frequency point sequence obtained by mapping the encrypted screen projection code in the frequency point sequence;
determining characters to which the frequency points included in the first frequency point sequence are respectively mapped according to the mapping relation between the characters and the frequency points, and obtaining encrypted screen projection codes;
determining an encryption mode to which the second frequency point sequence is mapped according to a mapping relation between the encryption mode and the frequency points;
and decrypting the encrypted screen projection code by a decryption mode matched with the determined encryption mode.
13. The method of claim 9, further comprising:
amplifying the received audio sequence for the first time;
filtering the audio sequence after the primary amplification through a filter;
after the audio sequence after the filtering is secondarily amplified, the determining a frequency point sequence corresponding to the audio sequence includes:
and determining a frequency point sequence corresponding to the audio sequence after the secondary amplification.
14. The method according to any one of claims 9-13, further comprising:
receiving screen data after the screen projection connection is successful;
and displaying the received screen data.
15. A screen projection method, comprising:
when receiving a screen projection instruction, the terminal sends a request for acquiring a screen projection code;
the terminal receives a screen projection code responding to the request feedback and plays an audio sequence corresponding to the screen projection code; the received screen projection code is associated with the terminal;
the screen projection equipment receives the audio sequence played by the terminal and determines a screen projection code corresponding to the audio sequence; the determined screen projection code is used for establishing screen projection connection between the terminal and the screen projection equipment;
the terminal initiates transmission of screen data of the terminal;
and the screen projection equipment displays the screen data initiated and transmitted by the terminal after the screen projection connection is successful.
CN201810846457.2A 2018-07-27 2018-07-27 Screen projection method Active CN110769523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810846457.2A CN110769523B (en) 2018-07-27 2018-07-27 Screen projection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810846457.2A CN110769523B (en) 2018-07-27 2018-07-27 Screen projection method

Publications (2)

Publication Number Publication Date
CN110769523A true CN110769523A (en) 2020-02-07
CN110769523B CN110769523B (en) 2022-08-19

Family

ID=69327013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810846457.2A Active CN110769523B (en) 2018-07-27 2018-07-27 Screen projection method

Country Status (1)

Country Link
CN (1) CN110769523B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970063A (en) * 2020-08-26 2020-11-20 北京字节跳动网络技术有限公司 Communication method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079678A1 (en) * 2002-03-13 2003-09-25 Denmeade Timothy J Digital media source integral with microprocessor, image projection device and audio component as a self-contained system
US20140330894A1 (en) * 2013-01-29 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal and system for implementing data sharing
JP2015056776A (en) * 2013-09-12 2015-03-23 株式会社リコー Image processing device, mobile information terminal, network system, and program
CN104581986A (en) * 2013-10-17 2015-04-29 北京聚码科技有限公司 Wireless connection method and equipment
CN108024120A (en) * 2016-11-04 2018-05-11 上海百蝠信息技术有限公司 Audio generation, broadcasting, answering method and device and audio transmission system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079678A1 (en) * 2002-03-13 2003-09-25 Denmeade Timothy J Digital media source integral with microprocessor, image projection device and audio component as a self-contained system
US20140330894A1 (en) * 2013-01-29 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal and system for implementing data sharing
JP2015056776A (en) * 2013-09-12 2015-03-23 株式会社リコー Image processing device, mobile information terminal, network system, and program
CN104581986A (en) * 2013-10-17 2015-04-29 北京聚码科技有限公司 Wireless connection method and equipment
CN108024120A (en) * 2016-11-04 2018-05-11 上海百蝠信息技术有限公司 Audio generation, broadcasting, answering method and device and audio transmission system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970063A (en) * 2020-08-26 2020-11-20 北京字节跳动网络技术有限公司 Communication method, device, equipment and storage medium
CN111970063B (en) * 2020-08-26 2022-04-29 北京字节跳动网络技术有限公司 Communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110769523B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN103117836B (en) Method and apparatus for equipment association
EP2487680B1 (en) Audio watermark detection for delivering contextual content to a user
US20190173590A1 (en) Sonic signaling communication for user devices
US8948895B2 (en) System and method for engaging a person in the presence of ambient audio
CN103119969A (en) Indirect device communication
JP2017529711A (en) Method, apparatus and system for voice confirmation
CN104158659B (en) Anti-counterfeit authentication method, device and system
AU2013224696A1 (en) An instant communication method and system
Wang et al. SoundAuth: Secure zero-effort two-factor authentication based on audio signals
CN106504745A (en) A kind of speech verification code system and its implementation method
WO2019061628A1 (en) Data verification method, and server
US20220231872A1 (en) Methods and apparatus for assessing network presence
CN110769523B (en) Screen projection method
CN103780617A (en) Method and device for processing video conference data
TW201607357A (en) Toning control method of WiFi device setting by smart device
JP2019526183A (en) Data transmission method, data transmitter, data receiver, and system
TW201517650A (en) Method, apparatus and system for transmitting information
CN104980919A (en) Method for acquiring network service information and equipment
CN111882739B (en) Entrance guard verification method, entrance guard device, server and system
US20160119145A1 (en) Secure transmission
CN105635249B (en) Session management method and device
US10172002B2 (en) Method and device for information transmission
CN103813453A (en) Method for prompting notification of mobile phone
JP2020071810A (en) Program, device, and method for processing information
CN109445979B (en) Abnormal log reporting method and system for wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40020184

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant