WIFI sharing connection method, television terminal and mobile terminal

By establishing a WIFI sharing connection mode between the TV and the mobile terminal, the problem of cumbersome password input when the TV connects to WIFI is solved, and the automatic connection to WIFI is realized, which simplifies the network configuration process and improves user experience and data transmission effect.

CN119603795APending Publication Date: 2025-03-11SHENZHEN KONKA ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411805976.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

When connecting to WIFI, an existing TV needs to manually enter the WIFI password, which is cumbersome and error-prone, which increases the difficulty and time cost of connection.

Method used

The TV end enters the WIFI sharing connection mode, starts the TV hotspot, the mobile end automatically disconnects the connected WIFI and records the WIFI information, connects the TV hotspot and establishes a socket connection with the TV end, sends WIFI information and matches, and the TV end automatically connects WIFI based on the received WIFI information.

Benefits of technology

No need to manually enter WIFI passwords, simplifies the network configuration process of smart TVs, improves user experience, and transmits data through socket connections, reducing the situation of subcontracted transmission and improving the data transmission effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603795A_ABST
    Figure CN119603795A_ABST
Patent Text Reader

Abstract

The invention discloses a WIFI sharing connection method, a television terminal and a mobile terminal, and the method comprises the steps: enabling the television terminal to enter a WIFI sharing connection mode, and starting a television hotspot; the mobile terminal enters a WIFI sharing connection mode, the connected WIFI is disconnected, and WIFI information corresponding to the WIFI is recorded; the mobile terminal is connected with the television hotspot and establishes socket connection with the television terminal; the mobile terminal sends WIFI information to the television terminal, then carries out WIFI scanning, sends matching success information to the television terminal if the WIFI exists in the surrounding environment, then disconnects the socket connection with the television terminal, and then disconnects the connection with the television hotspot; and the television end closes the television hotspot and is connected with the WIFI according to the WIFI information. According to the invention, the television end can be directly connected with WIFI without manually inputting WIFI information, which is convenient and efficient, and the difficulty and time cost of connecting the television with the WIFI are effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a WIFI sharing connection method, a television terminal and a mobile terminal. Background Art

[0002] Smart TVs have become an indispensable part of modern home entertainment. Currently, TVs use remote controls for human-computer interaction by default. When trying to connect to WIFI, you need to enter a password, which means using the remote control to select WIFI on the TV and enter a series of complex and lengthy passwords. This is not only cumbersome but also prone to errors. Once an error is made, the user has to repeat the entire process, which undoubtedly increases the difficulty and time cost of connecting the TV to WIFI.

[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0004] The main purpose of the present invention is to provide a WIFI sharing connection method, a TV terminal and a mobile terminal, aiming to solve the problem that the existing TV connection WIFI method requires manual input of the WIFI password, which is cumbersome and error-prone.

[0005] To achieve the above-mentioned object of the invention, the present invention provides a WIFI sharing connection method, which is applied to a TV terminal and includes:

[0006] The TV terminal enters the WIFI sharing connection mode, starts the TV hotspot for the mobile terminal to connect, and the TV terminal establishes a socket connection with the mobile terminal;

[0007] The TV terminal receives the WIFI information sent by the mobile terminal, and adds a mark to the WIFI information, wherein the WIFI information is the information of the WIFI that the mobile terminal last connected to;

[0008] The TV terminal receives the matching success information sent by the mobile terminal, wherein the matching success information indicates that the WIFI scanning result of the mobile terminal matches the WIFI successfully;

[0009] After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is turned off and the TV hotspot is connected to the WIFI according to the WIFI information.

[0010] Optionally, the television terminal receives the WIFI information sent by the mobile terminal, and adds a mark to the WIFI information, specifically including:

[0011] The TV terminal receives the WIFI information sent by the mobile terminal through the socket connection, wherein the transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type;

[0012] The TV terminal parses the WIFI information to obtain a first WIFI name, a first WIFI password, and a first WIFI encryption type in the WIFI information;

[0013] The TV end stores the first WIFI name, the first WIFI password and the first WIFI encryption type, and marks the WIFI corresponding to the WIFI information as the WIFI to be connected.

[0014] Optionally, the television terminal receives the matching success information sent by the mobile terminal, specifically including:

[0015] The TV terminal receives the matching success information sent by the mobile terminal through the socket connection;

[0016] After receiving the successful matching information, the TV terminal feeds back to the mobile terminal that the successful matching information has been received.

[0017] Optionally, after the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is turned off, and the TV hotspot is connected to the WIFI according to the WIFI information, specifically including:

[0018] After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV terminal turns off the TV hotspot;

[0019] The TV terminal connects to the WIFI to be connected according to the first WIFI name, the first WIFI password and the first WIFI encryption type.

[0020] In addition, to achieve the above-mentioned purpose of the invention, the present invention also provides a TV terminal, which includes: a first memory, a first processor, and a first WIFI sharing connection program stored in the first memory and executable on the first processor, and when the first WIFI sharing connection program is executed by the first processor, the steps of the WIFI sharing connection method described above are implemented.

[0021] In addition, in order to achieve the above-mentioned purpose of the invention, the present invention also provides a WIFI sharing connection method, which is applied to a mobile terminal and includes:

[0022] The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI. The mobile terminal is connected to the TV hotspot, and the mobile terminal establishes a socket connection with the TV terminal;

[0023] The mobile terminal sends the WIFI information to the TV terminal;

[0024] The mobile terminal performs a WIFI scan, matches the WIFI scan result with the WIFI, and if the WIFI scan result matches the WIFI successfully, sends a matching success message to the TV terminal;

[0025] The mobile terminal disconnects from the TV hotspot.

[0026] Optionally, the mobile terminal enters a WIFI sharing connection mode, automatically disconnects the connected WIFI, and records WIFI information corresponding to the WIFI, the mobile terminal is connected to a TV hotspot, and the mobile terminal establishes a socket connection with the TV terminal, specifically including:

[0027] The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI;

[0028] The mobile terminal automatically connects to the TV hotspot according to the saved second WIFI name, second WIFI password and second WIFI encryption type corresponding to the TV hotspot;

[0029] After the mobile terminal is successfully connected to the TV hotspot, a socket connection is established between the mobile terminal and the TV terminal, wherein the socket connection is used to transmit data.

[0030] Optionally, the mobile terminal sends the WIFI information to the TV terminal, specifically including:

[0031] The mobile terminal sends the WIFI information to the TV terminal, wherein the WIFI information includes a first WIFI name, a first WIFI password, and a first WIFI encryption type corresponding to the WIFI that the mobile terminal last connected to;

[0032] The transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type.

[0033] Optionally, the mobile terminal performs a WIFI scan, matches the WIFI scan result with the WIFI, and if the WIFI scan result matches the WIFI successfully, sends a matching success message to the TV terminal, specifically including:

[0034] The mobile terminal performs WIFI scanning to search for WIFI in the surrounding environment;

[0035] The mobile terminal matches the WIFI scanning result with the WIFI whose WIFI information has been recorded;

[0036] If the WIFI exists in the WIFI scanning result, a matching success message is sent to the TV end;

[0037] After the mobile terminal sends the matching success information to the TV terminal, the socket connection with the TV terminal is disconnected.

[0038] In addition, to achieve the above-mentioned purpose of the invention, the present invention also provides a mobile terminal, which includes: a second memory, a second processor, and a second WIFI sharing connection program stored in the second memory and executable on the second processor, and when the second WIFI sharing connection program is executed by the second processor, the steps of the WIFI sharing connection method described above are implemented.

[0039] In the present invention, the TV end enters the WIFI sharing connection mode and starts the TV hotspot; the mobile end enters the WIFI sharing connection mode, automatically disconnects the connected WIFI and records the WIFI information corresponding to the WIFI; the mobile end automatically connects to the TV hotspot, and the mobile end establishes a socket connection with the TV end; the mobile end sends WIFI information to the TV end, and then performs a WIFI scan. If the WIFI is found to exist in the surrounding environment, a matching success message is sent to the TV end, and then the socket connection with the TV end is disconnected, and then the connection with the TV hotspot is disconnected; the TV end turns off the TV hotspot and connects to the WIFI according to the WIFI information. The TV end of the present invention can directly connect to the WIFI without manually inputting the WIFI information, which is convenient and efficient, and effectively reduces the difficulty and time cost of connecting the TV to the WIFI; simplifies the network configuration process of the smart TV, and improves the user experience; uses the socket connection to transmit data, and the maximum supported data volume is much larger than the wireless frame, which reduces the situation of packet transmission, and the data transmission effect is better. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of a preferred embodiment of the WIFI sharing connection method of the present invention applied to a TV terminal;

[0041] Figure 2It is a flow chart of a preferred embodiment of the WIFI sharing connection method of the present invention applied to a mobile terminal;

[0042] Figure 3 It is a flow chart of a preferred embodiment of the WIFI sharing connection method of the present invention;

[0043] Figure 4 It is a structural diagram of a preferred embodiment of the television terminal of the present invention;

[0044] Figure 5 It is a structural diagram of a preferred embodiment of the mobile terminal of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0046] Smart TVs have become an indispensable part of modern home entertainment. Currently, TVs use remote controls for human-computer interaction by default. When trying to connect to WIFI, you need to enter a password, which means using the remote control to select WIFI on the TV and enter a series of complex and lengthy passwords. This is not only cumbersome but also prone to errors. Once an error is made, the user has to repeat the entire process, which undoubtedly increases the difficulty and time cost of connecting the TV to WIFI.

[0047] In order to solve the above technical problems, the present invention provides a WIFI sharing connection method, the TV end enters the WIFI sharing connection mode, and starts the TV hotspot; the mobile end enters the WIFI sharing connection mode, automatically disconnects the connected WIFI and records the WIFI information corresponding to the WIFI; the mobile end automatically connects to the TV hotspot, and the mobile end establishes a socket connection with the TV end; the mobile end sends WIFI information to the TV end, and then performs a WIFI scan. If the WIFI is found to exist in the surrounding environment, a matching success message is sent to the TV end, and then the socket connection with the TV end is disconnected, and then the connection with the TV hotspot is disconnected; the TV end turns off the TV hotspot and connects to the WIFI according to the WIFI information. The TV end of the present invention can directly connect to WIFI without manually inputting WIFI information, which is convenient and efficient, and effectively reduces the difficulty and time cost of connecting the TV to WIFI; simplifies the network configuration process of the smart TV, and improves the user experience; uses the socket connection to transmit data, and the maximum supported data volume is much larger than the wireless frame, which reduces the situation of packet transmission, and the data transmission effect is better.

[0048] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.

[0049] The preferred embodiment of the WIFI sharing connection method of the present invention is applied to the TV terminal, such as Figure 1 and Figure 3 As shown, specifically including:

[0050] A1. The TV terminal enters the WIFI sharing connection mode, starts the TV hotspot for the mobile terminal to connect, and the TV terminal establishes a socket connection with the mobile terminal.

[0051] In one implementation of this embodiment, the TV terminal enters the WIFI sharing connection mode, starts the hotspot function (i.e., starts the TV hotspot), sets the WIFI name (i.e., the second WIFI name) of the TV hotspot to WiFiShare, the WIFI password (i.e., the second WIFI password) to WiFiShare, and the WIFI encryption type (i.e., the second WIFI encryption type) to WPA / WPA2. After the mobile terminal is connected to the TV hotspot, a socket connection is established between the TV terminal and the mobile terminal for data transmission. The present invention uses a socket connection to transmit data, and the maximum supported data volume is much larger than the wireless frame, which reduces the situation of packet transmission and has a better data transmission effect.

[0052] A2. The TV terminal receives the WIFI information sent by the mobile terminal and adds a mark to the WIFI information, wherein the WIFI information is the information of the WIFI to which the mobile terminal last connected.

[0053] In an implementation of this embodiment, the TV terminal receives the WIFI information sent by the mobile terminal, and adds a mark to the WIFI information, specifically including:

[0054] A21, the TV terminal receives the WIFI information sent by the mobile terminal through the socket connection, wherein the transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type;

[0055] A22, the TV terminal parses the WIFI information to obtain a first WIFI name, a first WIFI password, and a first WIFI encryption type in the WIFI information;

[0056] A23. The TV terminal stores the first WIFI name, the first WIFI password and the first WIFI encryption type, and marks the WIFI corresponding to the WIFI information as the WIFI to be connected.

[0057] Specifically, the mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the information of the WIFI for subsequent transmission to the TV terminal. Based on this, when a socket connection is established between the TV terminal and the mobile terminal, the mobile terminal sends the information of the last connected WIFI to the TV terminal. After receiving the information transmitted by the mobile terminal, the TV terminal parses it, stores the parsed first WIFI name, first WIFI password and first WIFI encryption type to the TV terminal, and marks the WIFI information as the WIFI to be connected.

[0058] A3. The TV terminal receives the matching success information sent by the mobile terminal, wherein the matching success information indicates that the WIFI scanning result of the mobile terminal matches the WIFI successfully.

[0059] In an implementation of this embodiment, the television terminal receives the matching success information sent by the mobile terminal, specifically including:

[0060] A31: The TV terminal receives the matching success information sent by the mobile terminal through the socket connection;

[0061] A32: After receiving the successful matching information, the TV terminal feeds back to the mobile terminal that the successful matching information has been received.

[0062] Specifically, the TV receives and parses the WIFI information, marks the WIFI to be connected, and then the mobile terminal performs a WIFI scan to search for WIFI in the surrounding environment, and matches the WIFI scan result with the WIFI information saved by the mobile terminal. If the WIFI in the surrounding environment is matched, the matching success information is sent to the TV terminal. After receiving the matching success information, the TV terminal responds to the mobile terminal that the information has been received.

[0063] In another implementation of this embodiment, Figure 3 As shown, the mobile terminal can save the information of multiple connected WIFIs and send the multiple WIFI information to the TV terminal, and then perform a WIFI scan, match the WIFI scan results with all WIFI information saved by the mobile terminal, and send the matching existing WIFI information to the TV terminal. After receiving the WIFI information transmitted by the mobile terminal, the TV terminal parses it and stores the parsed WIFI name, WIFI password and WIFI encryption type on the TV terminal.

[0064] A4. After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, it turns off the TV hotspot and connects to the WIFI according to the WIFI information.

[0065] In an implementation of this embodiment, after the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is turned off, and the WIFI is connected according to the WIFI information, specifically including:

[0066] A41, after the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV terminal turns off the TV hotspot;

[0067] A42. The TV terminal connects to the WIFI to be connected according to the first WIFI name, the first WIFI password and the first WIFI encryption type.

[0068] Specifically, after the TV detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is closed, and the TV uses the parsed information marked as the WIFI to be connected to initiate a connection to the WIFI to be connected. Through the above process, the present invention greatly simplifies the network configuration process of the smart TV and improves the user experience.

[0069] In addition, based on the above-mentioned WIFI sharing connection method, the present invention also provides a TV terminal accordingly, wherein a preferred embodiment of the TV terminal is as follows: Figure 4 As shown, it specifically includes a first processor 10 , a first memory 20 and a first display 30 . Figure 4 Only some components of the television end are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0070] In some embodiments, the first memory 20 may be an internal storage unit of the TV end, such as a hard disk or memory of the TV end. In other embodiments, the first memory 20 may also be an external storage device of the TV end, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card) equipped on the TV end. Further, the first memory 20 may also include both an internal storage unit of the TV end and an external storage device. The first memory 20 is used to store application software and various types of data installed on the TV end, such as storing program codes of the TV end. The first memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a first WIFI sharing connection program 40 is stored on the first memory 20, and the first WIFI sharing connection program 40 may be executed by the first processor 10, thereby realizing the steps of the WIFI sharing connection method (applied to the TV end) in this application.

[0071] In some embodiments, the first processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, and is used to run the program code stored in the first memory 20 or process data, such as executing the first WIFI sharing connection program 40.

[0072] In some embodiments, the first display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The first display 30 is used to display information on the TV side and to display a visual user interface.

[0073] In one embodiment, when the first processor 10 executes the first WIFI sharing connection program 40 in the first memory 20 , the steps of the above-mentioned WIFI sharing connection method (applied to the TV end) are implemented.

[0074] The preferred embodiment of the WIFI sharing connection method of the present invention is applied to a mobile terminal, such as Figure 2 and Figure 3 As shown, specifically including:

[0075] B1. The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI. The mobile terminal is connected to the TV hotspot, and the mobile terminal establishes a socket connection with the TV terminal.

[0076] In an implementation of this embodiment, the mobile terminal enters a WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI. The mobile terminal is connected to a TV hotspot, and a socket connection is established between the mobile terminal and the TV terminal, specifically including:

[0077] B11, the mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI;

[0078] B12, the mobile terminal automatically connects to the TV hotspot according to the saved second WIFI name, second WIFI password and second WIFI encryption type corresponding to the TV hotspot;

[0079] B13. After the mobile terminal is successfully connected to the TV hotspot, a socket connection is established between the mobile terminal and the TV terminal, wherein the socket connection is used to transmit data.

[0080] Specifically, the mobile terminal enters the WIFI sharing connection mode, the mobile terminal automatically disconnects the connected WIFI, and records the WIFI information for subsequent transmission to the TV terminal. The mobile terminal automatically finds the hotspot with the highest signal strength and the WIFI name SSID WiFiShare on the WIFI list page of the WIFI sharing connection mode, and automatically enters the WIFI password to connect. After the mobile terminal successfully connects to the TV hotspot, the mobile terminal establishes a socket connection (i.e., a TCP socket connection) with the TV terminal.

[0081] B2. The mobile terminal sends the WIFI information to the TV terminal.

[0082] In an implementation of this embodiment, the mobile terminal sends the WIFI information to the TV terminal, specifically including:

[0083] The mobile terminal sends the WIFI information to the TV terminal, wherein the WIFI information includes a first WIFI name, a first WIFI password, and a first WIFI encryption type corresponding to the WIFI that the mobile terminal last connected to;

[0084] The transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type.

[0085] Specifically, the mobile terminal sends the last connected WIFI configuration information (ie, WIFI information) to the TV terminal in the following format: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type, for example: SSID: HomeNetwork; PASSWORD: mypassword123; SECURITY: WPA2. The present invention transmits WIFI information in DATA data packets.

[0086] B3. The mobile terminal performs a WIFI scan and matches the WIFI scan result with the WIFI. If the WIFI scan result matches the WIFI successfully, a matching success message is sent to the TV terminal.

[0087] In an implementation of this embodiment, the mobile terminal performs a WIFI scan, matches the WIFI scan result with the WIFI, and if the WIFI scan result matches the WIFI successfully, sends a matching success message to the TV terminal, specifically including:

[0088] B31, the mobile terminal performs WIFI scanning to search for WIFI in the surrounding environment;

[0089] B32, the mobile terminal matches the WIFI scanning result with the WIFI whose WIFI information has been recorded;

[0090] B33, if the WIFI exists in the WIFI scanning result, a matching success message is sent to the TV end;

[0091] B34. After sending a matching success message to the TV end, the mobile end disconnects the socket connection with the TV end.

[0092] B4. The mobile terminal disconnects from the TV hotspot.

[0093] Specifically, the mobile terminal performs a WIFI scan to search for WIFI in the surrounding environment, and matches the WIFI scan result with the WIFI information saved by the mobile terminal. If the WIFI is matched in the surrounding environment, the matching success information is sent to the TV terminal. After receiving the matching success information, the TV terminal responds that the mobile terminal has received the information. After receiving the response from the TV terminal, the mobile terminal actively disconnects the socket connection with the TV terminal, and then disconnects the connection with the TV hotspot.

[0094] In another implementation of this embodiment, Figure 3 As shown, the mobile terminal can save the information of multiple connected WIFIs, and send the multiple WIFI information to the TV terminal, and then perform a WIFI scan, match the WIFI scan result with all the WIFI information saved by the mobile terminal, and send the information of the matched existing WIFI, that is, the information of the successfully matched WIFI, that is, the information of the WIFI existing in the surrounding environment to the TV terminal. After receiving the WIFI information transmitted by the mobile terminal, the TV terminal parses it and stores the parsed WIFI name, WIFI password and WIFI encryption type in the TV terminal.

[0095] In addition, based on the above-mentioned WIFI sharing connection method, the present invention also provides a mobile terminal accordingly, wherein a preferred embodiment of the mobile terminal is as follows: Figure 5 As shown, it specifically includes a second processor 01, a second memory 02 and a second display 03. Figure 5 Only some components of the mobile terminal are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.

[0096] The second memory 02 may be an internal storage unit of the mobile terminal in some embodiments, such as a hard disk or memory of the mobile terminal. The second memory 02 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card) equipped on the mobile terminal. Further, the second memory 02 may also include both an internal storage unit of the mobile terminal and an external storage device. The second memory 02 is used to store application software and various types of data installed on the mobile terminal, such as storing program codes of the mobile terminal. The second memory 02 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a second WIFI sharing connection program 04 is stored on the second memory 02, and the second WIFI sharing connection program 04 may be executed by the second processor 01, thereby realizing the steps of the WIFI sharing connection method (applied to the mobile terminal) in this application.

[0097] In some embodiments, the second processor 01 may be a central processing unit (CPU), a microprocessor or other data processing chip, and is used to run program codes or process data stored in the second memory 02, such as executing the second WIFI sharing connection program 04.

[0098] In some embodiments, the second display 03 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The second display 03 is used to display information on the mobile terminal and to display a visual user interface.

[0099] In one embodiment, when the second processor 01 executes the second WIFI sharing connection program 04 in the second memory 02 , the steps of the above-mentioned WIFI sharing connection method (applied to a mobile terminal) are implemented.

[0100] Taking a television (television end) and a mobile phone (mobile end) as examples, the WIFI sharing connection method of the present invention is supplemented.

[0101] Embodiment 1:

[0102] A WIFI sharing connection method is applied to TV and mobile phone, such as Figure 3 As shown, the following steps are included:

[0103] Step 1: Start the hotspot on TV.

[0104] 1) The TV enters the WIFI sharing connection mode;

[0105] 2) Enable the hotspot function on the TV, set the SSID of the TV hotspot to "WiFiShare", the WIFI password to "WiFiShare", and the WIFI encryption type to WPA2.

[0106] Step 2: Connect your phone to the TV hotspot.

[0107] 1) After the mobile phone enters the WIFI sharing connection mode, disconnect the connected WIFI, and then record and save the WIFI information for subsequent sending to the TV;

[0108] 2) Search the TV hotspot "WiFiShare" in the WIFI list on your mobile phone, and automatically enter the password "WiFiShare" to connect;

[0109] 3) After the mobile phone successfully connects to the TV hotspot, the mobile phone establishes a socket connection with the TV.

[0110] Step 3: The mobile phone sends WIFI information.

[0111] The mobile phone sends the last connected WIFI configuration information to the TV using the following format:

[0112] SSID: HomeNetwork; PASSWORD: mypassword123; SECURITY: WPA2.

[0113] Step 4: The TV receives and parses the WIFI information.

[0114] 1) The TV receives the WIFI information sent by the mobile phone;

[0115] 2) The TV parses the WIFI information, extracts the WIFI name "HomeNetwork", the WIFI password "mypassword123" and the WIFI encryption type "WPA2", and adds a mark for subsequent connection.

[0116] Step 5: The phone scans the surrounding WIFI and sends matching information.

[0117] 1) Use your mobile phone to scan WIFI and find surrounding WIFI networks;

[0118] 2) The mobile phone matches the scan results with the saved WIFI information;

[0119] 3) For the successfully matched WIFI, the mobile phone sends the matching success information or the information of the successfully matched WIFI to the TV;

[0120] 4) After the TV receives the matching success information or the WIFI matching success information, it replies that the mobile phone has received the information.

[0121] Step 6: Connect the TV to WIFI.

[0122] 1) Disconnect the socket between the mobile phone and the TV;

[0123] 2) Turn off the TV hotspot;

[0124] 3) The TV uses the parsed WIFI information to connect to the "HomeNetwork" network.

[0125] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, TV terminal or mobile terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, TV terminal or mobile terminal. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article, TV terminal or mobile terminal including the element.

[0126] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0127] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A WIFI sharing connection method, characterized in that: The WIFI sharing connection method is applied to a TV end, and the WIFI sharing connection method includes: The TV terminal enters the WIFI sharing connection mode, starts the TV hotspot for the mobile terminal to connect, and the TV terminal establishes a socket connection with the mobile terminal; The TV terminal receives the WIFI information sent by the mobile terminal, and adds a mark to the WIFI information, wherein the WIFI information is the information of the WIFI that the mobile terminal last connected to; The TV terminal receives the matching success information sent by the mobile terminal, wherein the matching success information indicates that the WIFI scanning result of the mobile terminal matches the WIFI successfully; After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is turned off and the TV hotspot is connected to the WIFI according to the WIFI information.

2. The WIFI sharing connection method according to claim 1, characterized in that: The TV terminal receives the WIFI information sent by the mobile terminal, and adds a mark to the WIFI information, specifically including: The TV terminal receives the WIFI information sent by the mobile terminal through the socket connection, wherein the transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type; The TV terminal parses the WIFI information to obtain a first WIFI name, a first WIFI password, and a first WIFI encryption type in the WIFI information; The TV end stores the first WIFI name, the first WIFI password and the first WIFI encryption type, and marks the WIFI corresponding to the WIFI information as the WIFI to be connected.

3. The WIFI sharing connection method according to claim 1, characterized in that: The TV terminal receives the matching success information sent by the mobile terminal, specifically including: The TV terminal receives the matching success information sent by the mobile terminal through the socket connection; After receiving the successful matching information, the TV terminal feeds back to the mobile terminal that the successful matching information has been received.

4. The WIFI sharing connection method according to claim 2, characterized in that: After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV hotspot is turned off, and the TV hotspot is connected to the WIFI according to the WIFI information, specifically including: After the TV terminal detects that the mobile terminal is disconnected from the TV hotspot, the TV terminal turns off the TV hotspot; The TV terminal connects to the WIFI to be connected according to the first WIFI name, the first WIFI password and the first WIFI encryption type.

5. A television terminal, characterized in that: The TV terminal includes: a first memory, a first processor, and a first WIFI sharing connection program stored in the first memory and executable on the first processor. When the first WIFI sharing connection program is executed by the first processor, the steps of the WIFI sharing connection method according to any one of claims 1 to 4 are implemented.

6. A WIFI sharing connection method, characterized in that: The WIFI sharing connection method is applied to a mobile terminal, and the WIFI sharing connection method includes: The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI. The mobile terminal is connected to the TV hotspot, and the mobile terminal establishes a socket connection with the TV terminal; The mobile terminal sends the WIFI information to the TV terminal; The mobile terminal performs a WIFI scan, matches the WIFI scan result with the WIFI, and if the WIFI scan result matches the WIFI successfully, sends a matching success message to the TV terminal; The mobile terminal disconnects from the TV hotspot.

7. The WIFI sharing connection method according to claim 6, characterized in that: The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI. The mobile terminal is connected to the TV hotspot, and the mobile terminal establishes a socket connection with the TV terminal, specifically including: The mobile terminal enters the WIFI sharing connection mode, automatically disconnects the connected WIFI, and records the WIFI information corresponding to the WIFI; The mobile terminal automatically connects to the TV hotspot according to the saved second WIFI name, second WIFI password and second WIFI encryption type corresponding to the TV hotspot; After the mobile terminal is successfully connected to the TV hotspot, a socket connection is established between the mobile terminal and the TV terminal, wherein the socket connection is used to transmit data.

8. The WIFI sharing connection method according to claim 7, characterized in that: The mobile terminal sends the WIFI information to the TV terminal, specifically including: The mobile terminal sends the WIFI information to the TV terminal, wherein the WIFI information includes a first WIFI name, a first WIFI password, and a first WIFI encryption type corresponding to the WIFI that the mobile terminal last connected to; The transmission format of the WIFI information is: SSID: WIFI name; PASSWORD: WIFI password; SECURITY: WIFI encryption type.

9. The WIFI sharing connection method according to claim 6, characterized in that: The mobile terminal performs a WIFI scan, matches the WIFI scan result with the WIFI, and if the WIFI scan result matches the WIFI successfully, sends a matching success message to the TV terminal, specifically including: The mobile terminal performs WIFI scanning to search for WIFI in the surrounding environment; The mobile terminal matches the WIFI scanning result with the WIFI whose WIFI information has been recorded; If the WIFI exists in the WIFI scanning result, a matching success message is sent to the TV end; After the mobile terminal sends the matching success information to the TV terminal, the socket connection with the TV terminal is disconnected.

10. A mobile terminal, characterized in that: The mobile terminal includes: a second memory, a second processor, and a second WIFI sharing connection program stored in the second memory and executable on the second processor. When the second WIFI sharing connection program is executed by the second processor, the steps of the WIFI sharing connection method according to any one of claims 6 to 9 are implemented.