CN105246169A - Wireless connection method, wireless connection device and wireless terminal - Google Patents
Wireless connection method, wireless connection device and wireless terminal Download PDFInfo
- Publication number
- CN105246169A CN105246169A CN201510581343.6A CN201510581343A CN105246169A CN 105246169 A CN105246169 A CN 105246169A CN 201510581343 A CN201510581343 A CN 201510581343A CN 105246169 A CN105246169 A CN 105246169A
- Authority
- CN
- China
- Prior art keywords
- wireless
- access point
- wap
- wireless access
- message
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000012545 processing Methods 0.000 claims abstract description 48
- 230000008569 process Effects 0.000 claims description 31
- 230000007704 transition Effects 0.000 claims description 17
- 230000004913 activation Effects 0.000 claims description 7
- 230000001154 acute effect Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 70
- 238000004891 communication Methods 0.000 abstract description 11
- 238000005516 engineering process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention proposes a wireless connection method applied to a wireless terminal. The wireless connection method includes the following steps that: a wireless workstation is in a started state; when a message of the processing of a wireless access point is received, a wireless state machine is made to jump to a wireless access point state from a wireless workstation state; and after the message of the wireless access point is processed, the wireless state machine is made to return to the wireless workstation state. The invention also provides a wireless connection device and a wireless terminal. With the wireless connection method, wireless connection device and wireless terminal of the invention adopted, when the message of the processing of the wireless access point is received, the wireless state machine is made to jump to the wireless access point state from the wireless workstation state, and after the message of the wireless access point is processed, the wireless state machine is made to return to the wireless workstation state, and therefore, messages of the wireless access point and messages of the wireless workstation can be processed simultaneously, and co-existence of wireless workstation functions and wireless access point functions can be realized, and the real-time performance of communication can be improved.
Description
Technical field
The present invention relates to a kind of wireless communication technology field, particularly a kind of wireless connection method, wire-connecting device and wireless terminal.
Background technology
Along with the development of the network communications technology, electronic equipment such as can carry out real-time, interactive communication by Wireless Fidelity (WirelessFidelity, WIFI) between mobile phone, panel computer, television set, printer etc.
For mobile phone and television set, mobile phone and television set is allowed all to be in wireless stations (station, STA) pattern, to connect the access point (AccessPoint of identical wireless router, AP), mobile phone so just can be utilized to control the volume, screen intensity etc. of television set, but mainly utilize physical button to realize input due to television set, when needing to input password to complete the connection of the access point of wireless wireless router, operating difficulties.In addition, mobile phone and television set is allowed to connect the access point of identical wireless wireless router, during to realize the communication between mobile phone and television set, the communication of television set and mobile phone need by the access point of the wireless wireless router of centre, and uncontrollable transmission delay may be there is in wireless wireless router, so just easily cause manipulation time delay, affect the experience of user.
Summary of the invention
The object of this invention is to provide one and can realize wireless stations function and WAP (wireless access point) function coexists, thus improve the wireless connection method of the real-time of communication.
The invention provides a kind of wireless connection method on the one hand, be applied to wireless terminal, described wireless connection method comprises makes wireless stations be in opening; When receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state; After processing the message of described WAP (wireless access point), described wireless status machine is made to be back to described wireless stations state.
Wireless terminal wireless terminal wireless terminal the invention provides a kind of wireless connection device on the one hand, described wireless connection device comprises wireless status machine, it is for opening described wireless stations when receiving the information of open wireless work station, when wireless stations is in opening, and wireless status machine is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and after the message processing described WAP (wireless access point), be back to described wireless stations state.
The invention provides a kind of wireless terminal on the one hand, described wireless terminal comprises processor.Described processor is used for making wireless stations when receiving the information of open wireless work station described in unlatching, when wireless stations is in opening, and processor is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and after the message processing described WAP (wireless access point), be back to described wireless stations state.
The invention has the beneficial effects as follows: a kind of wireless connection method provided by the invention, wireless connection device and wireless terminal, can when receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state, and after processing the message of described WAP (wireless access point), described wireless status machine is made to be back to described wireless stations state, thus the message of WAP (wireless access point) and the message of wireless stations can be processed simultaneously, realize wireless stations function and WAP (wireless access point) function coexists, improve real-time and the stability of communication.
Accompanying drawing explanation
Fig. 1 is the structural representation of first embodiment of the invention wireless connection device;
Fig. 2 is the structural representation of the wireless status machine of preferred embodiment in first embodiment of the invention;
The flow chart of a kind of wireless connection method that what Fig. 3 was second embodiment of the invention provide;
Fig. 4 is the flow chart of the unloading low layer driver of preferred embodiment in second embodiment of the invention;
The flow chart of self-starting WAP (wireless access point) and wireless stations when Fig. 5 is the startup of the system at wireless terminal of preferred embodiment in second embodiment of the invention;
The structured flowchart of a kind of wireless terminal that Fig. 6 provides for third embodiment of the invention.
Embodiment
Aforementioned and other technology contents, Characteristic for the present invention, can clearly present in following cooperation describes in detail with reference to graphic preferred embodiment.By the explanation of embodiment, when can to the present invention for the technological means reaching predetermined object and take and effect be able to more deeply and concrete understanding, however institute's accompanying drawings be only to provide with reference to and the use of explanation, be not used for being limited the present invention.
First execution mode
Refer to Fig. 1, wireless connection device 10 comprises wireless status machine 100, this wireless status machine 100 is for the open wireless work station when receiving the information of open wireless work station, when wireless stations is in opening, and wireless status machine 100 is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and after processing the message of WAP (wireless access point), be back to wireless stations state.This wireless connection device 10 can be applied to wireless terminal.
Further, refer to Fig. 1, wireless connection device 10 also comprises Wireless Services Module 101, wireless control module 102.
Wireless Services Module 101 is for obtaining the message and unlatching of opening or closing WAP (wireless access point) or the message of closing wireless stations.Further, this Wireless Services Module 101 is also for obtaining the interval very first time between the message of open wireless access point and the message obtaining open wireless work station when wireless connection device 10 starts.Wherein, the message obtaining open wireless access point when wireless connection device 10 starts can be, but not limited to the time of the message early than acquisition open wireless work station.That is, the first open wireless access point function of the device 10 that can be wireless in one embodiment, then open wireless workstation function.
Wireless control module 102 is for being sent to described wireless status machine 100 by the message of the described unlatching received from Wireless Services Module 101 or closedown WAP (wireless access point) and the message of described unlatching or closedown wireless stations, to make, described wireless status machine 100 is corresponding when receiving the message of described unlatching or cut out WAP (wireless access point) to be opened or closes WAP (wireless access point) function, and when receiving the message of described unlatching or closedown wireless stations, correspondence is opened or closed wireless stations function.Further, incorporated by reference to consulting Fig. 2, wireless status machine 100 comprises station state processing module 110, default conditions processing module 120, WAP (wireless access point) status processing module 130.When described wireless stations status processing module 110 is in open mode: station state processing module 110 is for the request of closedown WAP (wireless access point) that receives wireless control module 102 and send or open the request of WAP (wireless access point), and the request of closing WAP (wireless access point) or the request of opening WAP (wireless access point) are back to default conditions processing module 120.Default conditions processing module 120 is for the treatment of receiving the request of closing WAP (wireless access point) or the request of opening WAP (wireless access point), and export pre-processed results, the request of closing WAP (wireless access point) or the request of opening WAP (wireless access point) is responded to trigger WAP (wireless access point) status processing module 130, to close or to open WAP (wireless access point), and make station state processing module 110, according to pre-processed results, wireless stations state is back to the wireless stations state before wireless status machine 100 redirect.
Further, in an embodiment of the present invention, pre-processed results comprises switching mark result and current wireless stations status indicator.Station state processing module 110 comprises and exits unit and gateway unit, station state processing module 110 performs according to switching mark result and exits unit but do not perform the program exited in unit, and when WAP (wireless access point) status processing module 130 responds the request of closing WAP (wireless access point) or the request of opening WAP (wireless access point), to close or wireless stations state to be back to the wireless stations state before the redirect of wireless status machine after opening WAP (wireless access point), and do not perform the program in gateway unit according to switching mark result.
In above-mentioned any embodiment, can further, wireless status machine 100 can also comprise initial condition processing module 140.For triggering after station state processing module 110 receives turn-off request and closes wireless stations, initial condition processing module 140 judges whether WAP (wireless access point) function and wireless stations function are all in closed condition, if be all in closed condition, trigger the wireless bsp driver of unloading, cause exception to avoid triggering unloading wireless bsp driver when only one of them is in closed condition in WAP (wireless access point) function or wireless stations function.
In the above-described embodiments, further, trigger WAP (wireless access point) processing module 130 when initial condition processing module 140 is also for being in closed condition station state process mould 110 pieces and receiving the request of WAP (wireless access point) that opens or closes that wireless controller 102 (not shown, to please refer to Fig. 2) sends and open or close WAP (wireless access point).
In above-mentioned any embodiment, can further, wireless control module 102 comprises state machine.When wireless connection device 10 starts, state machine is still in closed condition when the message of open wireless access point is sent to wireless status machine 100 by wireless control module 102, jumps to state of activation when the message of open wireless work station is sent to wireless status machine 100 by wireless control module 102.Wherein, the wireless control module 102 being in state of activation can will close WAP (wireless access point) or the message of opening WAP (wireless access point) is sent to wireless status machine 100.This wireless control module 102 achieves serial process can be opened WAP (wireless access point) and opens the function of message of wireless stations.In other words, wireless control module 102 achieves the independent function controlling WAP (wireless access point) and wireless stations switch.
In an embodiment of the present invention, wireless connection device 10 can be, but not limited to use Android operation system.
In an embodiment of the present invention, WAP (wireless access point) function uses different network interfaces from wireless stations function, and shared network interface is identical with the network interface that WAP (wireless access point) function uses.For Android operation system: wireless connection device comprises wireless direct-connected module (not shown), wherein, wireless direct-connected module takies the second wave point (p2p0), forbid the function of wireless direct-connected module, make second wireless network interface (p2p0) be released to leave WAP (wireless access point) function for and use.Due to wireless stations function acquiescence use first radio network interface (wlan0), therefore, need inside wireless status machine 100 file, call the first radio network interface and start access point function with use second wireless network interface (p2p0) parameter during stopping access point function, realize the binding WAP (wireless access point) function and p2p0 network interface, and wireless stations function can not be used to give tacit consent to the first radio network interface (wlan0) used.In addition, in order to be use identical network interface by shared network interface and WAP (wireless access point) function setting, the network need revising system framework configuration file shares interface parameters, and network interface is arranged to second wireless network (p2p0) interface, can, to connected user terminal such as handset allocation IP address, mobile phone be made to control wireless connection device to realize wireless connection device.
Above-mentioned wireless connection device, in wireless control module, make the switch of WAP (wireless access point) and wireless stations function independent of one another, thus also can the message of WAP (wireless access point) can be sent in wireless status machine when wireless stations is opened, in wireless status machine, when wireless stations is in opening, can when receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state, and after processing the message of described WAP (wireless access point), described wireless status machine is made to be back to described wireless stations state, achieve to process wireless stations state to serve as theme, process wireless access dotted state is the wireless connection method of by-pass, thus the message of WAP (wireless access point) and the message of wireless stations can be processed simultaneously, realize wireless stations function and WAP (wireless access point) function coexists, improve real-time and the stability of communication.In addition, be use different network interfaces by WAP (wireless access point) function and wireless stations function setting in above-mentioned wireless connection device, avoid conflicting of WAP (wireless access point) function and wireless stations function, and shared network interface is identical with the network interface that WAP (wireless access point) function uses, wireless connection device is made to connected user terminal such as handset allocation IP address, to make control device (such as: mobile phone) to connect this wireless terminal upper by wireless connections point and then can wireless connection device be controlled.
Second execution mode
The flow chart of a kind of wireless connection method that what Fig. 3 was second embodiment of the invention provide.Described wireless connection method can be applied to wireless terminal.As shown in Figure 3, wireless connection method of the present invention comprises the steps:
Step S21: make wireless stations be in opening;
Successfully to connect the event message that wireless router access point relates to wide from starting to for described wireless stations, and the time cycle is indefinite, therefore, when needs use wireless connecting function, keeps wireless stations to be in opening as far as possible.
Step S22: when receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state;
In an embodiment of the present invention, step S22 can specifically comprise:
The state machine of wireless controller is made to be in state of activation;
Export the message of WAP (wireless access point) to wireless status machine;
Make wireless status machine by wireless stations state transition to wireless access dotted state.
Step S23: the message processing line access point, and after processing, make wireless status machine be back to wireless stations state.
In the above-described embodiment, further, the message of WAP (wireless access point) is close the request of WAP (wireless access point) or open the request of WAP (wireless access point), and step S23 can comprise the steps:
Process the request of the closedown WAP (wireless access point) received or open the request of WAP (wireless access point), and exporting pre-processed results;
Response is closed the request of WAP (wireless access point) or is opened the request of WAP (wireless access point), to close or to open WAP (wireless access point) function;
According to pre-processed results, wireless stations state is back to the wireless stations state before the redirect of wireless status machine.
Further, this pre-processed results specifically can comprise switching mark result and current wireless stations status indicator.Wireless stations state is back to the wireless stations state before the redirect of wireless status machine according to switching mark result by described being specially according to the wireless stations state before wireless stations state is back to the redirect of described wireless status machine by described pre-processed results, and does not perform the program in gateway unit;
The request of the closedown WAP (wireless access point) that described process receives or open the request of WAP (wireless access point), and comprise after exporting pre-processed results:
Perform according to switching mark result and exit unit but do not perform the program exited in unit.
In above-mentioned arbitrary execution mode, wireless connection method also comprises unloading low layer driver, and Fig. 4 is the flow chart of the unloading low layer driver of second embodiment of the invention.Particularly, wireless connection method also comprises:
Step S31: when receiving the request of closing wireless stations, according to the function receiving the request closedown wireless stations of closing wireless stations;
Step S32: judge whether WAP (wireless access point) function and wireless stations function are all in closed condition;
If WAP (wireless access point) function and wireless stations function are all in closed condition, then enter step S33: unload wireless bsp driver;
If WAP (wireless access point) function and wireless stations function are not all in closed condition, then do not process.
In above-mentioned any embodiment, as shown in Figure 5, can the further self-starting WAP (wireless access point) and wireless stations when the system of wireless terminal starts, concrete steps are as follows:
Step S11: obtain the message of open wireless access point and the message of open wireless work station, obtains the interval very first time between the message of open wireless access point and the message obtaining open wireless work station;
Further, the time of time early than the message of acquisition open wireless work station of the message of open wireless access point is obtained when the system of wireless terminal starts.Obviously, the time of the message obtaining open wireless work station can be also later than the system of wireless terminal time of obtaining the message of open wireless access point when starting.Wherein, be preferably when the system of wireless terminal starts, automatically trigger this action; Certainly, also can start in system, by user when a certain position at interface is clicked, trigger this action.
Step S12: the message of the message of open wireless access point and open wireless work station is sent to wireless status machine;
In a preferred embodiment, in order to make the switch of wireless stations and WAP (wireless access point) independent, that is wireless stations and WAP (wireless access point) open or close the impact be not subject to each other, step S12 can specifically comprise:
The message of open wireless access point is sent to wireless status machine;
The state machine of wireless controller is kept to be in closed condition;
The message of open wireless work station is sent to wireless status machine;
The state machine of wireless controller is jumped to state of activation.
This preferred step S12 achieves and serial process can open the message of WAP (wireless access point) and open the function of message of wireless stations.
Step S13: wireless status machine is open wireless access point function when receiving the message of open wireless access point, the open wireless workstation function when receiving the message of open wireless work station.
In above-mentioned any embodiment, wireless connection method can also comprise: when WAP (wireless access point) is in opening and receives the message of display WAP (wireless access point), the wireless terminal display title of WAP (wireless access point) and the password of WAP (wireless access point).
In above-mentioned any embodiment, above-mentioned arbitrary wireless connection method all can be applicable to Android operation system.
In above-mentioned any embodiment, WAP (wireless access point) function uses different network interfaces from wireless stations function, and shared network interface is identical with the network interface that WAP (wireless access point) function uses.For Android operation system: the wireless direct-connected module due to wireless terminal takies the second wave point (p2p0), by forbidding the function of the wireless direct-connected module of wireless terminal, making second wireless network interface (p2p0) be released to leave WAP (wireless access point) function for and using; In addition, wireless stations function acquiescence use first radio network interface (wlan0), therefore, need to call in wireless status machine 100 when first radio network interface starts access point function and stops access point function and use second wireless network interface (p2p0) parameter, realize the binding WAP (wireless access point) function and second wireless network interface (p2p0) network interface; In addition, in order to be use identical network interface by shared network interface and WAP (wireless access point) function setting, the network need revising system framework configuration file shares interface parameters, and network interface is arranged to second wireless network (p2p0) interface, can to connected user terminal such as handset allocation IP address to realize wireless terminal, the control terminal for controlling wireless terminal (such as: mobile phone) can be connected and then to control wireless terminal with wireless terminal.
Above-mentioned wireless connection method, according to the state machine in amendment wireless control module, make the switch of WAP (wireless access point) and wireless stations function independent of one another, thus also can the message of WAP (wireless access point) can be sent in wireless status machine when wireless stations is opened, and can when receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state, and after processing the message of described WAP (wireless access point), described wireless status machine is made to be back to described wireless stations state, achieve to process wireless stations state to serve as theme, process wireless access dotted state is the wireless connection method of by-pass, thus the message of WAP (wireless access point) and the message of wireless stations can be processed simultaneously, realize wireless stations function and WAP (wireless access point) function coexists, improve real-time and the stability of communication.In addition, be use different network interfaces at wireless connection method by WAP (wireless access point) function and wireless stations function setting, avoid conflicting of WAP (wireless access point) function and wireless stations function, and shared network interface is identical with the network interface that WAP (wireless access point) function uses, make to use the wireless terminal of above-mentioned wireless connection method to connected user terminal such as handset allocation IP address, to make mobile phone to control wireless terminal.
3rd execution mode
The structured flowchart of a kind of wireless terminal 30 that Fig. 6 provides for third embodiment of the invention.As shown in Figure 6, wireless terminal 30 comprises processor 300.
Processor 300 makes wireless stations for opening when receiving the information of open wireless work station, when wireless stations is in opening, and processor 300 is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and be back to wireless stations state after processing the message of WAP (wireless access point).
In an embodiment of the present invention, processor 300 for the treatment of the closedown WAP (wireless access point) received request or open the request of WAP (wireless access point), and after exporting pre-processed results, response is closed the request of WAP (wireless access point) or is opened the request of WAP (wireless access point), to close or to open WAP (wireless access point) function, and according to pre-processed results, wireless stations state is back to the wireless stations state before redirect.
Further, described pre-processed results comprises switching mark result and current wireless stations status indicator; Described processor 300 also for: according to described switching mark result, wireless stations state is back to the wireless stations state before the redirect of wireless status machine, and does not perform the program in gateway unit;
The request of the closedown WAP (wireless access point) that described process receives or open the request of WAP (wireless access point), and comprise after exporting pre-processed results:
Perform according to described switching mark result and exit unit but do not perform the program exited in unit.
In an embodiment of the present invention, wireless terminal 30 is three-dimensional display apparatus, and three-dimensional display apparatus comprises Transflective device and the display screen towards Transflective device, and this Transflective device and this display screen are acute angle.
In an embodiment of the present invention, wireless terminal 30 is connected by WAP (wireless access point) function and user terminal such as mobile phone, and connected by wireless stations function and wireless router, so just can pass through control terminal (such as: mobile phone) real-time wireless terminal 30 is operated.
In an embodiment of the present invention, the operating system of this wireless terminal 30 can be, but not limited to as Android operation system.
Above-mentioned arbitrary wireless terminal, can when receiving the message of process WAP (wireless access point) by the processor of configuration, make wireless status machine by wireless stations state transition to wireless access dotted state, and after processing the message of WAP (wireless access point), wireless status machine is made to be back to wireless stations state, thus the message of WAP (wireless access point) and the message of wireless stations can be processed simultaneously, realize wireless stations function and WAP (wireless access point) function coexists, improve real-time and the stability of communication.
What above-mentioned arbitrary processor about wireless terminal was not recorded can actualizing technology scheme, can see method part, and it can realize arbitrary technical scheme of the described part of wireless connection method.At this, do not repeat.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising key element and also there is other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the embodiment of the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform each method implementing described in scene of the embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical scheme, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical scheme content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.
Claims (22)
1. a wireless connection method, is applied to wireless terminal, it is characterized in that, described wireless connection method comprises:
Wireless stations is made to be in opening;
When receiving the message of process WAP (wireless access point), make wireless status machine by wireless stations state transition to wireless access dotted state;
After processing the message of described WAP (wireless access point), described wireless status machine is made to be back to described wireless stations state.
2. wireless connection method as claimed in claim 1, is characterized in that, when receiving the message of process WAP (wireless access point), makes wireless status machine by wireless stations state transition to wireless access dotted state; After processing the message of described WAP (wireless access point), the step making described wireless status machine be back to described wireless stations state comprises:
Process the request of the closedown WAP (wireless access point) received or open the request of WAP (wireless access point), and exporting pre-processed results;
Respond described closedown WAP (wireless access point) request or described in open the request of WAP (wireless access point), to close or to open WAP (wireless access point) function;
According to described pre-processed results, wireless stations state is back to the wireless stations state before the redirect of described wireless status machine.
3. wireless connection method as claimed in claim 2, is characterized in that, described pre-processed results comprises switching mark result and current wireless stations status indicator; Wireless stations state is back to the wireless stations state before the redirect of wireless status machine according to described switching mark result by described being specially according to the wireless stations state before wireless stations state is back to the redirect of described wireless status machine by described pre-processed results, and does not perform the program in gateway unit;
The request of the closedown WAP (wireless access point) that described process receives or open the request of WAP (wireless access point), and comprise after exporting pre-processed results:
Perform according to described switching mark result and exit unit but do not perform the program exited in unit.
4. the wireless connection method as described in as arbitrary in claims 1 to 3, is characterized in that, when the system of described wireless terminal starts:
Obtain the message of open wireless access point and the message of open wireless work station, obtain the interval very first time between the message of described open wireless access point and the message obtaining described open wireless work station;
The message of the message of described open wireless access point and described open wireless work station is sent to described wireless status machine;
Described wireless status machine is open wireless access point function when receiving the message of described open wireless access point, the open wireless workstation function when receiving the message of described open wireless work station.
5. the wireless connection method as described in claim 1 or 4, is characterized in that, WAP (wireless access point) function uses different network interfaces from wireless stations function, and shared network interface is identical with the network interface that described WAP (wireless access point) function uses.
6. wireless connection method as claimed in claim 4, is characterized in that, obtains the time of time early than the message of the described open wireless work station of acquisition of the message of described open wireless access point when the system of wireless terminal starts.
7. wireless connection method as claimed in claim 4, is characterized in that, the step that the message of the message of described open wireless access point and described open wireless work station is sent to described wireless status machine is comprised:
The message of described open wireless access point is sent to described wireless status machine;
The state machine of wireless controller is kept to be in closed condition;
The message of described open wireless work station is sent to described wireless status machine;
The state machine of described wireless controller is jumped to state of activation.
8. wireless connection method as claimed in claim 4, it is characterized in that, described wireless connection method also comprises:
When receiving the request of closing wireless stations, according to the function receiving the request closedown wireless stations of closing wireless stations;
Judge whether described WAP (wireless access point) function and described wireless stations function are all in closed condition;
If described WAP (wireless access point) function and described wireless stations function are all in closed condition, then unload wireless bsp driver.
9. the wireless connection method as described in as arbitrary in claims 1 to 3, is characterized in that, when receiving the message of process WAP (wireless access point), wireless status machine is comprised by the step of wireless stations state transition to wireless access dotted state:
The state machine of wireless controller is made to be in state of activation;
Export the message of described WAP (wireless access point) to described wireless status machine;
Make described wireless status machine by described wireless stations state transition to described wireless access dotted state.
10. wireless connection method as claimed in claim 1, it is characterized in that, described wireless connection method is applied to Android operation system.
11. wireless connection methods as claimed in claim 1, it is characterized in that, described wireless connection method also comprises: when WAP (wireless access point) is in opening and receives the message of display WAP (wireless access point), the wireless terminal display title of WAP (wireless access point) and the password of WAP (wireless access point).
12. 1 kinds of wireless connection devices, is characterized in that, described wireless connection device comprises:
Wireless status machine, for opening described wireless stations when receiving the information of open wireless work station, when wireless stations is in opening, and wireless status machine is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and after the message processing described WAP (wireless access point), be back to described wireless stations state.
13. wireless connection devices as claimed in claim 12, it is characterized in that, described wireless connection device also comprises:
Wireless Services Module, for obtaining the message and unlatching of opening or closing WAP (wireless access point) or the message of closing wireless stations;
Wireless control module, for the message of the described unlatching received from Wireless Services Module or closedown WAP (wireless access point) and the message of described unlatching or closedown wireless stations are sent to described wireless status machine, to make, described wireless status machine is corresponding when receiving the message of described unlatching or cut out WAP (wireless access point) to be opened or closes WAP (wireless access point) function, and when receiving the message of described unlatching or closedown wireless stations, correspondence is opened or closed wireless stations function.
14. wireless connection devices as claimed in claim 13, it is characterized in that, described wireless status machine comprises station state processing module, default conditions processing module, WAP (wireless access point) status processing module; When described wireless stations status processing module is in open mode:
Described station state processing module is for the request of closedown WAP (wireless access point) that receives described wireless control module and send or open the request of WAP (wireless access point), and by the request of described closedown WAP (wireless access point) or described in open WAP (wireless access point) request be back to described default conditions processing module;
Described default conditions processing module for the treatment of receive described closedown WAP (wireless access point) request or described in open the request of WAP (wireless access point), and export pre-processed results, respond the request of described closedown WAP (wireless access point) to trigger described WAP (wireless access point) status processing module or open the request of WAP (wireless access point), to close or to open described WAP (wireless access point), and make described station state processing module, according to described pre-processed results, wireless stations state is back to the wireless stations state before the redirect of described wireless status machine.
15. wireless connection devices as claimed in claim 12, it is characterized in that, described wireless control module comprises:
State machine, when wireless connection device starts, described state machine is still in closed condition when the message of described open wireless access point is sent to described wireless status machine by described wireless control module, jumps to state of activation when the message of described open wireless work station is sent to described wireless status machine by described wireless control module.
16. wireless connection devices as claimed in claim 14, it is characterized in that, described wireless status machine comprises:
Initial condition processing module, judging whether described WAP (wireless access point) function and described wireless stations function are all in closed condition for triggering after station state processing module receives turn-off request and closes wireless stations, if be all in closed condition, triggering the wireless bsp driver of unloading.
17. wireless connection devices as claimed in claim 16, it is characterized in that, described initial condition processing module, triggers WAP (wireless access point) processing module time also for being in closed condition in described station state processing module and receiving the request of WAP (wireless access point) that opens or closes of wireless controller transmission and opens or closes WAP (wireless access point).
18. wireless connection devices as described in claim 12 to 17 any one, is characterized in that, described wireless connection device uses Android operation system.
19. 1 kinds of wireless terminals, is characterized in that, described wireless terminal comprises:
Processor, wireless stations is made described in opening when receiving the information of open wireless work station, when wireless stations is in opening, and processor is when receiving the message of process WAP (wireless access point), by wireless stations state transition to wireless access dotted state, and after the message processing described WAP (wireless access point), be back to described wireless stations state.
20. wireless terminals as claimed in claim 19, it is characterized in that, described processor for the treatment of the closedown WAP (wireless access point) received request or open the request of WAP (wireless access point), and after exporting pre-processed results, respond the request of described closedown WAP (wireless access point) or open the request of WAP (wireless access point), to close or to open described WAP (wireless access point) function, and according to described pre-processed results, wireless stations state is back to the wireless stations state before redirect.
21. wireless terminals as claimed in claim 19, it is characterized in that, described wireless terminal is three-dimensional display apparatus, and described three-dimensional display apparatus comprises Transflective device and the display screen towards described Transflective device, and this Transflective device and this display screen are acute angle.
22. wireless terminals as described in claim 19 to 21 any one, it is characterized in that, the operating system of described wireless terminal is Android operation system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510581343.6A CN105246169A (en) | 2015-09-11 | 2015-09-11 | Wireless connection method, wireless connection device and wireless terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510581343.6A CN105246169A (en) | 2015-09-11 | 2015-09-11 | Wireless connection method, wireless connection device and wireless terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105246169A true CN105246169A (en) | 2016-01-13 |
Family
ID=55043582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510581343.6A Pending CN105246169A (en) | 2015-09-11 | 2015-09-11 | Wireless connection method, wireless connection device and wireless terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105246169A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106658186A (en) * | 2016-10-27 | 2017-05-10 | 四川长虹电器股份有限公司 | UI operation synchronizing method for network switching of intelligent TV set |
| CN110888693A (en) * | 2019-11-22 | 2020-03-17 | 烽火通信科技股份有限公司 | Method and device for supporting AP and STA coexistence in Android system |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102098761A (en) * | 2009-12-10 | 2011-06-15 | 华为终端有限公司 | Mobile communication terminal and network access method thereof |
| CN102571743A (en) * | 2010-10-22 | 2012-07-11 | 巴比禄股份有限公司 | Communication device and method of controlling operation of communication device |
| EP2563087A1 (en) * | 2010-04-19 | 2013-02-27 | Nec Corporation | Communication system, communication terminal, communication device, communication control method, and communication control program |
| CN103200087A (en) * | 2010-05-27 | 2013-07-10 | 华为终端有限公司 | Wireless router, wireless routing method and wireless routing system |
| CN103442351A (en) * | 2013-08-14 | 2013-12-11 | 福州瑞芯微电子有限公司 | Method for protecting wireless network |
| CN103529793A (en) * | 2013-10-18 | 2014-01-22 | 中山司南物联网科技有限公司 | Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity) |
| CN103648181A (en) * | 2013-12-24 | 2014-03-19 | 广州爱的信息科技有限公司 | Wireless network connection method for wireless network audio equipment |
| CN103974391A (en) * | 2013-02-04 | 2014-08-06 | 华为终端有限公司 | Device wake-up method and device |
| CN104159321A (en) * | 2013-05-14 | 2014-11-19 | 杭州海康威视数字技术股份有限公司 | Wi-Fi configuration method and system |
| CN104185224A (en) * | 2014-08-15 | 2014-12-03 | 深圳市同洲电子股份有限公司 | Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode |
| CN104202308A (en) * | 2014-08-18 | 2014-12-10 | 乐鑫信息科技(上海)有限公司 | Implementation method of safe batch configuration of Wi-Fi Internet of Things system |
| CN104486762A (en) * | 2014-12-22 | 2015-04-01 | 广东美的厨房电器制造有限公司 | Access control method of intelligent home appliance and intelligent home appliance system |
| CN104704774A (en) * | 2012-12-11 | 2015-06-10 | 汤姆逊许可公司 | Automatic reconfiguration of network devices |
| CN104853373A (en) * | 2015-05-04 | 2015-08-19 | 海信集团有限公司 | Method and device for switching operating modes of wireless module |
-
2015
- 2015-09-11 CN CN201510581343.6A patent/CN105246169A/en active Pending
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102098761A (en) * | 2009-12-10 | 2011-06-15 | 华为终端有限公司 | Mobile communication terminal and network access method thereof |
| EP2563087A1 (en) * | 2010-04-19 | 2013-02-27 | Nec Corporation | Communication system, communication terminal, communication device, communication control method, and communication control program |
| CN103200087A (en) * | 2010-05-27 | 2013-07-10 | 华为终端有限公司 | Wireless router, wireless routing method and wireless routing system |
| CN102571743A (en) * | 2010-10-22 | 2012-07-11 | 巴比禄股份有限公司 | Communication device and method of controlling operation of communication device |
| CN104704774A (en) * | 2012-12-11 | 2015-06-10 | 汤姆逊许可公司 | Automatic reconfiguration of network devices |
| CN103974391A (en) * | 2013-02-04 | 2014-08-06 | 华为终端有限公司 | Device wake-up method and device |
| CN104159321A (en) * | 2013-05-14 | 2014-11-19 | 杭州海康威视数字技术股份有限公司 | Wi-Fi configuration method and system |
| CN103442351A (en) * | 2013-08-14 | 2013-12-11 | 福州瑞芯微电子有限公司 | Method for protecting wireless network |
| CN103529793A (en) * | 2013-10-18 | 2014-01-22 | 中山司南物联网科技有限公司 | Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity) |
| CN103648181A (en) * | 2013-12-24 | 2014-03-19 | 广州爱的信息科技有限公司 | Wireless network connection method for wireless network audio equipment |
| CN104185224A (en) * | 2014-08-15 | 2014-12-03 | 深圳市同洲电子股份有限公司 | Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode |
| CN104202308A (en) * | 2014-08-18 | 2014-12-10 | 乐鑫信息科技(上海)有限公司 | Implementation method of safe batch configuration of Wi-Fi Internet of Things system |
| CN104486762A (en) * | 2014-12-22 | 2015-04-01 | 广东美的厨房电器制造有限公司 | Access control method of intelligent home appliance and intelligent home appliance system |
| CN104853373A (en) * | 2015-05-04 | 2015-08-19 | 海信集团有限公司 | Method and device for switching operating modes of wireless module |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106658186A (en) * | 2016-10-27 | 2017-05-10 | 四川长虹电器股份有限公司 | UI operation synchronizing method for network switching of intelligent TV set |
| CN106658186B (en) * | 2016-10-27 | 2019-08-13 | 四川长虹电器股份有限公司 | The method for realizing the synchronous UI operation of smart television network switching |
| CN110888693A (en) * | 2019-11-22 | 2020-03-17 | 烽火通信科技股份有限公司 | Method and device for supporting AP and STA coexistence in Android system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108521644B (en) | Network access method, equipment and system | |
| CN104753882B (en) | Network service verification method, system and server | |
| CN102769937B (en) | A multi-standby terminal of an Android system and a method for implementing a multi-standby terminal | |
| CN109495875B (en) | SIM card selection method, device, electronic device and storage medium | |
| CN104954546A (en) | Dual-card intelligent terminal and intelligent SIM card switching method based on the same | |
| CN104333643B (en) | Add the method for contact person, system and terminal | |
| CN107222908A (en) | Intelligent appliance and its with network method, router, intelligent domestic system | |
| WO2021022720A1 (en) | Bluetooth-based data transmission method, storage medium and terminal | |
| CN108702603A (en) | A method and device for communicating through a virtual customer identification module | |
| CN106210023B (en) | Virtual SIM card synchronous management method and terminal | |
| CN105847048B (en) | The configuration method and device of smart machine | |
| CN105391468B (en) | Method and device for controlling carrier aggregation function | |
| CN112399362A (en) | Service processing method, terminal device and network side device | |
| JP2023552907A (en) | Busy indication transmission method and device | |
| CN103781072B (en) | Implementation method and chip of a terminal smart card | |
| CN106792823A (en) | A kind of terminal connection method and device based on Miracast | |
| CN104793991A (en) | Audio output device switching method and device | |
| CN109005107B (en) | Communication method, intelligent terminal and device with storage function | |
| CN106341365A (en) | New account information deletion method and device | |
| CN105246169A (en) | Wireless connection method, wireless connection device and wireless terminal | |
| CN104333856B (en) | A kind of Java SIM cards turn method, SIM card, server and the system of net | |
| CN104753884A (en) | Method, system and server for verifying network services | |
| CN103413091A (en) | Method and device for monitoring malicious behaviors | |
| CN112616167B (en) | Switching method and device | |
| CN110502280B (en) | Android operating system starting method and device, storage medium and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20180730 Address after: 518057 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Applicant after: Shenzhen super Technology Co., Ltd. Address before: 518000 Guangdong Shenzhen Baoan District Xixiang Street Gonghe Industrial Road West hair B District Xu Sheng research and development building 11 story 1113U Applicant before: SHENZHEN CHUANGRUISI TECHNOLOGY CO., LTD. |
|
| TA01 | Transfer of patent application right | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160113 |
|
| RJ01 | Rejection of invention patent application after publication |