CN107566884B - Connection method, server and terminal - Google Patents

Connection method, server and terminal Download PDF

Info

Publication number
CN107566884B
CN107566884B CN201710736054.8A CN201710736054A CN107566884B CN 107566884 B CN107566884 B CN 107566884B CN 201710736054 A CN201710736054 A CN 201710736054A CN 107566884 B CN107566884 B CN 107566884B
Authority
CN
China
Prior art keywords
signal
server
terminal
connection
audio signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710736054.8A
Other languages
Chinese (zh)
Other versions
CN107566884A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201710736054.8A priority Critical patent/CN107566884B/en
Publication of CN107566884A publication Critical patent/CN107566884A/en
Application granted granted Critical
Publication of CN107566884B publication Critical patent/CN107566884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a connection method, a server and a terminal, wherein the method is applied to the server and comprises the following steps: acquiring a connection instruction input by a user, and entering a connection mode; converting preset connection information into a baseband signal; modulating the baseband signal to generate an audio signal with a preset format; controlling a playing device of the server to play the audio signal so as to enable the terminal to acquire the audio signal; receiving a request signal sent by a terminal based on a set communication protocol, and judging whether the request signal is matched with the connection information; when the request signal is matched with the connection information, the connection between the server and the terminal is established.

Description

Connection method, server and terminal
Technical Field
The embodiment of the invention relates to a communication technology, in particular to a connection method, a server and a terminal.
Background
With the intellectualization of mobile terminals, most users are now used to control television devices by using mobile terminals.
When a mobile terminal in a local area network needs to operate television equipment at present, the main scheme is that socket service is integrated in both the mobile terminal and the television equipment, a television terminal serves as a service terminal, the mobile terminal sends broadcast data in the local area network, and the broadcast data is fed back to the mobile terminal after the supported television terminal receives the broadcast data. And the mobile terminal establishes an equipment list according to the fed back television terminal, and the user selects a target television terminal to be controlled. And then the mobile terminal sends control data to the target television terminal to establish connection.
In the above scheme, when the mobile terminal does not have a display device as the control device, the server that needs to be connected cannot be selected on the control device, and thus the connection between the control device and the server cannot be completed.
Disclosure of Invention
The embodiment of the invention provides a connection method, a server and a terminal, so as to realize quick connection with the server when the terminal has no display equipment.
In a first aspect, an embodiment of the present invention provides a connection method, which is applied to a server, and the method includes:
acquiring a connection instruction input by a user, and entering a connection mode;
converting preset connection information into a baseband signal;
modulating the baseband signal to generate an audio signal with a preset format;
controlling a playing device of the server to play the audio signal so as to enable the terminal to acquire the audio signal;
receiving a request signal sent by a terminal based on a set communication protocol, and judging whether the request signal is matched with the connection information;
and when the request signal is matched with the connection information, establishing the connection between the server and the terminal.
In a second aspect, an embodiment of the present invention further provides a connection method, which is applied to a terminal, and the method includes:
acquiring a connection instruction input by a user, and entering a connection mode;
acquiring a sound wave signal played by a playing device of the server through an audio acquisition device of the terminal, and transcribing the sound wave signal into an audio signal with a preset format;
processing the audio signal to generate source information contained in the sound wave signal;
demodulating the source information to generate a request signal;
and sending the request signal to the server based on a set communication protocol, and establishing the connection between the server and the terminal.
In a third aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a storage device for storing one or more programs,
the one or more programs are executed by the one or more processors, so that the one or more processors implement the connection method applied to the server side provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a terminal, including:
the audio acquisition module is used for receiving the sound wave signals and transcribing the sound wave signals into audio signals in a preset format;
the audio decoding module is used for demodulating the audio signal and generating source information contained in the sound wave signal;
one or more processors;
a storage device for storing one or more programs,
the one or more programs are executed by the one or more processors, so that the one or more processors implement the method applied to the terminal connection, as provided by any embodiment of the present invention.
The embodiment of the invention provides a connection method applied to a server, which comprises the steps of entering a connection mode by acquiring a connection instruction input by a user, converting preset connection information into a baseband signal, modulating the baseband signal to generate an audio signal in a preset format, controlling a playing device of the server to play the audio signal so as to enable a terminal to acquire the audio signal, receiving a request signal sent by the terminal based on a set communication protocol, judging whether the request signal is matched with the connection information or not, and establishing connection between the server and the terminal when the request signal is matched with the connection information, so that the terminal can be quickly connected with the server when no display equipment exists in the terminal.
Drawings
FIG. 1 is a flowchart illustrating a connection method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a connection method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a connection method in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a connection method in a first embodiment of the present invention, where the method may be executed by a server provided in any embodiment of the present invention, and the server may be implemented in a software and/or hardware manner. As shown in fig. 1, the method specifically includes:
and S110, acquiring a connection instruction input by a user and entering a connection mode.
In this embodiment, the input method of the connection instruction is various, preferably, a key for entering the connection mode may be set on the server, and instruction information may be input by touching the key, or instruction information may be input by selecting an option for entering the connection mode from a display list or a function list on the server.
And S120, converting the preset connection information into a baseband signal.
And after the server enters a connection mode, converting the preset connection information into a baseband signal to be sent through coding. The preset connection information is operation data which is required to be carried when the terminal sends a connection request to the server, and the connection of the terminal can be directed to the only server.
Preferably, the preset connection information may be attribute information of the server, in this embodiment, the server may be a television device, specifically, the preset connection information may be an ID number of the television device or an IP address of the television device, and the terminal connection may be directed to the unique television device through the preset connection information, so that the terminal is connected to the correct server.
And S130, modulating the baseband signal to generate an audio signal in a preset format.
And transmitting the baseband signal formed by coding to an audio modulator, and modulating the baseband signal to a sound sample by the audio modulator according to a preset coding frequency and the sound sample to generate the audio signal in a preset format. In this embodiment, when modulating the baseband signal into the audio signal, a preset start signal may be added before the baseband signal, and a preset stop signal is added after the baseband signal, so that when receiving the audio signal, the terminal can determine whether the received audio signal is an audio signal sent by the server according to the start signal, and determine whether the received audio signal is sent to the server according to the stop signal.
The audio signal is easy to be interfered by external noise in the process of transmitting, preferably, the baseband signal can be modulated into the audio signal with a preset format by the orthogonal frequency division multiplexing technology, the interference delay effect caused by the multipath transmission phenomenon in the transmission channel can be effectively resisted by modulating by the orthogonal frequency division multiplexing technology, the mutual interference among sub-channels is reduced, the frequency selective fading is resisted, and the channel utilization rate is high.
In this embodiment, the audio signal in the preset format may be a pulse code modulation audio signal supported by the android system, so as to be widely applicable to terminals of different models and different categories.
And S140, controlling a playing device of the server to play the audio signal so as to enable the terminal to acquire the audio signal.
And after the audio signal in the preset format is generated, controlling a playing device at the server end to play the audio signal so as to enable the terminal to collect the audio signal. Preferably, a speaker at the server side can be controlled to play the audio signal.
S150, receiving a request signal sent by the terminal based on a set communication protocol, and judging whether the request signal is matched with the connection information.
The server receives a request signal sent by the terminal based on a set communication protocol through the communication interface, and judges whether the received request signal is consistent with the connection information sent by the server so as to determine whether the server is the server to which the request signal of the terminal points.
And S160, when the request signal is matched with the connection information, establishing the connection between the server and the terminal.
When the request information sent by the terminal and received by the server is consistent with the preset connection information of the server, namely the attribute information of the server contained in the request information sent by the terminal only points to the server, determining that the terminal has the authority of connecting to the server, and establishing the connection between the server and the terminal.
According to the connection method applied to the server, the connection instruction input by the user is obtained, the connection mode is entered, the preset connection information is converted into the baseband signal, the baseband signal is modulated to generate the audio signal in the preset format, the playing device of the server is controlled to play the audio signal so that the terminal can acquire the audio signal, the request signal sent by the terminal based on the set communication protocol is received, whether the request signal is matched with the connection information or not is judged, and when the request signal is matched with the connection information, the connection between the server and the terminal is established, so that the quick connection between the terminal and the server is realized when the terminal does not have a display device, the connection flow between the terminal and the server is simplified, the connection efficiency is improved, and the user experience is improved.
On the basis of the above technical solutions, the modulating the baseband signal to generate an audio signal in a preset format includes:
and modulating the baseband signal and a preset prompt signal to form an audio signal with a preset format.
Specifically, when the baseband signal is modulated into the audio signal, the baseband signal and the preset prompt signal can be modulated into the audio signal together. Because the frequency of the audio signal carrying the baseband signal is not within the frequency range that can be heard by human ears, in order to enable a user to clearly know whether the service end sends the audio signal carrying the baseband signal, the baseband signal and a preset prompting signal are transmitted to the audio modulator together to generate the audio signal containing the prompting sound. When the server side sends the audio signal containing the baseband signal, the prompting signal which can be heard by human ears is sent at the same time, namely if the user hears the prompting signal, the fact that the server side sends the baseband signal is indicated. Preferably, the preset prompting signal can be a sound wave signal with the frequency between 12KHZ and 20 KHZ.
Example two
Fig. 2 is a flowchart of a connection method in the second embodiment of the present invention. The method can be executed by the terminal provided by any embodiment of the invention, and the terminal can be implemented by software and/or hardware. As shown in fig. 2, the method specifically includes:
s210, acquiring a connection instruction input by a user, and entering a connection mode.
When the terminal needs to be connected with the server, a user can input a connection instruction to control the terminal to enter a connection mode, and at the moment, the terminal obtains the connection instruction input by the user. In this embodiment, there are various input methods of the connection instruction, and preferably, a key for entering the connection mode may be provided on the terminal, so that the user inputs the instruction information by touching the key.
S220, collecting sound wave signals played by a playing device of the server through an audio collecting device of the terminal, and transcribing the sound wave signals into audio signals in a preset format.
And after entering the connection mode, the terminal enters an audio acquisition state, acquires the sound wave signals played by the server playing device through the audio acquisition device of the terminal, and transcribes the acquired sound wave signals into audio signals in a preset format. Preferably, the audio signal in the preset format may be a pulse code modulation audio signal supported by the android system.
And S230, processing the audio signal to generate source information contained in the sound wave signal.
The sound wave transmission data is easily influenced by noise, the audio acquisition device of the terminal can acquire the noise in the environment where the terminal is located besides the audio signal sent by the server, the audio signal sent by the server is extracted from the audio signal received by the terminal, the audio signal received by the terminal is detected, and then the source information contained in the sound wave signal, namely the audio signal sent by the server, is extracted. There are various ways to detect the audio signal received by the terminal, for example, noise signals with frequencies inconsistent with the source information frequency may be filtered out in a filtering way, or audio signals within a set target frequency band may be extracted through a preset algorithm.
S240, demodulating the source information to generate a request signal.
After the source information contained in the sound wave signal is extracted, an audio demodulation unit of the terminal demodulates the source information based on a preset coding frequency and a sound sample, restores the source information to a baseband signal, and generates a request signal for sending a connection request to a server according to the baseband signal.
And S250, sending the request signal to the server based on a set communication protocol, and establishing the connection between the server and the terminal.
The terminal sends the request signal to the server based on the set communication protocol, monitors a communication interface connected with the server, and when the server establishes the connection with the terminal, the connection between the terminal and the server is successfully established. After the connection between the server and the terminal is established, data can be transmitted through the local area network based on a set communication protocol, and when the terminal is used as control equipment of the server, the control on each function and operation of the server can be realized; when the terminal is used as the output device of the server, the information required to be output by the server can be output through the terminal.
Preferably, the communication interface of the terminal does not monitor that the server is successfully connected with the terminal within a predetermined time after monitoring the communication interface connected with the server, and then prompts the user that the connection establishment fails.
According to the connection method applied to the terminal, the connection instruction input by the user is obtained, the connection mode is entered, the sound wave signal played by the playing device of the server is collected through the audio collection device, the sound wave signal is transcribed into the audio signal in the preset format, the audio signal is demodulated, the source information contained in the sound wave signal is generated, the source information is sent to the server as the request signal based on the set communication protocol, the connection between the server and the terminal is established, the quick connection between the terminal and the server when no display device exists in the terminal is achieved, the connection flow between the terminal and the server is simplified, the pairing efficiency is improved, and the user experience is improved.
On the basis of the above technical solutions, the processing the audio signal to generate the source information included in the sound wave signal includes:
detecting whether the audio signal contains a preset initial signal or not;
and when the audio signal contains a preset starting signal, extracting source information contained in the sound wave signal from the sound wave signal according to the starting signal.
Specifically, after transcribing the received sound wave signal into an audio signal, the terminal first determines whether the audio signal contains a preset start signal, and when the audio signal contains the preset start signal, determines that the audio signal is the audio signal sent by the server. Further, the terminal can accurately extract the source information contained in the sound wave signal, namely the audio signal sent by the server, from the received audio signal according to the preset start signal and the preset stop signal. The accurate audio signals are screened out according to the preset initial signals, so that the accuracy of data transmission by using sound waves is guaranteed.
In this embodiment, the terminal includes a screen device and a non-screen device. That is, the terminal-based connection method provided by this embodiment can implement quick and accurate connection between the screen device and the non-screen device and the server.
EXAMPLE III
Fig. 3 is a flowchart of a connection method in a third embodiment of the present invention, and this embodiment provides a preferred embodiment based on the above embodiments. Taking a service end as television equipment and a terminal as an external sound device as an example, as shown in fig. 3, the method specifically includes:
s301, the television equipment and the external sound respectively obtain a connection instruction input by a user, and enter a connection mode.
When the external sound equipment needs to be connected with the television equipment, a user firstly selects a corresponding instruction in a function menu of the television equipment to trigger the television equipment to enter a connection mode; the external sound equipment is triggered to enter a connection mode by touching a connection key of the external sound equipment.
S302, the television equipment converts the attribute information of the television equipment into a baseband signal.
After the television equipment enters a connection mode, operation data required to be carried by an external sound sending connection request, such as an ID number of the television equipment or an IP address of the television equipment, is converted into a baseband signal to be sent through a coding module.
And S303, the television equipment modulates the baseband signal to generate a pulse code modulation audio signal supported by the android system.
And transmitting the baseband signal to an audio modulator, and modulating the baseband signal to a sound sample by the audio modulator through an orthogonal frequency division multiplexing technology according to a preset coding frequency and the sound sample to generate a pulse code modulation audio signal supported by the android system. In order to enable the external sound equipment to identify correct audio signals, when the baseband signals are modulated into the audio signals, a preset starting signal can be added in front of the baseband signals, and a preset stopping signal can be added behind the baseband signals.
S304, the television equipment controls the built-in loudspeaker to play the audio signal so as to enable an external sound to collect the audio signal.
S305, the external sound equipment collects sound wave signals played by the television equipment through a microphone and transcribes the sound wave signals into audio signals in a preset format.
After the external sound equipment enters a connection mode, sound wave signals are collected through a built-in microphone, and the received sound wave signals are transcribed into pulse code modulation audio signals supported by an android system.
S306, processing the audio signal by an external sound to generate source information contained in the sound wave.
After the sound wave signals are transcribed into the audio signals, the external sound equipment detects whether the audio signals contain preset initial information or not so as to determine whether the collected sound wave signals are the audio signals sent by the television equipment or not. When detecting that the audio signal contains the preset initial information, extracting the audio signal actually carrying baseband information, namely the source information contained in the sound wave signal, according to the preset initial information and the preset termination information.
S307, the external sound equipment demodulates the source information to generate a request signal.
After the source information is restored to the baseband signal through the audio decoding module, the source information is demodulated based on the preset coding frequency and the sound sample, the source information is restored to the baseband signal, and the baseband signal is used as a request signal for sending a connection request to the television equipment.
And S308, the external sound equipment sends the request signal to the television equipment based on a set communication protocol.
S309, the television equipment receives a request signal sent by an external sound based on a set communication protocol, and judges whether the request signal is matched with the connection information.
After receiving a connection request sent by the external sound, the television equipment matches the request information sent by the external sound with preset connection information to determine whether the television equipment is the television equipment pointed by the request signal of the external sound.
And S310, when the request signal is matched with the connection information, establishing the connection between the television equipment and the external sound equipment.
When the request information sent by the external sound box received by the television equipment is consistent with the preset connection information, the external sound box is determined to have the authority of being connected to the television equipment, and the connection between the television equipment and the external sound box is established, so that the data transmission between the television equipment and the external sound box can be realized.
In this embodiment, after the external sound transmits the request signal to the television device based on the set communication protocol, if it is not monitored that the television device and the external sound are successfully connected within a predetermined time, the user is prompted that the connection establishment fails.
According to the method for connecting the server and the terminal, the process of connecting the server and the terminal is simplified, the connection efficiency is improved, and the user experience is improved.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary server 412 suitable for use in implementing embodiments of the present invention. The server 412 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of the application of the embodiment of the present invention.
As shown in FIG. 4, the server 412 is in the form of a general purpose computing device. The components of the server 412 may include, but are not limited to: one or more processors 416, a system memory 428, and a bus 418 that couples the various system components (including the system memory 428 and the processors 416).
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and processor 416, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The server 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 412 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 428 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The server 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 340 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The server 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), with one or more devices that enable a user to interact with the server 412, and/or with any devices (e.g., network card, modem, etc.) that enable the server 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, server 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 420. As shown, network adapter 420 communicates with the other modules of server 412 over bus 418. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with the server 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage, among others.
The processor 416 executes various functional applications and data processing by running programs stored in the system memory 428, for example, implementing a distribution method applied to a distribution platform provided by the embodiment of the present invention, including:
acquiring a connection instruction input by a user, and entering a connection mode;
converting preset connection information into a baseband signal;
modulating the baseband signal to generate an audio signal with a preset format;
controlling a playing device of the server to play the audio signal so as to enable the terminal to acquire the audio signal;
receiving a request signal sent by a terminal based on a set communication protocol, and judging whether the request signal is matched with the connection information;
and when the request signal is matched with the connection information, establishing the connection between the server and the terminal.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal in the fifth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary terminal 512 suitable for use in implementing embodiments of the present invention. The terminal 512 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, terminal 512 is in the form of a general purpose computing device. The components of the terminal 512 may include, but are not limited to: one or more processors 516, a system memory 528, and a bus 518 that couples various system components (including the system memory 528 and the processors 516), among other things, the terminal 512 includes: the audio acquisition module 513 is configured to receive a sound wave signal and transcribe the sound wave signal into an audio signal in a preset format; and the audio decoding module 515 is connected to the audio acquisition module, and is configured to demodulate the audio signal and generate source information included in the sound wave signal.
For more details of the bus 518, the system memory 528, the Random Access Memory (RAM)530, the cache 532, the storage 534, the program modules 542/utilities 540, the processor, the network adapter 520, the bus 518, the peripheral 514, and the input/output (I/O) interfaces 522 embodiments of the present invention, reference may be made to the above-described embodiments. The display 524 may be configured according to actual needs.
The processor 516 executes various functional applications and data processing by running a program stored in the system memory 528, for example, to implement the connection method applied to the terminal provided by the embodiment of the present invention, including:
acquiring a connection instruction input by a user, and entering a connection mode;
acquiring a sound wave signal played by a playing device of the server through an audio acquisition device of the terminal, and transcribing the sound wave signal into an audio signal with a preset format;
processing the audio signal to generate source information contained in the sound wave signal;
demodulating the source information to generate a request signal;
and sending the request signal to the server based on a set communication protocol, and establishing the connection between the server and the terminal.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A connection method is applied to a server side, and is characterized in that the method comprises the following steps:
acquiring a connection instruction input by a user, and entering a connection mode;
converting preset connection information into a baseband signal, wherein the preset connection information is attribute information of the server;
modulating the baseband signal to generate an audio signal with a preset format;
controlling a playing device of the server to play the audio signal so as to enable a terminal to acquire the audio signal, wherein the terminal is a screen-free device;
receiving a request signal sent by a terminal based on a set communication protocol, and judging whether the request signal is matched with the connection information;
and when the request signal is matched with the connection information, establishing the connection between the server and the terminal.
2. The method of claim 1, wherein the server comprises a television device.
3. The method according to claim 1, wherein the audio signal of the preset format is a pulse code modulation audio signal.
4. The method according to claim 1, wherein the modulating the baseband signal to generate the audio signal in the preset format comprises:
and modulating the baseband signal and a preset prompt signal to form an audio signal with a preset format.
5. A connection method is applied to a terminal, and is characterized in that the terminal is a non-screen device, and the method comprises the following steps:
acquiring a connection instruction input by a user, and entering a connection mode;
acquiring a sound wave signal played by a playing device of a server through an audio acquisition device of the terminal, and transcribing the sound wave signal into an audio signal with a preset format;
processing the audio signal to generate source information contained in the sound wave signal;
demodulating the source information to generate a request signal;
sending the request signal to the server based on a set communication protocol, and establishing the connection between the server and the terminal;
wherein the demodulating the source information to generate the request signal includes:
and restoring the source information into a baseband signal, and using the baseband signal as the request signal.
6. The method of claim 5, wherein the processing the audio signal to generate source information contained in the sonic signal comprises:
detecting whether the audio signal contains a preset initial signal or not;
and when the audio signal contains a preset starting signal, extracting source information contained in the sound wave signal from the sound wave signal according to the starting signal.
7. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs are executable by the one or more processors to cause the one or more processors to implement the connection method of any one of claims 1-4.
8. A screenless terminal, comprising:
the audio acquisition module is used for receiving the sound wave signals and transcribing the sound wave signals into audio signals in a preset format;
the audio decoding module is used for demodulating the audio signal and generating source information contained in the sound wave signal;
one or more processors;
a storage device for storing one or more programs,
the one or more programs are executable by the one or more processors to cause the one or more processors to implement the connection method of any one of claims 5-6.
CN201710736054.8A 2017-08-24 2017-08-24 Connection method, server and terminal Active CN107566884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710736054.8A CN107566884B (en) 2017-08-24 2017-08-24 Connection method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710736054.8A CN107566884B (en) 2017-08-24 2017-08-24 Connection method, server and terminal

Publications (2)

Publication Number Publication Date
CN107566884A CN107566884A (en) 2018-01-09
CN107566884B true CN107566884B (en) 2020-03-03

Family

ID=60975772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710736054.8A Active CN107566884B (en) 2017-08-24 2017-08-24 Connection method, server and terminal

Country Status (1)

Country Link
CN (1) CN107566884B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777596B (en) * 2018-05-30 2022-03-08 上海惠芽信息技术有限公司 Communication method, communication system and computer readable storage medium based on sound wave
CN111970558A (en) * 2020-10-19 2020-11-20 深圳乐播科技有限公司 Screen projection method, device, equipment and storage medium based on sound wave communication
CN112637147B (en) * 2020-12-13 2022-08-05 青岛希望鸟科技有限公司 Method, terminal and server for establishing and connecting communication service through audio
WO2023102804A1 (en) * 2021-12-09 2023-06-15 青岛希望鸟科技有限公司 Method for creating and connecting communication service through audio, and terminal and server

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998138A (en) * 2009-08-25 2011-03-30 北京达鸣慧科技有限公司 Television channel monitoring system and real-time monitoring method thereof
CN102984575A (en) * 2012-12-10 2013-03-20 潍坊海数新媒体技术有限公司 Integrated digital television and sound machine and control realizing method thereof
CN103117836A (en) * 2011-11-10 2013-05-22 斯凯普公司 Device association
CN103795950A (en) * 2014-02-21 2014-05-14 深圳创维-Rgb电子有限公司 Television audio signal processing device
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
CN103929673A (en) * 2014-04-30 2014-07-16 广州视源电子科技股份有限公司 System and method for pushing smart television voice to mobile terminal
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system
CN205336296U (en) * 2016-01-28 2016-06-22 武汉众城比特科技有限公司 Wireless shield assembly
CN105915293A (en) * 2016-06-28 2016-08-31 成都育芽科技有限公司 Voice digital information transmission system and method based on wireless acoustic signals
CN106209899A (en) * 2016-07-31 2016-12-07 许琴琴 A kind of recognition methods based on sound wave and device
CN107046523A (en) * 2016-11-22 2017-08-15 深圳大学 A kind of simultaneous interpretation method and client based on individual mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998138A (en) * 2009-08-25 2011-03-30 北京达鸣慧科技有限公司 Television channel monitoring system and real-time monitoring method thereof
CN103117836A (en) * 2011-11-10 2013-05-22 斯凯普公司 Device association
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
CN102984575A (en) * 2012-12-10 2013-03-20 潍坊海数新媒体技术有限公司 Integrated digital television and sound machine and control realizing method thereof
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system
CN103795950A (en) * 2014-02-21 2014-05-14 深圳创维-Rgb电子有限公司 Television audio signal processing device
CN103929673A (en) * 2014-04-30 2014-07-16 广州视源电子科技股份有限公司 System and method for pushing smart television voice to mobile terminal
CN205336296U (en) * 2016-01-28 2016-06-22 武汉众城比特科技有限公司 Wireless shield assembly
CN105915293A (en) * 2016-06-28 2016-08-31 成都育芽科技有限公司 Voice digital information transmission system and method based on wireless acoustic signals
CN106209899A (en) * 2016-07-31 2016-12-07 许琴琴 A kind of recognition methods based on sound wave and device
CN107046523A (en) * 2016-11-22 2017-08-15 深圳大学 A kind of simultaneous interpretation method and client based on individual mobile terminal

Also Published As

Publication number Publication date
CN107566884A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566884B (en) Connection method, server and terminal
CN106776124B (en) Data backup method and device
US20110295926A1 (en) Monitor device for collecting audience research data
CN104125265B (en) Program interaction method, device, terminal, server and system
CN108093444B (en) Wireless network transmission rate control method and device, terminal equipment and storage medium
CN108495248B (en) Positioning method, positioning device, audio playing equipment and storage medium
CN106685800B (en) The based reminding method and device of information
CN110097884B (en) Voice interaction method and device
EP2995086B1 (en) Paired devices
CN102571147A (en) Sound processing apparatus, method, and program
CN103581853A (en) Method and device for voice broadcast of text message on mobile phone
CN108632718B (en) Audio sharing method and system
CN111475359A (en) System testing method, device and storage medium under multi-message interaction scene
CN108366290A (en) The method for filling in identifying code
CN108319440B (en) Audio output method and mobile terminal
KR20150050099A (en) Method for saving connection information using sound data and apparatus for performing the same
CN112382304A (en) Bluetooth audio repairing method, device, equipment and medium
CN113516991A (en) Audio playing and equipment management method and device based on group session
CN113766385B (en) Earphone noise reduction method and device
US9485458B2 (en) Data processing method and device
CN104750453B (en) A kind of information processing method and electronic equipment
CN108260115A (en) Bluetooth equipment position information processing method, device, terminal device and storage medium
CN115002493A (en) Interaction method and device for live broadcast training, electronic equipment and storage medium
CN111132108B (en) Information processing method and electronic equipment
CN109120776B (en) Radio station searching method and terminal

Legal Events

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