CN111148186A - WIFI connection method, electronic device and medium - Google Patents

WIFI connection method, electronic device and medium Download PDF

Info

Publication number
CN111148186A
CN111148186A CN201911406714.1A CN201911406714A CN111148186A CN 111148186 A CN111148186 A CN 111148186A CN 201911406714 A CN201911406714 A CN 201911406714A CN 111148186 A CN111148186 A CN 111148186A
Authority
CN
China
Prior art keywords
information
wifi
target wifi
target
sound wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911406714.1A
Other languages
Chinese (zh)
Inventor
孙丹青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911406714.1A priority Critical patent/CN111148186A/en
Publication of CN111148186A publication Critical patent/CN111148186A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a WIFI connection method, electronic equipment and a medium. The method comprises the following steps: acquiring a first sound wave signal; demodulating the first sound wave signal to obtain demodulation information; and under the condition that the demodulation information comprises target WIFI information, connecting target WIFI corresponding to the target WIFI information through the target WIFI information. According to the WIFI connection method, the electronic equipment and the medium, the WIFI connection efficiency is improved.

Description

WIFI connection method, electronic device and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an electronic device, and a medium for connecting to WIFI.
Background
Currently, when a user needs to connect to a wireless network in a public area during the process of using an electronic device in the public area, the user is generally required to actively search login information for logging in the wireless network in the public area. The user then manually enters the login information into the electronic device.
The wireless network is connected through manual work, the consumed time is longer, and the efficiency of connecting the wireless network is reduced.
Disclosure of Invention
The embodiment of the invention provides a method, electronic equipment and medium for connecting WIFI, and aims to solve the problem of low efficiency of connecting a wireless network.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for connecting WIFI is provided, which is applied to an electronic device, and includes:
acquiring a first sound wave signal;
demodulating the first sound wave signal to obtain demodulation information;
and under the condition that the demodulation information comprises target WIFI information, connecting target WIFI corresponding to the target WIFI information through the target WIFI information.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the sound wave signal acquisition module is used for acquiring a first sound wave signal;
the demodulation module is used for demodulating the first sound wave signal to obtain demodulation information;
and the WIFI connection module is used for connecting target WIFI corresponding to the target WIFI information through the target WIFI information under the condition that the demodulation information comprises the target WIFI information.
In a third aspect, an electronic device is provided, the device comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method of connecting to WIFI as provided by embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon, where the computer program instructions, when executed by a processor, implement the method for connecting WIFI according to an embodiment of the present invention.
In the embodiment of the invention, the target WIFI information is automatically demodulated from the first sound wave signal modulated with the target WIFI information, and the target WIFI corresponding to the target WIFI information is automatically connected through the target WIFI information, so that a user does not need to actively search for the target WIFI information or manually connect the WIFI, the operation steps of the user are reduced, and the efficiency of connecting the WIFI is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for connecting WIFI according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a first prompt message according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating push information provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of a recommendation service page corresponding to push information provided in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in 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 to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
At present, if a user wants to connect to a wireless network, the user is generally required to actively search login information for logging in the wireless network, and then the login information is manually input into the electronic equipment, so that the time consumption is high, and the efficiency is low.
Based on this, embodiments of the present invention provide a method, an electronic device, and a medium for connecting a Wireless Fidelity (WIFI), which improve efficiency of connecting the WIFI. The following detailed description is to be read with reference to the specific drawings and examples.
Fig. 1 shows a schematic flowchart of a method for connecting WIFI according to an embodiment of the present invention. The method for connecting WIFI provided by the embodiment of the invention is applied to electronic equipment and comprises the steps of 110-130.
Step 110, a first acoustic signal is acquired.
The propagation of the vibration generated by the sounding body in air or other substances is called sound wave. Generally, a sound wave having a frequency of less than 20 hz is called an infrasonic wave. Sound waves with frequencies between 20 hz and 2 khz are called audio. Sound waves with a frequency greater than 2 khz are called ultrasound. That is, the sound wave signal generally includes an infrasonic wave signal, an audio signal, and an ultrasonic wave signal, or a mixed signal of two or more of these three signals.
In some embodiments of the present invention, the first acoustic signal may be an acoustic signal collected by an acoustic signal collecting device of the electronic device, such as a microphone, from another electronic device. For example, the first acoustic signal may be a signal emitted by an acoustic signal emitting device.
As one example, the acoustic signal emitting device may be a speaker, an ultrasonic transmitter, a television, a radio, or the like.
In other embodiments of the present invention, the first acoustic signal may also be a signal emitted by an acoustic signal emitting device of the electronic device itself. For example, the first acoustic signal may be music played by the electronic device itself.
And step 120, demodulating the first sound wave signal to obtain demodulation information.
In an embodiment of the present invention, the first acoustic wave signal may be a signal modulated with target transmission information. Therefore, the first acoustic wave signal needs to be demodulated to determine whether the first acoustic wave signal carries target transmission information.
In an embodiment of the present invention, the target transmission information may include WIFI information. In some embodiments, to enable automatic WIFI connectivity, the WIFI information includes a Service Set Identifier (SSID) and a WIFI password for WIFI.
In other embodiments, the target transmission information may further include push information such as coupon information, red packet information, discount information, membership right and benefit information, new product marketing information, and merchant activities.
And step 130, connecting target WIFI corresponding to the target WIFI information through the target WIFI information under the condition that the demodulation information includes the target WIFI information.
In the embodiment of the invention, the target WIFI information is automatically demodulated from the first sound wave signal modulated with the target WIFI information, and the target WIFI corresponding to the target WIFI information is automatically connected through the target WIFI information, so that a user does not need to actively search for the target WIFI information or manually connect the WIFI, the operation steps of the user are reduced, and the efficiency of connecting the WIFI is improved.
In some embodiments of the invention, the first acoustic signal comprises a signal obtained by modulating target transmission information in the second acoustic signal. That is, the target transmission information may be modulated in the second acoustic signal in advance to obtain the first acoustic signal.
The second acoustic signal may be an ultrasonic signal or an audio signal in the first audio frequency range. The first audio frequency range includes 20 hertz to 2 kilohertz.
The modulation method includes an analog modulation method, such as a frequency modulation method, a phase modulation method, or an amplitude modulation method. The modulation method may also include a digital modulation method such as amplitude keying, frequency shift keying, or phase shift keying.
As an example, the target transmission information may be encoded first, for example, the target transmission information may be encoded by using an encoding method such as a bipolar non-return-to-zero code, a unipolar non-return-to-zero code, or a manchester code. And then modulating the coding result corresponding to the target transmission information in the second sound wave signal by using a frequency shift keying modulation method to obtain a first sound wave signal.
In some embodiments, the second acoustic signal may be a sinusoidal ultrasonic signal. Through transmitting target transmission information modulation in ultrasonic signal, because ultrasonic signal can not be heard by people's ear, consequently can not influence user's auditory effect, accommodation is wider.
In other embodiments, the second acoustic signal may be an audio signal, such as a piece of music. By modulating the target transmission information in the audio signal for transmission, the transmission of the target transmission information can be realized without affecting the listening of the audio signal by a user.
By modulating the audio signal with different modulation methods, different parameters of the audio signal can be changed. For example, the second sound wave signal is a piece of music, and parameters such as frequency or amplitude of the audio signal can be changed through different modulation modes, that is, parameters such as tone or volume of the music can be changed. If the information to be transmitted is modulated in the high pitch part of a piece of music, the user does not notice that the pitch of the high pitch part is increased or decreased, so that the transmission of the information can be hidden by the high pitch part of the music.
In other embodiments, the first acoustic signal comprises: the third acoustic signal is inserted into the second acoustic signal. The third acoustic wave signal is an acoustic wave signal modulated with target transmission information. That is, the first acoustic signal is a signal in which the third acoustic signal and the second acoustic signal are fused.
As one example, the third acoustic wave signal is an ultrasonic wave signal modulated with target transmission information. If the second acoustic signal is an audio signal, the first acoustic signal can be obtained by inserting the ultrasonic signal modulated with the target transmission information into the audio signal.
In some embodiments, the third acoustic signal may be periodically inserted into the second acoustic signal, or inserted at a preset position of the second acoustic signal.
By fusing ultrasonic information in the audio signal, the information carried by the ultrasonic can be contained and not refracted and dispersed, and long-distance information transmission can be realized.
As another example, the third sound wave signal is an audio signal modulated with the target transmission information. If the second acoustic signal is also an audio signal, the audio signal modulated with the target transmission information is inserted into the second acoustic signal, and the transmission of the target transmission information can be realized without changing the original parameters of the second acoustic signal.
Note that the first acoustic signal includes a signal obtained by periodically modulating the target transmission information in the second acoustic signal.
By periodically modulating the target transmission information in the second acoustic wave signal, the electronic device can acquire the target WIFI information from a part of signals in the first acoustic wave signal, and the efficiency of acquiring the WIFI information is improved.
If the target transmission information is target WIFI information, the first sound wave signal comprises: and periodically modulating the target WIFI information into the signal obtained in the second sound wave signal.
In other embodiments, the first acoustic signal comprises: and inserting a third sound wave signal into the second sound wave signal to obtain a signal, wherein the third sound wave signal is a sound wave signal modulated with the target WIFI information.
In step 130, if the first acoustic signal is a signal obtained by modulating the target transmission information in the second acoustic signal by the target modulation method, the electronic device may demodulate the first acoustic signal by a demodulation method corresponding to the target modulation method. For example, if the target transmission information is modulated by a digital modulation method, the target transmission information can be demodulated by an incoherent demodulation method (for example, envelope detection method, frequency discrimination method, zero-crossing point detection method, or the like) and a coherent demodulation method (for example, synchronous detection method).
In some embodiments, the electronic device may further demodulate the first acoustic wave signal by using a plurality of preset demodulation methods. If the preset demodulation results of the multiple demodulation methods on the first sound wave signal are all failure, the first sound wave signal is considered not to carry the target transmission information.
It should be noted that, if the first acoustic signal includes a signal obtained by inserting the third acoustic wave into the second acoustic signal, the first acoustic signal may be filtered, and the second acoustic signal is filtered to obtain the third acoustic signal carrying the target transmission information. And then demodulating the target transmission information from the third acoustic signal by using a corresponding demodulation method.
It should be noted that, in step 130, it may be determined whether the target WIFI information is included in the demodulation information by determining whether the identification of the WIFI information is included in the demodulation information of the first acoustic wave signal. The WIFI information identification is used for indicating whether WIFI information is included.
Under the condition that the demodulation information of the first sound wave signal includes the target WIFI information, in step 130, the SSID and the WIFI connection password of the target WIFI are input into a WIFI module of the electronic device, and the target WIFI is connected.
In the embodiment of the invention, the SSID and the WIFI connection password of the target WIFI are automatically input into the WIFI module of the electronic equipment, so that the operation steps of a user are reduced, and the efficiency of WIFI connection is improved.
In some embodiments of the present invention, in order to meet personalized requirements of a user, in a case that it is determined that target WIFI information is included in the demodulated information of the first acoustic wave signal, before step 130, the method for connecting to WIFI provided by an embodiment of the present invention further includes displaying a first prompt message. The first prompt information is used for prompting whether the user is connected with the target WIFI or not.
On the basis of displaying the first prompt message, step 130 includes: receiving a first input of a user, wherein the first input is used for indicating connection target WIFI; and responding to the first input, and connecting the target WIFI through the target WIFI information.
In one example, if the first sound wave signal is music sent by a sound box of a certain market, target WIFI information corresponding to target WIFI of the certain market is modulated in the music. Referring to fig. 2, after the electronic device demodulates target WIFI information corresponding to target WIFI in a market from music played in the collected market, a "found market WIFI" is displayed, and a connection control and a disconnection control are displayed, so that a user can select whether to connect the target WIFI.
In some embodiments of the present invention, the first input may be a click input, a slide input, a long press input, or a preset gesture operation.
As one example, the first input is a single click input to a selection control, the input indicating a target WIFI of a connected mall. And the electronic equipment responds to the first input, and inputs the SSID and the WIFI connection password of the target WIFI of the market into a WIFI module in the electronic equipment, so that the target WIFI of the market is automatically connected.
In some embodiments, before step 110, the method for connecting WIFI provided by the embodiments of the present invention further includes controlling a sound wave signal collecting device of the electronic device to collect the first sound wave signal when the screen of the electronic device is in an unlocked state.
When electronic equipment is in the state of unblock, under the bright screen state promptly, then represent that the user needs to use electronic equipment, can need use wireless network, the sound wave signal acquisition device of control electronic equipment gathers first sound wave signal this moment to realize the automatic WIFI of connecting. When the screen of the electronic equipment is in an unlocked state, the sound wave signal acquisition device of the electronic equipment is controlled to acquire the first sound wave signal, so that the problem that the sound wave signal acquisition device of the electronic equipment is always in an open state and resources are wasted is avoided.
When the screen of the electronic equipment is in an unlocked state, but the sound wave signal acquisition device of the electronic equipment cannot acquire the first sound wave signal modulated with the target WIFI information, it is indicated that the user has left the coverage range of the target WIFI at the moment, and then the connection of the target WIFI is automatically disconnected.
In some embodiments of the present invention, the first acoustic signal may also be modulated with promotional information. In order to improve the popularization efficiency of the information, the method for connecting to WIFI provided by the embodiment of the present invention further includes step 140. And 140, displaying recommended content corresponding to the push information under the condition that the demodulation information of the first sound wave signal comprises the push information.
As an example, referring to fig. 3, if the push information is coupon information, recommended content corresponding to the coupon, that is, information including the amount of the coupon and the type of the coupon, is displayed.
In some embodiments, with continued reference to fig. 3, if the push information is coupon information or red packet information, the electronic device may also display a pickup control. When the user clicks the pick-up control, the user jumps to a page related to the coupon information, such as a page of a mei-ko or a service page of a merchant who can use the coupon.
Referring to fig. 4, if the pushed information is coupon information about a certain shopping mall, for example, a food sink, after the user picks up the coupon, the user automatically jumps to a service page related to the food sink, where information of different merchants at the food sink is displayed for the user to select.
As another example, if the push information is new product marketing information, the recommended content corresponding to the push information includes detailed introduction information of the new product.
The push information is automatically demodulated from the first sound wave signal, the recommendation content related to the recommendation information is displayed, and a user does not need to manually inquire the push information, so that not only can merchants be helped to accurately popularize, but also the steps of the user are reduced, and the information popularization efficiency is improved.
In some embodiments, the push information may also include deep links in the application. Deep linking, i.e. bypassing the link from the linked website home page directly to the pagination. That is, the deep link of the application is directly linked to the sub-service page of the application corresponding to the deep link, rather than the main page of the application.
Based on the push information including deep links in the application, step 140 includes displaying a page to which the deep links correspond.
In the embodiment of the invention, the deep link of the application program is modulated in the first sound wave signal, so that the service page corresponding to the connection can be directly displayed, the user does not need to open the application program and search for the page corresponding to the link, the operation steps of the user are reduced, and the popularization efficiency is improved.
Fig. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present invention. As shown in fig. 5, an electronic device 500 provided in an embodiment of the present invention includes:
and an acoustic wave signal acquiring module 510 for acquiring an acoustic wave signal.
And the demodulation module 520 is configured to demodulate the acoustic wave signal to obtain demodulation information.
And a WIFI connection module 530, configured to connect, when the demodulation information includes target WIFI information, target WIFI corresponding to the target WIFI information through the target WIFI information.
In the embodiment of the invention, the target WIFI information is automatically demodulated from the first sound wave signal modulated with the target WIFI information, and the target WIFI corresponding to the target WIFI information is automatically connected through the target WIFI information, so that a user does not need to actively search for the target WIFI information or manually connect the WIFI, the operation steps of the user are reduced, and the efficiency of connecting the WIFI is improved.
Optionally, in some embodiments of the present invention, in order to improve the connection efficiency of WIFI, the target WIFI information includes a service set identifier SSID and a WIFI connection password of the target WIFI.
Optionally, in some embodiments of the present invention, to improve the connection efficiency of WIFI, the WIFI connection module 530 is configured to: and inputting the SSID and the WIFI connection password of the target WIFI into a WIFI module of the electronic equipment to connect the target WIFI.
Optionally, in some embodiments of the present invention, in order to meet the personalized requirements of the user, the electronic device 500 further includes:
the first display module is used for displaying first prompt information, and the first prompt information is used for prompting whether a user is connected with the target WIFI or not.
Wherein, WIFI connection module 530 includes:
the first input receiving module is used for receiving a first input of a user, and the first input is used for indicating connection target WIFI.
And the WIFI connection unit is used for responding to the first input and connecting the target WIFI through the target WIFI information.
Optionally, in some embodiments of the present invention, in order to improve the connection efficiency of WIFI, the first acoustic signal includes: and periodically modulating the target WIFI information into the signal obtained in the second sound wave signal.
Or the like, or, alternatively,
the first acoustic signal includes: and inserting a third sound wave signal into the second sound wave signal to obtain a signal, wherein the third sound wave signal is a sound wave signal modulated with the target WIFI information.
The second acoustic signal is an ultrasonic signal or an audio signal within a first audio frequency range, and the first audio frequency range comprises 20 Hz to 2 kHz.
Optionally, in some embodiments of the present invention, in order to save resources, the electronic device 500 further includes:
the control module is used for controlling the sound wave signal acquisition device of the electronic equipment to acquire the first sound wave signal when the screen of the electronic equipment is in an unlocked state.
Optionally, in some embodiments of the present invention, in order to improve the efficiency of popularization, the electronic device 500 further includes:
and the second display module is used for displaying the recommended content corresponding to the push information under the condition that the demodulation information comprises the push information.
Optionally, in some embodiments of the invention, the push information includes deep links in the application in order to improve efficiency of promotion.
Wherein the second display module is configured to: and displaying the page corresponding to the deep link.
The electronic device 500 provided in the embodiment of the present invention can implement each process in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device 600 for implementing various embodiments of the present invention, where the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to acquire a first acoustic signal; demodulating the first sound wave signal to obtain demodulation information; and under the condition that the demodulation information comprises target WIFI information, connecting target WIFI corresponding to the target WIFI information through the target WIFI information.
According to the embodiment of the invention, the target WIFI information is automatically demodulated from the first sound wave signal modulated with the target WIFI information, and the target WIFI corresponding to the target WIFI information is automatically connected through the target WIFI information, so that a user does not need to actively search for the target WIFI information and manually connect the WIFI, the operation steps of the user are reduced, and the efficiency of connecting the WIFI is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave signal. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, further including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing method for connecting WIFI, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiment for connecting to WIFI, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A WIFI connection method is applied to electronic equipment and is characterized by comprising the following steps:
acquiring a first sound wave signal;
demodulating the first sound wave signal to obtain demodulation information;
and under the condition that the demodulation information comprises target WIFI information, connecting target WIFI corresponding to the target WIFI information through the target WIFI information.
2. The method of claim 1, wherein the targeted WIFI information comprises a Service Set Identification (SSID) and a WIFI connection password for the targeted WIFI.
3. The method of claim 2, wherein the connecting, through the target WIFI information, the target WIFI corresponding to the target WIFI information comprises:
and inputting the SSID and the WIFI connection password of the target WIFI into a WIFI module of the electronic equipment to connect the target WIFI.
4. The method of claim 1, wherein before the connecting, via the target WIFI information, a target WIFI corresponding to the target WIFI information, the method further comprises:
displaying first prompt information, wherein the first prompt information is used for prompting a user whether to connect the target WIFI;
wherein, through the target WIFI information, connecting the target WIFI corresponding to the target WIFI information includes:
receiving a first input of the user, wherein the first input is used for indicating connection with the target WIFI;
and responding to the first input, and connecting the target WIFI through the target WIFI information.
5. The method of claim 1, wherein the first acoustic signal comprises: periodically modulating the target WIFI information into a signal obtained from a second sound wave signal;
or the like, or, alternatively,
the first acoustic signal includes: inserting a third sound wave signal into the second sound wave signal to obtain a signal, wherein the third sound wave signal is a sound wave signal modulated with the target WIFI information;
the second acoustic signal is an ultrasonic signal or an audio signal within a first audio frequency range, and the first audio frequency range comprises 20 Hz to 2 kHz.
6. The method of claim 1, wherein prior to said acquiring the first acoustic signal, the method further comprises:
and controlling a sound wave signal acquisition device of the electronic equipment to acquire the first sound wave signal when the screen of the electronic equipment is in an unlocked state.
7. The method of claim 1, further comprising:
and displaying recommended content corresponding to the push information under the condition that the demodulation information comprises the push information.
8. The method of claim 7, wherein the push information includes deep links in an application;
wherein the displaying of the recommended content corresponding to the push information includes:
and displaying the page corresponding to the deep link.
9. An electronic device, comprising:
the sound wave signal acquisition module is used for acquiring a first sound wave signal;
the demodulation module is used for demodulating the first sound wave signal to obtain demodulation information;
and the WIFI connection module is used for connecting target WIFI corresponding to the target WIFI information through the target WIFI information under the condition that the demodulation information comprises the target WIFI information.
10. An electronic device, characterized in that the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method of connecting WIFI as claimed in any one of claims 1-8.
11. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of connecting to WIFI as claimed in any one of claims 1-8.
CN201911406714.1A 2019-12-31 2019-12-31 WIFI connection method, electronic device and medium Pending CN111148186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911406714.1A CN111148186A (en) 2019-12-31 2019-12-31 WIFI connection method, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911406714.1A CN111148186A (en) 2019-12-31 2019-12-31 WIFI connection method, electronic device and medium

Publications (1)

Publication Number Publication Date
CN111148186A true CN111148186A (en) 2020-05-12

Family

ID=70522417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911406714.1A Pending CN111148186A (en) 2019-12-31 2019-12-31 WIFI connection method, electronic device and medium

Country Status (1)

Country Link
CN (1) CN111148186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014330A (en) * 2021-02-18 2021-06-22 Oppo广东移动通信有限公司 Information processing method and device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104105163A (en) * 2014-07-08 2014-10-15 深圳市比巴科技有限公司 Sound wave sending method, sound wave receiving method, sound wave sending device, sound wave receiving device and sound wave system
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN105682188A (en) * 2016-01-19 2016-06-15 青岛海尔智能家电科技有限公司 WiFi network access method and device and WiFi access device
CN107094164A (en) * 2016-06-30 2017-08-25 口碑控股有限公司 A kind of information transferring method and device
CN108024309A (en) * 2017-12-06 2018-05-11 空气管家(北京)科技有限公司 Method for connecting network and system, terminal and electronic equipment based on sound wave

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104105163A (en) * 2014-07-08 2014-10-15 深圳市比巴科技有限公司 Sound wave sending method, sound wave receiving method, sound wave sending device, sound wave receiving device and sound wave system
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN105682188A (en) * 2016-01-19 2016-06-15 青岛海尔智能家电科技有限公司 WiFi network access method and device and WiFi access device
CN107094164A (en) * 2016-06-30 2017-08-25 口碑控股有限公司 A kind of information transferring method and device
CN108024309A (en) * 2017-12-06 2018-05-11 空气管家(北京)科技有限公司 Method for connecting network and system, terminal and electronic equipment based on sound wave

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014330A (en) * 2021-02-18 2021-06-22 Oppo广东移动通信有限公司 Information processing method and device, equipment and storage medium
CN113014330B (en) * 2021-02-18 2022-11-29 Oppo广东移动通信有限公司 Information processing method and device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108684029B (en) Bluetooth pairing connection method and system, Bluetooth device and terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN109194818B (en) Information processing method and terminal
CN104683456B (en) Method for processing business, server and terminal
CN108763316B (en) Audio list management method and mobile terminal
CN109739418B (en) Interaction method and terminal for multimedia playing application program
CN110099378B (en) Method, device, equipment and storage medium for determining incoming call attribution information
CN110971423A (en) Group creation method and electronic device
CN109189303B (en) Text editing method and mobile terminal
CN109327606B (en) Message reminding method and terminal
CN111026305A (en) Audio processing method and electronic equipment
CN110809267A (en) Device connection method, electronic device and computer readable storage medium
CN111131885A (en) Play control method and electronic equipment
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN107948278B (en) Information transmission method, terminal equipment and system
CN108632718B (en) Audio sharing method and system
CN110022551B (en) Information interaction method and terminal equipment
CN109888882B (en) Communication method, terminal equipment and power adapter
CN111148081A (en) Information interaction method and electronic equipment
CN109491964B (en) File sharing method and terminal
CN110784394A (en) Prompting method and electronic equipment
CN108391011B (en) Face recognition method and mobile terminal
CN111148186A (en) WIFI connection method, electronic device and medium
CN108430025B (en) Detection method and mobile terminal
CN108347527B (en) Incoming call prompting method and mobile 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200512

WD01 Invention patent application deemed withdrawn after publication