WO2016169151A1 - Method and apparatus for connection between terminals, and storage medium - Google Patents

Method and apparatus for connection between terminals, and storage medium Download PDF

Info

Publication number
WO2016169151A1
WO2016169151A1 PCT/CN2015/086380 CN2015086380W WO2016169151A1 WO 2016169151 A1 WO2016169151 A1 WO 2016169151A1 CN 2015086380 W CN2015086380 W CN 2015086380W WO 2016169151 A1 WO2016169151 A1 WO 2016169151A1
Authority
WO
WIPO (PCT)
Prior art keywords
acceleration
force
parameter information
motion parameter
acceleration force
Prior art date
Application number
PCT/CN2015/086380
Other languages
French (fr)
Chinese (zh)
Inventor
魏利鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016169151A1 publication Critical patent/WO2016169151A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to a wireless connection technology in the field of communications, and in particular, to a connection method and device between terminals, and a storage medium.
  • the process of connecting the wireless terminal (WIIFIless-FIdelity) to the smart terminal is as follows: first open the main menu of the smart terminal such as the mobile phone to set, open the WIFI function; perform wireless local area network scanning, if the WIFI is turned on, the mobile phone will List the wireless network that can be searched; when the wireless network list is completed, the user clicks on the name of the network that he wants to connect to. If the connected network is protected, the user needs to input a complicated password and click a link to enter the access; Then the smart terminal is connected to WIFI, and the user can freely access the Internet for free.
  • the operation steps are cumbersome: In order to prevent other people from stealing their own home WIFI resources, the average family will set a password after purchasing the wireless router, so users must connect to WIFI Internet access, you must enter a password, the operation is not convenient. 2, the password is easy to be stolen: the existing WIFI password is stolen in many ways, such as the online "WIFI Universal Key” is a software that automatically obtains the surrounding free WIFI hotspot and establishes a connection, through the cloud built-in million users share WIFI The hotspot data is connected, so that there will be a lot of people "clam”.
  • hackers use "share” to invade "user default sharing passwords will increase the security risk of mobile phones", especially for Android phones.
  • WIFI passwords are stored in plain text on mobile phones. Even if the cloud is encrypted, hackers can still obtain WIFI passwords through certain technical means. . If the user password is stolen, other people will try the home network for free, and the network resources will be occupied, and the Internet access rate will be reduced.
  • embodiments of the present invention are expected to provide a connection method and device between terminals, and a storage medium.
  • the embodiment of the invention provides a connection method between terminals, and the method includes:
  • the terminal to be connected corresponding to the terminal ID information establishes a connection.
  • the first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes the following situation:
  • first time value of the first acceleration force equal to the second time value of the second acceleration force
  • magnitude of the first acceleration force equal to the magnitude of the second acceleration force
  • the first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
  • the inter-value has a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and a direction of the first acceleration force opposite to the direction of the second acceleration force exists.
  • the first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
  • first time value of the first acceleration force equal to the second time value of the second acceleration force
  • magnitude of the first acceleration force equal to the magnitude of the second acceleration force
  • the direction of the first acceleration force opposite to the direction of the acceleration force
  • the detecting obtains the first motion parameter information, including:
  • the first electric field force includes a first The magnitude and direction of the electric field force
  • the first electric field force When the first electric field force is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first The first time value of the acceleration force is a first time value of the first electric field force, the magnitude of the first acceleration force is a magnitude of the first electric field force, and the direction of the first acceleration force is the The direction of an electric field force;
  • the first acceleration includes a magnitude and a direction of the first acceleration
  • a first time value of the first acceleration force is a first time value of the acceleration
  • a size of the first acceleration force is The magnitude of the force into which the first acceleration is converted, the direction of the first acceleration force being the direction of the first acceleration.
  • the method further includes: continuing to receive terminal ID information of the other to-be-connected terminal and the corresponding second motion parameter information sent by the terminal to be connected, and the The other terminals to be connected are connected.
  • the embodiment of the invention further provides a connection method between terminals, the method comprising:
  • the second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
  • the detecting obtains the second motion parameter information, including:
  • the connection function After the connection function is turned on, the second electric field force generated by the change of the movable electrode distance in the second acceleration sensor is obtained by the second acceleration sensor, and the second time value of detecting the second electric field force is recorded;
  • the two electric field forces include the magnitude and direction of the second electric field force;
  • the second electric field force When the second electric field force is greater than 0, the second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein the second acceleration parameter information, the second acceleration force
  • the second time value is a second time value of the second electric field force
  • the magnitude of the second acceleration force is a magnitude of the second electric field force
  • the direction of the second acceleration force is the second electric field Direction of force
  • the second acceleration of the terminal is obtained by real-time detection by the second acceleration sensor, and the second time value of detecting the second acceleration is recorded;
  • the second acceleration includes the magnitude and direction of the second acceleration;
  • the second acceleration When the second acceleration is greater than 0, the second acceleration is converted into a second acceleration force, and the second motion parameter information is obtained; wherein, in the second motion parameter information, the second acceleration force is The second time value is a second time value of the acceleration, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and the direction of the second acceleration force is the second acceleration direction.
  • connection device between terminals, including:
  • a first detecting module configured to detect that the first motion parameter information is obtained
  • a receiving module configured to receive terminal identification ID information and corresponding second motion parameter information
  • the comparing module comparing, by the comparing module, the first motion parameter information that meets certain conditions in the first motion parameter information detected by the first detecting module, compared with the second motion parameter information of the receiving module;
  • the connection establishing module is configured to establish a connection with the to-be-connected terminal corresponding to the terminal ID information when the comparing module compares that there is a first motion parameter information that satisfies a certain condition.
  • the first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes the following situation:
  • first time value of the first acceleration force equal to the second time value of the second acceleration force
  • magnitude of the first acceleration force equal to the magnitude of the second acceleration force
  • the first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
  • first time value of the first acceleration force equal to the second time value of the second acceleration force
  • magnitude of the first acceleration force equal to the magnitude of the second acceleration force
  • the first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
  • the second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
  • the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
  • first time value of the first acceleration force equal to the second time value of the second acceleration force
  • magnitude of the first acceleration force equal to the magnitude of the second acceleration force
  • the direction of the first acceleration force opposite to the direction of the acceleration force
  • the first detecting module includes: a first acceleration sensing submodule and a first converting submodule;
  • the first acceleration sensing sub-module is configured to detect, by real-time detection by the first acceleration sensor, a first electric field force generated by changing a distance of the movable electrode in the first acceleration sensor, and recording a first detection of the first electric field force a time value; the first electric field force includes a magnitude and a direction of the first electric field force;
  • the first conversion submodule is configured to: when the first electric field force detected by the first acceleration sensing submodule is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first a motion parameter information; wherein, in the first motion parameter information, the first time value of the first acceleration force is a first time value of the first electric field force, and the size of the first acceleration force is Describe a magnitude of a first electric field force, the direction of the first acceleration force being a direction of the first electric field force;
  • the first acceleration sensing sub-module is configured to obtain a first acceleration of the router by a first acceleration sensor, and record a first time value of detecting the first acceleration; the first acceleration includes a first The magnitude and direction of the acceleration;
  • the first conversion submodule is configured to convert the first acceleration into a first acceleration force when the first acceleration detected by the first acceleration sensing submodule is greater than 0, to obtain a first motion parameter Information, wherein, in the first motion parameter information, a first time value of the first acceleration force is a first time value of the acceleration, and a magnitude of the first acceleration force is converted into the first acceleration The magnitude of the force, the direction of the first acceleration force being the direction of the first acceleration.
  • the receiving module is further configured to: after the connection establishing module establishes a connection with the terminal to be connected corresponding to the terminal ID information, continue to receive the terminal of the other terminal to be connected sent by the terminal to be connected. ID information and its corresponding second motion parameter information.
  • connection device between terminals, the connection device comprising:
  • a second detecting module configured to detect that the second motion parameter information is obtained
  • the sending module is configured to send the terminal identifier ID information and the second motion parameter information detected by the second detecting module to the detected service terminals, where the terminal ID information and the second motion parameter information are used.
  • the sending module is configured to send the terminal identifier ID information and the second motion parameter information detected by the second detecting module to the detected service terminals, where the terminal ID information and the second motion parameter information are used.
  • the second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
  • the second detecting module includes: a second acceleration sensing submodule and a second converting submodule;
  • the second acceleration sensing sub-module is configured to, after the connection function is turned on, real-time detection by the second acceleration sensor to obtain a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and the recording detects the a second time value of the electric field force;
  • the second electric field force includes a magnitude and a direction of the second electric field force;
  • the second conversion submodule is configured to: when the second electric field force detected by the second acceleration sensing submodule is greater than 0, the second electric field force is equivalent to the second acceleration force, and obtain the first The second motion parameter information, wherein the second time value of the second acceleration force is a second time value of the second electric field force, and the size of the second acceleration force is Describe a magnitude of a second electric field force, the direction of the second acceleration force being a direction of the second electric field force;
  • the second acceleration sensing sub-module is configured to obtain a second acceleration of the terminal by a second acceleration sensor in real time after the connection function is turned on, and record a second time value of detecting the second acceleration;
  • the second acceleration includes a magnitude and a direction of the second acceleration;
  • the second conversion submodule is configured to convert the second acceleration into a second acceleration force when the second acceleration detected by the second acceleration sensing submodule is greater than 0, to obtain the second
  • the second parameter value of the second acceleration parameter is a second time value of the acceleration, and the magnitude of the second acceleration force is the second acceleration.
  • the magnitude of the force converted into, the direction of the second acceleration force being the direction of the second acceleration.
  • the sending module is configured to stop sending the terminal ID information and the second motion parameter information of the to-be-connected terminal to each service terminal detected by the to-be-connected terminal after connecting to the serving terminal.
  • the embodiment of the invention provides a connection method and device between terminals, and a storage medium.
  • the terminal When the terminal is to be connected to the wireless network, the user only needs to open the wireless network function switch and touch the router antenna with the terminal, so that the router can be enabled.
  • Applying the method provided by the present invention at the same time point, comparing the magnitude and direction of the first acceleration force detected by the router with the second acceleration force detected by the terminal, and determining that the terminal is requesting establishment when the sizes are equal and the directions are opposite
  • the router establishes a wireless network connection with the terminal.
  • Applying the method provided by the embodiment of the present invention if another person wants to use the wireless network resource, the router must be close to the router and contact the router antenna. Therefore, the possibility that the non-family member illegally acquires the wireless network resource can be avoided.
  • the method of the embodiment of the present invention can be accessed by touching the touch, and the password is not required to be input, and the method of the embodiment of the present invention must be close to the router and contact the router antenna to be accessed, and has high security performance and is not easily stolen. It is convenient and quick, especially for driving users.
  • the method provided by the embodiment of the present invention can also quickly connect any two terminals that need to be connected.
  • FIG. 1 is a schematic flowchart of a connection method applied to terminals on a router side according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a connection method between terminals applied to a terminal side according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a method for connecting terminals between terminals according to Embodiment 2 of the present invention
  • FIG. 4 is a structural block diagram of a connection device between terminals according to Embodiment 3 of the present invention.
  • FIG. 5 is a structural block diagram of another connection device between terminals according to Embodiment 3 of the present invention.
  • the method provided by the embodiment of the present invention is a connection method between terminals, that is, a connection method between a service terminal and a terminal to be connected, and a touch device (which may be an external antenna) needs to be disposed on the service terminal, if the user wants
  • a touch device which may be an external antenna
  • the acceleration force detected by the service terminal and the acceleration detected by the terminal to be connected are detected
  • the force satisfies at least one of the following conditions: the detected time is the same, the detected acceleration force is equal, and the detected acceleration force is in the opposite direction, indicating that the terminal to be connected is requesting to establish a connection, and the service terminal can establish with the terminal to be connected. connection.
  • the method provided by the embodiment of the present invention can be applied to a smart terminal as a service terminal, and other smart terminals are in a Bluetooth connection scenario of a terminal to be connected, for example, when two smart terminals are to establish a Bluetooth connection, the two touch each other;
  • the Bluetooth connection can be established by using the method provided by the embodiment of the present invention.
  • the method provided by the embodiment of the present invention can also be applied to a connection scenario in which a card reader is a service terminal, and a mobile terminal (such as a mobile phone) is a connection terminal to be connected. When the user information needs to be confirmed or the mobile phone payment is required, the mobile terminal touches the card.
  • the user information may be sent to the card reader for confirmation by the mobile device, or the payment may be completed by using an internet-based application installed in the mobile device.
  • the method provided by the embodiment of the present invention can also be applied to a wireless connection scenario in which a router is a service terminal and an intelligent terminal is a connection terminal.
  • the service terminal is a router
  • the terminal to be connected is an intelligent terminal
  • a wireless network connection process between the two is used to describe the scenario.
  • This embodiment provides a method for connecting terminals. As shown in FIG. 1 , the method is applied to the router side of the service terminal.
  • the processing procedure of the method in this embodiment includes the following steps:
  • Step 101 Detecting obtaining first motion parameter information.
  • the existing router is only a transit station, so the internal processing chip is relatively simple, and no acceleration sensor exists. Therefore, in the embodiment of the present invention, an acceleration sensor is added to the router end, and the router can detect the acceleration sensor.
  • the first motion parameter information of the router is selected; optionally, the first motion parameter information of the router may be detected continuously or in real time, or periodically (the detection period may be 1 s).
  • the first motion parameter information includes at least one of the following: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force.
  • the acceleration sensor is composed of a fixed mass and a movable electrode.
  • the magnitude and direction of the electric force can be measured by the magnitude and direction of the electric field force.
  • obtaining the first motion parameter information by the detecting in step 101 includes:
  • the first electric field force includes a first The magnitude and direction of the electric field force; when the first electric field force is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein the first motion parameter
  • the first time value of the first acceleration force is the a first time value of the first electric field force, the magnitude of the first acceleration force being a magnitude of the first electric field force, the direction of the first acceleration force being a direction of the first electric field force; or, by An acceleration sensor obtains a first acceleration of the router in real time, and records a first time value of detecting the first acceleration; the first acceleration includes a magnitude and a direction of the first acceleration; and the first acceleration is greater than 0 And converting the first acceleration to the first acceleration force to obtain the first motion parameter information; wherein, in the first motion parameter
  • Step 102 Receive terminal ID information and corresponding second motion parameter information.
  • the smart terminal may also obtain the second motion parameter information by using the second acceleration sensor in real time, as in the method described in step 101, where the second motion parameter information includes the following parameters. At least one of: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force. It should be noted that the parameter type in the second motion parameter information is consistent with the parameter type in the first motion parameter information, that is, the first motion parameter information includes the first first acceleration force.
  • the second motion parameter information corresponding to the second time value including the second acceleration force
  • the first motion parameter information includes a magnitude and a direction of the first acceleration force
  • the second motion parameter The information corresponding to the second acceleration force includes a size and a square; if the first motion parameter information includes a first time value, a magnitude, and a direction of the first acceleration force, the second motion parameter information corresponding to the The second time value, magnitude, and direction of the second acceleration force.
  • step 103 the smart terminal sends the terminal ID information of the smart terminal, the second motion parameter information to each router detected by the smart terminal, and the router is always listening to the signal transmitted by the surrounding smart terminal, and the router is Receiving terminal ID information and its corresponding second After the motion parameter information, step 103 is performed immediately.
  • Step 103 Compared with the second motion parameter information, when comparing the first motion parameter information that meets the certain condition in the detected first motion parameter information, the terminal to be connected corresponding to the terminal ID information is established. connection.
  • the first motion parameter information detected by the router in real time is stored in the router.
  • the first motion parameter information that satisfies certain conditions is included in the same first motion parameter information, and satisfies at least one of the following: a first acceleration force equal to a second time value of the second acceleration force a time value, a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and a direction of the first acceleration force opposite to the direction of the second acceleration force. If a first motion parameter information that satisfies the foregoing certain condition exists in the detected first motion parameter information, the router establishes a connection with the smart terminal (the terminal to be connected) identified by the terminal ID information.
  • the corresponding second motion parameter information only includes: the second time value of the second acceleration force, Comparing a first time value of the first acceleration force equal to the second time value of the second acceleration force, that is, indicating the first acceleration force detected by the router at the same time point, the smart terminal The second acceleration force is also detected, which indicates that the smart terminal is requesting to establish a wireless network connection.
  • the motion parameter information only includes the magnitude of the acceleration force, the magnitude of the first acceleration force and the magnitude of the second acceleration force sent by the smart terminal are present in the magnitude of the first acceleration force detected by the router. When they are equal, it indicates that the smart terminal is requesting to establish a wireless network connection.
  • the motion parameter information includes only the direction of the acceleration force
  • the direction of the first acceleration force in the direction of the first acceleration force detected by the router is opposite to the direction of the second acceleration force sent by the smart terminal. At the time, it indicates that the intelligent terminal is requesting to establish a wireless network connection.
  • the first motion parameter information includes the first time value of the first acceleration force, the magnitude of the first acceleration force; and the corresponding second motion parameter information corresponding to: the second acceleration force The second time value, the magnitude of the second acceleration force.
  • the first motion parameter information needs to be compared to satisfy the following condition: in the same first motion parameter information, there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and When the magnitude of the second acceleration force is equal to the magnitude of the first acceleration force, that is, at the same time point, the first acceleration force detected by the router and the second acceleration force detected by the terminal are equal. This indicates that the terminal is requesting to establish a wireless network connection, and the terminal ID information may be location information of the terminal.
  • the router allocates an IP address to the terminal identified by the terminal ID information to establish a wireless connection.
  • the motion parameter information includes other two-two combined parameters, it is indicated that the terminal is requesting to establish a wireless network connection as long as two parameters satisfying the condition in the same first motion parameter information are satisfied.
  • a parameter that satisfies the condition may be compared and obtained, and then another parameter corresponding to the parameter that satisfies the condition is compared with the parameter in the second motion parameter information.
  • the first time value identical to the second time value may be compared and obtained, and then the second time value is the same.
  • the magnitude of the first acceleration force corresponding to the first time value is compared with the magnitude of the second acceleration force.
  • the first motion parameter information includes the first time value of the first acceleration force, the magnitude and direction of the first acceleration force; and the corresponding second motion parameter information corresponding to: the second acceleration The second time value of the force, the magnitude and direction of the second acceleration force. Then comparing the presence of the first motion parameter information to satisfy a condition that, in the same first motion parameter information, there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, And the magnitude of the first acceleration force is equal to the magnitude of the second acceleration force, and there is a direction of the first acceleration force opposite to the direction of the second acceleration force, that is, at the same time point
  • the first acceleration force detected by the router is equal to the second acceleration force detected by the terminal, and the direction is opposite, indicating that the terminal is requesting to establish a wireless network connection, and the terminal ID information may be location information of the terminal, etc., according to The terminal ID information, the router will assign an IP address to the terminal identified by the terminal ID information to establish a wireless network connection.
  • the first time value that is the same as the second time value may be compared and obtained, and the first time value that is the same as the second time value is corresponding to the saved first acceleration force.
  • the size and direction are compared with the magnitude and direction of the second acceleration force; when the two acceleration forces are equal in magnitude, a wireless network connection is established with the terminal identified by the terminal ID information.
  • the router After establishing a wireless network connection with the terminal, the router continues to receive the ID information of the other terminal and the corresponding second motion parameter information sent by the other terminal, so that the router establishes a wireless network with the other intelligent terminal. connection.
  • the embodiment also provides a method for connecting terminals. As shown in FIG. 2, the method is applied to the terminal to be connected, that is, the smart terminal.
  • the processing procedure of the method in this embodiment includes the following steps:
  • Step 201 Detecting obtaining second motion parameter information.
  • the smart terminal can detect the second motion parameter information in real time by using the second acceleration sensor, and specifically includes: obtaining, by real-time detection by the second acceleration sensor, the change of the movable electrode distance in the second acceleration sensor. a second electric field force, recording a second time value at which the second electric field force is detected; the second electric field force includes a magnitude and a direction of the second electric field force; and when the second electric field force is greater than 0, the The second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein, in the second motion parameter information, the second time value of the second acceleration force is the second electric field force a second time value, the magnitude of the second acceleration force is a magnitude of the second electric field force, the direction of the second acceleration force is a direction of the second electric field force; or, after the connection function is turned on, Two acceleration The sensor detects the second acceleration of the terminal in real time, and records a second time value of detecting the second acceleration; the second acceleration includes a magnitude and
  • Step 202 Send terminal ID information and the second motion parameter information to the detected service terminal.
  • the router After receiving the terminal ID information and the corresponding second motion parameter information, the router compares the two motion parameter information according to the first motion parameter information detected by the router through step 101, and if the comparison exists, the content is satisfied.
  • the router allocates an IP address to the terminal identified by the terminal ID information, and the smart terminal receives the IP address assigned by the router, so that the intelligent terminal Establish a wireless network connection with the router.
  • the smart terminal After the smart terminal is connected to the wireless network, the smart terminal stops transmitting the terminal ID information and the second motion parameter information of the smart terminal to each router detected by the smart terminal, thereby saving power consumption.
  • the smart terminal establishes a wireless network connection and enters a connection state, and can perform data transmission with the Internet.
  • the method provided in this embodiment can be accessed by touching the touch, and it is very convenient to input a password, and the implementation method must be close to the router and contact the router antenna to be accessible, and is not easily stolen.
  • This embodiment provides a method for connecting terminals.
  • the overall structure on which the implementation method is implemented is composed of one router 30 and three intelligent terminals 31, 32, and 33.
  • the specific processing flow includes:
  • the router 30 is always in the receiving detection state, and continues to steps 301-303:
  • Step 301 The router detects, by using a first acceleration sensor, a first electric field force generated by changing a distance of a movable electrode in the first acceleration sensor, and records a first time value of detecting the first electric field force;
  • An electric field force includes the magnitude and direction of the first electric field force.
  • Step 302 When the first electric field force is greater than 0, the router equivalents the first electric field force to a first acceleration force, and obtains first motion parameter information of the router.
  • the first motion parameter information includes: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force; wherein the first motion parameter information
  • the first time value of the first acceleration force is a first time value of the first electric field force
  • the magnitude of the first acceleration force is a magnitude of the first electric field force
  • the first acceleration force The direction is the direction of the first electric field force.
  • the general router is static. When the router detects according to step 301, the detected first electric field force is 0. At this time, it can be determined that the first acceleration force is not generated, and step 302 is not performed.
  • the smart terminal When the wireless network connection function is turned on, the smart terminal receives the signal of the nearby router through the antenna, and enumerates all the router names in the current range according to the strength of the signal. At the same time, the intelligent terminal performs the following steps:
  • Step 303 The smart terminal detects, by using a second acceleration sensor, a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and records a second time value of detecting the second electric field force;
  • the second electric field force includes the magnitude and direction of the second electric field force.
  • Step 304 When the second electric field force is greater than 0, the terminal equivalents the second electric field force to a second acceleration force, and obtains second motion parameter information of the router, where the second motion parameter information The second time value of the second acceleration force, the magnitude of the second acceleration force, the direction of the second acceleration force, and the second acceleration parameter information, the second acceleration
  • the second time value of the force is a second time value of the second electric field force
  • the The magnitude of the two acceleration forces is the magnitude of the second electric field force
  • the direction of the second acceleration force is the direction of the second electric field force.
  • Step 305 The smart terminal sends the terminal ID information, the second acceleration force, and the second time value of the smart terminal to each router detected by the smart terminal.
  • step 306 is performed.
  • Step 306 The first time value equal to the second time value is obtained by comparing, and the first time value that is the same as the second time value is corresponding to the saved first acceleration force and the second acceleration force. Compare.
  • step 307 If the two acceleration forces are equal in magnitude and opposite in direction, it may be determined that the smart terminal requests to establish a WIFI connection, and step 307 is performed; otherwise, the terminal proceeds to steps 303-305, and the router continues to perform steps 301-302 until step 306. At the same time, the two acceleration forces are equal in magnitude and opposite in direction, and step 307 is performed.
  • Step 307 Establish a wireless network connection with the terminal identified by the terminal ID information.
  • the intelligent terminal 31 when the user touches the antenna position of the router 30 with the smart terminal 31, at the moment of the two touches, according to the principle of the force and the reaction force, the intelligent terminal 31 necessarily generates an acceleration force to the router 30 while the router 30 also inevitably generates an acceleration force for the smart terminal 31.
  • the router can detect the first electric field force greater than 0 according to step 301, and then proceeds to step 302 to save the generated first acceleration force and the first time value.
  • the smart terminal 31 can detect the second electric field force greater than 0 according to step 303, and then perform steps 304 and 305 to send the terminal ID information of the terminal and the second motion parameter information to the terminal.
  • step 306 is performed.
  • the time when the smart terminal 31 touches the antenna of the router 30 can be compared, and the router detects The first acceleration force to the second acceleration detected by the terminal The force is equal in magnitude and opposite in direction.
  • the router immediately assigns an IP address to the smart terminal 31, and establishes a wireless network connection.
  • the smart terminal 31 stops. Go to steps 303-305.
  • the router 30 proceeds to steps 301-302 to detect the first motion parameter information. If the smart terminal 32 also needs to access the router 30 for WIFI connection, the user can open the wireless network connection function of the smart terminal 32, touch the antenna position of the router 30 with the smart terminal 32, and connect the wireless network method according to the smart terminal 31 described above.
  • the router 30 is assigned an IP address to the smart terminal 32 to establish a wireless network connection.
  • the smart terminal 33 if the smart terminal 33 turns on the wireless network connection function but does not touch the antenna of the router 30, then the smart terminal 33 detects a second electric field greater than 0 through step 303 under the action of an external force. And then performing steps 304 and 305 to transmit the terminal ID information of the smart terminal and the second motion parameter information to each router detected by the terminal, if the router 30 can receive the terminal ID information and the In the second motion parameter information, the router 30 performs step 306. At this time, since the smart terminal 33 and the router do not touch, the first acceleration force detected by the router at the same time point cannot be compared.
  • the second acceleration force detected by the terminal is equal in magnitude and opposite in direction; at this time, the router can determine that the smart terminal 33 does not request to establish a WIFI connection, and does not perform step 307. Thereafter, the smart terminal 33 proceeds to steps 303-305 until the wireless network connection function connected to the wireless network or smart terminal 33 is turned off.
  • the embodiment of the present invention provides a connection device between terminals, which may be disposed on a service terminal.
  • the device includes: a first detection module 401, a receiving module 402, a comparison module 403, and a connection establishment.
  • Module 404 wherein
  • the first detecting module 401 is configured to detect that the first motion parameter information is obtained, and the receiving module 402 is configured to receive the terminal identifier ID information and the corresponding second motion parameter information, and the comparing module 403 is configured to be configured by the receiving module 402. Comparing the second motion parameter information, comparing whether the first motion parameter information satisfying a certain condition exists in the first motion parameter information detected by the first detecting module 401; the connection establishing module 404 is configured to perform the comparison When the module 403 compares the first motion parameter information that satisfies certain conditions, the module 403 establishes a connection with the terminal to be connected corresponding to the terminal ID information.
  • the first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force, and the second motion parameter information corresponding to the One of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly, the first motion parameter information satisfying the certain condition includes the following situation : a first time value of the first acceleration force equal to the second time value of the second acceleration force, and a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, present and The direction of the first acceleration force opposite to the direction of the acceleration force.
  • the first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force, and the second motion parameter information corresponding to the Two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly, the first motion parameter information satisfying the certain condition is included in the same
  • the first time value of the first acceleration force equal to the second time value of the second acceleration force is equal to the magnitude of the second acceleration force
  • the magnitude of the first acceleration force has a direction of the first acceleration force opposite to the direction of the second acceleration force.
  • the first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force; the second motion parameter information corresponding to the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly,
  • the first motion parameter information that satisfies a certain condition includes the following condition in the same first motion parameter information: there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, There is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and there is a direction of the first acceleration force opposite to the direction of the second acceleration force.
  • the first detecting module 401 includes: a first acceleration sensing submodule 4011 and a first converting submodule 4012.
  • the first acceleration sensing sub-module 4011 is configured to detect, by real-time detection by the first acceleration sensor, a first electric field force generated by changing a movable electrode distance in the first acceleration sensor, and recording a first electric field force detected. a time value; the first electric field force includes a magnitude and a direction of the first electric field force; the first conversion sub-module 4012 is configured to detect that the first electric field force is greater than the first electric field force detected by the first acceleration sensing sub-module 4011 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first time value of the first acceleration force is a first time value of the first electric field force, a magnitude of the first acceleration force being a magnitude of the first electric field force, and a direction of the first acceleration force being a direction of the first electric field force.
  • the first acceleration sensing sub-module 4011 is configured to obtain a first acceleration of the router by real-time detection by a first acceleration sensor, and record a first time value of detecting the first acceleration; the first acceleration includes The magnitude and direction of an acceleration; the first conversion sub-module 4012 is configured to convert the first acceleration to the first acceleration when the first acceleration detected by the first acceleration sensing sub-module 4011 is greater than zero Obtaining a first motion parameter information; wherein, in the first motion parameter information, the first time of the first acceleration force The value is a first time value of the acceleration, the magnitude of the first acceleration force is a magnitude of a force into which the first acceleration is converted, and a direction of the first acceleration force is a direction of the first acceleration.
  • the receiving module 402 is further configured to: after the connection establishing module establishes a connection with the to-be-connected terminal corresponding to the terminal ID information, continue to receive the terminal ID information of the other to-be-connected terminal sent by the other to-be-connected terminal, and Its corresponding second motion parameter information.
  • the embodiment further provides a connection device between the terminals, and the device may be disposed on the terminal to be connected, as shown in FIG. 5, the device includes: a second detection module 501, a sending module 502, where
  • the second detecting module 501 is configured to detect and obtain the second motion parameter information
  • the sending module 502 is configured to send the terminal ID information and the second motion parameter information detected by the second detecting module 501 to the detected each
  • the service terminal, the terminal ID information, and the second motion parameter information are used by each serving terminal to establish a connection with the to-be-connected terminal identified by the terminal ID information when the condition is met.
  • the second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
  • the second detecting module 501 includes: a second acceleration sensing submodule 5011 and a second converting submodule 5012.
  • the second acceleration sensing sub-module 5011 is configured to, after the connection function is turned on, real-time detection by the second acceleration sensor to obtain a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and the recording detects the a second time value of the second electric field force;
  • the second electric field force includes a magnitude and a direction of the second electric field force;
  • the second conversion sub-module 5012 is configured to detect at the second acceleration sensing sub-module 5011 When the second electric field force is greater than 0, the second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein the second acceleration parameter is the second acceleration force information.
  • the second time value is a second time value of the second electric field force, the magnitude of the second acceleration force is a magnitude of the second electric field force, and the direction of the second acceleration force is the second electric field Direction of force;
  • the second acceleration sensing sub-module 5011 is configured to obtain a second acceleration of the terminal continuously or periodically after the wireless network function is turned on by the terminal, and record a second detection of the second acceleration. a time value; the second acceleration includes a magnitude and a direction of the second acceleration; the second conversion sub-module 5012 is configured to be configured when the second acceleration detected by the second acceleration sensing sub-module 5011 is greater than 0 Converting the second acceleration to a second acceleration force, and obtaining the second motion parameter information; wherein, in the second motion parameter information, the second time value of the second acceleration force is a second of the acceleration a time value, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and a direction of the second acceleration force is a direction of the second acceleration.
  • the sending module 502 is further configured to: after connecting to the serving terminal, stop sending the terminal ID information and the second motion parameter information of the to-be-connected terminal to each service terminal detected by the to-be-connected terminal.
  • the first detecting module 401 and the second detecting module 501 can be implemented by using an acceleration sensor; the receiving module 402, the comparing module 403, and the connection establishing module 404 can be implemented by a central processing unit (CPU) located on the router.
  • CPU central processing unit
  • a device such as a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) is implemented; the transmitting module 502 can be implemented by a device such as a CPU, an MPU, a DSP, or an FPGA located on the terminal.
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • the embodiment of the invention further describes a storage medium in which a computer program is stored, the computer program being configured to perform the connection method between the terminals of the foregoing embodiments.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed are a method and apparatus for a connection between terminals, and a storage medium. The method comprises: obtaining first motion parameter information by means of detection; receiving terminal identification (ID) information and second motion parameter information corresponding thereto; and comparing the first motion parameter information with the second motion parameter information, and when the first motion parameter information satisfying a certain condition exists in the detected first motion parameter information by means of comparison, establishing a connection to a terminal to be connected corresponding to the terminal ID information.

Description

一种终端之间的连接方法及装置、存储介质Method and device for connecting terminals and storage medium 技术领域Technical field
本发明涉及通信领域中的无线连接技术,尤其涉及一种终端之间的连接方法及装置、存储介质。The present invention relates to a wireless connection technology in the field of communications, and in particular, to a connection method and device between terminals, and a storage medium.
背景技术Background technique
当前,智能终端连接无线保真(WIFI,WIreless-FIdelity)免费上网过程大致如下:首先打开智能终端如手机的主菜单进行设置,打开WIFI功能;进行无线局域网扫描,如果WIFI在开启状态,手机会对所能搜索到得无线网络进行列表;当无线网络列表完成,用户点击想要连接的网络的名称,如果所连接的网络是受保护的,用户就需要输入复杂的密码和点击链接进入访问;然后智能终端就连接到WIFI,用户可以随便免费上网。Currently, the process of connecting the wireless terminal (WIIFIless-FIdelity) to the smart terminal is as follows: first open the main menu of the smart terminal such as the mobile phone to set, open the WIFI function; perform wireless local area network scanning, if the WIFI is turned on, the mobile phone will List the wireless network that can be searched; when the wireless network list is completed, the user clicks on the name of the network that he wants to connect to. If the connected network is protected, the user needs to input a complicated password and click a link to enter the access; Then the smart terminal is connected to WIFI, and the user can freely access the Internet for free.
发明人发现在进行上述过程连接WIFI免费上网时,主要存在以下问题:The inventor found that when the above process is connected to WIFI free Internet access, the following problems mainly exist:
1、操作步骤繁琐:为了防止其他人偷用自己家庭WIFI资源,一般家庭在购买无线路由器后都会设置密码,因此用户要连接WIFI上网,必须输入密码才行,操作不够方便。2、密码容易被盗用:现有WIFI密码被盗用方式非常多,比如网上盛传的“WIFI万能钥匙”就是一款自动获取周边免费WIFI热点并建立连接的软件,通过云端内置千万用户分享的WIFI热点数据进行连接,这样就会有很多人“蹭网”。黑客通过“分享”入侵“用户默认分享密码会增加手机的安全风险”,尤其是安卓手机,WIFI密码是明文保存在手机,即便是加了密的云端,黑客仍可以通过一定技术手段获取WIFI密码。如果用户密码被盗用,就会出现其他人免费试用该家庭网络,并且导致网络资源占用,上网速率降低。 1, the operation steps are cumbersome: In order to prevent other people from stealing their own home WIFI resources, the average family will set a password after purchasing the wireless router, so users must connect to WIFI Internet access, you must enter a password, the operation is not convenient. 2, the password is easy to be stolen: the existing WIFI password is stolen in many ways, such as the online "WIFI Universal Key" is a software that automatically obtains the surrounding free WIFI hotspot and establishes a connection, through the cloud built-in million users share WIFI The hotspot data is connected, so that there will be a lot of people "clam". Hackers use "share" to invade "user default sharing passwords will increase the security risk of mobile phones", especially for Android phones. WIFI passwords are stored in plain text on mobile phones. Even if the cloud is encrypted, hackers can still obtain WIFI passwords through certain technical means. . If the user password is stolen, other people will try the home network for free, and the network resources will be occupied, and the Internet access rate will be reduced.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种终端之间的连接方法及装置、存储介质。In view of this, embodiments of the present invention are expected to provide a connection method and device between terminals, and a storage medium.
本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:
本发明实施例提供了一种终端之间的连接方法,所述方法包括:The embodiment of the invention provides a connection method between terminals, and the method includes:
检测获得第一运动参数信息;Detecting obtaining first motion parameter information;
接收终端标识ID信息及其对应的第二运动参数信息;Receiving terminal identification ID information and corresponding second motion parameter information;
与所述第二运动参数信息相比,在比较出检测到的第一运动参数信息中存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。Compared with the second motion parameter information, when comparing the first motion parameter information that meets certain conditions in the detected first motion parameter information, the terminal to be connected corresponding to the terminal ID information establishes a connection.
上述方案中,所述第一运动参数信息包括以下参数中的一种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
所述第二运动参数信息对应包括以下参数中的一种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括以下一种情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following situation:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the second The direction of the first acceleration force in the opposite direction of the acceleration force.
上述方案中,所述第一运动参数信息包括以下参数中的两种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
所述第二运动参数信息对应包括以下参数中的两种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况中的两种:Correspondingly, the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时 间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time of the first acceleration force equal to the second time value of the second acceleration force The inter-value has a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and a direction of the first acceleration force opposite to the direction of the second acceleration force exists.
上述方案中,所述第一运动参数信息包括以下参数:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
第二运动参数信息对应包括以下:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,且存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the presence and the The direction of the first acceleration force opposite to the direction of the acceleration force.
上述方案中,所述检测获得第一运动参数信息,包括:In the above solution, the detecting obtains the first motion parameter information, including:
通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向;Obtaining a first electric field force generated by a change of a movable electrode distance in the first acceleration sensor by a first acceleration sensor, and recording a first time value of detecting the first electric field force; the first electric field force includes a first The magnitude and direction of the electric field force;
在所述第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向;When the first electric field force is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first The first time value of the acceleration force is a first time value of the first electric field force, the magnitude of the first acceleration force is a magnitude of the first electric field force, and the direction of the first acceleration force is the The direction of an electric field force;
或者,or,
通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向;Obtaining a first acceleration of the router by a first acceleration sensor, and recording a first time value of detecting the first acceleration; the first acceleration includes a magnitude and a direction of the first acceleration;
在所述第一加速度大于0时,将所述第一加速度转换为第一加速度力, 获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。Converting the first acceleration to a first acceleration force when the first acceleration is greater than zero, Obtaining first motion parameter information, wherein, in the first motion parameter information, a first time value of the first acceleration force is a first time value of the acceleration, and a size of the first acceleration force is The magnitude of the force into which the first acceleration is converted, the direction of the first acceleration force being the direction of the first acceleration.
上述方案中,与所述终端建立无线网络连接后,所述方法还包括:继续接收其他待连接终端发送的所述其他待连接终端的终端ID信息及其对应的第二运动参数信息,与所述其他待连接终端建立连接。In the foregoing solution, after establishing a wireless network connection with the terminal, the method further includes: continuing to receive terminal ID information of the other to-be-connected terminal and the corresponding second motion parameter information sent by the terminal to be connected, and the The other terminals to be connected are connected.
本发明实施例还提供了一种终端之间的连接方法,所述方法包括:The embodiment of the invention further provides a connection method between terminals, the method comprising:
检测获得第二运动参数信息;Detecting obtaining second motion parameter information;
将终端标识ID信息、所述第二运动参数信息发送给检测到的各服务终端,所述终端ID信息、所述第二运动参数信息用于各服务终端在满足条件时与所述终端ID信息标识的待连接终端建立连接。Transmitting the terminal identification ID information and the second motion parameter information to the detected service terminals, where the terminal ID information and the second motion parameter information are used by each service terminal when the condition is met and the terminal ID information The identified terminal to be connected establishes a connection.
上述方案中,所述第二运动参数信息包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。In the above solution, the second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
上述方案中,所述检测获得第二运动参数信息,包括:In the above solution, the detecting obtains the second motion parameter information, including:
在连接功能打开后,通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;After the connection function is turned on, the second electric field force generated by the change of the movable electrode distance in the second acceleration sensor is obtained by the second acceleration sensor, and the second time value of detecting the second electric field force is recorded; The two electric field forces include the magnitude and direction of the second electric field force;
在所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向;When the second electric field force is greater than 0, the second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein the second acceleration parameter information, the second acceleration force The second time value is a second time value of the second electric field force, the magnitude of the second acceleration force is a magnitude of the second electric field force, and the direction of the second acceleration force is the second electric field Direction of force;
或者, Or,
在连接功能打开后,通过第二加速度传感器实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;After the connection function is turned on, the second acceleration of the terminal is obtained by real-time detection by the second acceleration sensor, and the second time value of detecting the second acceleration is recorded; the second acceleration includes the magnitude and direction of the second acceleration;
在所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。When the second acceleration is greater than 0, the second acceleration is converted into a second acceleration force, and the second motion parameter information is obtained; wherein, in the second motion parameter information, the second acceleration force is The second time value is a second time value of the acceleration, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and the direction of the second acceleration force is the second acceleration direction.
上述方案中,在连接上服务终端后,停止向所述待连接终端检测到的各服务终端发送所述待连接终端的终端ID信息和第二运动参数信息。In the above solution, after connecting the service terminal, stop sending the terminal ID information and the second motion parameter information of the terminal to be connected to each service terminal detected by the terminal to be connected.
本发明实施例还提供了一种终端之间的连接装置,包括:The embodiment of the invention further provides a connection device between terminals, including:
第一检测模块,配置为检测获得第一运动参数信息;a first detecting module configured to detect that the first motion parameter information is obtained;
接收模块,配置为接收终端标识ID信息及其对应的第二运动参数信息;a receiving module, configured to receive terminal identification ID information and corresponding second motion parameter information;
比较模块,配置为与所述接收模块所述第二运动参数信息相比,比较在所述第一检测模块检测到的第一运动参数信息中是否存在满足一定条件的第一运动参数信息;And comparing, by the comparing module, the first motion parameter information that meets certain conditions in the first motion parameter information detected by the first detecting module, compared with the second motion parameter information of the receiving module;
连接建立模块,配置为在所述比较模块比较出存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。The connection establishing module is configured to establish a connection with the to-be-connected terminal corresponding to the terminal ID information when the comparing module compares that there is a first motion parameter information that satisfies a certain condition.
上述方案中,所述第一运动参数信息包括以下参数中的一种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
所述第二运动参数信息对应包括以下参数中的一种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括以下一种情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following situation:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在 与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, A direction of the first acceleration force opposite to the direction of the second acceleration force.
上述方案中,所述第一运动参数信息包括以下参数中的两种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
所述第二运动参数信息对应包括以下参数中的两种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况中的两种:Correspondingly, the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the second The direction of the first acceleration force in the opposite direction of the acceleration force.
上述方案中,所述第一运动参数信息包括以下参数:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;In the above solution, the first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force;
第二运动参数信息对应包括以下:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,且存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the presence and the The direction of the first acceleration force opposite to the direction of the acceleration force.
上述方案中,所述第一检测模块包括:第一加速度传感子模块和第一转换子模块;In the above solution, the first detecting module includes: a first acceleration sensing submodule and a first converting submodule;
所述第一加速度传感子模块,配置为通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向; The first acceleration sensing sub-module is configured to detect, by real-time detection by the first acceleration sensor, a first electric field force generated by changing a distance of the movable electrode in the first acceleration sensor, and recording a first detection of the first electric field force a time value; the first electric field force includes a magnitude and a direction of the first electric field force;
所述第一转换子模块,配置为在所述第一加速度传感子模块检测到的第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向;The first conversion submodule is configured to: when the first electric field force detected by the first acceleration sensing submodule is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first a motion parameter information; wherein, in the first motion parameter information, the first time value of the first acceleration force is a first time value of the first electric field force, and the size of the first acceleration force is Describe a magnitude of a first electric field force, the direction of the first acceleration force being a direction of the first electric field force;
或者,or,
所述第一加速度传感子模块,配置为通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向;The first acceleration sensing sub-module is configured to obtain a first acceleration of the router by a first acceleration sensor, and record a first time value of detecting the first acceleration; the first acceleration includes a first The magnitude and direction of the acceleration;
所述第一转换子模块,配置为在所述第一加速度传感子模块检测到的所述第一加速度大于0时,将所述第一加速度转换为第一加速度力,获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。The first conversion submodule is configured to convert the first acceleration into a first acceleration force when the first acceleration detected by the first acceleration sensing submodule is greater than 0, to obtain a first motion parameter Information, wherein, in the first motion parameter information, a first time value of the first acceleration force is a first time value of the acceleration, and a magnitude of the first acceleration force is converted into the first acceleration The magnitude of the force, the direction of the first acceleration force being the direction of the first acceleration.
上述方案中,所述接收模块,还配置为在所述连接建立模块建立与所述终端ID信息相应的待连接终端建立连接后,继续接收其他待连接终端发送的所述其他待连接终端的终端ID信息及其对应的第二运动参数信息。In the above solution, the receiving module is further configured to: after the connection establishing module establishes a connection with the terminal to be connected corresponding to the terminal ID information, continue to receive the terminal of the other terminal to be connected sent by the terminal to be connected. ID information and its corresponding second motion parameter information.
本发明实施例还提供了一种终端之间的连接装置,所述连接装置包括:The embodiment of the invention further provides a connection device between terminals, the connection device comprising:
第二检测模块,配置为检测获得第二运动参数信息;a second detecting module, configured to detect that the second motion parameter information is obtained;
发送模块,配置为将终端标识ID信息、所述第二检测模块检测到的所述第二运动参数信息发送给检测到的各服务终端,所述终端ID信息、所述第二运动参数信息用于各服务终端在满足条件时与所述终端ID信息标识的待连接终端建立连接。 The sending module is configured to send the terminal identifier ID information and the second motion parameter information detected by the second detecting module to the detected service terminals, where the terminal ID information and the second motion parameter information are used. When each service terminal satisfies the condition, a connection is established with the terminal to be connected identified by the terminal ID information.
上述方案中,所述第二运动参数信息包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。In the above solution, the second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
上述方案中,所述第二检测模块包括:第二加速度传感子模块和第二转换子模块;In the above solution, the second detecting module includes: a second acceleration sensing submodule and a second converting submodule;
所述第二加速度传感子模块,配置为在连接功能打开后,通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;The second acceleration sensing sub-module is configured to, after the connection function is turned on, real-time detection by the second acceleration sensor to obtain a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and the recording detects the a second time value of the electric field force; the second electric field force includes a magnitude and a direction of the second electric field force;
所述第二转换子模块,配置为在所述第二加速度传感子模块检测到的所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向;The second conversion submodule is configured to: when the second electric field force detected by the second acceleration sensing submodule is greater than 0, the second electric field force is equivalent to the second acceleration force, and obtain the first The second motion parameter information, wherein the second time value of the second acceleration force is a second time value of the second electric field force, and the size of the second acceleration force is Describe a magnitude of a second electric field force, the direction of the second acceleration force being a direction of the second electric field force;
或者,or,
所述第二加速度传感子模块,配置为在连接功能打开后,通过第二加速度传感器实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;The second acceleration sensing sub-module is configured to obtain a second acceleration of the terminal by a second acceleration sensor in real time after the connection function is turned on, and record a second time value of detecting the second acceleration; The second acceleration includes a magnitude and a direction of the second acceleration;
所述第二转换子模块,配置为在所述第二加速度传感子模块检测到的所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。 The second conversion submodule is configured to convert the second acceleration into a second acceleration force when the second acceleration detected by the second acceleration sensing submodule is greater than 0, to obtain the second The second parameter value of the second acceleration parameter is a second time value of the acceleration, and the magnitude of the second acceleration force is the second acceleration. The magnitude of the force converted into, the direction of the second acceleration force being the direction of the second acceleration.
上述方案中,所述发送模块,配置为在连接上服务终端后,停止向所述待连接终端检测到的各服务终端发送所述待连接终端的终端ID信息和第二运动参数信息。In the above solution, the sending module is configured to stop sending the terminal ID information and the second motion parameter information of the to-be-connected terminal to each service terminal detected by the to-be-connected terminal after connecting to the serving terminal.
一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行前述的终端之间的连接方法。A storage medium in which a computer program is stored, the computer program being configured to perform the aforementioned connection method between terminals.
本发明实施例提供了一种终端之间的连接方法及装置、存储介质,在终端要连接无线网络时,用户只需要打开无线网络功能开关,并用终端触碰路由器天线,这样,就可以使路由器应用本发明提供的方法在同一时间点,比较所述路由器检测到的第一加速度力与所述终端检测的第二加速度力的大小和方向,在大小相等且方向相反时,判定终端在请求建立无线网络连接,则路由器就与终端建立无线网络连接。应用本发明实施例提供的方法,他人要想使用该无线网络资源,必须靠近路由器并接触路由器天线,如此,可避免非家庭成员非法获取无线网络资源可能性。The embodiment of the invention provides a connection method and device between terminals, and a storage medium. When the terminal is to be connected to the wireless network, the user only needs to open the wireless network function switch and touch the router antenna with the terminal, so that the router can be enabled. Applying the method provided by the present invention, at the same time point, comparing the magnitude and direction of the first acceleration force detected by the router with the second acceleration force detected by the terminal, and determining that the terminal is requesting establishment when the sizes are equal and the directions are opposite When the wireless network is connected, the router establishes a wireless network connection with the terminal. Applying the method provided by the embodiment of the present invention, if another person wants to use the wireless network resource, the router must be close to the router and contact the router antenna. Therefore, the possibility that the non-family member illegally acquires the wireless network resource can be avoided.
本发明实施例的方法碰触一下即可接入,不需输入密码,非常方便,且本发明实施例的方法必须靠近路由器并接触路由器天线才可接入,安全性能高,不易被盗用,且方便快捷,对于开车用户来说,效果尤为明显。另外,本发明实施例提供的方法还可以快速连接任意两个需要连接的终端。The method of the embodiment of the present invention can be accessed by touching the touch, and the password is not required to be input, and the method of the embodiment of the present invention must be close to the router and contact the router antenna to be accessed, and has high security performance and is not easily stolen. It is convenient and quick, especially for driving users. In addition, the method provided by the embodiment of the present invention can also quickly connect any two terminals that need to be connected.
附图说明DRAWINGS
图1为本发明实施例1提供的一种应用于路由器侧的终端之间的连接方法流程示意图;1 is a schematic flowchart of a connection method applied to terminals on a router side according to Embodiment 1 of the present invention;
图2为本发明实施例1提供的一种应用于终端侧的终端之间的连接方法流程示意图;2 is a schematic flowchart of a connection method between terminals applied to a terminal side according to Embodiment 1 of the present invention;
图3为本发明实施例2提供的一种终端之间的连接方法流程示意图;3 is a schematic flowchart of a method for connecting terminals between terminals according to Embodiment 2 of the present invention;
图4为本发明实施例3提供的一种终端之间的连接装置的结构框图;4 is a structural block diagram of a connection device between terminals according to Embodiment 3 of the present invention;
图5为本发明实施例3提供的另一种终端之间的连接装置的结构框图。 FIG. 5 is a structural block diagram of another connection device between terminals according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
本发明实施例提供的方法为终端之间的连接方法,即服务终端和待连接终端之间的连接方法,服务终端上需要设置有一个触碰装置(可以是外置天线),如果用户想要建立服务终端和待连接终端之间的连接时,只需要用待连接终端触碰服务终端上的触碰装置,由于本发明实施例中服务终端和待连接终端上均装有加速度传感器,当二者发生触碰的瞬间,根据作用力和反作用力原理,必然会在同一时间产生一个大小相等、方向相反的力;故如果所述服务终端检测到的加速度力与所述待连接终端检测的加速度力满足以下至少一个条件:检测到的时间相同,检测到的加速度力大小相等,检测到的加速度力方向相反,就表明待连接终端在请求建立连接,此时服务终端就可以与待连接终端建立连接。The method provided by the embodiment of the present invention is a connection method between terminals, that is, a connection method between a service terminal and a terminal to be connected, and a touch device (which may be an external antenna) needs to be disposed on the service terminal, if the user wants When the connection between the service terminal and the terminal to be connected is established, only the touch device on the service terminal is touched by the terminal to be connected, and the acceleration sensor is installed on the service terminal and the terminal to be connected in the embodiment of the present invention. At the moment when the touch occurs, according to the principle of the force and the reaction force, an equal and opposite force will be generated at the same time; therefore, if the acceleration force detected by the service terminal and the acceleration detected by the terminal to be connected are detected The force satisfies at least one of the following conditions: the detected time is the same, the detected acceleration force is equal, and the detected acceleration force is in the opposite direction, indicating that the terminal to be connected is requesting to establish a connection, and the service terminal can establish with the terminal to be connected. connection.
本发明实施例提供的方法可以应用在一个智能终端为服务终端,其他智能终端为待连接终端的蓝牙连接场景中,如在两个智能终端要建立蓝牙连接时,二者发生触碰;然后就可以应用本发明实施例提供的方法建立蓝牙连接。本发明实施例提供的方法也可以应用在一个刷卡器为服务终端,移动终端(如手机)为待连接终端的连接场景中,在需要确认用户信息或进行手机支付时,用移动终端触碰刷卡器,应用本发明实施例提供的方法建立连接后,可以通过移动设备将用户信息发送给刷卡器进行确认,或者通过移动设备中安装的互联网化的应用程序,完成支付。当然,本发明实施例提供的方法也可以应用在路由器为服务终端,智能终端为连接终端的无线连接场景中。在本发明的具体实施例中,以服务终端是路由器,待连接终端是智能终端为例,采用两者之间的无线网络连接过程来进行场景描述。 The method provided by the embodiment of the present invention can be applied to a smart terminal as a service terminal, and other smart terminals are in a Bluetooth connection scenario of a terminal to be connected, for example, when two smart terminals are to establish a Bluetooth connection, the two touch each other; The Bluetooth connection can be established by using the method provided by the embodiment of the present invention. The method provided by the embodiment of the present invention can also be applied to a connection scenario in which a card reader is a service terminal, and a mobile terminal (such as a mobile phone) is a connection terminal to be connected. When the user information needs to be confirmed or the mobile phone payment is required, the mobile terminal touches the card. After the connection is established by using the method provided by the embodiment of the present invention, the user information may be sent to the card reader for confirmation by the mobile device, or the payment may be completed by using an internet-based application installed in the mobile device. Of course, the method provided by the embodiment of the present invention can also be applied to a wireless connection scenario in which a router is a service terminal and an intelligent terminal is a connection terminal. In a specific embodiment of the present invention, the service terminal is a router, and the terminal to be connected is an intelligent terminal, and a wireless network connection process between the two is used to describe the scenario.
实施例1Example 1
本实施例提供了一种终端之间的连接方法,如图1所示,所述方法应用于服务终端路由器一侧,本实施例方法的处理流程包括以下步骤:This embodiment provides a method for connecting terminals. As shown in FIG. 1 , the method is applied to the router side of the service terminal. The processing procedure of the method in this embodiment includes the following steps:
步骤101、检测获得第一运动参数信息。Step 101: Detecting obtaining first motion parameter information.
现有的路由器由于仅作为一个中转站,所以它内部的处理芯片相对简单,无加速度传感器存在,所以,本发明实施例中的路由器端增加设置一个加速度传感器,所述路由器可以通过加速度传感器检测所述路由器的第一运动参数信息;可选的,可以连续性地实时检测,也可以或周期性(检测周期可以为1s)地检测所述路由器的第一运动参数信息。可选的,所述第一运动参数信息包括以下参数中的至少一种:所述第一加速度力的第一时间值,所述第一加速度力的大小,所述第一加速度力的方向。The existing router is only a transit station, so the internal processing chip is relatively simple, and no acceleration sensor exists. Therefore, in the embodiment of the present invention, an acceleration sensor is added to the router end, and the router can detect the acceleration sensor. The first motion parameter information of the router is selected; optionally, the first motion parameter information of the router may be detected continuously or in real time, or periodically (the detection period may be 1 s). Optionally, the first motion parameter information includes at least one of the following: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force.
在这里需要说明的是,所述加速度传感器由一个固定质量块加活动电极等部分组成,根据加速度传感器原理及结构,通过加速度传感器检测加速度力有两种方法:一种方法是,受力以后,所述加速度传感器中活动电极距离会产生变化,进而引起电容大小变化,根据作用力和反作用力,通过测量电场力的大小和方向即可等效出加速度力大小和方向;还有一种方法是,直接测量加速度的大小和方向,然后根据F=ma,以及已知的固定质量块m值,计算出加速度力的大小和方向。一般建议直接采用第一种方法,减少一个计算过程。It should be noted that the acceleration sensor is composed of a fixed mass and a movable electrode. According to the principle and structure of the acceleration sensor, there are two methods for detecting the acceleration force by the acceleration sensor: one method is, after the force is applied, The distance of the movable electrode in the acceleration sensor changes, which causes a change in the size of the capacitor. According to the force and the reaction force, the magnitude and direction of the electric force can be measured by the magnitude and direction of the electric field force. Another method is Directly measure the magnitude and direction of the acceleration, and then calculate the magnitude and direction of the acceleration force based on F=ma and the known fixed mass m value. It is generally recommended to use the first method directly to reduce one calculation process.
故步骤101中所述的检测获得第一运动参数信息包括:Therefore, obtaining the first motion parameter information by the detecting in step 101 includes:
通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向;在所述第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述 第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向;或者,通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向;在所述第一加速度大于0时,将所述第一加速度转换为第一加速度力,获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。Obtaining a first electric field force generated by a change of a movable electrode distance in the first acceleration sensor by a first acceleration sensor, and recording a first time value of detecting the first electric field force; the first electric field force includes a first The magnitude and direction of the electric field force; when the first electric field force is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein the first motion parameter In the information, the first time value of the first acceleration force is the a first time value of the first electric field force, the magnitude of the first acceleration force being a magnitude of the first electric field force, the direction of the first acceleration force being a direction of the first electric field force; or, by An acceleration sensor obtains a first acceleration of the router in real time, and records a first time value of detecting the first acceleration; the first acceleration includes a magnitude and a direction of the first acceleration; and the first acceleration is greater than 0 And converting the first acceleration to the first acceleration force to obtain the first motion parameter information; wherein, in the first motion parameter information, the first time value of the first acceleration force is the a time value, the magnitude of the first acceleration force is a magnitude of a force into which the first acceleration is converted, and a direction of the first acceleration force is a direction of the first acceleration.
步骤102、接收终端ID信息及其对应的第二运动参数信息。Step 102: Receive terminal ID information and corresponding second motion parameter information.
所述智能终端在无线网络连接功能打开后,也可以如步骤101中所述的方法一样,通过第二加速度传感器实时检测获得第二运动参数信息,所述第二运动参数信息对应包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。在这里需要说明的是,所述第二运动参数信息中的参数类型与所述第一运动参数信息中的参数类型要一致,即第一运动参数信息中包含的是第一加速度力的第一时间值,则所述第二运动参数信息对应包括所述第二加速度力的第二时间值;第一运动参数信息中包含的是第一加速度力的大小和方向,则所述第二运动参数信息对应包括所述第二加速度力的大小和方;若第一运动参数信息中包含的是第一加速度力的第一时间值、大小和方向,则所述第二运动参数信息对应包括所述第二加速度力的第二时间值、大小和方向。After the wireless network connection function is turned on, the smart terminal may also obtain the second motion parameter information by using the second acceleration sensor in real time, as in the method described in step 101, where the second motion parameter information includes the following parameters. At least one of: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force. It should be noted that the parameter type in the second motion parameter information is consistent with the parameter type in the first motion parameter information, that is, the first motion parameter information includes the first first acceleration force. a time value, the second motion parameter information corresponding to the second time value including the second acceleration force; the first motion parameter information includes a magnitude and a direction of the first acceleration force, and the second motion parameter The information corresponding to the second acceleration force includes a size and a square; if the first motion parameter information includes a first time value, a magnitude, and a direction of the first acceleration force, the second motion parameter information corresponding to the The second time value, magnitude, and direction of the second acceleration force.
然后,该智能终端就会将该智能终端的终端ID信息,所述第二运动参数信息发送给所述智能终端检测到的各个路由器,所述路由器一直在监听周围智能终端发射的信号,路由器在接收到终端ID信息以及其对应的第二 运动参数信息后,会立刻进行步骤103。Then, the smart terminal sends the terminal ID information of the smart terminal, the second motion parameter information to each router detected by the smart terminal, and the router is always listening to the signal transmitted by the surrounding smart terminal, and the router is Receiving terminal ID information and its corresponding second After the motion parameter information, step 103 is performed immediately.
步骤103、与所述第二运动参数信息相比,在比较出检测到的第一运动参数信息中存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。Step 103: Compared with the second motion parameter information, when comparing the first motion parameter information that meets the certain condition in the detected first motion parameter information, the terminal to be connected corresponding to the terminal ID information is established. connection.
所述路由器中对应保存有所述路由器实时检测到的第一运动参数信息。所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中,满足以下至少一种情况:与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,与所述第二加速度力的大小相等的第一加速度力的大小,与所述第二加速度力的方向相反的第一加速度力的方向。若比较出检测到的第一运动参数信息中存在满足上述一定条件的一个第一运动参数信息,则路由器与所述终端ID信息标识的智能终端(待连接终端)建立连接。The first motion parameter information detected by the router in real time is stored in the router. The first motion parameter information that satisfies certain conditions is included in the same first motion parameter information, and satisfies at least one of the following: a first acceleration force equal to a second time value of the second acceleration force a time value, a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and a direction of the first acceleration force opposite to the direction of the second acceleration force. If a first motion parameter information that satisfies the foregoing certain condition exists in the detected first motion parameter information, the router establishes a connection with the smart terminal (the terminal to be connected) identified by the terminal ID information.
示例的:Example:
1、若所述第一运动参数信息中只包括所述第一加速度力的第一时间值,相应的所述第二运动参数信息对应只包括:所述第二加速度力的第二时间值,则比较出存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,即表明在同一时间点,所述路由器检测到的第一加速度力,所述智能终端也检测的第二加速度力,这就表明智能终端在请求建立无线网络连接。类似的,如果运动参数信息中只包含加速度力大小时,则在所述路由器检测到的第一加速度力的大小中存在一个第一加速度力的大小与所述智能终端发送的第二加速度力大小相等时,表明智能终端在请求建立无线网络连接。或者,如果运动参数信息中只包含加速度力方向时,则在所述路由器检测到的第一加速度力的方向中存在一个第一加速度力的方向与所述智能终端发送的第二加速度力方向相反时,表明智能终端在请求建立无线网络连接。 1. If the first motion parameter information includes only the first time value of the first acceleration force, the corresponding second motion parameter information only includes: the second time value of the second acceleration force, Comparing a first time value of the first acceleration force equal to the second time value of the second acceleration force, that is, indicating the first acceleration force detected by the router at the same time point, the smart terminal The second acceleration force is also detected, which indicates that the smart terminal is requesting to establish a wireless network connection. Similarly, if the motion parameter information only includes the magnitude of the acceleration force, the magnitude of the first acceleration force and the magnitude of the second acceleration force sent by the smart terminal are present in the magnitude of the first acceleration force detected by the router. When they are equal, it indicates that the smart terminal is requesting to establish a wireless network connection. Alternatively, if the motion parameter information includes only the direction of the acceleration force, the direction of the first acceleration force in the direction of the first acceleration force detected by the router is opposite to the direction of the second acceleration force sent by the smart terminal. At the time, it indicates that the intelligent terminal is requesting to establish a wireless network connection.
2、若所述第一运动参数信息中包括所述第一加速度力的第一时间值,第一加速度力的大小;相应的所述第二运动参数信息对应包括:所述第二加速度力的第二时间值,第二加速度力的大小。则需要比较出存在第一运动参数信息满足以下条件:在同一个第一运动参数信息中,存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,且存在所述第二加速度力的大小等于所述第一加速度力的大小时,即表明在同一时间点,所述路由器检测到的第一加速度力和所述终端检测的第二加速度力大小相等,这就表明终端在请求建立无线网络连接,终端ID信息可以是终端的位置信息等,根据该终端ID信息,路由器就会向该终端ID信息标识的终端分配IP地址,建立无线连接。类似的,如果运动参数信息中包含的是其他两两组合的参数,则只要满足在同一个第一运动参数信息中存在两个都满足条件的参数时,即表明终端在请求建立无线网络连接。2. If the first motion parameter information includes the first time value of the first acceleration force, the magnitude of the first acceleration force; and the corresponding second motion parameter information corresponding to: the second acceleration force The second time value, the magnitude of the second acceleration force. The first motion parameter information needs to be compared to satisfy the following condition: in the same first motion parameter information, there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and When the magnitude of the second acceleration force is equal to the magnitude of the first acceleration force, that is, at the same time point, the first acceleration force detected by the router and the second acceleration force detected by the terminal are equal. This indicates that the terminal is requesting to establish a wireless network connection, and the terminal ID information may be location information of the terminal. According to the terminal ID information, the router allocates an IP address to the terminal identified by the terminal ID information to establish a wireless connection. Similarly, if the motion parameter information includes other two-two combined parameters, it is indicated that the terminal is requesting to establish a wireless network connection as long as two parameters satisfying the condition in the same first motion parameter information are satisfied.
可选的,在比较的过程中,可以先比较并获得一个满足条件时参数,然后将满足条件的参数对应的另一个参数与所述第二运动参数信息中的参数进行比较。示例的,假设运动参数信息中包含的两个参数时时间值和加速度大小,则可以先比较并获得与所述第二时间值相同的第一时间值,再将与所述第二时间值相同的第一时间值对应的第一加速度力的大小与所述第二加速度力的大小进行比较。Optionally, in the process of comparing, a parameter that satisfies the condition may be compared and obtained, and then another parameter corresponding to the parameter that satisfies the condition is compared with the parameter in the second motion parameter information. For example, if the time value and the acceleration magnitude of the two parameters included in the motion parameter information are assumed, the first time value identical to the second time value may be compared and obtained, and then the second time value is the same. The magnitude of the first acceleration force corresponding to the first time value is compared with the magnitude of the second acceleration force.
3、若所述第一运动参数信息中包括所述第一加速度力的第一时间值,第一加速度力的大小和方向;相应的所述第二运动参数信息对应包括:所述第二加速度力的第二时间值,第二加速度力的大小和方向。则在比较出存在第一运动参数信息满足以下条件:在同一个第一运动参数信息中,存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等第一加速度力的大小,且存在与所述第二加速度力的方向相反的第一加速度力的方向时,即表明在同一时间点 时,所述路由器检测到的第一加速度力与所述终端检测的第二加速度力大小相等,方向相反,则表明终端在请求建立无线网络连接,终端ID信息可以是终端的位置信息等,根据该终端ID信息,路由器就会向该终端ID信息标识的终端分配IP地址,建立无线网络连接。这里建立无线网络连接的过程与现有技术中输入密码建立无线网络连接的过程相同,在此不再赘述。3. If the first motion parameter information includes the first time value of the first acceleration force, the magnitude and direction of the first acceleration force; and the corresponding second motion parameter information corresponding to: the second acceleration The second time value of the force, the magnitude and direction of the second acceleration force. Then comparing the presence of the first motion parameter information to satisfy a condition that, in the same first motion parameter information, there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, And the magnitude of the first acceleration force is equal to the magnitude of the second acceleration force, and there is a direction of the first acceleration force opposite to the direction of the second acceleration force, that is, at the same time point The first acceleration force detected by the router is equal to the second acceleration force detected by the terminal, and the direction is opposite, indicating that the terminal is requesting to establish a wireless network connection, and the terminal ID information may be location information of the terminal, etc., according to The terminal ID information, the router will assign an IP address to the terminal identified by the terminal ID information to establish a wireless network connection. The process of establishing a wireless network connection is the same as the process of establishing a wireless network connection by inputting a password in the prior art, and details are not described herein again.
可选的,在比较的过程中,可以先比较并获得与所述第二时间值相同的第一时间值,将与所述第二时间值相同的第一时间值对应保存的第一加速度力的大小和方向与所述第二加速度力的大小和方向进行比较;两个加速度力大小相等时,与所述终端ID信息标识的终端建立无线网络连接。Optionally, in the process of comparing, the first time value that is the same as the second time value may be compared and obtained, and the first time value that is the same as the second time value is corresponding to the saved first acceleration force. The size and direction are compared with the magnitude and direction of the second acceleration force; when the two acceleration forces are equal in magnitude, a wireless network connection is established with the terminal identified by the terminal ID information.
所述路由器在与所述终端建立无线网络连接后,继续接收其他终端发送的所述其他终端的ID信息以及其对应的第二运动参数信息,使所述路由器与所述其他智能终端建立无线网络连接。After establishing a wireless network connection with the terminal, the router continues to receive the ID information of the other terminal and the corresponding second motion parameter information sent by the other terminal, so that the router establishes a wireless network with the other intelligent terminal. connection.
本实施例还提供了一种终端之间的连接方法,如图2所示,所述方法应用于待连接终端即智能终端一侧,本实施例方法的处理流程包括以下步骤:The embodiment also provides a method for connecting terminals. As shown in FIG. 2, the method is applied to the terminal to be connected, that is, the smart terminal. The processing procedure of the method in this embodiment includes the following steps:
步骤201、检测获得第二运动参数信息。Step 201: Detecting obtaining second motion parameter information.
所述智能终端在无线网络连接功能打开后可以通过第二加速度传感器实时检测获得第二运动参数信息,具体包括:通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;在所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向;或者,在连接功能打开后,通过第二加速度 传感器实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;在所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。After the wireless network connection function is turned on, the smart terminal can detect the second motion parameter information in real time by using the second acceleration sensor, and specifically includes: obtaining, by real-time detection by the second acceleration sensor, the change of the movable electrode distance in the second acceleration sensor. a second electric field force, recording a second time value at which the second electric field force is detected; the second electric field force includes a magnitude and a direction of the second electric field force; and when the second electric field force is greater than 0, the The second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein, in the second motion parameter information, the second time value of the second acceleration force is the second electric field force a second time value, the magnitude of the second acceleration force is a magnitude of the second electric field force, the direction of the second acceleration force is a direction of the second electric field force; or, after the connection function is turned on, Two acceleration The sensor detects the second acceleration of the terminal in real time, and records a second time value of detecting the second acceleration; the second acceleration includes a magnitude and a direction of the second acceleration; when the second acceleration is greater than 0, Converting the second acceleration to the second acceleration force to obtain the second motion parameter information; wherein, in the second motion parameter information, the second time value of the second acceleration force is the a second time value, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and a direction of the second acceleration force is a direction of the second acceleration.
步骤202、将终端ID信息、所述第二运动参数信息发送给检测到的服务终端。Step 202: Send terminal ID information and the second motion parameter information to the detected service terminal.
所述路由器接收到终端ID信息以及其对应的第二运动参数信息后,根据所述路由器通过步骤101检测到的所述第一运动参数信息将两个运动参数信息进行比较,如果比较出存在满足一定条件的第一运动参数信息时,则表明终端在请求建立无线网络连接,路由器就会向终端ID信息标识的终端分配IP地址,所述智能终端接收路由器分配的IP地址,使所述智能终端与所述路由器建立无线网络连接。After receiving the terminal ID information and the corresponding second motion parameter information, the router compares the two motion parameter information according to the first motion parameter information detected by the router through step 101, and if the comparison exists, the content is satisfied. When the first motion parameter information of a certain condition indicates that the terminal is requesting to establish a wireless network connection, the router allocates an IP address to the terminal identified by the terminal ID information, and the smart terminal receives the IP address assigned by the router, so that the intelligent terminal Establish a wireless network connection with the router.
所述智能终端在连接上无线网络后,就停止向与所述智能终端检测到的各路由器发送所述智能终端的终端ID信息,第二运动参数信息,节省用电量。所述智能终端建立了无线网络连接后进入连接状态,可以与互联网进行数据传输。After the smart terminal is connected to the wireless network, the smart terminal stops transmitting the terminal ID information and the second motion parameter information of the smart terminal to each router detected by the smart terminal, thereby saving power consumption. The smart terminal establishes a wireless network connection and enters a connection state, and can perform data transmission with the Internet.
本实施例提供的方法碰触一下即可接入,不需输入密码,非常方便,且本实施方法必须靠近路由器并接触路由器天线才可接入,不易被盗用。The method provided in this embodiment can be accessed by touching the touch, and it is very convenient to input a password, and the implementation method must be close to the router and contact the router antenna to be accessible, and is not easily stolen.
实施例2:Example 2:
本实施例提供了一种终端之间的连接方法,如图3所示,本实施方法实现所基于的整体结构由一个路由器30,三个智能终端31,32,33组成,本实施例方法的具体处理流程包括: This embodiment provides a method for connecting terminals. As shown in FIG. 3, the overall structure on which the implementation method is implemented is composed of one router 30 and three intelligent terminals 31, 32, and 33. The specific processing flow includes:
路由器30一直处于接收检测状态,持续进行步骤301-303:The router 30 is always in the receiving detection state, and continues to steps 301-303:
步骤301、所述路由器通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小以及方向。Step 301: The router detects, by using a first acceleration sensor, a first electric field force generated by changing a distance of a movable electrode in the first acceleration sensor, and records a first time value of detecting the first electric field force; An electric field force includes the magnitude and direction of the first electric field force.
步骤302、在所述第一电场力大于0时,路由器将所述第一电场力等效为第一加速度力,获得所述路由器的第一运动参数信息。所述第一运动参数信息包括以下参数:所述第一加速度力的第一时间值,所述第一加速度力的大小,所述第一加速度力的方向;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向。Step 302: When the first electric field force is greater than 0, the router equivalents the first electric field force to a first acceleration force, and obtains first motion parameter information of the router. The first motion parameter information includes: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force; wherein the first motion parameter information The first time value of the first acceleration force is a first time value of the first electric field force, and the magnitude of the first acceleration force is a magnitude of the first electric field force, the first acceleration force The direction is the direction of the first electric field force.
一般路由器是静止的,路由器根据步骤301进行检测时,检测到的第一电场力为0,此时可以判断为没有产生所述第一加速度力,不进行步骤302。The general router is static. When the router detects according to step 301, the detected first electric field force is 0. At this time, it can be determined that the first acceleration force is not generated, and step 302 is not performed.
所述智能终端在无线网络连接功能打开时,将会通过天线接收附近路由器信号,并根据信号强弱将当前范围内所有路由器名称列举出来,同时,所述智能终端会进行下述步骤:When the wireless network connection function is turned on, the smart terminal receives the signal of the nearby router through the antenna, and enumerates all the router names in the current range according to the strength of the signal. At the same time, the intelligent terminal performs the following steps:
步骤303、所述智能终端通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向。Step 303: The smart terminal detects, by using a second acceleration sensor, a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and records a second time value of detecting the second electric field force; The second electric field force includes the magnitude and direction of the second electric field force.
步骤304、在所述第二电场力大于0时,所述终端将所述第二电场力等效为第二加速度力,获得所述路由器的第二运动参数信息,所述第二运动参数信息包括以下参数:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第 二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向。Step 304: When the second electric field force is greater than 0, the terminal equivalents the second electric field force to a second acceleration force, and obtains second motion parameter information of the router, where the second motion parameter information The second time value of the second acceleration force, the magnitude of the second acceleration force, the direction of the second acceleration force, and the second acceleration parameter information, the second acceleration The second time value of the force is a second time value of the second electric field force, the The magnitude of the two acceleration forces is the magnitude of the second electric field force, and the direction of the second acceleration force is the direction of the second electric field force.
步骤305、所述智能终端将所述智能终端的终端ID信息,所述第二加速度力和所述第二时间值发送给所述智能终端检测到的各路由器。Step 305: The smart terminal sends the terminal ID information, the second acceleration force, and the second time value of the smart terminal to each router detected by the smart terminal.
当所述路由器接收到智能终端发送的终端ID信息,所述第二运动参数信息时,进行步骤306。When the router receives the terminal ID information sent by the smart terminal and the second motion parameter information, step 306 is performed.
步骤306、比较获得与所述第二时间值相同的第一时间值,将所述与所述第二时间值相同的第一时间值对应保存的第一加速度力,与所述第二加速度力进行比较。Step 306: The first time value equal to the second time value is obtained by comparing, and the first time value that is the same as the second time value is corresponding to the saved first acceleration force and the second acceleration force. Compare.
如果两个加速度力大小相等且方向相反,则可判定此时智能终端请求建立WIFI连接,进行步骤307;否则,终端继续进行步骤303-305,路由器持续进行步骤301-302,直到步骤306时比较出同一时刻两个加速度力大小相等,方向相反,进行步骤307。If the two acceleration forces are equal in magnitude and opposite in direction, it may be determined that the smart terminal requests to establish a WIFI connection, and step 307 is performed; otherwise, the terminal proceeds to steps 303-305, and the router continues to perform steps 301-302 until step 306. At the same time, the two acceleration forces are equal in magnitude and opposite in direction, and step 307 is performed.
步骤307、与所述终端ID信息标识的终端建立无线网络连接。Step 307: Establish a wireless network connection with the terminal identified by the terminal ID information.
如图3所示,当用户用智能终端31触碰路由器30的天线位置时,在二者触碰瞬间,根据作用力和反作用力原理,智能终端31必然对路由器30产生一个加速度力,同时路由器30也必然对智能终端31产生一个加速度力,路由器按照步骤301可以检测到大于0的第一电场力,然后继续步骤302,将产生的所述第一加速度力以及所述第一时间值对应保存在运动参数信息表中。同时,智能终端31按照步骤303可以检测到大于0的第二电场力,然后进行步骤304、305,将所述终端的终端ID信息,所述第二运动参数信息发送给所述终端检测到的各个路由器。As shown in FIG. 3, when the user touches the antenna position of the router 30 with the smart terminal 31, at the moment of the two touches, according to the principle of the force and the reaction force, the intelligent terminal 31 necessarily generates an acceleration force to the router 30 while the router 30 also inevitably generates an acceleration force for the smart terminal 31. The router can detect the first electric field force greater than 0 according to step 301, and then proceeds to step 302 to save the generated first acceleration force and the first time value. In the motion parameter information table. At the same time, the smart terminal 31 can detect the second electric field force greater than 0 according to step 303, and then perform steps 304 and 305 to send the terminal ID information of the terminal and the second motion parameter information to the terminal. Each router.
路由器30接收到所述终端的终端ID信息,所述第二运动参数信息后,就会进行步骤306,此时,可以比较出在智能终端31触碰路由器30天线的时间点,所述路由器检测到的第一加速度力与所述终端检测的第二加速度 力大小相等,方向相反,这时候就可以判定此时智能终端31请求建立WIFI连接,此时路由器立即分配IP地址给智能终端31,并建立无线网络连接,智能终端31建立无线网络连接后,停止进行步骤303-305。After the router 30 receives the terminal ID information of the terminal, and the second motion parameter information, step 306 is performed. At this time, the time when the smart terminal 31 touches the antenna of the router 30 can be compared, and the router detects The first acceleration force to the second acceleration detected by the terminal The force is equal in magnitude and opposite in direction. At this time, it can be determined that the smart terminal 31 requests to establish a WIFI connection. At this time, the router immediately assigns an IP address to the smart terminal 31, and establishes a wireless network connection. After the smart terminal 31 establishes a wireless network connection, the smart terminal 31 stops. Go to steps 303-305.
如图3所示,路由器30继续进行步骤301-302检测所述第一运动参数信息。如果智能终端32也要接入路由器30进行WIFI连接,用户就可以打开智能终端32的无线网络连接功能,用智能终端32触碰路由器30的天线位置,按照上面描述的智能终端31连接无线网络方法,使路由器30分配IP地址给智能终端32,建立无线网络连接。As shown in FIG. 3, the router 30 proceeds to steps 301-302 to detect the first motion parameter information. If the smart terminal 32 also needs to access the router 30 for WIFI connection, the user can open the wireless network connection function of the smart terminal 32, touch the antenna position of the router 30 with the smart terminal 32, and connect the wireless network method according to the smart terminal 31 described above. The router 30 is assigned an IP address to the smart terminal 32 to establish a wireless network connection.
如图3所示,如果智能终端33打开了无线网络连接功能,但未碰触到路由器30的天线,这时在外力碰触作用下,智能终端33经过步骤303检测到大于0的第二电场力,然后进行步骤304、305,将所述智能终端的终端ID信息,所述第二运动参数信息发送给所述终端检测到的各个路由器,如果路由器30可以接收到所述终端ID信息和第二运动参数信息,则路由器30就会进行步骤306,此时,由于智能终端33和路由器之间没有碰触,故不能够比较出在同一时间点,所述路由器检测到的第一加速度力与所述终端检测的第二加速度力大小相等,方向相反;这时候路由器就可以判定此时智能终端33没有请求建立WIFI连接,不进行步骤307。此后,智能终端33会继续进行步骤303-305直到连接到无线网络或智能终端33的无线网络连接功能关闭。As shown in FIG. 3, if the smart terminal 33 turns on the wireless network connection function but does not touch the antenna of the router 30, then the smart terminal 33 detects a second electric field greater than 0 through step 303 under the action of an external force. And then performing steps 304 and 305 to transmit the terminal ID information of the smart terminal and the second motion parameter information to each router detected by the terminal, if the router 30 can receive the terminal ID information and the In the second motion parameter information, the router 30 performs step 306. At this time, since the smart terminal 33 and the router do not touch, the first acceleration force detected by the router at the same time point cannot be compared. The second acceleration force detected by the terminal is equal in magnitude and opposite in direction; at this time, the router can determine that the smart terminal 33 does not request to establish a WIFI connection, and does not perform step 307. Thereafter, the smart terminal 33 proceeds to steps 303-305 until the wireless network connection function connected to the wireless network or smart terminal 33 is turned off.
这样,用户想建立多个智能终端无线网络连接,就可以用各个终端触碰路由器天线实现,非常方便,且不像密码方式接入,容易被盗用。In this way, if the user wants to establish a wireless network connection of multiple smart terminals, the user can touch the router antenna with each terminal, which is very convenient, and is not easy to be stolen like password access.
实施例3Example 3
本发明实施例提供了一种终端之间的连接装置,该装置可以设置在服务终端上,如图4所示,该装置包括:第一检测模块401、接收模块402、比较模块403、连接建立模块404,其中, The embodiment of the present invention provides a connection device between terminals, which may be disposed on a service terminal. As shown in FIG. 4, the device includes: a first detection module 401, a receiving module 402, a comparison module 403, and a connection establishment. Module 404, wherein
第一检测模块401,配置为检测获得第一运动参数信息;接收模块402,配置为接收终端标识ID信息及其对应的第二运动参数信息;比较模块403,配置为与所述接收模块402所述第二运动参数信息相比,比较在所述第一检测模块401检测到的第一运动参数信息中是否存在满足一定条件的第一运动参数信息;连接建立模块404,配置为在所述比较模块403比较出存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。The first detecting module 401 is configured to detect that the first motion parameter information is obtained, and the receiving module 402 is configured to receive the terminal identifier ID information and the corresponding second motion parameter information, and the comparing module 403 is configured to be configured by the receiving module 402. Comparing the second motion parameter information, comparing whether the first motion parameter information satisfying a certain condition exists in the first motion parameter information detected by the first detecting module 401; the connection establishing module 404 is configured to perform the comparison When the module 403 compares the first motion parameter information that satisfies certain conditions, the module 403 establishes a connection with the terminal to be connected corresponding to the terminal ID information.
在本实施例中,主要存在以下三种情况:In this embodiment, there are mainly three cases:
1、所述第一运动参数信息包括以下参数中的一种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;所述第二运动参数信息对应包括以下参数中的一种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;相应的,所述满足一定条件的第一运动参数信息包括以下一种情况:存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。1. The first motion parameter information includes one of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force, and the second motion parameter information corresponding to the One of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly, the first motion parameter information satisfying the certain condition includes the following situation : a first time value of the first acceleration force equal to the second time value of the second acceleration force, and a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, present and The direction of the first acceleration force opposite to the direction of the acceleration force.
2、所述第一运动参数信息包括以下参数中的两种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;所述第二运动参数信息对应包括以下参数中的两种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况中的两种:存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。2. The first motion parameter information includes two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force, and the second motion parameter information corresponding to the Two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly, the first motion parameter information satisfying the certain condition is included in the same There are two kinds of motion parameter information: the first time value of the first acceleration force equal to the second time value of the second acceleration force is equal to the magnitude of the second acceleration force The magnitude of the first acceleration force has a direction of the first acceleration force opposite to the direction of the second acceleration force.
3、所述第一运动参数信息包括以下参数:第一加速度力的第一时间值, 第一加速度力的大小,第一加速度力的方向;第二运动参数信息对应包括以下:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况:存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,且存在与所述第二加速度力的方向相反的第一加速度力的方向。3. The first motion parameter information includes the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force; the second motion parameter information corresponding to the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force; correspondingly, The first motion parameter information that satisfies a certain condition includes the following condition in the same first motion parameter information: there is a first time value of the first acceleration force equal to the second time value of the second acceleration force, There is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and there is a direction of the first acceleration force opposite to the direction of the second acceleration force.
可选的,如图4所示,所述第一检测模块401包括:第一加速度传感子模块4011和第一转换子模块4012。Optionally, as shown in FIG. 4, the first detecting module 401 includes: a first acceleration sensing submodule 4011 and a first converting submodule 4012.
所述第一加速度传感子模块4011,配置为通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向;所述第一转换子模块4012,配置为在所述第一加速度传感子模块4011检测到的第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向。The first acceleration sensing sub-module 4011 is configured to detect, by real-time detection by the first acceleration sensor, a first electric field force generated by changing a movable electrode distance in the first acceleration sensor, and recording a first electric field force detected. a time value; the first electric field force includes a magnitude and a direction of the first electric field force; the first conversion sub-module 4012 is configured to detect that the first electric field force is greater than the first electric field force detected by the first acceleration sensing sub-module 4011 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first time value of the first acceleration force is a first time value of the first electric field force, a magnitude of the first acceleration force being a magnitude of the first electric field force, and a direction of the first acceleration force being a direction of the first electric field force.
或者,or,
所述第一加速度传感子模块4011,配置为通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向;所述第一转换子模块4012,配置为在所述第一加速度传感子模块4011检测到的所述第一加速度大于0时,将所述第一加速度转换为第一加速度力,获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间 值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。The first acceleration sensing sub-module 4011 is configured to obtain a first acceleration of the router by real-time detection by a first acceleration sensor, and record a first time value of detecting the first acceleration; the first acceleration includes The magnitude and direction of an acceleration; the first conversion sub-module 4012 is configured to convert the first acceleration to the first acceleration when the first acceleration detected by the first acceleration sensing sub-module 4011 is greater than zero Obtaining a first motion parameter information; wherein, in the first motion parameter information, the first time of the first acceleration force The value is a first time value of the acceleration, the magnitude of the first acceleration force is a magnitude of a force into which the first acceleration is converted, and a direction of the first acceleration force is a direction of the first acceleration.
所述接收模块402,还配置为在所述连接建立模块建立与所述终端ID信息相应的待连接终端建立连接后,继续接收其他待连接终端发送的所述其他待连接终端的终端ID信息及其对应的第二运动参数信息。The receiving module 402 is further configured to: after the connection establishing module establishes a connection with the to-be-connected terminal corresponding to the terminal ID information, continue to receive the terminal ID information of the other to-be-connected terminal sent by the other to-be-connected terminal, and Its corresponding second motion parameter information.
本实施例还提供了一种终端之间的连接装置,该装置可以设置在待连接终端上,如图5所示,该装置包括:第二检测模块501、发送模块502,其中,The embodiment further provides a connection device between the terminals, and the device may be disposed on the terminal to be connected, as shown in FIG. 5, the device includes: a second detection module 501, a sending module 502, where
第二检测模块501,配置为检测获得第二运动参数信息;发送模块502,配置为将终端ID信息、所述第二检测模块501检测到的所述第二运动参数信息发送给检测到的各服务终端,所述终端ID信息、所述第二运动参数信息用于各服务终端在满足条件时与所述终端ID信息标识的待连接终端建立连接。所述第二运动参数信息包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。The second detecting module 501 is configured to detect and obtain the second motion parameter information, and the sending module 502 is configured to send the terminal ID information and the second motion parameter information detected by the second detecting module 501 to the detected each The service terminal, the terminal ID information, and the second motion parameter information are used by each serving terminal to establish a connection with the to-be-connected terminal identified by the terminal ID information when the condition is met. The second motion parameter information includes at least one of the following: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force.
可选的,如图5所示,所述第二检测模块501包括:第二加速度传感子模块5011与第二转换子模块5012。Optionally, as shown in FIG. 5, the second detecting module 501 includes: a second acceleration sensing submodule 5011 and a second converting submodule 5012.
所述第二加速度传感子模块5011,配置为在连接功能打开后,通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;所述第二转换子模块5012,配置为在所述第二加速度传感子模块5011检测到的所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向; The second acceleration sensing sub-module 5011 is configured to, after the connection function is turned on, real-time detection by the second acceleration sensor to obtain a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and the recording detects the a second time value of the second electric field force; the second electric field force includes a magnitude and a direction of the second electric field force; the second conversion sub-module 5012 is configured to detect at the second acceleration sensing sub-module 5011 When the second electric field force is greater than 0, the second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein the second acceleration parameter is the second acceleration force information. The second time value is a second time value of the second electric field force, the magnitude of the second acceleration force is a magnitude of the second electric field force, and the direction of the second acceleration force is the second electric field Direction of force;
或者,or,
所述第二加速度传感子模块5011,配置为在所述终端打开无线网络功能后,连续或周期性的实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;所述第二转换子模块5012,配置为在第二加速度传感子模块5011检测到的所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。The second acceleration sensing sub-module 5011 is configured to obtain a second acceleration of the terminal continuously or periodically after the wireless network function is turned on by the terminal, and record a second detection of the second acceleration. a time value; the second acceleration includes a magnitude and a direction of the second acceleration; the second conversion sub-module 5012 is configured to be configured when the second acceleration detected by the second acceleration sensing sub-module 5011 is greater than 0 Converting the second acceleration to a second acceleration force, and obtaining the second motion parameter information; wherein, in the second motion parameter information, the second time value of the second acceleration force is a second of the acceleration a time value, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and a direction of the second acceleration force is a direction of the second acceleration.
所述发送模块502,还配置为在连接上服务终端后,停止向所述待连接终端检测到的各服务终端发送所述待连接终端的终端ID信息和第二运动参数信息。The sending module 502 is further configured to: after connecting to the serving terminal, stop sending the terminal ID information and the second motion parameter information of the to-be-connected terminal to each service terminal detected by the to-be-connected terminal.
在实际应用中,所述第一检测模块401和所述第二检测模块501可采用加速度传感器实现;所述接收模块402、比较模块403、连接建立模块404可由位于路由器上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现;所述发送模块502可由位于终端上的CPU、MPU、DSP或FPGA等器件实现。In an actual application, the first detecting module 401 and the second detecting module 501 can be implemented by using an acceleration sensor; the receiving module 402, the comparing module 403, and the connection establishing module 404 can be implemented by a central processing unit (CPU) located on the router. A device such as a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) is implemented; the transmitting module 502 can be implemented by a device such as a CPU, an MPU, a DSP, or an FPGA located on the terminal.
本发明实施例还记载了一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行前述各实施例的终端之间的连接方法。The embodiment of the invention further describes a storage medium in which a computer program is stored, the computer program being configured to perform the connection method between the terminals of the foregoing embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。 Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
通过本发明,他人要想使用该无线网络资源,必须靠近路由器并接触路由器天线,如此,可避免非家庭成员非法获取无线网络资源可能性。 Through the invention, in order to use the wireless network resource, others must be close to the router and contact the router antenna, thus avoiding the possibility of non-family members illegally acquiring wireless network resources.

Claims (21)

  1. 一种终端之间的连接方法,所述方法包括:A method of connecting between terminals, the method comprising:
    检测获得第一运动参数信息;Detecting obtaining first motion parameter information;
    接收终端标识ID信息及其对应的第二运动参数信息;Receiving terminal identification ID information and corresponding second motion parameter information;
    与所述第二运动参数信息相比,在比较出检测到的第一运动参数信息中存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。Compared with the second motion parameter information, when comparing the first motion parameter information that meets certain conditions in the detected first motion parameter information, the terminal to be connected corresponding to the terminal ID information establishes a connection.
  2. 根据权利要求1所述的连接方法,其中,所述第一运动参数信息包括以下参数中的一种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;The connection method according to claim 1, wherein the first motion parameter information comprises one of: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force ;
    所述第二运动参数信息对应包括以下参数中的一种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括以下一种情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following situation:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the second The direction of the first acceleration force in the opposite direction of the acceleration force.
  3. 根据权利要求1所述的连接方法,其中,所述第一运动参数信息包括以下参数中的两种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;The connection method according to claim 1, wherein the first motion parameter information comprises two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force ;
    所述第二运动参数信息对应包括以下参数中的两种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况中的两种:Correspondingly, the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在 与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, A direction of the first acceleration force opposite to the direction of the second acceleration force.
  4. 根据权利要求1所述的连接方法,其中,所述第一运动参数信息包括以下参数:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;The connection method according to claim 1, wherein the first motion parameter information comprises the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force;
    第二运动参数信息对应包括以下:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,且存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the presence and the The direction of the first acceleration force opposite to the direction of the acceleration force.
  5. 根据权利要求2-4任一项所述的连接方法,其中,所述检测获得第一运动参数信息,包括:The connection method according to any one of claims 2 to 4, wherein the detecting obtains the first motion parameter information, including:
    通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向;Obtaining a first electric field force generated by a change of a movable electrode distance in the first acceleration sensor by a first acceleration sensor, and recording a first time value of detecting the first electric field force; the first electric field force includes a first The magnitude and direction of the electric field force;
    在所述第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向;When the first electric field force is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first The first time value of the acceleration force is a first time value of the first electric field force, the magnitude of the first acceleration force is a magnitude of the first electric field force, and the direction of the first acceleration force is the The direction of an electric field force;
    或者,or,
    通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向; Obtaining a first acceleration of the router by a first acceleration sensor, and recording a first time value of detecting the first acceleration; the first acceleration includes a magnitude and a direction of the first acceleration;
    在所述第一加速度大于0时,将所述第一加速度转换为第一加速度力,获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。When the first acceleration is greater than 0, the first acceleration is converted into a first acceleration force, and the first motion parameter information is obtained; wherein, in the first motion parameter information, the first acceleration force is first The time value is a first time value of the acceleration, and the magnitude of the first acceleration force is a magnitude of a force into which the first acceleration is converted, and a direction of the first acceleration force is a direction of the first acceleration.
  6. 根据权利要求1所述的连接方法,其中,与所述终端建立无线网络连接后,所述方法还包括:继续接收其他待连接终端发送的所述其他待连接终端的终端ID信息及其对应的第二运动参数信息,与所述其他待连接终端建立连接。The connection method according to claim 1, wherein after establishing a wireless network connection with the terminal, the method further comprises: continuing to receive terminal ID information of the other terminal to be connected sent by another terminal to be connected and corresponding thereto The second motion parameter information is established to establish a connection with the other terminal to be connected.
  7. 一种终端之间的连接方法,所述方法包括:A method of connecting between terminals, the method comprising:
    检测获得第二运动参数信息;Detecting obtaining second motion parameter information;
    将终端标识ID信息、所述第二运动参数信息发送给检测到的各服务终端,所述终端ID信息、所述第二运动参数信息用于各服务终端在满足条件时与所述终端ID信息标识的待连接终端建立连接。Transmitting the terminal identification ID information and the second motion parameter information to the detected service terminals, where the terminal ID information and the second motion parameter information are used by each service terminal when the condition is met and the terminal ID information The identified terminal to be connected establishes a connection.
  8. 根据权利要求7所述的连接方法,其中,所述第二运动参数信息包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。The connection method according to claim 7, wherein the second motion parameter information comprises at least one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, The direction of the second acceleration force is described.
  9. 根据权利要求8所述的连接方法,其中,所述检测获得第二运动参数信息,包括:The connection method according to claim 8, wherein the detecting the second motion parameter information comprises:
    在连接功能打开后,通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;After the connection function is turned on, the second electric field force generated by the change of the movable electrode distance in the second acceleration sensor is obtained by the second acceleration sensor, and the second time value of detecting the second electric field force is recorded; The two electric field forces include the magnitude and direction of the second electric field force;
    在所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的 大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向;When the second electric field force is greater than 0, the second electric field force is equivalent to the second acceleration force, and the second motion parameter information is obtained, wherein the second acceleration parameter information, the second acceleration force The second time value is a second time value of the second electric field force, and the second acceleration force The size is the magnitude of the second electric field force, and the direction of the second acceleration force is the direction of the second electric field force;
    或者,or,
    在连接功能打开后,通过第二加速度传感器实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;After the connection function is turned on, the second acceleration of the terminal is obtained by real-time detection by the second acceleration sensor, and the second time value of detecting the second acceleration is recorded; the second acceleration includes the magnitude and direction of the second acceleration;
    在所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。When the second acceleration is greater than 0, the second acceleration is converted into a second acceleration force, and the second motion parameter information is obtained; wherein, in the second motion parameter information, the second acceleration force is The second time value is a second time value of the acceleration, the magnitude of the second acceleration force is a magnitude of a force into which the second acceleration is converted, and the direction of the second acceleration force is the second acceleration direction.
  10. 根据权利要求7所述的连接方法,其中,在连接上服务终端后,停止向所述待连接终端检测到的各服务终端发送所述待连接终端的终端ID信息和第二运动参数信息。The connection method according to claim 7, wherein after connecting the service terminal, stopping transmitting the terminal ID information and the second motion parameter information of the terminal to be connected to each service terminal detected by the terminal to be connected.
  11. 一种终端之间的连接装置,所述连接装置包括:A connecting device between terminals, the connecting device comprising:
    第一检测模块,配置为检测获得第一运动参数信息;a first detecting module configured to detect that the first motion parameter information is obtained;
    接收模块,配置为接收终端标识ID信息及其对应的第二运动参数信息;a receiving module, configured to receive terminal identification ID information and corresponding second motion parameter information;
    比较模块,配置为与所述接收模块所述第二运动参数信息相比,比较在所述第一检测模块检测到的第一运动参数信息中是否存在满足一定条件的第一运动参数信息;And comparing, by the comparing module, the first motion parameter information that meets certain conditions in the first motion parameter information detected by the first detecting module, compared with the second motion parameter information of the receiving module;
    连接建立模块,配置为在所述比较模块比较出存在满足一定条件的第一运动参数信息时,与所述终端ID信息相应的待连接终端建立连接。The connection establishing module is configured to establish a connection with the to-be-connected terminal corresponding to the terminal ID information when the comparing module compares that there is a first motion parameter information that satisfies a certain condition.
  12. 根据权利要求11所述的连接装置,其中,所述第一运动参数信息包括以下参数中的一种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向; The connecting device according to claim 11, wherein the first motion parameter information comprises one of: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force ;
    所述第二运动参数信息对应包括以下参数中的一种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括以下一种情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following situation:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the second The direction of the first acceleration force in the opposite direction of the acceleration force.
  13. 根据权利要求11所述的连接装置,其中,所述第一运动参数信息包括以下参数中的两种:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;The connecting device according to claim 11, wherein the first motion parameter information comprises two of the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, and a direction of the first acceleration force ;
    所述第二运动参数信息对应包括以下参数中的两种:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following two of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况中的两种:Correspondingly, the first motion parameter information that satisfies certain conditions includes two of the following conditions in the same first motion parameter information:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,存在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and the second The direction of the first acceleration force in the opposite direction of the acceleration force.
  14. 根据权利要求11所述的连接装置,其中,所述第一运动参数信息包括以下参数:第一加速度力的第一时间值,第一加速度力的大小,第一加速度力的方向;The connecting device according to claim 11, wherein the first motion parameter information comprises the following parameters: a first time value of the first acceleration force, a magnitude of the first acceleration force, a direction of the first acceleration force;
    第二运动参数信息对应包括以下:第二加速度力的第二时间值,第二加速度力的大小,第二加速度力的方向;The second motion parameter information corresponding to the following includes: a second time value of the second acceleration force, a magnitude of the second acceleration force, and a direction of the second acceleration force;
    相应的,所述满足一定条件的第一运动参数信息包括在同一个第一运动参数信息中存在以下情况:Correspondingly, the first motion parameter information that satisfies certain conditions includes the following conditions in the same first motion parameter information:
    存在与所述第二加速度力的第二时间值相等的第一加速度力的第一时间值,存在与所述第二加速度力的大小相等的第一加速度力的大小,且存 在与所述第二加速度力的方向相反的第一加速度力的方向。There is a first time value of the first acceleration force equal to the second time value of the second acceleration force, and there is a magnitude of the first acceleration force equal to the magnitude of the second acceleration force, and The direction of the first acceleration force opposite to the direction of the second acceleration force.
  15. 根据权利要求12-14任一项所述的连接装置,其中,所述第一检测模块包括:第一加速度传感子模块和第一转换子模块;The connecting device according to any one of claims 12-14, wherein the first detecting module comprises: a first acceleration sensing sub-module and a first converting sub-module;
    所述第一加速度传感子模块,配置为通过第一加速度传感器实时检测获得所述第一加速度传感器中活动电极距离变化产生的第一电场力,记录检测到所述第一电场力的第一时间值;所述第一电场力包括第一电场力的大小和方向;The first acceleration sensing sub-module is configured to detect, by real-time detection by the first acceleration sensor, a first electric field force generated by changing a distance of the movable electrode in the first acceleration sensor, and recording a first detection of the first electric field force a time value; the first electric field force includes a magnitude and a direction of the first electric field force;
    所述第一转换子模块,配置为在所述第一加速度传感子模块检测到的第一电场力大于0时,将所述第一电场力等效为第一加速度力,获得所述第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述第一电场力的第一时间值,所述第一加速度力的大小为所述第一电场力的大小,所述第一加速度力的方向为所述第一电场力的方向;The first conversion submodule is configured to: when the first electric field force detected by the first acceleration sensing submodule is greater than 0, the first electric field force is equivalent to the first acceleration force, and the first a motion parameter information; wherein, in the first motion parameter information, the first time value of the first acceleration force is a first time value of the first electric field force, and the size of the first acceleration force is Describe a magnitude of a first electric field force, the direction of the first acceleration force being a direction of the first electric field force;
    或者,or,
    所述第一加速度传感子模块,配置为通过第一加速度传感器实时检测获得所述路由器的第一加速度,记录检测到所述第一加速度的第一时间值;所述第一加速度包括第一加速度的大小以及方向;The first acceleration sensing sub-module is configured to obtain a first acceleration of the router by a first acceleration sensor, and record a first time value of detecting the first acceleration; the first acceleration includes a first The magnitude and direction of the acceleration;
    所述第一转换子模块,配置为在所述第一加速度传感子模块检测到的所述第一加速度大于0时,将所述第一加速度转换为第一加速度力,获得第一运动参数信息;其中,所述第一运动参数信息中,所述第一加速度力的第一时间值为所述加速度的第一时间值,所述第一加速度力的大小为所述第一加速度转换成的力的大小,所述第一加速度力的方向为所述第一加速度的方向。The first conversion submodule is configured to convert the first acceleration into a first acceleration force when the first acceleration detected by the first acceleration sensing submodule is greater than 0, to obtain a first motion parameter Information, wherein, in the first motion parameter information, a first time value of the first acceleration force is a first time value of the acceleration, and a magnitude of the first acceleration force is converted into the first acceleration The magnitude of the force, the direction of the first acceleration force being the direction of the first acceleration.
  16. 根据权利要求11所述的连接装置,其中,所述接收模块,还配置为在所述连接建立模块建立与所述终端ID信息相应的待连接终端建立连接 后,继续接收其他待连接终端发送的所述其他待连接终端的终端ID信息及其对应的第二运动参数信息。The connection device according to claim 11, wherein the receiving module is further configured to establish a connection between the connection establishment module and the terminal to be connected corresponding to the terminal ID information. After that, the terminal ID information of the other terminal to be connected sent by the other terminal to be connected and the corresponding second motion parameter information are continuously received.
  17. 一种终端之间的连接装置,所述连接装置包括:A connecting device between terminals, the connecting device comprising:
    第二检测模块,配置为检测获得第二运动参数信息;a second detecting module, configured to detect that the second motion parameter information is obtained;
    发送模块,配置为将终端标识ID信息、所述第二检测模块检测到的所述第二运动参数信息发送给检测到的各服务终端,所述终端ID信息、所述第二运动参数信息用于各服务终端在满足条件时与所述终端ID信息标识的待连接终端建立连接。The sending module is configured to send the terminal identifier ID information and the second motion parameter information detected by the second detecting module to the detected service terminals, where the terminal ID information and the second motion parameter information are used. When each service terminal satisfies the condition, a connection is established with the terminal to be connected identified by the terminal ID information.
  18. 根据权利要求17所述的连接装置,其中,所述第二运动参数信息包括以下参数中的至少一种:所述第二加速度力的第二时间值,所述第二加速度力的大小,所述第二加速度力的方向。The connecting device according to claim 17, wherein the second motion parameter information comprises at least one of the following parameters: a second time value of the second acceleration force, a magnitude of the second acceleration force, The direction of the second acceleration force is described.
  19. 根据权利要求18所述的连接装置,其中,所述第二检测模块包括:第二加速度传感子模块和第二转换子模块;The connection device according to claim 18, wherein the second detection module comprises: a second acceleration sensing sub-module and a second conversion sub-module;
    所述第二加速度传感子模块,配置为在连接功能打开后,通过第二加速度传感器实时检测获得所述第二加速度传感器中活动电极距离变化产生的第二电场力,记录检测到所述第二电场力的第二时间值;所述第二电场力包括第二电场力的大小以及方向;The second acceleration sensing sub-module is configured to, after the connection function is turned on, real-time detection by the second acceleration sensor to obtain a second electric field force generated by the change of the movable electrode distance in the second acceleration sensor, and the recording detects the a second time value of the electric field force; the second electric field force includes a magnitude and a direction of the second electric field force;
    所述第二转换子模块,配置为在所述第二加速度传感子模块检测到的所述第二电场力大于0时,将所述第二电场力等效为第二加速度力,获得第二运动参数信息,其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述第二电场力的第二时间值,所述第二加速度力的大小为所述第二电场力的大小,所述第二加速度力的方向为所述第二电场力的方向;The second conversion submodule is configured to: when the second electric field force detected by the second acceleration sensing submodule is greater than 0, the second electric field force is equivalent to the second acceleration force, and obtain the first The second motion parameter information, wherein the second time value of the second acceleration force is a second time value of the second electric field force, and the size of the second acceleration force is Describe a magnitude of a second electric field force, the direction of the second acceleration force being a direction of the second electric field force;
    或者,or,
    所述第二加速度传感子模块,配置为在连接功能打开后,通过第二加 速度传感器实时检测获得所述终端的第二加速度,记录检测到所述第二加速度的第二时间值;所述第二加速度包括第二加速度的大小以及方向;The second acceleration sensing submodule is configured to pass the second addition after the connection function is opened The speed sensor obtains a second acceleration of the terminal in real time, and records a second time value of detecting the second acceleration; the second acceleration includes a magnitude and a direction of the second acceleration;
    所述第二转换子模块,配置为在所述第二加速度传感子模块检测到的所述第二加速度大于0时,将所述第二加速度转换为第二加速度力,获得所述第二运动参数信息;其中,所述第二运动参数信息中,所述第二加速度力的第二时间值为所述加速度的第二时间值,所述第二加速度力的大小为所述第二加速度转换成的力的大小,所述第二加速度力的方向为所述第二加速度的方向。The second conversion submodule is configured to convert the second acceleration into a second acceleration force when the second acceleration detected by the second acceleration sensing submodule is greater than 0, to obtain the second The second parameter value of the second acceleration parameter is a second time value of the acceleration, and the magnitude of the second acceleration force is the second acceleration. The magnitude of the force converted into, the direction of the second acceleration force being the direction of the second acceleration.
  20. 根据权利要求17所述的连接装置,其中,所述发送模块,配置为在连接上服务终端后,停止向所述待连接终端检测到的各服务终端发送所述待连接终端的终端ID信息和第二运动参数信息。The connection device according to claim 17, wherein the sending module is configured to, after connecting the service terminal, stop sending the terminal ID information of the terminal to be connected to each service terminal detected by the terminal to be connected, and Second motion parameter information.
  21. 一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行权利要求1至10任一项所述的终端之间的连接方法。 A storage medium storing a computer program, the computer program being configured to perform the connection method between the terminals according to any one of claims 1 to 10.
PCT/CN2015/086380 2015-04-21 2015-08-07 Method and apparatus for connection between terminals, and storage medium WO2016169151A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510191793.4A CN106162935A (en) 2015-04-21 2015-04-21 Method of attachment between a kind of terminal and device
CN201510191793.4 2015-04-21

Publications (1)

Publication Number Publication Date
WO2016169151A1 true WO2016169151A1 (en) 2016-10-27

Family

ID=57144397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086380 WO2016169151A1 (en) 2015-04-21 2015-08-07 Method and apparatus for connection between terminals, and storage medium

Country Status (2)

Country Link
CN (1) CN106162935A (en)
WO (1) WO2016169151A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882227A (en) * 2018-06-15 2018-11-23 上海康斐信息技术有限公司 A kind of wireless router and anti-loiter network method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696866A (en) * 2018-05-14 2018-10-23 四川斐讯信息技术有限公司 A kind of wireless connection method and system, wireless terminal, radio reception device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
EP2711825A2 (en) * 2012-09-25 2014-03-26 Samsung Electronics Co., Ltd System for providing a user interface for use by portable and other devices
CN104052867A (en) * 2013-03-15 2014-09-17 Lg电子株式会社 Mobile terminal and controlling method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
EP2711825A2 (en) * 2012-09-25 2014-03-26 Samsung Electronics Co., Ltd System for providing a user interface for use by portable and other devices
CN104052867A (en) * 2013-03-15 2014-09-17 Lg电子株式会社 Mobile terminal and controlling method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882227A (en) * 2018-06-15 2018-11-23 上海康斐信息技术有限公司 A kind of wireless router and anti-loiter network method

Also Published As

Publication number Publication date
CN106162935A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US11055392B2 (en) Proximity unlock and lock operations for electronic devices
US20200177599A1 (en) Network connection method, hotspot terminal and management terminal
US9717065B2 (en) Indoor remote triggered location scanning
US10402572B2 (en) Method and apparatus for selecting mode of terminal
WO2015101273A1 (en) Security verification method, and related device and system
TWI606360B (en) Method, apparatus and system for detecting webpages
JP6254350B2 (en) Multimedia data transmitting / receiving apparatus and method using NFC
WO2015070732A1 (en) Access control system, authorization method and device thereof, and storage medium
RU2646354C2 (en) Method, device and system for installation of transmission connection
US10136317B2 (en) Information pushing method, server, sharer client and third-party client
EP3110147A1 (en) Method and device for processing request
JP2016502319A5 (en)
US20210136577A1 (en) Method and a device for wireless connection
JP2016538623A (en) Authentication for applications
CN109257336B (en) Block chain-based password information processing method and terminal equipment
TW202007221A (en) Network access method and apparatus
JP2016076744A5 (en)
CN109413759B (en) Method and equipment for wireless connection
WO2013067853A1 (en) Method, device and system for establishing conversation relation
WO2014090052A1 (en) Control method and device for wireless network access
CN106255102B (en) Terminal equipment identification method and related equipment
CN112883366A (en) Account sharing login method, device, system, electronic equipment and storage medium
US10750369B2 (en) Method, apparatus, and platform for sharing wireless local area network
TW201800653A (en) Bluetooth door lock system with emergency reporting function and method for operating the same capable of correctly and instantly reporting emergency conditions
WO2018049970A1 (en) Hotspot network switching method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15889639

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15889639

Country of ref document: EP

Kind code of ref document: A1