CN105791209A - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
CN105791209A
CN105791209A CN201410789495.0A CN201410789495A CN105791209A CN 105791209 A CN105791209 A CN 105791209A CN 201410789495 A CN201410789495 A CN 201410789495A CN 105791209 A CN105791209 A CN 105791209A
Authority
CN
China
Prior art keywords
terminal
wireless network
instruction
wireless
generating
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.)
Withdrawn
Application number
CN201410789495.0A
Other languages
Chinese (zh)
Inventor
侯书朋
谷继兵
王珏
杨俊伟
任爱鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410789495.0A priority Critical patent/CN105791209A/en
Priority to PCT/CN2015/096823 priority patent/WO2016095744A1/en
Publication of CN105791209A publication Critical patent/CN105791209A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/37Managing security policies for mobile devices or for controlling mobile applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a control method and an electronic device. The electronic device receives a first wireless signal; according to the first wireless signal, the first position of a terminal when the first wireless signal is sent is determined; the first position comprises at least one position in multiple different positions; based on configuration relationships of positions and instructions, a first control instruction corresponding to the first position is generated and executed; and the first control instruction is different from a second control instruction generated when the terminal sends a second wireless signal at a second position.

Description

Control method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method and an electronic device.
Background
With the rapid development of Wireless Local Area Networks (WLANs) based on IEEE802.11 protocols, when terminals are connected to a wireless network at different distances or with obstacles, electronic devices of the wireless network need to set different network access permissions for the terminals.
At present, the corresponding network access authority is usually set manually for the position situation of the terminal in the electronic device. However, this way of manually setting the network access rights has obvious drawbacks: on one hand, a terminal is required to be accessed into a wireless network; on the other hand, when the position of the terminal is changed, manual operation is required to change the network access right in real time according to the change situation of the position of the terminal, for example, the network access right is increased or cancelled, so that the operation is not flexible, and the user experience is seriously influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a control method and an electronic device, which can set different network access permissions for a terminal in real time based on different location information of the terminal, so as to implement automatic setting of the network access permissions.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a control method, which is applied to electronic equipment and comprises the following steps:
receiving a first wireless signal;
determining a first position when the terminal sends the first wireless signal according to the first wireless signal; wherein the first location comprises at least one of a plurality of different locations;
and generating and executing a first control instruction corresponding to the first position based on the configuration relation between the position and the instruction, wherein the first control instruction is different from a second control instruction generated when the terminal transmits a second wireless signal at a second position.
In the foregoing solution, the determining, according to the first wireless signal, a first position when the terminal transmits the first wireless signal includes:
analyzing the first wireless signal to obtain a first signal strength of the terminal;
and determining a first position when the terminal sends the first wireless signal through the first signal strength of the terminal based on the association relation between the signal strength and the position.
In the above solution, the instruction includes one of the following instructions: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, and controlling the equipment authority in the wireless network.
In the above scheme, the instruction is to control the wireless network access authority of the terminal;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the wireless network access authority, generating and executing a first sub-control instruction for allowing the terminal to access a wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal;
and when the first position is out of the range of the wireless network access authority, generating and executing a second sub-control instruction for refusing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal.
In the above scheme, the instruction is to control a network rate set for the terminal;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the wireless network access authority, generating and executing a third sub-control instruction for increasing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal;
and when the first position is out of the range of the wireless network access authority, generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal.
In the above scheme, the instruction is to control the device permission in the wireless network;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the access authority of the wireless network, generating and executing a fifth sub-control instruction for closing the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network;
and when the first position is out of the range of the access authority of the wireless network, generating and executing a sixth sub-control instruction for opening the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network.
The embodiment of the invention also provides electronic equipment, which comprises a signal receiving module, a position determining module and an instruction generating module;
the signal receiving module is used for receiving a first wireless signal;
the position determining module is configured to determine, according to the first wireless signal, a first position when the terminal sends the first wireless signal, where the first position includes at least one of a plurality of different positions;
the instruction generating module is configured to generate and execute a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction, where the first control instruction is different from a second control instruction generated when the terminal sends the second wireless signal at the second location.
In the above solution, the position determining module includes an analyzing unit and a determining unit; wherein,
the analysis unit is used for analyzing the first wireless signal to obtain a first signal strength of the terminal;
the determining unit is configured to determine, based on an association relationship between signal strength and a position, a first position when the terminal transmits the first wireless signal through a first signal strength of the terminal.
In the above solution, the instruction includes one of the following instructions: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, and controlling the equipment authority in the wireless network.
In the above scheme, the instruction is to control the wireless network access authority of the terminal;
the instruction generation module comprises a first instruction generation unit and a second instruction generation unit; wherein,
the first instruction generating unit is used for generating and executing a first sub-control instruction for allowing the terminal to access a wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal when the first position is within the range of the wireless network access authority;
and the second instruction generating unit is used for generating and executing a second sub-control instruction for refusing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal when the first position is out of the range of the wireless network access authority.
In the above scheme, the instruction is to control a network rate set for the terminal;
the instruction generation module comprises a third instruction generation unit and a fourth instruction generation unit; wherein,
the third instruction generating unit is configured to generate and execute a third sub-control instruction for increasing the network rate set for the terminal based on a configuration relationship between a location and a network rate set for controlling the terminal when the first location is within the wireless network access authority range;
and the fourth instruction generating unit is used for generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal based on the configuration relation between the position and the network rate set for controlling the terminal when the first position is out of the wireless network access authority range.
In the above scheme, the instruction is to control the device permission in the wireless network;
the instruction generation module comprises a fifth instruction generation unit and a sixth instruction generation unit; wherein,
the fifth instruction generating unit is configured to generate and execute a fifth sub-control instruction for closing the device right in the wireless network based on a configuration relationship between a location and the device right in the wireless network when the first location is within the access right range of the wireless network;
and the sixth instruction generating unit is configured to generate and execute a sixth sub-control instruction for opening the device authority in the wireless network based on a configuration relationship between a location and the device authority in the wireless network when the first location is outside the access authority range of the wireless network.
According to the control method and the electronic device provided by the embodiment of the invention, the electronic device receives a first wireless signal; determining a first position when the terminal sends the first wireless signal according to the first wireless signal, wherein the first position comprises at least one position in a plurality of different positions; and generating and executing a first control instruction corresponding to the first position based on the configuration relation between the position and the instruction, wherein the first control instruction is different from a second control instruction generated when the terminal transmits a second wireless signal at a second position. Therefore, the electronic equipment can set different network access authorities for the terminal in real time based on different position information of the terminal, so that automatic setting of the network access authorities is realized, and the user experience is improved.
Drawings
FIG. 1 is a first flowchart illustrating a control method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an embodiment of determining a first position of the terminal when transmitting the first wireless signal according to the first wireless signal;
FIG. 3 is a second flowchart illustrating a control method according to an embodiment of the present invention;
FIG. 4 is a third flowchart illustrating a control method according to an embodiment of the present invention;
FIG. 5 is a fourth flowchart illustrating a control method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a structure of an electronic device according to an embodiment of the invention;
fig. 7 is a schematic diagram of a structure of a position determining module in an electronic device according to an embodiment of the present invention;
FIG. 8 is a first schematic diagram illustrating a structure of a command generation module in an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a component of an instruction generating module in the electronic device according to the embodiment of the present invention;
fig. 10 is a third schematic structural diagram of a component structure of the instruction generating module in the electronic device according to the embodiment of the present invention.
Detailed Description
In the embodiment of the invention, the electronic equipment receives a first wireless signal; determining a first position when the terminal sends the first wireless signal according to the first wireless signal; the first location comprises at least one of a plurality of different locations; and generating and executing a first control instruction corresponding to the first position based on the configuration relation between the position and the instruction, wherein the first control instruction is different from a second control instruction generated when the terminal transmits a second wireless signal at a second position.
Here, the electronic device is an electronic device capable of providing a wireless local area network to a terminal.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
Fig. 1 is a first flowchart illustrating a control method according to an embodiment of the present invention, applied to an electronic device, as shown in fig. 1, the control method according to the embodiment of the present invention includes:
step S101: receiving a first wireless signal;
specifically, the electronic equipment receives a first wireless signal sent by a terminal; the first wireless signal may be a wireless signal sent by the terminal to the air, or may be a wireless signal sent by the terminal to the electronic device, that is, a wireless access signal initiated to a wireless local area network provided by the electronic device.
It should be noted that the wireless signal sent by the terminal to the air is a call request signal sent to the 2G/3G wireless network when the terminal, such as a mobile phone, initiates a call request, and at this time, the terminal may not access to the wireless local area network provided by the electronic device.
Here, the electronic device is an electronic device capable of providing a wireless network to a terminal, and specifically may be a wireless router, or may be a network security controller having a wireless router, or the like; the terminal can comprise a smart phone, a tablet computer, a notebook computer, a personal digital assistant and the like.
Step S102: determining a first position when the terminal sends the first wireless signal according to the first wireless signal;
wherein the first location comprises at least one of a plurality of different locations;
specifically, as shown in fig. 2, the determining a first position when the terminal transmits the first wireless signal according to the first wireless signal includes:
step S1021: analyzing the first wireless signal to obtain a first signal strength of the terminal;
here, how to analyze the first wireless signal by the specific electronic device to obtain the first signal strength of the terminal belongs to the prior art, and details are not repeated herein.
Step S1022: and determining a first position when the terminal sends the first wireless signal through the first signal strength of the terminal based on the association relation between the signal strength and the position.
Here, the association relationship between the signal strength and the location may be represented by an association curve between the signal strength and the location, so that the electronic device may determine the first location when the terminal transmits the first wireless signal by searching corresponding coordinates of the first signal strength of the terminal in the association curve between the signal strength and the location based on the association curve between the signal strength and the location.
It should be added that, in different application environments, the correlation curve of the signal strength and the position is different. In practical application, the correlation curve of the signal strength and the position can be obtained through measurement and theoretical calculation under a specific application environment.
Specifically, theoretically, the calculation expression of the signal strength P of the terminal is as follows:
p (dbm) ═ terminal transmit power + antenna gain-feeder loss- (spatial attenuation + blocking loss);
wherein the calculation formula of the spatial attenuation is Los ═ 32.44+20lgd (Km) +20lgf (MHz); los is the propagation loss in dB; d is the relative distance between the terminals and the electronic device, and the unit is Km; f is the operating frequency in MHz.
Among other things, in an application environment such as a home or office building, the barrier benefits of a common barrier are as follows: cement wall (15-25 cm): 10-12 dB; red brick cement wall (15-25 cm): 13-18 dB; wooden door: 3-5 dB; a metal door: 6-8 dB; and glass: 6-8 dB.
In the above calculation expression, the common terminal transmission power, antenna gain and feeder loss are fixed, and their values are about 50 dBm. Therefore, the signal strength P of the terminal exhibits a similar negative correlation curve with the sum of the spatial attenuation and blocking loss.
Therefore, based on the theory, under a specific application environment, a correlation curve of signal strength and position obtained through measurement and theoretical calculation can be obtained.
Step S103: and generating and executing a first control instruction corresponding to the first position based on the configuration relation between the position and the instruction, wherein the first control instruction is different from a second control instruction generated when the terminal transmits a second wireless signal at a second position.
Here, the configuration relationship of the position and the instruction may be preset according to the requirements of the actual application environment.
The instructions at least comprise one of the following instructions: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, controlling the equipment authority in the wireless network and the like; correspondingly, the configuration relationship between the position and the instruction at least comprises one of the following conditions: the configuration relationship between the position and the wireless network access authority for controlling the terminal, the configuration relationship between the position and the network rate set for controlling the terminal, the configuration relationship between the position and the equipment authority for controlling the wireless network and the like.
In an embodiment, when the instruction is a wireless network access right for controlling the terminal, generating and executing a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction, including:
when the first position is within the access authority range of the wireless network, generating and executing a first sub-control instruction for allowing the terminal to access the wireless network;
and when the first position is out of the range of the wireless network access authority, generating and executing a second sub-control instruction for refusing the terminal to access the wireless network.
In an embodiment, when the instruction is to control a network rate set for the terminal, generating and executing a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction includes:
when the first position is within the range of the wireless network access authority, generating and executing a third sub-control instruction for increasing the network rate set for the terminal;
and when the first position is out of the range of the wireless network access authority, generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal.
In one embodiment, when the instruction is to control a device in the wireless network, generating and executing a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction includes:
when the first position is within the access authority range of the wireless network, generating and executing a fifth sub-control instruction for closing the equipment authority in the wireless network;
and when the first position is out of the range of the access authority of the wireless network, generating and executing a sixth sub-control instruction for opening the equipment authority in the wireless network.
Therefore, the electronic equipment can set different network access authorities for the terminal in real time based on different position information of the terminal through the control method provided by the embodiment of the invention, so that the automatic setting of the network access authorities is realized, and the user experience is further improved.
Example two
Fig. 3 is a flowchart illustrating a second exemplary embodiment of a control method applied to an electronic device, as shown in fig. 3, the control method according to the exemplary embodiment of the present invention includes:
step S301: receiving a first wireless signal;
step S302: determining a first position when the terminal sends the first wireless signal according to the first wireless signal;
steps S301 to S302 in the second embodiment of the present invention can be referred to as steps S101 to S102 in the first embodiment, respectively, and repeated details are not repeated here.
Step S303: and when the first position is within the range of the wireless network access authority, generating and executing a first sub-control instruction for allowing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal.
In this embodiment of the present invention, the step S303 further includes: and when the first position is out of the range of the wireless network access authority, generating and executing a second sub-control instruction for refusing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal.
The following describes embodiments of the present invention in detail by taking an application example as an example.
In an application environment based on home networking, a wireless router starts a wireless network function for a terminal, the wireless network can be in an encryption or non-encryption mode, meanwhile, the wireless network access authority of the terminal is started, and the configuration relation between the position and the wireless network access authority of the terminal is preset; the configuration relationship between the position and the wireless network access authority for controlling the terminal comprises the following steps: when the position is that the terminal is accessed to the wireless network in a short distance (such as 1-5 meters), the terminal is allowed to be accessed to the wireless network correspondingly; and when the position is that the terminal is far away (for example, more than 1-5 meters) or a partition wall (for example, a concrete wall) is accessed into the wireless network, correspondingly rejecting the terminal to access the wireless network.
In one example, a terminal, such as a mobile phone, placed at a short distance, such as 1 meter, starts to initiate a first wireless signal to connect to a wireless network provided by an electronic device, such as a wireless router; determining a first position, namely a short distance, when the terminal sends the first wireless signal according to the first wireless signal; further, based on a preset configuration relationship between a position and a wireless network access authority for controlling the terminal, that is, when the position is that the terminal accesses the wireless network in a short distance (such as 1-5 meters), a first sub-control instruction for allowing the terminal to access the wireless network is generated and executed corresponding to allowing the terminal to access the wireless network.
In another example, a terminal, such as a mobile phone, placed at a certain distance from a wall starts to initiate a first wireless signal to connect with a wireless network provided by an electronic device, such as a wireless router; determining a first position, namely a partition wall (such as a concrete wall), when the terminal sends the first wireless signal according to the first wireless signal; further, based on a preset configuration relationship between a position and a wireless network access authority for controlling the terminal, that is, when the position is that the terminal accesses the wireless network remotely (for example, beyond 1-5 meters) or a partition wall (for example, a concrete wall), a second sub-control instruction for rejecting the terminal to access the wireless network is generated and executed corresponding to rejecting the terminal to access the wireless network.
EXAMPLE III
Fig. 4 is a flowchart illustrating a third exemplary embodiment of a control method applied to an electronic device, as shown in fig. 4, the control method according to the exemplary embodiment of the present invention includes:
step S401: receiving a first wireless signal;
step S402: determining a first position when the terminal sends the first wireless signal according to the first wireless signal;
steps S401 to S402 in the second embodiment of the present invention may respectively refer to steps S101 to S102 in the first embodiment, and repeated details are not repeated here.
Step S403: and when the first position is within the range of the wireless network access authority, generating and executing a third sub-control instruction for increasing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal.
In this embodiment of the present invention, the step S403 further includes: and when the first position is out of the range of the wireless network access authority, generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal.
The following describes embodiments of the present invention in detail by taking an application example as an example.
In an application environment based on home networking, a wireless router starts a wireless network function for a terminal, wherein the wireless network can be in an encryption or non-encryption mode, and simultaneously starts a function of controlling the network rate set for the terminal, and a configuration relation between the position and the network rate set for the terminal is preset; wherein the configuration relationship between the location and the network rate for controlling the terminal includes: when the position is that the terminal is accessed into the wireless network in a short distance (such as 1-5 meters), correspondingly increasing the network speed set for the terminal; when the position is that the terminal is far away (for example, more than 1-5 meters) or a partition wall (for example, a concrete wall) is accessed into the wireless network, the network speed set for the terminal is correspondingly reduced.
In one example, a terminal, such as a mobile phone, placed at a short distance, such as 1 meter, starts to initiate a first wireless signal to connect to a wireless network provided by an electronic device, such as a wireless router; determining a first position, namely a short distance, when the terminal sends the first wireless signal according to the first wireless signal; further, based on the preset configuration relationship between the position and the reduction of the network rate set for the terminal, that is, when the position is that the terminal accesses the wireless network in a short distance (e.g. 1-5 meters), a third sub-control instruction for increasing the network rate set for the terminal is generated and executed corresponding to the increase of the network rate set for the terminal.
In another example, a terminal, such as a mobile phone, placed at a certain distance from a wall starts to initiate a first wireless signal to connect with a wireless network provided by an electronic device, such as a wireless router; determining a first position, namely a partition wall (such as a concrete wall), when the terminal sends the first wireless signal according to the first wireless signal; further, based on a configuration relationship between a preset position and the increase of the network rate set for the terminal, that is, when the position is that the terminal is far away (for example, more than 1-5 meters) or a partition wall (for example, a concrete wall) is accessed into a wireless network, a fourth sub-control instruction for reducing the network rate set for the terminal is generated and executed corresponding to the reduction of the network rate set for the terminal.
Example four
Fig. 5 is a flowchart illustrating a fourth exemplary control method applied to an electronic device according to an embodiment of the present invention, as shown in fig. 5, the control method according to the embodiment of the present invention includes:
step S501: receiving a first wireless signal;
step S502: determining a first position when the terminal sends the first wireless signal according to the first wireless signal;
steps S501 to S502 in the second embodiment of the present invention can be referred to as steps S101 to S102 in the first embodiment, respectively, and repeated details are not repeated here.
Step S503: and when the first position is within the range of the access authority of the wireless network, generating and executing a fifth sub-control instruction for closing the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network.
In this embodiment of the present invention, the step S503 further includes: and when the first position is out of the range of the access authority of the wireless network, generating and executing a sixth sub-control instruction for opening the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network.
The following describes embodiments of the present invention in detail by taking an application example as an example.
In an application environment based on home networking, a network security controller with a wireless router starts a wireless network function for a terminal, the wireless network can be in an encryption or non-encryption mode, and simultaneously starts and controls equipment in the wireless network, such as a monitoring alarm (door and window alarm device) authority in the wireless network, and presets a configuration relation between a position and the equipment authority in the wireless network; wherein the configuration relationship between the location and the authority of the device in the wireless network comprises: when the position is that the terminal is accessed into the wireless network in a short distance (such as 1-5 meters), correspondingly closing the equipment authority in the wireless network; and when the position is that the terminal is far away (for example, exceeds 1-5 meters) or a partition wall (for example, a concrete wall) is accessed into the wireless network, correspondingly starting the equipment authority in the wireless network.
In one example, a terminal, such as a mobile phone, placed at a short distance, such as 1 meter, starts to initiate a first wireless signal to connect to a wireless network provided by an electronic device, such as a network security controller with a wireless router; determining a first position, namely a short distance, when the terminal sends the first wireless signal according to the first wireless signal; further, based on a preset configuration relationship between a position and closing of the device right in the wireless network, that is, when the position is that the terminal accesses the wireless network in a short distance (e.g., 1-5 meters), a fifth sub-control instruction for closing the device right in the wireless network is generated and executed corresponding to closing of the device right in the wireless network.
In another example, a terminal, such as a mobile phone, placed at a certain distance from a wall starts to initiate a first wireless signal to connect to a wireless network provided by an electronic device, such as a network security controller with a wireless router; determining a first position, namely a partition wall (such as a concrete wall), when the terminal sends the first wireless signal according to the first wireless signal; further, based on a preset configuration relationship between a position and the permission of the device in the wireless network, that is, when the position is that the terminal is far away (for example, exceeds 1-5 meters) or a partition wall (for example, a concrete wall) is accessed into the wireless network, a sixth sub-control instruction for opening the permission of the device in the wireless network is generated and executed corresponding to the opening of the permission of the device in the wireless network.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device according to the embodiment of the present invention includes a signal receiving module 601, a position determining module 602, and an instruction generating module 603;
the signal receiving module 601 is configured to receive a first wireless signal;
the position determining module 602 is configured to determine, according to the first wireless signal, a first position when the terminal sends the first wireless signal, where the first position at least includes at least one of the different positions;
the instruction generating module 603 is configured to generate and execute a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction, where the first control instruction is different from a second control instruction generated when the terminal sends the second wireless signal at the second location.
Here, the instruction includes one of the following instructions: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, and controlling the equipment authority in the wireless network.
In an embodiment, as shown in fig. 7, the position determination module 602 includes a parsing unit 6021 and a determination unit 6022; wherein,
the analyzing unit 6021 is configured to analyze the first wireless signal to obtain a first signal strength of the terminal;
the determining unit 6022 is configured to determine a first position when the terminal transmits the first wireless signal according to a first signal strength of the terminal based on an association relationship between the signal strength and the position.
In an embodiment, as shown in fig. 8, the instruction is to control the wireless network access right of the terminal; the instruction generation module 603 includes a first instruction generation unit 6031 and a second instruction generation unit 6032; wherein,
the first instruction generating unit 6031 is configured to generate and execute a first sub-control instruction for allowing the terminal to access a wireless network based on a configuration relationship between a location and a wireless network access right for controlling the terminal when the first location is within a wireless network access right range;
the second instruction generating unit 6032 is configured to generate and execute a second sub-control instruction for rejecting the terminal to access the wireless network based on a configuration relationship between the location and the wireless network access right for controlling the terminal when the first location is outside the wireless network access right range.
In an embodiment, as shown in fig. 9, the instruction is to control a network rate set for the terminal; the instruction generation module 603 includes a third instruction generation unit 6033 and a fourth instruction generation unit 6034; wherein,
the third instruction generating unit 6033, configured to generate and execute a third sub-control instruction for increasing the network rate set for the terminal based on a configuration relationship between a location and a network rate set for controlling the terminal when the first location is within the wireless network access permission range;
the fourth instruction generating unit 6034 is configured to generate and execute a fourth sub-control instruction for reducing the network rate set for the terminal based on a configuration relationship between the location and the network rate set for controlling the terminal when the first location is outside the wireless network access authority range.
In one embodiment, as shown in fig. 10, the instruction is to control device permissions in the wireless network; the instruction generation module 603 includes a fifth instruction generation unit 6035 and a sixth instruction generation unit 6036; wherein,
the fifth instruction generating unit 6035 is configured to generate and execute a fifth sub-control instruction for closing the device authority in the wireless network based on a configuration relationship between a location and a device authority in the wireless network when the first location is within a wireless network access authority range;
the sixth instruction generating unit 6036 is configured to generate and execute a sixth sub-control instruction for opening the device authority in the wireless network based on a configuration relationship between a location and a device authority in the wireless network when the first location is outside the range of the wireless network access authority.
Each module in the electronic device and the unit included in each module provided in the embodiment of the present invention may be implemented by a processor in the electronic device, or may be implemented by a specific logic circuit; for example, in practical applications, the method can be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located in the electronic device; in addition, the signal receiving module 601 may also be implemented by a receiving antenna in the electronic device.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (12)

1. A control method applied to electronic equipment is characterized by comprising the following steps:
receiving a first wireless signal;
determining a first position when the terminal sends the first wireless signal according to the first wireless signal; wherein the first location comprises at least one of a plurality of different locations;
and generating and executing a first control instruction corresponding to the first position based on the configuration relation between the position and the instruction, wherein the first control instruction is different from a second control instruction generated when the terminal transmits a second wireless signal at a second position.
2. The method of claim 1, wherein the determining the first location of the terminal when transmitting the first wireless signal according to the first wireless signal comprises:
analyzing the first wireless signal to obtain a first signal strength of the terminal;
and determining a first position when the terminal sends the first wireless signal through the first signal strength of the terminal based on the association relation between the signal strength and the position.
3. The method of claim 1 or 2, wherein the instruction comprises one of: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, and controlling the equipment authority in the wireless network.
4. The method according to claim 1 or 2, wherein the instruction is controlling wireless network access rights of the terminal;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the wireless network access authority, generating and executing a first sub-control instruction for allowing the terminal to access a wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal;
and when the first position is out of the range of the wireless network access authority, generating and executing a second sub-control instruction for refusing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal.
5. The method according to claim 1 or 2, wherein the instruction is controlling a network rate set for the terminal;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the wireless network access authority, generating and executing a third sub-control instruction for increasing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal;
and when the first position is out of the range of the wireless network access authority, generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal based on the configuration relation between the position and the network rate set for the terminal.
6. The method according to claim 1 or 2, wherein the instruction is to control device permissions in the wireless network;
the generating and executing a first control instruction corresponding to the first position based on the configuration relationship between the position and the instruction comprises:
when the first position is within the range of the access authority of the wireless network, generating and executing a fifth sub-control instruction for closing the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network;
and when the first position is out of the range of the access authority of the wireless network, generating and executing a sixth sub-control instruction for opening the equipment authority in the wireless network based on the configuration relation between the position and the equipment authority in the wireless network.
7. An electronic device, comprising a signal receiving module, a position determining module, and an instruction generating module;
the signal receiving module is used for receiving a first wireless signal;
the position determining module is configured to determine, according to the first wireless signal, a first position when the terminal sends the first wireless signal, where the first position includes at least one of a plurality of different positions;
the instruction generating module is configured to generate and execute a first control instruction corresponding to the first location based on a configuration relationship between the location and the instruction, where the first control instruction is different from a second control instruction generated when the terminal sends the second wireless signal at the second location.
8. The electronic device of claim 7, wherein the location determination module comprises a parsing unit and a determination unit; wherein,
the analysis unit is used for analyzing the first wireless signal to obtain a first signal strength of the terminal;
the determining unit is configured to determine, based on an association relationship between signal strength and a position, a first position when the terminal transmits the first wireless signal through a first signal strength of the terminal.
9. The electronic device of claim 7 or 8, wherein the instructions comprise one of: controlling the wireless network access authority of the terminal, controlling the network rate set for the terminal, and controlling the equipment authority in the wireless network.
10. The electronic device according to claim 7 or 8, wherein the instruction is to control wireless network access rights of the terminal;
the instruction generation module comprises a first instruction generation unit and a second instruction generation unit; wherein,
the first instruction generating unit is used for generating and executing a first sub-control instruction for allowing the terminal to access a wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal when the first position is within the range of the wireless network access authority;
and the second instruction generating unit is used for generating and executing a second sub-control instruction for refusing the terminal to access the wireless network based on the configuration relation between the position and the wireless network access authority for controlling the terminal when the first position is out of the range of the wireless network access authority.
11. The electronic device according to claim 7 or 8, wherein the instruction is to control a network rate set for the terminal;
the instruction generation module comprises a third instruction generation unit and a fourth instruction generation unit; wherein,
the third instruction generating unit is configured to generate and execute a third sub-control instruction for increasing the network rate set for the terminal based on a configuration relationship between a location and a network rate set for controlling the terminal when the first location is within the wireless network access authority range;
and the fourth instruction generating unit is used for generating and executing a fourth sub-control instruction for reducing the network rate set for the terminal based on the configuration relation between the position and the network rate set for controlling the terminal when the first position is out of the wireless network access authority range.
12. The electronic device of claim 7 or 8, wherein the instruction is to control device permissions in the wireless network;
the instruction generation module comprises a fifth instruction generation unit and a sixth instruction generation unit; wherein,
the fifth instruction generating unit is configured to generate and execute a fifth sub-control instruction for closing the device right in the wireless network based on a configuration relationship between a location and the device right in the wireless network when the first location is within the access right range of the wireless network;
and the sixth instruction generating unit is configured to generate and execute a sixth sub-control instruction for opening the device authority in the wireless network based on a configuration relationship between a location and the device authority in the wireless network when the first location is outside the access authority range of the wireless network.
CN201410789495.0A 2014-12-17 2014-12-17 Control method and electronic device Withdrawn CN105791209A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410789495.0A CN105791209A (en) 2014-12-17 2014-12-17 Control method and electronic device
PCT/CN2015/096823 WO2016095744A1 (en) 2014-12-17 2015-12-09 Control method, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410789495.0A CN105791209A (en) 2014-12-17 2014-12-17 Control method and electronic device

Publications (1)

Publication Number Publication Date
CN105791209A true CN105791209A (en) 2016-07-20

Family

ID=56125908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410789495.0A Withdrawn CN105791209A (en) 2014-12-17 2014-12-17 Control method and electronic device

Country Status (2)

Country Link
CN (1) CN105791209A (en)
WO (1) WO2016095744A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112335275A (en) * 2018-07-13 2021-02-05 华为技术有限公司 Access right control method of terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668293A (en) * 2009-10-21 2010-03-10 杭州华三通信技术有限公司 Control method and system of network access authority in WLAN
CN102461265A (en) * 2009-05-12 2012-05-16 惠普开发有限公司 Location determined network access
CN103491539A (en) * 2013-08-27 2014-01-01 展讯通信(上海)有限公司 Method and device for controlling access right of mobile equipment
CN103905979A (en) * 2012-12-27 2014-07-02 环达电脑(上海)有限公司 Wireless network connection system and network authority obtaining method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102461265A (en) * 2009-05-12 2012-05-16 惠普开发有限公司 Location determined network access
CN101668293A (en) * 2009-10-21 2010-03-10 杭州华三通信技术有限公司 Control method and system of network access authority in WLAN
CN103905979A (en) * 2012-12-27 2014-07-02 环达电脑(上海)有限公司 Wireless network connection system and network authority obtaining method thereof
CN103491539A (en) * 2013-08-27 2014-01-01 展讯通信(上海)有限公司 Method and device for controlling access right of mobile equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112335275A (en) * 2018-07-13 2021-02-05 华为技术有限公司 Access right control method of terminal

Also Published As

Publication number Publication date
WO2016095744A1 (en) 2016-06-23

Similar Documents

Publication Publication Date Title
JP7003146B2 (en) Memory of modem parameters for motion detection
Chrysikos et al. Site-specific validation of ITU indoor path loss model at 2.4 GHz
KR101910936B1 (en) System and method for developing a wi-fi access point map using sensors in a wireless mobile device
EP2757738B1 (en) Communication control system, communication system, communication method, and carrier means storing comunication control program
WO2012149863A1 (en) Monitoring system, device and method for distributed antenna system
WO2018139397A1 (en) Wireless communication device, wireless communication terminal, wireless communication system, wireless communication method, and recording medium
WO2018103584A1 (en) Method for determining cell, and relevant device and system
CN104467986A (en) Radio frequency equipment calibration method
CN107484165B (en) Wireless local area network access control method and device
CN105791209A (en) Control method and electronic device
JP4237124B2 (en) Wireless communication system, access point device, program
KR20190012304A (en) Connect authentication security device of traffic signal controller using smartphone and the method
WO2016088943A1 (en) Method and device for detecting trespassing in smart home security system
CN101977430B (en) Method and system for regulating transmitting power of Femtocell
CN114915978B (en) Coverage radius determining method and device, electronic equipment and storage medium
CN107659996B (en) Channel access method and equipment
de Beer et al. Contactless power line communications at 2.45 GHz
Ramses et al. Mobile Remote Control for Home Automation
Celik et al. Indoor to outdoor propagation model improvement for GSM900/GSM1800/CDMA-2100
CN204119230U (en) A kind of wireless signal transmission system
CN116782243A (en) Wireless network coverage system
Çelik et al. AN INDOOR TO OUTDOOR PROPAGATION MODEL AT GSM 900 GSM1800 AND CDMA2100
Kushiro et al. Performance of ad-hoc wireless network on 2.4 GHz band in real fields
US20090010458A1 (en) Wireless transmitter and microphone based communications system
JP7553492B2 (en) Electronic lock, electronic lock system, and sound wave transmission method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160720