[go: up one dir, main page]

WO2013016915A1 - Method and system using acceleration sensor for establishing bluetooth connection for data transmission - Google Patents

Method and system using acceleration sensor for establishing bluetooth connection for data transmission Download PDF

Info

Publication number
WO2013016915A1
WO2013016915A1 PCT/CN2011/082569 CN2011082569W WO2013016915A1 WO 2013016915 A1 WO2013016915 A1 WO 2013016915A1 CN 2011082569 W CN2011082569 W CN 2011082569W WO 2013016915 A1 WO2013016915 A1 WO 2013016915A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth communication
communication device
data transmission
collision
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2011/082569
Other languages
French (fr)
Chinese (zh)
Inventor
罗希平
镇立新
陈青山
龙腾
曹璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Intsig Information Co Ltd
Original Assignee
Intsig Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Intsig Information Co Ltd filed Critical Intsig Information Co Ltd
Publication of WO2013016915A1 publication Critical patent/WO2013016915A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/71Substation extension arrangements
    • H04M1/715Substation extension arrangements using two or more extensions per line
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present invention relates to the field of information processing and switching, and in particular, to a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor.
  • Bluetooth wireless technology can realize communication based on Bluetooth signals with small coverage between communication parties.
  • the party adopting Bluetooth wireless technology is widely used in people's daily communication because of its low power consumption, low cost, small product size and many applicable scenarios.
  • the Bluetooth function accordingly also becomes a function included in the standard configuration of the current mobile terminal (for example, a mobile phone, a PDA, a palmtop, a tablet, a laptop, etc.), and is set in the mobile terminal.
  • Bluetooth wireless technology communication distance is about 8 meters to 30 meters, or when a mobile terminal with a Bluetooth communication device turns on the Bluetooth communication device, it can only detect other Bluetooth communication devices that are within 30 meters of it. Mobile terminal.
  • the acceleration sensors can be used to sense changes in the motion state of the mobile terminal (such as a collision event). For example, using the acceleration sensor, the collision events of the two mobile terminals and the characteristic parameters of the collision (such as geographic location information, time, etc. at the time of collision) can be uploaded to the network server, and the network server generates the above according to the above information.
  • the two mobile terminals that collide are paired, so that the two mobile terminals can perform data transmission through the network server.
  • the above method of using the acceleration sensor for data transmission has the following disadvantages: 1. There is a risk of pairing failure or pairing error; 2. Since all data is first transmitted to the network server, the privacy and security of the data Unprotected; Third, the data is uploaded to or downloaded from the network server, which brings network data traffic, which is likely to generate costs; Fourth, due to the participation of the network server, the data transmission speed The degree is limited by the bandwidth of the network, which may be slow when the network is congested or the signal is not good. Summary of the invention
  • the invention provides a data transmission method for establishing a Bluetooth connection by using an acceleration sensor, comprising: establishing a communication connection between a mobile terminal and a data transmission server; the mobile terminal is configured with an acceleration sensor and a Bluetooth communication device; Receiving, by the server, information from the mobile terminal, where the information includes device information of a Bluetooth communication device configured by the mobile terminal, a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and Collision-related parameters of two or more of the mobile terminals participating in the collision; the parameters related to the collision include: collision time, collision strength and/or collision acceleration; the data transmission server uploads according to the mobile terminal And determining, by the two or more of the mobile terminals participating in the collision, pairing two or more of the mobile terminals that collide; the data transmission server establishing a connection between the paired mobile terminals Bluetooth communication connection for data transmission.
  • the information further includes concise identity information of the user corresponding to the mobile terminal, where the concise identity information is sent to the data transmission server along with the device information of the configured Bluetooth communication device or is pre-stored in the On the data transfer server.
  • the device information of the Bluetooth communication device includes: a name of the Bluetooth communication device or a device address of the Bluetooth communication device.
  • the device information of the Bluetooth communication device is the name of the Bluetooth communication device
  • the following three manners are adopted to ensure the uniqueness of the name of the Bluetooth communication device of each user; Setting a name for the Bluetooth communication device configured for the mobile terminal, after setting, uploading the name of the Bluetooth communication device to the data transmission server, and verifying, by the data transmission server, the name of the Bluetooth communication device, if If the verification finds that the name of the Bluetooth communication device does not conflict with the name of the other Bluetooth communication device and the duplicate name occurs, the name is recognized; if the verification finds that the name of the Bluetooth communication device conflicts with the name of other Bluetooth communication device If a duplicate name occurs, you need to reset a new name that does not conflict.
  • Method 2 Do not change the name set by the Bluetooth communication device configured by the mobile terminal. Each time the Bluetooth communication device is applied to the mobile terminal, the Bluetooth communication device is automatically activated. Change the name to a large enough random number to complete the data transfer After that, the name of the random number of the Bluetooth communication device is changed back to the original name; mode 3: the name set by the Bluetooth communication device configured by the mobile terminal is not changed, and each time the Bluetooth communication device is applied to the mobile terminal, Request a unique name from the data transfer server and automatically change the name of the Bluetooth communication device on the mobile terminal to this A unique name, after the data transmission is completed, the unique name of the Bluetooth communication device on the mobile terminal is changed back to the original name.
  • the data transmission server determines, according to the information uploaded by the mobile terminal, two or more of the mobile terminals that participate in the collision, and pairing the two or more mobile terminals that collide includes: The data transmission server selects two or more of the mobile terminals that collide at the same time as the first condition according to the collision-related parameters uploaded by the mobile terminal, and the data transmission server is configured according to the mobile terminal. a device information of the Bluetooth communication device, a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and finding a user who is within the detection range of the Bluetooth communication device as the second condition; the data The transmission server pairs the two or more of the mobile terminals in which the collision occurs according to the first condition and the second condition.
  • establishing a Bluetooth communication connection for data transmission between the paired mobile terminals includes: the data transmission server providing a shared password, and sending the shared password to two or more participating in the collision Referring to the mobile terminal, the corresponding mobile terminal automatically establishes a Bluetooth communication connection with each other by using the shared password.
  • the present invention provides, in another aspect, a data transmission system for establishing a Bluetooth connection by using an acceleration sensor, comprising: a data transmission server and a mobile terminal establishing a communication connection with the data transmission server; the mobile terminal configured with an acceleration sensor and a Bluetooth communication device; the mobile terminal is configured to: list device information of the configured Bluetooth communication device, device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and use when participating in a collision
  • the collision-related parameters acquired by the acceleration sensor are uploaded to the data transmission server, and the collision-related parameters include: collision time, collision strength, and/or collision acceleration; and establishing data for use with other mobile terminals by using a Bluetooth communication device.
  • the data transmission server is configured to: set, according to the received device information of the Bluetooth communication device configured by the mobile terminal, device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device a list of information, and collision-related parameters of two or more of the mobile terminals participating in the collision, determining to obtain two or more of the mobile terminals participating in the collision, two or more of the movements in which the collision occurs
  • the terminal performs pairing to establish a Bluetooth communication connection for data transmission between the paired mobile terminals.
  • the mobile terminal includes: an acceleration sensor, acquiring a parameter related to the collision; a Bluetooth communication device; a Bluetooth information providing unit, configured to provide device information of the configured Bluetooth communication device, and all other detected by the Bluetooth communication device a device information list of device information of the Bluetooth communication device; the information transceiving unit is configured to: list device information including device information of the Bluetooth communication device and device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and Collision phase acquired by the acceleration sensor when participating in a collision And transmitting information to the data transmission server; and transmitting data between the mobile terminals establishing the Bluetooth communication connection; the display unit; the storage unit, configured to store device information, data, and the data of the Bluetooth communication device configured by itself The information transceiver unit receives data of other mobile terminals that establish a Bluetooth communication connection;
  • the data transmission server includes: an information transceiving unit, configured to receive device information of a configured Bluetooth communication device sent by each of the mobile terminals, and all other Bluetooth communication devices detected by the Bluetooth communication device configured by the mobile terminal a device information list of the device information, and a collision-related parameter that is acquired by the acceleration sensor when participating in the collision; a collision parameter analysis unit, configured to filter out the simultaneous occurrence according to the collision-related parameter uploaded by the mobile terminal Collision of two or more of the mobile terminals; a Bluetooth information search unit, device information for a Bluetooth communication device configured according to the mobile terminal, device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device The device information list is used to find a user who is in the detection range of the Bluetooth communication device; the Bluetooth communication establishing unit is configured to combine the analysis result of the collision parameter analysis unit and the search result of the Bluetooth information search unit to determine that the participation collision is obtained.
  • the mobile terminal pairing two or more of the mobile terminals that collide, establishing a Bluetooth communication connection for data transmission between the paired mobile terminals, and a database for storing each of the mobile terminals
  • the information further includes concise identity information of the user corresponding to the mobile terminal, where the concise identity information is sent to the data transmission server along with the device information of the configured Bluetooth communication device or is pre-stored in the
  • the data transmission server further includes a user information providing unit, configured to correspond to two or more of the mobile terminals after determining that two or more of the mobile terminals participating in the collision are obtained
  • the user list of the user is sent to the mobile terminals, and the user's concise identity information in the user list is displayed on the mobile terminal.
  • the device information of the Bluetooth communication device includes: a name of the Bluetooth communication device or a device address of the Bluetooth communication device.
  • the present invention provides a method and system for establishing data transmission of a Bluetooth connection by using an acceleration sensor.
  • the present invention utilizes an acceleration sensor configured by a mobile terminal to acquire collision-related parameters in a collision manner and determine two or more participating collisions.
  • Mobile terminals directly establish a Bluetooth communication connection between them by using a Bluetooth communication device, which provides convenience for people to use Bluetooth wireless technology to transmit data. Compared with the prior art, the operation is simple, and the data transmission security can be ensured. It eliminates the cumbersome steps of password verification, and is quick and convenient.
  • FIG. 1 is a schematic diagram of a frame of a data transmission system according to the present invention
  • FIG. 2 is a schematic structural diagram of a data transmission system according to the present invention
  • FIG. 1 is a schematic diagram of a frame of a data transmission system according to the present invention
  • FIG. 2 is a schematic structural diagram of a
  • the inventors of the present invention have found that: In the conventional Bluetooth communication technology, before establishing a Bluetooth communication connection, the connecting parties are required to first input an agreed password on the respective mobile terminal, which is cumbersome and time consuming, especially in the The above drawbacks are more pronounced when multiple mobile terminals are involved.
  • the inventors of the present invention have improved the prior art, and proposed a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor, and providing a data transmission server as an information processing device of each mobile terminal, collecting The device information of the Bluetooth communication device configured by each mobile terminal, the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and the collision of the mobile terminal participating in the collision acquired by the configured acceleration sensor
  • Related parameters thereby determining those mobile terminals participating in the collision, automatically establishing a Bluetooth communication connection for data transmission for those mobile terminals, providing convenience for people to transmit data, compared with the prior art, the operation is simple, fast and convenient.
  • the invention will be described in detail below.
  • the data transmission system includes: a data transmission server 10, and one or more mobile terminals 12 networked with the data transmission server 10.
  • Each mobile terminal 12 can be connected as one body through a network connection.
  • various information from each mobile terminal 12 for example, device information of a Bluetooth communication device, collision-related parameters, corresponding user's concise identity information, etc.
  • the information identifies the mobile terminals participating in the collision and establishes a Bluetooth communication connection for them for data transmission.
  • the mobile terminal 12 is networked with the data transmission server 10, and the communication network may be Ethernet/Internet based on TCP/IP, Internet, Wi-Fi wireless Internet, etc., and may also be, for example, 2G, 3G (including broadband).
  • Code Division Multiple Access WCDMA
  • Time Division Synchronous Code Division Multiple Access
  • TD-SCDMA Time Division, Synchronous Code Division Multiple Access
  • LTE Long Term Evolution
  • WIMAX Worldwide Interoperability for Microwave Access
  • the mobile terminal 12 is configured to: list the device information of the configured Bluetooth communication device, the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and the information acquired by the acceleration sensor when participating in the collision
  • the collision related parameters are uploaded to the data transmission server; and the Bluetooth communication device is used to establish a Bluetooth communication connection with other mobile terminals 12 for data transmission; as shown in FIG. 2, the mobile terminal 12 includes: an acceleration sensor 120, Bluetooth communication The device 121, the Bluetooth information providing unit 122, the information transceiving unit 123, the display unit 124, and the storage unit 125.
  • the mobile terminal 12 may be any one of a mobile phone, a PDA, a tablet, and a notebook.
  • the acceleration sensor 120 is configured to acquire a collision-related parameter when a collision occurs between the mobile terminals 12; a Bluetooth communication device 121; a Bluetooth wireless technology, which is actually a short-range wireless communication technology, utilizing Bluetooth wireless technology , which can effectively simplify the communication between mobile communication terminal devices such as handheld computers, tablets, notebook computers and mobile phones, and can also successfully simplify the communication between these devices and the Internet, thereby making these modern communication devices Networking without a cable can form a huge wireless communication network.
  • the Bluetooth information providing unit 122 is configured to provide the device information of the configured Bluetooth communication device 121 and the device information list of the device information of all other Bluetooth communication devices 121 detected by the Bluetooth communication device 121.
  • the configured Bluetooth communication device 121 When the configured Bluetooth communication device 121 is activated, it can detect whether there are other Bluetooth communication devices 121 available for communication connection in the periphery, and can list the detected device information of the Bluetooth communication device 121 to form a device information list.
  • the information transceiver unit 123 is configured to perform mutual transmission of information.
  • the information may include: device information of the Bluetooth communication device provided by the Bluetooth information providing unit 122 for inter-transmission with the data transmission server 10, and devices of all other Bluetooth communication devices detected by the Bluetooth communication device. a device information list of information, collision-related parameters acquired by the acceleration sensor 120 when participating in a collision, concise identity information of a user corresponding to the mobile terminal 12; and data for transmission with other mobile terminals establishing a Bluetooth communication connection Wait.
  • the device information of the Bluetooth communication device 121 may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment. For the device address of the Bluetooth communication device, each Bluetooth communication device is assigned a unique device address.
  • the BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers. The manufacturer code for the product code and SIG distribution is divided into two parts, 24 bits each.
  • the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device.
  • the concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity.
  • the data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information.
  • the display unit 124 is configured to display various types of information, such as a user list of the user corresponding to the peripheral mobile terminal 12 from the data transmission server 10 within the detection range of the Bluetooth communication device 121, and concise identity information of each user in the user list.
  • the display unit may be an LCD liquid crystal display screen.
  • the storage unit 126 is configured to store device information, data of the Bluetooth communication device configured by itself, and data received by the information transceiving unit 120 from other mobile terminals that establish a Bluetooth communication connection.
  • the data transmission server 10 is configured to: according to the received device information of the Bluetooth communication device 121 configured by the mobile terminal 12, the device information list of the device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121, and participation
  • the collision-related parameters of the two or more mobile terminals 12 that are collided determine that two or more mobile terminals 12 participating in the collision are paired, and those mobile terminals 12 that have collided are paired, in the paired mobile terminal 12 Establish a Bluetooth communication connection for data transmission.
  • the data transmission server 10 includes: an information transceiving unit 100, a database 101, a collision parameter analyzing unit 102, a Bluetooth information searching unit 103, a user information providing unit 104, and a Bluetooth communication establishing unit 105.
  • the information transceiver unit 100 is configured to establish a communication connection with the mobile terminal 12 to perform mutual information transmission.
  • the information may include: device information of the Bluetooth communication device 121 configured in each mobile terminal 12, a list of device information of device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121, collision-related parameters acquired by the configured acceleration sensor 120 when participating in a collision, and corresponding to each mobile terminal 12 User's concise identity information, etc.
  • the device information of the Bluetooth communication device 121 may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment.
  • each Bluetooth communication device is assigned a unique device address.
  • the BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers.
  • the manufacturer code for the product code and SIG distribution is divided into two parts, 24 bits each. Among them, the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device.
  • the concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity.
  • the data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information.
  • the database 101 is configured to store the device information of the configured Bluetooth communication device 121 sent by each mobile terminal 12, the device information list of the device information of all other Bluetooth communication devices 121 detected by the Bluetooth communication device 121, and utilize the device when participating in a collision.
  • the concise identity information is transmitted to the data transmission server 10 together with the device information of the configured Bluetooth communication device or is pre-stored on the data transmission server 10.
  • the collision parameter analysis unit 102 is configured to filter out two or more mobile terminals 12 that collide at the same time according to the collision-related parameters uploaded by the mobile terminal 12.
  • the collision-related parameters include: collision time, collision strength, and/or collision acceleration. Taking the collision time as an example, the collision parameter analysis unit 102 records the collision time corresponding to the collision uploaded by the mobile terminal 12, compares each collision time, and finds that the difference between the collision times is less than a preset value.
  • Tl (for ensuring that the mobile terminal 12 collides at the same time considering the network transmission delay)
  • Those collision times in order to determine that the mobile terminal 12 corresponding to these collision times is the participant of the same collision event.
  • the collision forces of the other parties sensed between the mobile terminals 12 should be similar, so that the accelerations sensed by the acceleration sensors 120 should be similar, thereby determining the movement of the participating collision events according to the magnitude of the collision force and/or the acceleration of the collision. Terminal 12.
  • the Bluetooth information searching unit 103 is configured to find out that the device is in Bluetooth according to the device information of the Bluetooth communication device 121 configured by the mobile terminal 12 and the device information list of the device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121.
  • the user within the detection range of the communication device 121.
  • the user is found to be in the detection range of the Bluetooth communication device, and the user meets: the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the user is included in all other detected by the mobile terminal corresponding to the requesting user.
  • the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the requesting user is device information of all other Bluetooth communication devices detected by the mobile terminal corresponding to the user. In the list of device information.
  • the user information providing unit 104 is configured to determine two or more mobile terminals 12 participating in the collision after combining the analysis result of the collision parameter analyzing unit 102 and the search result of the Bluetooth information searching unit 103, and two or more The user list of the user corresponding to the mobile terminal 12 is transmitted to the mobile terminals 12, and the user's concise identity information in the user list is displayed on the mobile terminal 12.
  • the Bluetooth communication establishing unit 105 is configured to combine the analysis result of the collision parameter analyzing unit 102 and the search result of the Bluetooth information searching unit 103 to determine that two or more mobile terminals 12 participating in the collision are obtained, which are two or more collisions.
  • the mobile terminal performs pairing to establish a Bluetooth communication connection for data transmission between the paired mobile terminals 12.
  • the above-mentioned establishment of a Bluetooth communication connection for data transmission between the paired mobile terminals 12 may specifically include: the Bluetooth communication establishing unit 105 provides a shared password, and sends the shared password to the pairing. Two or more mobile terminals 12, by which they automatically establish a Bluetooth communication connection with each other using the shared password.
  • a confirmation step may be further included, only when the paired two or more mobile terminals 12 confirm the establishment of the Bluetooth communication connection.
  • the communication establishing unit 105 provides a shared password and transmits it to them.
  • the present invention further provides a method for establishing a data transmission of a Bluetooth connection using an acceleration sensor.
  • Figure 3 shows a schematic flow diagram of the method.
  • the data transmission method includes: Step S201: A mobile terminal establishes a communication connection with a data transmission server; the mobile terminal is configured with an acceleration sensor and a Bluetooth communication device.
  • the establishing the communication connection may include: the mobile terminal submits the connection request, and after the data transmission server confirms, implements the communication connection; or, the mobile terminal directly logs in to the website to which the data transmission server belongs. Since the steps of establishing a communication connection are well known to those skilled in the art, they are not described herein again.
  • Step S203 requesting the user to use the mobile terminal to use the device information of the configured Bluetooth communication device, the device information list of the device information of all other Bluetooth communication devices detected by the Bluetooth communication device configured by the mobile terminal, and participating in the collision.
  • the collision-related parameters of the two or more of the mobile terminals are sent to a data transfer server that establishes a communication connection with the mobile terminal.
  • the concise identity information may also be pre-stored on the data transmission server.
  • the concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity.
  • the data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information.
  • the device information of the Bluetooth communication device may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment. For the device address of the Bluetooth communication device, each Bluetooth communication device is assigned a unique device address.
  • the BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers.
  • the product code and the manufacturer code for the SIG distribution are two parts, 24 bits each.
  • the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device.
  • the device information of the Bluetooth communication device is the name of the Bluetooth communication device
  • the name is named or changed according to one's own preference or the network environment, inevitably, there is Such a scenario: the name of the Bluetooth communication device set between the mobile terminals corresponding to the user has a duplicate name.
  • any one of the following three methods may be adopted to ensure Bluetooth communication of each user.
  • the uniqueness of the name of the device may be adopted.
  • Manner 1 The user sets a name for the Bluetooth communication device configured by the mobile terminal, and after setting, uploads the name of the Bluetooth communication device to the data transmission server, and the name of the Bluetooth communication device by the data transmission server Performing verification, if the verification finds that the name of the Bluetooth communication device does not conflict with the name of another Bluetooth communication device, and the name is recognized, the name is recognized; if the verification finds the name of the Bluetooth communication device and other Bluetooth communication devices If the name conflicts and a duplicate name occurs, you need to reset a new name that does not conflict.
  • Method 2 Do not change the name set by the Bluetooth communication device configured by the mobile terminal. Each time the Bluetooth communication device is applied to the mobile terminal, it automatically Change the name of the Bluetooth communication device to a random number that is large enough.
  • Method 3 Do not change the Bluetooth communication configured by the mobile terminal. The name set by the device, each time on the mobile terminal When the Bluetooth communication device is used, it requests a unique name from the data transmission server, and automatically changes the name of the Bluetooth communication device on the mobile terminal to this unique name. After the data transmission is completed, the Bluetooth communication device is turned off before moving. The unique name of the Bluetooth communication device on the terminal is changed back to the original name, and the unique name provided by the data transmission server is released for use by the Bluetooth communication device on the other mobile terminal.
  • Step S205 the data transmission server determines, according to the information uploaded by the mobile terminal, two or more of the mobile terminals participating in the collision, and pairs the two or more mobile terminals that collide;
  • pairing the two or more mobile terminals that have collided specifically includes: the data transmission server screening two or more collisions according to the collision-related parameters uploaded by the mobile terminal A plurality of the mobile terminals are used as a first condition.
  • the collision-related parameters include: collision time, collision strength, and/or collision acceleration. Taking the collision time as an example, record the collision time corresponding to the collision uploaded by each mobile terminal, compare each collision time, and find the difference of the collision time among them.
  • the value is less than a preset value tl (for ensuring that the mobile terminal is simultaneously collided in consideration of the network transmission delay), and the collision time is determined to determine that the mobile terminal corresponding to the collision time is the same collision event. Participants.
  • a preset value tl for ensuring that the mobile terminal is simultaneously collided in consideration of the network transmission delay
  • the collision time is determined to determine that the mobile terminal corresponding to the collision time is the same collision event. Participants.
  • tl for ensuring that the mobile terminal is simultaneously collided in consideration of the network transmission delay
  • Participants are also possible to combine other judgment factors, and then take the collision strength and/or the collision acceleration as an example, for example, a collision occurs.
  • the collision force of the other party sensed between the mobile terminals should be similar, and the accelerations sensed by the acceleration sensors should be similar, thereby determining the mobile terminal participating in the collision event according to the magnitude of the collision force and/or the collision acceleration.
  • the range of the determined mobile terminal participating in the collision event can be narrowed by the combination of a plurality of parameters, and the accuracy of the determination can be improved.
  • the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the requesting user is device information of all other Bluetooth communication devices detected by the mobile terminal corresponding to the user. In the list of device information. Pairing two or more of the mobile terminals in which a collision occurs is performed according to the first condition and the second condition.
  • the data transmission server establishes a Bluetooth communication connection for data transmission between the paired mobile terminals.
  • the data transmission server provides a shared password, and sends the shared password to the paired two or A plurality of the mobile terminals, which automatically establish a Bluetooth communication connection with each other by using the shared password.
  • a confirmation step may be included, only when two or more of the paired mobile terminals 12 confirm that the Bluetooth communication connection is established.
  • a shared password is provided by the Bluetooth communication establishing unit 105 and sent to them.
  • data transmission can be performed between two or more mobile terminals that establish a Bluetooth communication connection.
  • the application of the present invention in data transmission will be described in detail below by way of examples.
  • User A and User B which need to perform data transmission, turn on their respective mobile phones a and b to configure a Bluetooth communication device and an acceleration sensor, and establish a communication connection with the website server C; User A and User B will respectively use their respective mobile phones a, b.
  • the mobile phone a senses the collision-related parameters of the configured acceleration sensor, the device information of the configured Bluetooth communication device, and the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device.
  • the mobile phone b senses the parameters related to the collision, the device information of the configured Bluetooth communication device, and the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device.
  • the device information list is uploaded to the website server C; the website server C determines that the mobile phone a of the user A and the mobile phone b of the user B have collided, and the mobile phone a of the user A is within the detection range of the Bluetooth communication device of the mobile phone b, and the user B
  • the mobile phone b is within the detection range of the Bluetooth communication device of the mobile phone a, between the mobile phone a and the mobile phone b Establish pairing, and then automatically input the same password for the Bluetooth communication device of mobile phone a and the Bluetooth communication device of mobile phone b, automatically establish a Bluetooth communication connection between mobile phone a and mobile phone b; user A and user B utilize mobile phone a and mobile phone b Achieve data transfer between the two.
  • the present invention provides a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor.
  • the present invention utilizes an acceleration sensor configured by a mobile terminal to acquire collision-related parameters in a collision manner and determine participation collision.
  • Two or more mobile terminals directly establishing a Bluetooth communication connection between them by using a Bluetooth communication device, providing convenience for people to use Bluetooth wireless technology to transmit data, compared with the prior art, simple operation, and ensuring data
  • complicated steps such as password verification are eliminated, which is fast and convenient.
  • the effect is more pronounced when it comes to data transmission between more than two mobile terminals.
  • the above-described embodiments are merely illustrative of the principles and effects of the invention and are not intended to limit the invention. Any of the above-described embodiments may be modified by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the present invention are a method and system using an acceleration sensor for establishing a Bluetooth connection for data transmission. The method comprises: a mobile terminal establishing a communication connection to a data transmission server, the mobile terminal is configured with the acceleration sensor and a Bluetooth communication device; the data transmission server receiving information from the mobile terminal, the information comprises device information of the Bluetooth communication device configured to the mobile terminal, a device information list of the device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and a collision-related parameter; the data transmission server determining and acquiring, on the basis of the information uploaded by the mobile terminal, two or multiple of the mobile terminals involved in a collision, pairing the two or multiple of the mobile terminal involved in the collision, and establishing a Bluetooth communication connection for data transmission between the mobile terminals paired. Compared with the prior art, the present invention has the advantages of simplified, expedited, and convenient operations.

Description

利用加速度感应器建立蓝牙连接的数据传输的方法及系统 技术领域 本发明涉及信息处理及交换领域, 特别涉及一种利用加速度感应器建立蓝牙连接 的数据传输的方法及系统。 背景技术 蓝牙无线技术作为一种短距无线通信技术, 通信双方之间, 可基于覆盖范围较小 的蓝牙信号, 实现通信。 采用蓝牙无线技术的一方因其具有功耗低、 成本低、 产品体 积小、 可应用场景多等特点, 而被广泛应用于人们的日常通信。 蓝牙功能相应地也成 为当下移动终端 (例如手机、 PDA、 掌上电脑、 平板电脑、 笔记本电脑等)标准配置 所包含的功能, 被设置在移动终端内。 日常生活中, 人们除了基于终端的蓝牙功能与外界建立蓝牙通信连接以进行语音 通信之外, 还可进行文件传输。 实际上文件传输是蓝牙无线技术的一个重要的应用场 景, 基于蓝牙连接, 踢动终端之间可以进行各种数据传输, 包括传递图片, 音乐, 联 系方式等。 蓝牙无线技术通信距离大约在 8米至 30米之间, 或者说当带有蓝牙通信设备的 移动终端打开蓝牙通信设备以后, 只能检测到与它距离在 30米以内的其它打开了蓝 牙通信设备的移动终端。如果两个或多个在各自的蓝牙通信设备的检测范围之内的移 动终端之间要通过蓝牙无线技术传递数据, 这些用户需要首先约定一个密码, 通过输 入相同的密码来建立连接, 然后再通过蓝牙连接来进行数据传输, 这个操作不方便。 另外, 目前市场上的移动终端有很多带有加速度感应器, 利用加速度感应器可以 感应到移动终端的运动状态的变化情况 (如发生碰撞事件)。 举例来讲, 利用加速度 感应器, 可以将两个移动终端的碰撞事件和碰撞的特征参数(例如碰撞时的地理位置 信息、 时间等) 上传给网络服务器, 由网络服务器根据上述信息, 为上述发生碰撞的 两个移动终端进行配对, 从而使得两个移动终端可以通过网络服务器进行数据传输。 然而, 上述利用加速度感应器进行数据传输的方法存在如下的缺失: 一、 存在配对失 败或配对错误的风险; 二、 由于所有数据都是先传输到网络服务器上的, 数据的隐私 性和安全性得不到保障; 三、 数据上传至网络服务器或从网络服务器上下载, 带来了 网络数据流量, 很可能会产生费用; 四、 由于须有网络服务器的参与, 数据的传输速 度受到网络带宽的限制, 在网络拥堵或者信号不好的时候可能会很慢。 发明内容 TECHNICAL FIELD The present invention relates to the field of information processing and switching, and in particular, to a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor. BACKGROUND OF THE INVENTION As a short-range wireless communication technology, Bluetooth wireless technology can realize communication based on Bluetooth signals with small coverage between communication parties. The party adopting Bluetooth wireless technology is widely used in people's daily communication because of its low power consumption, low cost, small product size and many applicable scenarios. The Bluetooth function accordingly also becomes a function included in the standard configuration of the current mobile terminal (for example, a mobile phone, a PDA, a palmtop, a tablet, a laptop, etc.), and is set in the mobile terminal. In daily life, in addition to establishing a Bluetooth communication connection with the outside world for voice communication based on the Bluetooth function of the terminal, the file transmission can also be performed. In fact, file transfer is an important application scenario of Bluetooth wireless technology. Based on the Bluetooth connection, various data transmissions can be performed between the kicking terminals, including transferring pictures, music, and contact information. Bluetooth wireless technology communication distance is about 8 meters to 30 meters, or when a mobile terminal with a Bluetooth communication device turns on the Bluetooth communication device, it can only detect other Bluetooth communication devices that are within 30 meters of it. Mobile terminal. If two or more mobile terminals are to communicate data between Bluetooth terminals within the detection range of the respective Bluetooth communication device, these users need to first agree on a password, establish a connection by entering the same password, and then pass the Bluetooth connection for data transmission, this operation is not convenient. In addition, there are many mobile terminals on the market with acceleration sensors, and the acceleration sensors can be used to sense changes in the motion state of the mobile terminal (such as a collision event). For example, using the acceleration sensor, the collision events of the two mobile terminals and the characteristic parameters of the collision (such as geographic location information, time, etc. at the time of collision) can be uploaded to the network server, and the network server generates the above according to the above information. The two mobile terminals that collide are paired, so that the two mobile terminals can perform data transmission through the network server. However, the above method of using the acceleration sensor for data transmission has the following disadvantages: 1. There is a risk of pairing failure or pairing error; 2. Since all data is first transmitted to the network server, the privacy and security of the data Unprotected; Third, the data is uploaded to or downloaded from the network server, which brings network data traffic, which is likely to generate costs; Fourth, due to the participation of the network server, the data transmission speed The degree is limited by the bandwidth of the network, which may be slow when the network is congested or the signal is not good. Summary of the invention

本发明的目的在于提供一种利用加速度感应器建立蓝牙连接的数据传输的方法 及系统, 以提高数据传输的便利性及其安全性。  It is an object of the present invention to provide a method and system for establishing a Bluetooth connection data transmission using an acceleration sensor to improve the convenience and security of data transmission.

本发明在一方面提供一种利用加速度感应器建立蓝牙连接的数据传输方法, 包 括: 移动终端与数据传输服务器建立通信连接; 所述移动终端配置有加速度感应器和 蓝牙通信设备; 所述数据传输服务器接收来自所述移动终端的信息, 所述信息包括所 述移动终端配置的蓝牙通信设备的设备信息、配置的蓝牙通信设备检测到的其他所有 的蓝牙通信设备的设备信息的设备信息列表、 以及参与碰撞的两个或多个所述移动终 端的与碰撞相关的参数; 所述与碰撞相关的参数包括: 碰撞时间、碰撞力度和 /或碰撞 加速度; 所述数据传输服务器根据所述移动终端上传的信息, 确定得到参与碰撞的两 个或多个所述移动终端, 为发生碰撞的两个或多个所述移动终端进行配对; 所述数据 传输服务器在配对的所述移动终端之间建立供数据传输的蓝牙通信连接。  The invention provides a data transmission method for establishing a Bluetooth connection by using an acceleration sensor, comprising: establishing a communication connection between a mobile terminal and a data transmission server; the mobile terminal is configured with an acceleration sensor and a Bluetooth communication device; Receiving, by the server, information from the mobile terminal, where the information includes device information of a Bluetooth communication device configured by the mobile terminal, a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and Collision-related parameters of two or more of the mobile terminals participating in the collision; the parameters related to the collision include: collision time, collision strength and/or collision acceleration; the data transmission server uploads according to the mobile terminal And determining, by the two or more of the mobile terminals participating in the collision, pairing two or more of the mobile terminals that collide; the data transmission server establishing a connection between the paired mobile terminals Bluetooth communication connection for data transmission.

可选地, 所述信息还包括所述移动终端对应的用户的简明身份信息, 所述简明身 份信息是连同配置的蓝牙通信设备的设备信息一起发送至所述数据传输服务器的或 是预先存储在所述数据传输服务器上的。  Optionally, the information further includes concise identity information of the user corresponding to the mobile terminal, where the concise identity information is sent to the data transmission server along with the device information of the configured Bluetooth communication device or is pre-stored in the On the data transfer server.

可选地, 所述蓝牙通信设备的设备信息包括: 蓝牙通信设备的名称或蓝牙通信设 备的设备地址。  Optionally, the device information of the Bluetooth communication device includes: a name of the Bluetooth communication device or a device address of the Bluetooth communication device.

可选地, 当所述蓝牙通信设备的设备信息为蓝牙通信设备的名称时, 采用如下三 种方式中的任一种来保证每个用户的蓝牙通信设备的名称的唯一性; 方式一: 用户为 移动终端配置的蓝牙通信设备设置一个名称, 设置完之后, 将所述蓝牙通信设备的名 称上传至所述数据传输服务器, 由所述数据传输服务器对所述蓝牙通信设备的名称进 行验证, 若验证发现所述蓝牙通信设备的名称没有与其他蓝牙通信设备的名称相冲突 而发生重名, 则认可所述名称; 若验证发现所述蓝牙通信设备的名称与其他蓝牙通信 设备的名称相冲突而发生重名, 则需重新设置一个不冲突的新名称; 方式二: 不改变 移动终端配置的蓝牙通信设备所设置的名称, 每一次在移动终端上应用蓝牙通信装置 时, 就自动将蓝牙通信设备的名称改成一个足够大的随机数, 在完成数据传输后, 再 将蓝牙通信设备的为随机数的名称改回为原来的名称; 方式三: 不改变移动终端配置 的蓝牙通信设备所设置的名称, 每一次在移动终端上应用蓝牙通信装置时, 就向数据 传输服务器申请一个唯一的名称, 并自动将移动终端上的蓝牙通信设备的名称改成这 个唯一的名称, 在完成数据传输后, 再将移动终端上的蓝牙通信设备的那一个唯一的 名称改回为原来的名称。 Optionally, when the device information of the Bluetooth communication device is the name of the Bluetooth communication device, the following three manners are adopted to ensure the uniqueness of the name of the Bluetooth communication device of each user; Setting a name for the Bluetooth communication device configured for the mobile terminal, after setting, uploading the name of the Bluetooth communication device to the data transmission server, and verifying, by the data transmission server, the name of the Bluetooth communication device, if If the verification finds that the name of the Bluetooth communication device does not conflict with the name of the other Bluetooth communication device and the duplicate name occurs, the name is recognized; if the verification finds that the name of the Bluetooth communication device conflicts with the name of other Bluetooth communication device If a duplicate name occurs, you need to reset a new name that does not conflict. Method 2: Do not change the name set by the Bluetooth communication device configured by the mobile terminal. Each time the Bluetooth communication device is applied to the mobile terminal, the Bluetooth communication device is automatically activated. Change the name to a large enough random number to complete the data transfer After that, the name of the random number of the Bluetooth communication device is changed back to the original name; mode 3: the name set by the Bluetooth communication device configured by the mobile terminal is not changed, and each time the Bluetooth communication device is applied to the mobile terminal, Request a unique name from the data transfer server and automatically change the name of the Bluetooth communication device on the mobile terminal to this A unique name, after the data transmission is completed, the unique name of the Bluetooth communication device on the mobile terminal is changed back to the original name.

可选地, 所述数据传输服务器根据所述移动终端上传的信息确定得到参与碰撞的 两个或多个所述移动终端, 为发生碰撞的两个或多个所述移动终端进行配对包括: 所 述数据传输服务器根据所述移动终端上传的与碰撞相关的参数, 筛选出同时发生碰撞 的两个或多个所述移动终端, 作为第一条件; 所述数据传输服务器根据所述移动终端 配置的蓝牙通信设备的设备信息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信 设备的设备信息的设备信息列表, 查找出处于蓝牙通信设备的检测范围内的用户, 作 为第二条件; 所述数据传输服务器根据所述第一条件和所述第二条件, 为发生碰撞 的两个或多个所述移动终端进行配对。  Optionally, the data transmission server determines, according to the information uploaded by the mobile terminal, two or more of the mobile terminals that participate in the collision, and pairing the two or more mobile terminals that collide includes: The data transmission server selects two or more of the mobile terminals that collide at the same time as the first condition according to the collision-related parameters uploaded by the mobile terminal, and the data transmission server is configured according to the mobile terminal. a device information of the Bluetooth communication device, a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and finding a user who is within the detection range of the Bluetooth communication device as the second condition; the data The transmission server pairs the two or more of the mobile terminals in which the collision occurs according to the first condition and the second condition.

可选地, 在配对的所述移动终端之间建立供数据传输的蓝牙通信连接包括: 所述 数据传输服务器提供一个共用密码, 并将所述共用密码发送至参与碰撞的两个或多个 所述移动终端, 由对应的所述移动终端利用所述共用密码自动建立相互间的蓝牙通信 连接。  Optionally, establishing a Bluetooth communication connection for data transmission between the paired mobile terminals includes: the data transmission server providing a shared password, and sending the shared password to two or more participating in the collision Referring to the mobile terminal, the corresponding mobile terminal automatically establishes a Bluetooth communication connection with each other by using the shared password.

本发明在另一方面提供一种利用加速度感应器建立蓝牙连接的数据传输系统, 包 括数据传输服务器以及与所述数据传输服务器建立通信连接的移动终端; 所述移动终 端, 配置有加速度感应器和蓝牙通信设备; 所述移动终端用于: 将配置的蓝牙通信设 备的设备信息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的 设备信息列表、 以及在参与碰撞时将利用加速度感应器获取的与碰撞相关的参数上传 至所述数据传输服务器, 所述与碰撞相关的参数包括: 碰撞时间、碰撞力度和 /或碰撞 加速度; 以及利用蓝牙通信设备与其他移动终端建立供数据传输的蓝牙通信连接; 所 述数据传输服务器用于: 根据接收到的所述移动终端配置的蓝牙通信设备的设备信 息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列 表、 以及参与碰撞的两个或多个所述移动终端的与碰撞相关的参数, 确定得到参与碰 撞的两个或多个所述移动终端, 为发生碰撞的两个或多个所述移动终端进行配对, 在 配对的所述移动终端之间建立供数据传输的蓝牙通信连接。  The present invention provides, in another aspect, a data transmission system for establishing a Bluetooth connection by using an acceleration sensor, comprising: a data transmission server and a mobile terminal establishing a communication connection with the data transmission server; the mobile terminal configured with an acceleration sensor and a Bluetooth communication device; the mobile terminal is configured to: list device information of the configured Bluetooth communication device, device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and use when participating in a collision The collision-related parameters acquired by the acceleration sensor are uploaded to the data transmission server, and the collision-related parameters include: collision time, collision strength, and/or collision acceleration; and establishing data for use with other mobile terminals by using a Bluetooth communication device. a transmitted Bluetooth communication connection; the data transmission server is configured to: set, according to the received device information of the Bluetooth communication device configured by the mobile terminal, device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device a list of information, and collision-related parameters of two or more of the mobile terminals participating in the collision, determining to obtain two or more of the mobile terminals participating in the collision, two or more of the movements in which the collision occurs The terminal performs pairing to establish a Bluetooth communication connection for data transmission between the paired mobile terminals.

可选地, 所述移动终端包括: 加速度感应器, 获取与碰撞相关的参数; 蓝牙通信 设备; 蓝牙信息提供单元, 用于提供配置的蓝牙通信设备的设备信息和蓝牙通信设备 检测到的其他所有的蓝牙通信设备的设备信息的设备信息列表;信息收发单元,用于: 将包括蓝牙通信设备的设备信息和蓝牙通信设备检测到的其他所有的蓝牙通信设备 的设备信息的设备信息列表、 以及在参与碰撞时将利用加速度感应器获取的与碰撞相 关的参数的信息上传至所述数据传输服务器; 以及在建立蓝牙通信连接的移动终端之 间进行数据传输; 显示单元; 存储单元, 用于存储自身配置的蓝牙通信设备的设备信 息、 数据以及通过所述信息收发单元接收自建立蓝牙通信连接的其他移动终端的数 据; Optionally, the mobile terminal includes: an acceleration sensor, acquiring a parameter related to the collision; a Bluetooth communication device; a Bluetooth information providing unit, configured to provide device information of the configured Bluetooth communication device, and all other detected by the Bluetooth communication device a device information list of device information of the Bluetooth communication device; the information transceiving unit is configured to: list device information including device information of the Bluetooth communication device and device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and Collision phase acquired by the acceleration sensor when participating in a collision And transmitting information to the data transmission server; and transmitting data between the mobile terminals establishing the Bluetooth communication connection; the display unit; the storage unit, configured to store device information, data, and the data of the Bluetooth communication device configured by itself The information transceiver unit receives data of other mobile terminals that establish a Bluetooth communication connection;

所述数据传输服务器包括: 信息收发单元, 用于接收自各个所述移动终端所发送 的配置的蓝牙通信设备的设备信息、移动终端配置的所述蓝牙通信设备检测到的其他 所有的蓝牙通信设备的设备信息的设备信息列表、 以及在参与碰撞时将利用加速度感 应器获取的与碰撞相关的参数; 碰撞参数分析单元, 用于根据所述移动终端上传的与 碰撞相关的参数, 筛选出同时发生碰撞的两个或多个所述移动终端; 蓝牙信息查找单 元, 用于根据所述移动终端配置的蓝牙通信设备的设备信息、 配置的蓝牙通信设备检 测到的其他所有的蓝牙通信设备的设备信息的设备信息列表, 查找出处于蓝牙通信设 备的检测范围内的用户; 蓝牙通信建立单元, 用于结合所述碰撞参数分析单元的分析 结果和所述蓝牙信息查找单元的查找结果, 确定得到参与碰撞的两个或多个所述移动 终端, 为发生碰撞的两个或多个所述移动终端进行配对, 在配对的所述移动终端之间 建立供数据传输的蓝牙通信连接; 数据库, 用于存储各个所述移动终端所发送的配置 的蓝牙通信设备的设备信息、蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备 信息的设备信息列表、 以及在参与碰撞时利用加速度感应器获取的与碰撞相关的参 数。  The data transmission server includes: an information transceiving unit, configured to receive device information of a configured Bluetooth communication device sent by each of the mobile terminals, and all other Bluetooth communication devices detected by the Bluetooth communication device configured by the mobile terminal a device information list of the device information, and a collision-related parameter that is acquired by the acceleration sensor when participating in the collision; a collision parameter analysis unit, configured to filter out the simultaneous occurrence according to the collision-related parameter uploaded by the mobile terminal Collision of two or more of the mobile terminals; a Bluetooth information search unit, device information for a Bluetooth communication device configured according to the mobile terminal, device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device The device information list is used to find a user who is in the detection range of the Bluetooth communication device; the Bluetooth communication establishing unit is configured to combine the analysis result of the collision parameter analysis unit and the search result of the Bluetooth information search unit to determine that the participation collision is obtained. Two or more The mobile terminal pairing two or more of the mobile terminals that collide, establishing a Bluetooth communication connection for data transmission between the paired mobile terminals, and a database for storing each of the mobile terminals The transmitted device information of the configured Bluetooth communication device, the device information list of the device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and the collision-related parameters acquired by the acceleration sensor when participating in the collision.

可选地, 所述信息还包括所述移动终端对应的用户的简明身份信息, 所述简明身 份信息是连同配置的蓝牙通信设备的设备信息一起发送至所述数据传输服务器的或 是预先存储在所述数据传输服务器上的; 所述数据传输服务器还包括用户信息提供单 元, 用于在确定得到参与碰撞的两个或多个所述移动终端后将与两个或多个所述移动 终端对应的用户的用户列表发送至这些移动终端, 并在所述移动终端上显示出所述用 户列表中用户的简明身份信息。  Optionally, the information further includes concise identity information of the user corresponding to the mobile terminal, where the concise identity information is sent to the data transmission server along with the device information of the configured Bluetooth communication device or is pre-stored in the The data transmission server further includes a user information providing unit, configured to correspond to two or more of the mobile terminals after determining that two or more of the mobile terminals participating in the collision are obtained The user list of the user is sent to the mobile terminals, and the user's concise identity information in the user list is displayed on the mobile terminal.

可选地, 所述蓝牙通信设备的设备信息包括: 蓝牙通信设备的名称或蓝牙通信设 备的设备地址。 本发明提供一种利用加速度感应器建立蓝牙连接的数据传输的方法及系统, 本发 明利用移动终端配置的加速度感应器, 以碰撞的方式获取与碰撞相关的参数并确定参 与碰撞的两个或多个移动终端, 在它们之间利用蓝牙通信设备直接建立蓝牙通信连 接, 为人们使用蓝牙无线技术传输数据提供了方便, 相较于现有技术, 操作简单, 且 可在确保数据传输安全性的情况下免除了密码验证等繁琐步骤, 快速便捷。 附图说明 图 1为本发明数据传输系统的框架示意图; 图 2为本发明数据传输系统的结构示意图; 图 3为本发明数据传输方法的流程示意图。 Optionally, the device information of the Bluetooth communication device includes: a name of the Bluetooth communication device or a device address of the Bluetooth communication device. The present invention provides a method and system for establishing data transmission of a Bluetooth connection by using an acceleration sensor. The present invention utilizes an acceleration sensor configured by a mobile terminal to acquire collision-related parameters in a collision manner and determine two or more participating collisions. Mobile terminals directly establish a Bluetooth communication connection between them by using a Bluetooth communication device, which provides convenience for people to use Bluetooth wireless technology to transmit data. Compared with the prior art, the operation is simple, and the data transmission security can be ensured. It eliminates the cumbersome steps of password verification, and is quick and convenient. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram of a frame of a data transmission system according to the present invention; FIG. 2 is a schematic structural diagram of a data transmission system according to the present invention; FIG.

具体实施方式 本发明的发明人发现: 传统的蓝牙通信技术中, 在建立蓝牙通信连接之前, 要求 连接各方首先得在各自的移动终端上输入一个约定的密码, 操作繁琐且费时, 特别是 在涉及多个移动终端时, 上述缺陷更加明显。 因此, 本发明的发明人对现有技术进行了改进, 提出了一种利用加速度感应器建 立蓝牙连接的数据传输的方法及系统, 提供了作为各个移动终端的信息处理设备的数 据传输服务器, 汇集各个移动终端配置的蓝牙通信设备的设备信息、 配置的蓝牙通信 设备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列表、 以及配置的加速 度感应器获取的参与碰撞的移动终端的与碰撞相关的参数, 从而确定参与碰撞的那些 个移动终端, 自动为那些个移动终端建立供数据传输的蓝牙通信连接, 为人们传送数 据提供了便利, 相较于现有技术, 操作简单, 快速便捷。 以下将对发明进行详细说明。 图 1为本发明数据传输系统的框架示意图。 如图 1 所示, 所述数据传输系统包括: 数据传输服务器 10、 与数据传输服务器 10进行联网的一个或多个移动终端 12。 通过网络连接, 可以将各个移动终端 12连接 为一体。 利用数据传输服务器 10, 可以对来自各个移动终端 12的各个信息 (例如蓝 牙通信设备的设备信息、 与碰撞相关的参数、 对应的用户的简明身份信息等)进行收 集、 查看、 管理, 并根据其中的信息, 确定参与碰撞的那些个移动终端, 并为它们建 立可供数据传输的蓝牙通信连接。 需说明的是, 移动终端 12与数据传输服务器 10联网, 所述通信网络可以是基于 TCP/IP的以太网、 互联网、 Wi-Fi无线网际网路等, 也可以是例如 2G、 3G (包括宽 带码分多址 WCDMA、时分一同步码分多址 TD-SCDMA)、长期演进(LTE, Long Term Evolution) 或全球微波互联接入 (WIMAX, Worldwide Interoperability for Microwave Access)在内的移动通信网络。 图 2为本发明数据传输系统的结构示意图。 移动终端 12用于: 将配置的蓝牙通信设备的设备信息、 配置的蓝牙通信设备检 测到的其他所有的蓝牙通信设备的设备信息的设备信息列表、 以及在参与碰撞时将利 用加速度感应器获取的与碰撞相关的参数上传至所述数据传输服务器; 以及利用蓝牙 通信设备与其他移动终端 12建立供数据传输的蓝牙通信连接; 如图 2所示, 移动终端 12包括: 加速度感应器 120、 蓝牙通信设备 121、 蓝牙信 息提供单元 122、 信息收发单元 123、 显示单元 124、 以及存储单元 125。 在具体应用 中, 移动终端 12可以是手机、 PDA、 平板电脑和笔记本电脑中的任一种。 下面针对移动终端 12中上述的各个单元进行详细描述。 加速度感应器 120, 用于在移动终端 12之间发生碰撞时获取与碰撞相关的参数; 蓝牙通信设备 121 ; 蓝牙 (Bluetooth) 无线技术, 实际上是一种短距离无线通信技术, 利用蓝牙无线 技术, 能够有效地简化例如掌上电脑、 平板电脑、 笔记本电脑和手机等移动通信终端 设备之间的通信, 也能够成功地简化以上这些设备与互联网 (Internet) 之间的通信, 从而使这些现代通信设备不必借助电缆就能联网, 组成一个巨大的无线通信网络。 蓝牙信息提供单元 122, 用于提供配置的蓝牙通信设备 121的设备信息和蓝牙通 信设备 121检测到的其他所有的蓝牙通信设备 121的设备信息的设备信息列表。 当启动配置的蓝牙通信设备 121时, 可以检测周边是否有可供通信连接的其他蓝 牙通信设备 121, 并可将检测到的蓝牙通信设备 121的设备信息列出构成设备信息列 表。 信息收发单元 123, 用于进行信息的互传。 在本发明中, 所述信息可以包括: 用 于与数据传输服务器 10进行互传的蓝牙信息提供单元 122提供的蓝牙通信设备的设 备信息和蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列 表、 在参与碰撞时利用加速度感应器 120获取的与碰撞相关的参数、 移动终端 12对 应的用户的简明身份信息; 以及用于与建立蓝牙通信连接的其他移动终端进行传输的 数据等。 蓝牙通信设备 121的设备信息可以是蓝牙通信设备的名称或蓝牙通信设备的设备 地址。 在实际应用中, 针对蓝牙通信设备的名称, 用户可以根据自己喜好或网络环境而 进行命名或更改名称。 针对蓝牙通信设备的设备地址, 每个蓝牙通信设备都被分配了唯一的一个设备地 址, SIG协议中 BLCP协议规范了蓝牙通信设备的编址方法, 它采用 48位编码, 分 为制造商分配的产品编码和 SIG分配的制造商编码两部分, 各 24位。 其中, 包括 24 位的低地址部分 LAP, 8位高地址部分 UAP, 16位无效地址部分 NAP, 高地址部分 UAP和无效地址部分 NAP共同构成了蓝牙通信设备的唯一标识符。 所述简明身份信息包括但不限于: 用户的姓名, 用户的昵称, 用户的公司名称, 用户的大头像, 用户自己设置的一个表示自己身份的图片。 所述数据包括但不限于: 文字形式的用户的联系信息, 包括姓名、 电话、 e-mail、 公司、 部门、 职务、 地址等; 文件; 声音, 图像, 视频等多媒体信息。 显示单元 124,用于显示各类信息,例如来自数据传输服务器 10的处于蓝牙通信 设备 121的检测范围内的周边移动终端 12对应的用户的用户列表、 用户列表中各个 用户的简明身份信息。 在本发明中, 所述显示单元可以是 LCD液晶显示屏幕。 存储单元 126, 用于存储自身配置的蓝牙通信设备的设备信息、 数据以及通过信 息收发单元 120接收自建立蓝牙通信连接的其他移动终端的数据。 数据传输服务器 10用于: 根据接收到的移动终端 12配置的蓝牙通信设备 121的 设备信息、配置的蓝牙通信设备 121检测到的其他所有的蓝牙通信设备 121的设备信 息的设备信息列表、 以及参与碰撞的两个或多个移动终端 12的与碰撞相关的参数, 确定得到参与碰撞的两个或多个移动终端 12, 为发生碰撞的那些个移动终端 12进行 配对, 在配对的移动终端 12之间建立供数据传输的蓝牙通信连接。 如图 2所示, 数据传输服务器 10包括: 信息收发单元 100、 数据库 101、 碰撞参 数分析单元 102、 蓝牙信息查找单元 103、用户信息提供单元 104、 以及蓝牙通信建立 单元 105。 信息收发单元 100, 用于与移动终端 12建立通信连接, 进行信息的互传。在本发 明中, 所述信息可以包括: 各个移动终端 12中配置的蓝牙通信设备 121的设备信息、 配置的蓝牙通信设备 121检测到的其他所有的蓝牙通信设备 121的设备信息的设备信 息列表、 在参与碰撞时利用配置的加速度感应器 120获取的与碰撞相关的参数、 以及 各个移动终端 12对应的用户的简明身份信息等。 蓝牙通信设备 121的设备信息可以是蓝牙通信设备的名称或蓝牙通信设备的设备 地址。 在实际应用中, 针对蓝牙通信设备的名称, 用户可以根据自己喜好或网络环境而 进行命名或更改名称。 针对蓝牙通信设备的设备地址, 每个蓝牙通信设备都被分配了唯一的一个设备地 址, SIG协议中 BLCP协议规范了蓝牙通信设备的编址方法, 它采用 48位编码, 分 为制造商分配的产品编码和 SIG分配的制造商编码两部分, 各 24位。 其中, 包括 24 位的低地址部分 LAP, 8位高地址部分 UAP, 16位无效地址部分 NAP, 高地址部分 UAP和无效地址部分 NAP共同构成了蓝牙通信设备的唯一标识符。 所述简明身份信息包括但不限于: 用户的姓名, 用户的昵称, 用户的公司名称, 用户的大头像, 用户自己设置的一个表示自己身份的图片。 所述数据包括但不限于: 文字形式的用户的联系信息, 包括姓名、 电话、 e-mail、 公司、 部门、 职务、 地址等; 文件; 声音, 图像, 视频等多媒体信息。 数据库 101,用于存储各个移动终端 12所发送的配置的蓝牙通信设备 121的设备 信息、蓝牙通信设备 121检测到的其他所有的蓝牙通信设备 121的设备信息的设备信 息列表、在参与碰撞时利用加速度感应器 120获取的与碰撞相关的参数、和 /或各个移 动终端 12对应的用户的简明身份信息。 在本发明中, 所述简明身份信息是连同配置的蓝牙通信设备的设备信息一起发送 至数据传输服务器 10的或是预先存储在数据传输服务器 10上的。 碰撞参数分析单元 102,用于根据移动终端 12上传的与碰撞相关的参数, 筛选出 同时发生碰撞的两个或多个移动终端 12。 在本发明中, 所述与碰撞相关的参数包括: 碰撞时间、碰撞力度和 /或碰撞加速度 等。 以碰撞时间为例, 碰撞参数分析单元 102记录其中的移动终端 12上传的与碰撞 对应的碰撞时间, 将各个碰撞时间进行比对, 找出它们中碰撞时间的差值小于一个预 先设定的值 tl (用于在考虑网络传输延时的前提下确保移动终端 12是同时发生碰撞 的) 那些碰撞时间, 以此判断出这些碰撞时间对应的移动终端 12是同一个碰撞事件 的参与者。 当然, 为提高判断的精确度或縮小判断范围 (例如判断出的参与者的数量 明显过多时), 还可以结合其他判断因素, 再以碰撞力度和 /或碰撞加速度为例, 比如 说发生碰撞的移动终端 12之间彼此感应到的对方的碰撞力度应该是相似的, 从而加 速度感应器 120感应到的加速度应该是相似的,从而根据碰撞力度和 /或碰撞加速度的 大小来判定参与碰撞事件的移动终端 12。 因此, 可以通过多个参数的结合, 来縮小判 定的参与碰撞事件的移动终端 12范围, 提高判定的准确性。 蓝牙信息查找单元 103,用于根据移动终端 12配置的蓝牙通信设备 121的设备信 息、配置的蓝牙通信设备 121检测到的其他所有的蓝牙通信设备 121的设备信息的设 备信息列表, 查找出处于蓝牙通信设备 121的检测范围内的用户。 上述查找出处于蓝牙通信设备的检测范围内的用户, 所述用户满足: 用户对应的 移动终端所配置的蓝牙通信设备的设备信息是包含在请求用户对应的移动终端发送 的检测到的其他所有的蓝牙通信设备的设备信息的设备信息列表之中, 请求用户对应 的移动终端所配置的蓝牙通信设备的设备信息是包含在用户对应的移动终端发送的 检测到的其他所有的蓝牙通信设备的设备信息的设备信息列表之中。 DETAILED DESCRIPTION OF THE INVENTION The inventors of the present invention have found that: In the conventional Bluetooth communication technology, before establishing a Bluetooth communication connection, the connecting parties are required to first input an agreed password on the respective mobile terminal, which is cumbersome and time consuming, especially in the The above drawbacks are more pronounced when multiple mobile terminals are involved. Therefore, the inventors of the present invention have improved the prior art, and proposed a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor, and providing a data transmission server as an information processing device of each mobile terminal, collecting The device information of the Bluetooth communication device configured by each mobile terminal, the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and the collision of the mobile terminal participating in the collision acquired by the configured acceleration sensor Related parameters, thereby determining those mobile terminals participating in the collision, automatically establishing a Bluetooth communication connection for data transmission for those mobile terminals, providing convenience for people to transmit data, compared with the prior art, the operation is simple, fast and convenient. The invention will be described in detail below. 1 is a schematic diagram of a frame of a data transmission system of the present invention. As shown in FIG. 1, the data transmission system includes: a data transmission server 10, and one or more mobile terminals 12 networked with the data transmission server 10. Each mobile terminal 12 can be connected as one body through a network connection. With the data transmission server 10, various information from each mobile terminal 12 (for example, device information of a Bluetooth communication device, collision-related parameters, corresponding user's concise identity information, etc.) can be collected, viewed, managed, and according to The information identifies the mobile terminals participating in the collision and establishes a Bluetooth communication connection for them for data transmission. It should be noted that the mobile terminal 12 is networked with the data transmission server 10, and the communication network may be Ethernet/Internet based on TCP/IP, Internet, Wi-Fi wireless Internet, etc., and may also be, for example, 2G, 3G (including broadband). Code Division Multiple Access (WCDMA), Time Division, Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE, Long Term) Evolution) or mobile communication network including Worldwide Interoperability for Microwave Access (WIMAX). 2 is a schematic structural diagram of a data transmission system according to the present invention. The mobile terminal 12 is configured to: list the device information of the configured Bluetooth communication device, the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and the information acquired by the acceleration sensor when participating in the collision The collision related parameters are uploaded to the data transmission server; and the Bluetooth communication device is used to establish a Bluetooth communication connection with other mobile terminals 12 for data transmission; as shown in FIG. 2, the mobile terminal 12 includes: an acceleration sensor 120, Bluetooth communication The device 121, the Bluetooth information providing unit 122, the information transceiving unit 123, the display unit 124, and the storage unit 125. In a specific application, the mobile terminal 12 may be any one of a mobile phone, a PDA, a tablet, and a notebook. The respective units described above in the mobile terminal 12 will be described in detail below. The acceleration sensor 120 is configured to acquire a collision-related parameter when a collision occurs between the mobile terminals 12; a Bluetooth communication device 121; a Bluetooth wireless technology, which is actually a short-range wireless communication technology, utilizing Bluetooth wireless technology , which can effectively simplify the communication between mobile communication terminal devices such as handheld computers, tablets, notebook computers and mobile phones, and can also successfully simplify the communication between these devices and the Internet, thereby making these modern communication devices Networking without a cable can form a huge wireless communication network. The Bluetooth information providing unit 122 is configured to provide the device information of the configured Bluetooth communication device 121 and the device information list of the device information of all other Bluetooth communication devices 121 detected by the Bluetooth communication device 121. When the configured Bluetooth communication device 121 is activated, it can detect whether there are other Bluetooth communication devices 121 available for communication connection in the periphery, and can list the detected device information of the Bluetooth communication device 121 to form a device information list. The information transceiver unit 123 is configured to perform mutual transmission of information. In the present invention, the information may include: device information of the Bluetooth communication device provided by the Bluetooth information providing unit 122 for inter-transmission with the data transmission server 10, and devices of all other Bluetooth communication devices detected by the Bluetooth communication device. a device information list of information, collision-related parameters acquired by the acceleration sensor 120 when participating in a collision, concise identity information of a user corresponding to the mobile terminal 12; and data for transmission with other mobile terminals establishing a Bluetooth communication connection Wait. The device information of the Bluetooth communication device 121 may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment. For the device address of the Bluetooth communication device, each Bluetooth communication device is assigned a unique device address. The BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers. The manufacturer code for the product code and SIG distribution is divided into two parts, 24 bits each. Among them, the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device. The concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity. The data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information. The display unit 124 is configured to display various types of information, such as a user list of the user corresponding to the peripheral mobile terminal 12 from the data transmission server 10 within the detection range of the Bluetooth communication device 121, and concise identity information of each user in the user list. In the present invention, the display unit may be an LCD liquid crystal display screen. The storage unit 126 is configured to store device information, data of the Bluetooth communication device configured by itself, and data received by the information transceiving unit 120 from other mobile terminals that establish a Bluetooth communication connection. The data transmission server 10 is configured to: according to the received device information of the Bluetooth communication device 121 configured by the mobile terminal 12, the device information list of the device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121, and participation The collision-related parameters of the two or more mobile terminals 12 that are collided determine that two or more mobile terminals 12 participating in the collision are paired, and those mobile terminals 12 that have collided are paired, in the paired mobile terminal 12 Establish a Bluetooth communication connection for data transmission. As shown in FIG. 2, the data transmission server 10 includes: an information transceiving unit 100, a database 101, a collision parameter analyzing unit 102, a Bluetooth information searching unit 103, a user information providing unit 104, and a Bluetooth communication establishing unit 105. The information transceiver unit 100 is configured to establish a communication connection with the mobile terminal 12 to perform mutual information transmission. In the present invention, the information may include: device information of the Bluetooth communication device 121 configured in each mobile terminal 12, a list of device information of device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121, collision-related parameters acquired by the configured acceleration sensor 120 when participating in a collision, and corresponding to each mobile terminal 12 User's concise identity information, etc. The device information of the Bluetooth communication device 121 may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment. For the device address of the Bluetooth communication device, each Bluetooth communication device is assigned a unique device address. The BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers. The manufacturer code for the product code and SIG distribution is divided into two parts, 24 bits each. Among them, the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device. The concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity. The data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information. The database 101 is configured to store the device information of the configured Bluetooth communication device 121 sent by each mobile terminal 12, the device information list of the device information of all other Bluetooth communication devices 121 detected by the Bluetooth communication device 121, and utilize the device when participating in a collision. The collision-related parameters acquired by the acceleration sensor 120, and/or the concise identity information of the user corresponding to each mobile terminal 12. In the present invention, the concise identity information is transmitted to the data transmission server 10 together with the device information of the configured Bluetooth communication device or is pre-stored on the data transmission server 10. The collision parameter analysis unit 102 is configured to filter out two or more mobile terminals 12 that collide at the same time according to the collision-related parameters uploaded by the mobile terminal 12. In the present invention, the collision-related parameters include: collision time, collision strength, and/or collision acceleration. Taking the collision time as an example, the collision parameter analysis unit 102 records the collision time corresponding to the collision uploaded by the mobile terminal 12, compares each collision time, and finds that the difference between the collision times is less than a preset value. Tl (for ensuring that the mobile terminal 12 collides at the same time considering the network transmission delay) Those collision times, in order to determine that the mobile terminal 12 corresponding to these collision times is the participant of the same collision event. Of course, in order to improve the accuracy of the judgment or narrow the judgment range (for example, when the number of the determined participants is significantly excessive), it is also possible to combine other judgment factors, and then take the collision strength and/or the collision acceleration as an example, for example, a collision occurs. The collision forces of the other parties sensed between the mobile terminals 12 should be similar, so that the accelerations sensed by the acceleration sensors 120 should be similar, thereby determining the movement of the participating collision events according to the magnitude of the collision force and/or the acceleration of the collision. Terminal 12. Therefore, the range of the determined mobile terminal 12 participating in the collision event can be narrowed by a combination of a plurality of parameters, and the accuracy of the determination can be improved. The Bluetooth information searching unit 103 is configured to find out that the device is in Bluetooth according to the device information of the Bluetooth communication device 121 configured by the mobile terminal 12 and the device information list of the device information of all other Bluetooth communication devices 121 detected by the configured Bluetooth communication device 121. The user within the detection range of the communication device 121. The user is found to be in the detection range of the Bluetooth communication device, and the user meets: the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the user is included in all other detected by the mobile terminal corresponding to the requesting user. In the device information list of the device information of the Bluetooth communication device, the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the requesting user is device information of all other Bluetooth communication devices detected by the mobile terminal corresponding to the user. In the list of device information.

用户信息提供单元 104, 用于在结合碰撞参数分析单元 102的分析结果和蓝牙信 息查找单元 103的查找结果而确定得到参与碰撞的两个或多个移动终端 12后, 将与 两个或多个移动终端 12对应的用户的用户列表发送至这些移动终端 12, 并在移动终 端 12上显示出所述用户列表中用户的简明身份信息。 蓝牙通信建立单元 105, 用于结合碰撞参数分析单元 102的分析结果和蓝牙信息 查找单元 103的查找结果,确定得到参与碰撞的两个或多个移动终端 12, 为发生碰撞 的两个或多个移动终端进行配对, 在配对的移动终端 12之间建立供数据传输的蓝牙 通信连接。 在本发明中, 上述在配对的移动终端 12之间建立供数据传输的蓝牙通信连接在 一个实现方式中可以具体包括: 蓝牙通信建立单元 105提供一个共用密码, 并将所述 共用密码发送至配对的两个或多个移动终端 12,由它们利用所述共用密码自动建立相 互间的蓝牙通信连接。 当然, 在上述实施方式中, 在蓝牙通信建立单元 105提供一个共用密码之前, 还 可以包括一个确认步骤, 唯有当配对的两个或多个移动终端 12都确认建立蓝牙通信 连接后才由蓝牙通信建立单元 105提供一个共用密码并发送给它们。 本发明另提供了一种利用加速度感应器建立蓝牙连接的数据传输的方法。 图 3即 显示了所述方法的流程示意图。 如图 3所示, 所述数据传输方法包括: 步骤 S201 ,移动终端与数据传输服务器建立通信连接;所述移动终端配置有加速 度感应器和蓝牙通信设备。 在所述步骤中, 所述建立通信连接可以包括: 移动终端提 出连接请求, 并在数据传输服务器确认后, 实现通信连接; 也可以是, 由移动终端直 接登录数据传输服务器所属的网站。 由于所述建立通信连接的步骤已为本领域技术人 员所熟知, 故不再在此赘述。 步骤 S203,请求用户利用移动终端将配置的蓝牙通信设备的设备信息、所述移动 终端配置的所述蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备 信息列表、 以及参与碰撞的两个或多个所述移动终端的与碰撞相关的参数发送至与所 述移动终端建立通信连接的数据传输服务器。 另外, 在本发明中, 还可以在发送蓝牙通信设备的设备信息时一同将请求用户的 简明身份信息发送至所述数据传输服务器。 当然, 在其他情况下, 所述简明身份信息 也可以预先存储在所述数据传输服务器上。 所述简明身份信息包括但不限于: 用户的姓名, 用户的昵称, 用户的公司名称, 用户的大头像, 用户自己设置的一个表示自己身份的图片。 所述数据包括但不限于: 文字形式的用户的联系信息, 包括姓名、 电话、 e-mail、 公司、 部门、 职务、 地址等; 文件; 声音, 图像, 视频等多媒体信息。 所述蓝牙通信设备的设备信息可以是蓝牙通信设备的名称或蓝牙通信设备的设 备地址。 在实际应用中, 针对蓝牙通信设备的名称, 用户可以根据自己喜好或网络环境而 进行命名或更改名称。 针对蓝牙通信设备的设备地址, 每个蓝牙通信设备都被分配了 唯一的一个设备地址, SIG协议中 BLCP协议规范了蓝牙通信设备的编址方法, 它采 用 48位编码,分为制造商分配的产品编码和 SIG分配的制造商编码两部分,各 24位。 其中,包括 24位的低地址部分 LAP, 8位高地址部分 UAP, 16位无效地址部分 NAP, 高地址部分 UAP和无效地址部分 NAP共同构成了蓝牙通信设备的唯一标识符。 特别地, 在上述描述中, 在所述蓝牙通信设备的设备信息是蓝牙通信设备的名称 的情况下, 由于所述名称是根据自己喜好或网络环境而进行命名或更改的, 不可避免 地, 存在这样的情景: 用户对应的移动终端之间所设置的蓝牙通信设备的名称发生重 名的问题。 因此, 在本发明中, 为解决用户对应的移动终端之间所设置的蓝牙通信设 备的名称可能发生重名的问题, 可以采用如下三种方式中的任一种来保证每个用户的 蓝牙通信设备的名称的唯一性。 方式一: 用户为移动终端配置的蓝牙通信设备设置一个名称, 设置完之后, 将所 述蓝牙通信设备的名称上传至所述数据传输服务器, 由所述数据传输服务器对所述蓝 牙通信设备的名称进行验证, 若验证发现所述蓝牙通信设备的名称没有与其他蓝牙通 信设备的名称相冲突而发生重名, 则认可所述名称; 若验证发现所述蓝牙通信设备的 名称与其他蓝牙通信设备的名称相冲突而发生重名, 则需重新设置一个不冲突的新名 称; 方式二: 不改变移动终端配置的蓝牙通信设备所设置的名称, 每一次在移动终端 上应用蓝牙通信装置时, 就自动将蓝牙通信设备的名称改成一个足够大的随机数, 在 完成数据传输后, 再将蓝牙通信设备的为随机数的名称改回为原来的名称; 方式三: 不改变移动终端配置的蓝牙通信设备所设置的名称, 每一次在移动终端 上应用蓝牙通信装置时, 就向数据传输服务器申请一个唯一的名称, 并自动将移动终 端上的蓝牙通信设备的名称改成这个唯一的名称, 在完成数据传输后, 关闭蓝牙通信 设备之前, 再将移动终端上的蓝牙通信设备的那一个唯一的名称改回为原来的名称, 并将数据传输服务器提供的那个唯一的名称释放出来供其他移动终端上的蓝牙通信 设备使用。 步骤 S205,所述数据传输服务器根据所述移动终端上传的信息,确定得到参与碰 撞的两个或多个所述移动终端, 为发生碰撞的两个或多个所述移动终端进行配对; 在上述步骤 S205 中, 为发生碰撞的两个或多个所述移动终端进行配对, 具体包 括: 所述数据传输服务器根据所述移动终端上传的与碰撞相关的参数, 筛选出同时发 生碰撞的两个或多个所述移动终端, 作为第一条件。 这这里, 所述与碰撞相关的参数 包括: 碰撞时间、碰撞力度和 /或碰撞加速度等。 以碰撞时间为例, 记录各个移动终端 上传的与碰撞对应的碰撞时间, 将各个碰撞时间进行比对, 找出它们中碰撞时间的差 值小于一个预先设定的值 tl (用于在考虑网络传输延时的前提下确保移动终端是同时 发生碰撞的)那些碰撞时间, 以此判断出这些碰撞时间对应的移动终端是同一个碰撞 事件的参与者。 当然, 为提高判断的精确度或縮小判断范围 (例如判断出的参与者的 数量明显过多时), 还可以结合其他判断因素, 再以碰撞力度和 /或碰撞加速度为例, 比如说发生碰撞的移动终端之间彼此感应到的对方的碰撞力度应该是相似的, 加速度 感应器感应到的加速度应该是相似的,从而根据碰撞力度和 /或碰撞加速度的大小来判 定参与碰撞事件的移动终端。 因此, 可以通过多个参数的结合, 来縮小判定的参与碰 撞事件的移动终端范围, 提高判定的准确性。 根据所述移动终端配置的蓝牙通信设备的设备信息、配置的蓝牙通信设备检测到 的其他所有的蓝牙通信设备的设备信息的设备信息列表, 查找出处于蓝牙通信设备的 检测范围内的用户, 作为第二条件。 上述查找出处于蓝牙通信设备的检测范围内的用 户, 所述用户满足: 用户对应的移动终端所配置的蓝牙通信设备的设备信息是包含在 请求用户对应的移动终端发送的检测到的其他所有的蓝牙通信设备的设备信息的设 备信息列表之中, 请求用户对应的移动终端所配置的蓝牙通信设备的设备信息是包含 在用户对应的移动终端发送的检测到的其他所有的蓝牙通信设备的设备信息的设备 信息列表之中。 根据所述第一条件和所述第二条件, 为发生碰撞的两个或多个所述移动终端进行 配对。 步骤 S207,所述数据传输服务器在配对的所述移动终端之间建立供数据传输的蓝 牙通信连接。 在上述步骤 S207 中, 在配对的所述移动终端之间建立供数据传输的蓝牙通信连 接, 具体包括: 所述数据传输服务器提供一个共用密码, 并将所述共用密码发送至配 对的两个或多个所述移动终端, 由它们利用所述共用密码自动建立相互间的蓝牙通信 连接。 当然, 在上述实施方式中, 在所述数据传输服务器提供一个共用密码之前, 还可 以包括一个确认步骤, 唯有当配对的两个或多个所述移动终端 12都确认建立蓝牙通 信连接后才由蓝牙通信建立单元 105提供一个共用密码并发送给它们。 后续, 建立了蓝牙通信连接的两个或多个移动终端之间即可进行数据传输。 以下通过实例, 对本发明在数据传输中的应用进行详细说明。 实施例: 需要进行数据传输的用户 A和用户 B都开启各自手机 a、 b上配置蓝牙通信设备 和加速度感应器, 与网站服务器 C建立通信连接; 用户 A与用户 B将各自的手机 a、 b发生碰撞, 手机 a将配置的加速度感应器感测到与碰撞相关的参数、 配置的蓝牙通 信设备的设备信息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信 息的设备信息列表上传至网站服务器 C, 手机 b将配置的加速度感应器感测到与碰撞 相关的参数、 配置的蓝牙通信设备的设备信息、 配置的蓝牙通信设备检测到的其他所 有的蓝牙通信设备的设备信息的设备信息列表上传至网站服务器 C; 网站服务器 C判 断得到是用户 A的手机 a和用户 B的手机 b发生了碰撞,且用户 A的手机 a在手机 b 的蓝牙通信设备的检测范围内,用户 B的手机 b在手机 a的蓝牙通信设备的检测范围 内, 在手机 a和手机 b之间建立配对, 然后自动为手机 a的蓝牙通信设备和手机 b的 蓝牙通信设备输入一个同样的密码, 自动在手机 a和手机 b之间建立蓝牙通信连接; 用户 A和用户 B利用手机 a和手机 b实现两者间的数据传输。 The user information providing unit 104 is configured to determine two or more mobile terminals 12 participating in the collision after combining the analysis result of the collision parameter analyzing unit 102 and the search result of the Bluetooth information searching unit 103, and two or more The user list of the user corresponding to the mobile terminal 12 is transmitted to the mobile terminals 12, and the user's concise identity information in the user list is displayed on the mobile terminal 12. The Bluetooth communication establishing unit 105 is configured to combine the analysis result of the collision parameter analyzing unit 102 and the search result of the Bluetooth information searching unit 103 to determine that two or more mobile terminals 12 participating in the collision are obtained, which are two or more collisions. The mobile terminal performs pairing to establish a Bluetooth communication connection for data transmission between the paired mobile terminals 12. In the present invention, the above-mentioned establishment of a Bluetooth communication connection for data transmission between the paired mobile terminals 12 may specifically include: the Bluetooth communication establishing unit 105 provides a shared password, and sends the shared password to the pairing. Two or more mobile terminals 12, by which they automatically establish a Bluetooth communication connection with each other using the shared password. Of course, in the above embodiment, before the Bluetooth communication establishing unit 105 provides a shared password, a confirmation step may be further included, only when the paired two or more mobile terminals 12 confirm the establishment of the Bluetooth communication connection. The communication establishing unit 105 provides a shared password and transmits it to them. The present invention further provides a method for establishing a data transmission of a Bluetooth connection using an acceleration sensor. Figure 3 shows a schematic flow diagram of the method. As shown in FIG. 3, the data transmission method includes: Step S201: A mobile terminal establishes a communication connection with a data transmission server; the mobile terminal is configured with an acceleration sensor and a Bluetooth communication device. In the step, the establishing the communication connection may include: the mobile terminal submits the connection request, and after the data transmission server confirms, implements the communication connection; or, the mobile terminal directly logs in to the website to which the data transmission server belongs. Since the steps of establishing a communication connection are well known to those skilled in the art, they are not described herein again. Step S203, requesting the user to use the mobile terminal to use the device information of the configured Bluetooth communication device, the device information list of the device information of all other Bluetooth communication devices detected by the Bluetooth communication device configured by the mobile terminal, and participating in the collision. The collision-related parameters of the two or more of the mobile terminals are sent to a data transfer server that establishes a communication connection with the mobile terminal. In addition, in the present invention, it is also possible to transmit the concise identity information of the requesting user to the data transmission server together with the device information of the Bluetooth communication device. Of course, in other cases, the concise identity information may also be pre-stored on the data transmission server. The concise identity information includes but is not limited to: a user's name, a user's nickname, a user's company name, a user's big avatar, and a picture set by the user to indicate his or her identity. The data includes but is not limited to: contact information of the user in the form of text, including name, telephone, e-mail, company, department, title, address, etc.; file; voice, image, video and other multimedia information. The device information of the Bluetooth communication device may be the name of the Bluetooth communication device or the device address of the Bluetooth communication device. In practical applications, for the name of the Bluetooth communication device, the user can name or change the name according to his or her preferences or the network environment. For the device address of the Bluetooth communication device, each Bluetooth communication device is assigned a unique device address. The BLCP protocol in the SIG protocol specifies the addressing method of the Bluetooth communication device, which uses 48-bit encoding and is divided into manufacturers. The product code and the manufacturer code for the SIG distribution are two parts, 24 bits each. Among them, the 24-bit low address part LAP, the 8-bit high address part UAP, the 16-bit invalid address part NAP, the high address part UAP and the invalid address part NAP together constitute a unique identifier of the Bluetooth communication device. In particular, in the above description, in a case where the device information of the Bluetooth communication device is the name of the Bluetooth communication device, since the name is named or changed according to one's own preference or the network environment, inevitably, there is Such a scenario: the name of the Bluetooth communication device set between the mobile terminals corresponding to the user has a duplicate name. Therefore, in the present invention, in order to solve the problem that the name of the Bluetooth communication device set between the mobile terminals corresponding to the user may be duplicated, any one of the following three methods may be adopted to ensure Bluetooth communication of each user. The uniqueness of the name of the device. Manner 1: The user sets a name for the Bluetooth communication device configured by the mobile terminal, and after setting, uploads the name of the Bluetooth communication device to the data transmission server, and the name of the Bluetooth communication device by the data transmission server Performing verification, if the verification finds that the name of the Bluetooth communication device does not conflict with the name of another Bluetooth communication device, and the name is recognized, the name is recognized; if the verification finds the name of the Bluetooth communication device and other Bluetooth communication devices If the name conflicts and a duplicate name occurs, you need to reset a new name that does not conflict. Method 2: Do not change the name set by the Bluetooth communication device configured by the mobile terminal. Each time the Bluetooth communication device is applied to the mobile terminal, it automatically Change the name of the Bluetooth communication device to a random number that is large enough. After the data transmission is completed, change the name of the Bluetooth communication device to the original name. Method 3: Do not change the Bluetooth communication configured by the mobile terminal. The name set by the device, each time on the mobile terminal When the Bluetooth communication device is used, it requests a unique name from the data transmission server, and automatically changes the name of the Bluetooth communication device on the mobile terminal to this unique name. After the data transmission is completed, the Bluetooth communication device is turned off before moving. The unique name of the Bluetooth communication device on the terminal is changed back to the original name, and the unique name provided by the data transmission server is released for use by the Bluetooth communication device on the other mobile terminal. Step S205, the data transmission server determines, according to the information uploaded by the mobile terminal, two or more of the mobile terminals participating in the collision, and pairs the two or more mobile terminals that collide; In step S205, pairing the two or more mobile terminals that have collided specifically includes: the data transmission server screening two or more collisions according to the collision-related parameters uploaded by the mobile terminal A plurality of the mobile terminals are used as a first condition. Here, the collision-related parameters include: collision time, collision strength, and/or collision acceleration. Taking the collision time as an example, record the collision time corresponding to the collision uploaded by each mobile terminal, compare each collision time, and find the difference of the collision time among them. The value is less than a preset value tl (for ensuring that the mobile terminal is simultaneously collided in consideration of the network transmission delay), and the collision time is determined to determine that the mobile terminal corresponding to the collision time is the same collision event. Participants. Of course, in order to improve the accuracy of the judgment or narrow the judgment range (for example, when the number of the determined participants is significantly excessive), it is also possible to combine other judgment factors, and then take the collision strength and/or the collision acceleration as an example, for example, a collision occurs. The collision force of the other party sensed between the mobile terminals should be similar, and the accelerations sensed by the acceleration sensors should be similar, thereby determining the mobile terminal participating in the collision event according to the magnitude of the collision force and/or the collision acceleration. Therefore, the range of the determined mobile terminal participating in the collision event can be narrowed by the combination of a plurality of parameters, and the accuracy of the determination can be improved. Determining a user who is within the detection range of the Bluetooth communication device according to the device information of the Bluetooth communication device configured by the mobile terminal and the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, as Second condition. The user is found to be in the detection range of the Bluetooth communication device, and the user meets: the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the user is included in all other detected by the mobile terminal corresponding to the requesting user. In the device information list of the device information of the Bluetooth communication device, the device information of the Bluetooth communication device configured by the mobile terminal corresponding to the requesting user is device information of all other Bluetooth communication devices detected by the mobile terminal corresponding to the user. In the list of device information. Pairing two or more of the mobile terminals in which a collision occurs is performed according to the first condition and the second condition. Step S207, the data transmission server establishes a Bluetooth communication connection for data transmission between the paired mobile terminals. In the above step S207, establishing a Bluetooth communication connection for data transmission between the paired mobile terminals, specifically: the data transmission server provides a shared password, and sends the shared password to the paired two or A plurality of the mobile terminals, which automatically establish a Bluetooth communication connection with each other by using the shared password. Of course, in the above embodiment, before the data transmission server provides a shared password, a confirmation step may be included, only when two or more of the paired mobile terminals 12 confirm that the Bluetooth communication connection is established. A shared password is provided by the Bluetooth communication establishing unit 105 and sent to them. Subsequently, data transmission can be performed between two or more mobile terminals that establish a Bluetooth communication connection. The application of the present invention in data transmission will be described in detail below by way of examples. Embodiments: User A and User B, which need to perform data transmission, turn on their respective mobile phones a and b to configure a Bluetooth communication device and an acceleration sensor, and establish a communication connection with the website server C; User A and User B will respectively use their respective mobile phones a, b. In the event of a collision, the mobile phone a senses the collision-related parameters of the configured acceleration sensor, the device information of the configured Bluetooth communication device, and the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device. Uploaded to the website server C, the mobile phone b senses the parameters related to the collision, the device information of the configured Bluetooth communication device, and the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device. The device information list is uploaded to the website server C; the website server C determines that the mobile phone a of the user A and the mobile phone b of the user B have collided, and the mobile phone a of the user A is within the detection range of the Bluetooth communication device of the mobile phone b, and the user B The mobile phone b is within the detection range of the Bluetooth communication device of the mobile phone a, between the mobile phone a and the mobile phone b Establish pairing, and then automatically input the same password for the Bluetooth communication device of mobile phone a and the Bluetooth communication device of mobile phone b, automatically establish a Bluetooth communication connection between mobile phone a and mobile phone b; user A and user B utilize mobile phone a and mobile phone b Achieve data transfer between the two.

综上所述, 本发明提供一种利用加速度感应器建立蓝牙连接的数据传输的方法及 系统, 本发明利用移动终端配置的加速度感应器, 以碰撞的方式获取与碰撞相关的参 数并确定参与碰撞的两个或多个移动终端, 在它们之间利用蓝牙通信设备直接建立蓝 牙通信连接, 为人们使用蓝牙无线技术传输数据提供了方便, 相较于现有技术, 操作 简单, 且可在确保数据传输安全性的情况下免除了密码验证等繁琐步骤, 快速便捷。 特别地, 在针对有超过两个的多个移动终端之间的数据传输时, 效果更加明显。 上述实施例仅列示性说明本发明的原理及功效, 而非用于限制本发明。 任何熟悉 此项技术的人员均可在不违背本发明的精神及范围下,对上述实施例进行修改。因此, 本发明的权利保护范围, 应如权利要求书所列。 In summary, the present invention provides a method and system for establishing a Bluetooth connection data transmission by using an acceleration sensor. The present invention utilizes an acceleration sensor configured by a mobile terminal to acquire collision-related parameters in a collision manner and determine participation collision. Two or more mobile terminals, directly establishing a Bluetooth communication connection between them by using a Bluetooth communication device, providing convenience for people to use Bluetooth wireless technology to transmit data, compared with the prior art, simple operation, and ensuring data In the case of transmission security, complicated steps such as password verification are eliminated, which is fast and convenient. In particular, the effect is more pronounced when it comes to data transmission between more than two mobile terminals. The above-described embodiments are merely illustrative of the principles and effects of the invention and are not intended to limit the invention. Any of the above-described embodiments may be modified by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the claims.

Claims

权利要求书 Claim 1. 一种利用加速度感应器建立蓝牙连接的数据传输方法, 其特征在于, 包括: 移动终端与数据传输服务器建立通信连接;所述移动终端配置有加速度感应 器和蓝牙通信设备; 所述数据传输服务器接收来自所述移动终端的信息,所述信息包括所述移动 终端配置的蓝牙通信设备的设备信息、配置的蓝牙通信设备检测到的其他所有的 蓝牙通信设备的设备信息的设备信息列表、以及参与碰撞的两个或多个所述移动 终端的与碰撞相关的参数; 所述与碰撞相关的参数包括: 碰撞时间、碰撞力度和 /或碰撞加速度; 所述数据传输服务器根据所述移动终端上传的信息,确定得到参与碰撞的两 个或多个所述移动终端, 为发生碰撞的两个或多个所述移动终端进行配对; 所述数据传输服务器在配对的所述移动终端之间建立供数据传输的蓝牙通 信连接。 A data transmission method for establishing a Bluetooth connection by using an acceleration sensor, comprising: establishing a communication connection between a mobile terminal and a data transmission server; the mobile terminal is configured with an acceleration sensor and a Bluetooth communication device; The server receives information from the mobile terminal, the information including device information of the Bluetooth communication device configured by the mobile terminal, a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, and Collision-related parameters of two or more of the mobile terminals participating in the collision; the parameters related to the collision include: collision time, collision strength and/or collision acceleration; the data transmission server uploads according to the mobile terminal And determining, by the two or more of the mobile terminals participating in the collision, pairing two or more of the mobile terminals that collide; the data transmission server establishing a connection between the paired mobile terminals Bluetooth communication connection for data transmission. 2. 根据权利要求 1所述的数据传输方法, 其特征在于, 所述信息还包括所述移 动终端对应的用户的简明身份信息,所述简明身份信息是连同配置的蓝牙通信设 备的设备信息一起发送至所述数据传输服务器的或是预先存储在所述数据传输 服务器上的。  2. The data transmission method according to claim 1, wherein the information further comprises concise identity information of a user corresponding to the mobile terminal, the concise identity information being together with device information of the configured Bluetooth communication device. Sent to the data transfer server or pre-stored on the data transfer server. 3. 根据权利要求 1所述的数据传输方法, 其特征在于, 所述蓝牙通信设备的设 备信息包括: 蓝牙通信设备的名称或蓝牙通信设备的设备地址。  The data transmission method according to claim 1, wherein the device information of the Bluetooth communication device comprises: a name of the Bluetooth communication device or a device address of the Bluetooth communication device. 4. 根据权利要求 4所述的数据传输方法, 其特征在于, 当所述蓝牙通信设备的 设备信息为蓝牙通信设备的名称时,采用如下三种方式中的任一种来保证每个用 户的蓝牙通信设备的名称的唯一性; 方式一: 用户为移动终端配置的蓝牙通信设备设置一个名称, 设置完之后, 将所述蓝牙通信设备的名称上传至所述数据传输服务器,由所述数据传输服务器 对所述蓝牙通信设备的名称进行验证,若验证发现所述蓝牙通信设备的名称没有 与其他蓝牙通信设备的名称相冲突而发生重名, 则认可所述名称; 若验证发现所 述蓝牙通信设备的名称与其他蓝牙通信设备的名称相冲突而发生重名,则需重新 设置一个不冲突的新名称; 方式二: 不改变移动终端配置的蓝牙通信设备所设置的名称, 每一次在移动 终端上应用蓝牙通信装置时,就自动将蓝牙通信设备的名称改成一个足够大的随 机数,在完成数据传输后, 再将蓝牙通信设备的为随机数的名称改回为原来的名 称; 方式三: 不改变移动终端配置的蓝牙通信设备所设置的名称, 每一次在移动 终端上应用蓝牙通信装置时,就向数据传输服务器申请一个唯一的名称, 并自动 将移动终端上的蓝牙通信设备的名称改成这个唯一的名称, 在完成数据传输后, 再将移动终端上的蓝牙通信设备的那一个唯一的名称改回为原来的名称。 The data transmission method according to claim 4, wherein when the device information of the Bluetooth communication device is the name of the Bluetooth communication device, any one of the following three methods is adopted to ensure each user's The uniqueness of the name of the Bluetooth communication device; Method 1: The user sets a name for the Bluetooth communication device configured by the mobile terminal, and after setting, uploads the name of the Bluetooth communication device to the data transmission server, and transmits the data by the data The server verifies the name of the Bluetooth communication device, and if the verification finds that the name of the Bluetooth communication device does not conflict with the name of the other Bluetooth communication device, the name is recognized; if the verification finds the Bluetooth communication If the name of the device conflicts with the name of another Bluetooth communication device and a duplicate name occurs, it needs to be re-named. Set a new name that does not conflict; Method 2: Do not change the name set by the Bluetooth communication device configured by the mobile terminal. Each time the Bluetooth communication device is applied to the mobile terminal, the name of the Bluetooth communication device is automatically changed to a large enough. The random number, after the data transmission is completed, the name of the random number of the Bluetooth communication device is changed back to the original name; mode 3: the name set by the Bluetooth communication device configured by the mobile terminal is not changed, each time in the mobile terminal When applying the Bluetooth communication device, apply for a unique name to the data transmission server, and automatically change the name of the Bluetooth communication device on the mobile terminal to this unique name, and then complete the data transmission, and then the Bluetooth on the mobile terminal. The unique name of the communication device is changed back to the original name. 5. 根据权利要求 1所述的数据传输方法, 其特征在于, 所述数据传输服务器根 据所述移动终端上传的信息确定得到参与碰撞的两个或多个所述移动终端,为发 生碰撞的两个或多个所述移动终端进行配对包括: 所述数据传输服务器根据所述移动终端上传的与碰撞相关的参数,筛选出同 时发生碰撞的两个或多个所述移动终端, 作为第一条件; 所述数据传输服务器根据所述移动终端配置的蓝牙通信设备的设备信息、配 置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列 表, 查找出处于蓝牙通信设备的检测范围内的用户, 作为第二条件; 所述数据传输服务器根据所述第一条件和所述第二条件,为发生碰撞的两个 或多个所述移动终端进行配对。  The data transmission method according to claim 1, wherein the data transmission server determines, according to the information uploaded by the mobile terminal, two or more of the mobile terminals participating in the collision, which are two collisions. Performing pairing by the one or more of the mobile terminals includes: the data transmission server screening two or more of the mobile terminals that collide at the same time according to the collision-related parameters uploaded by the mobile terminal, as the first condition The data transmission server finds the detection of the Bluetooth communication device according to the device information of the Bluetooth communication device configured by the mobile terminal and the device information list of the device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device. a user in the range, as a second condition; the data transmission server performs pairing for two or more of the mobile terminals in which the collision occurs according to the first condition and the second condition. 6. 根据权利要求 5所述的数据传输方法, 其特征在于, 在配对的所述移动终端 之间建立供数据传输的蓝牙通信连接包括: 所述数据传输服务器提供一个共用密码,并将所述共用密码发送至参与碰撞 的两个或多个所述移动终端,由对应的所述移动终端利用所述共用密码自动建立 相互间的蓝牙通信连接。  6. The data transmission method according to claim 5, wherein establishing a Bluetooth communication connection for data transmission between the paired mobile terminals comprises: providing a shared password by the data transmission server, and The shared password is sent to two or more of the mobile terminals participating in the collision, and the corresponding mobile terminal automatically establishes a Bluetooth communication connection with each other by using the shared password. 7. 一种利用加速度感应器建立蓝牙连接的数据传输系统, 其特征在于, 包括数 据传输服务器以及与所述数据传输服务器建立通信连接的移动终端; 所述移动终端, 配置有加速度感应器和蓝牙通信设备; 所述移动终端用于: 将配置的蓝牙通信设备的设备信息、配置的蓝牙通信设备检测到的其他所有的蓝 牙通信设备的设备信息的设备信息列表、以及在参与碰撞时将利用加速度感应器 获取的与碰撞相关的参数上传至所述数据传输服务器,所述与碰撞相关的参数包 括: 碰撞时间、 碰撞力度和 /或碰撞加速度; 以及利用蓝牙通信设备与其他移动 终端建立供数据传输的蓝牙通信连接; 所述数据传输服务器用于:根据接收到的所述移动终端配置的蓝牙通信设备 的设备信息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息 的设备信息列表、 以及参与碰撞的两个或多个所述移动终端的与碰撞相关的参 数,确定得到参与碰撞的两个或多个所述移动终端, 为发生碰撞的两个或多个所 述移动终端进行配对,在配对的所述移动终端之间建立供数据传输的蓝牙通信连 接。 A data transmission system for establishing a Bluetooth connection by using an acceleration sensor, comprising: a data transmission server and a mobile terminal establishing a communication connection with the data transmission server; the mobile terminal, configured with an acceleration sensor and Bluetooth a communication device; the mobile terminal is configured to:: device information of the configured Bluetooth communication device, and all other blues detected by the configured Bluetooth communication device a device information list of device information of the dental communication device, and a collision-related parameter acquired by the acceleration sensor when participating in the collision, to the data transmission server, the collision-related parameters include: collision time, collision strength And/or collision acceleration; and establishing a Bluetooth communication connection for data transmission with other mobile terminals by using a Bluetooth communication device; the data transmission server is configured to: according to the received device information and configuration of the Bluetooth communication device configured by the mobile terminal a list of device information of device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and collision-related parameters of two or more of the mobile terminals participating in the collision, determining to obtain two or more participating collisions The mobile terminal paires two or more of the mobile terminals in which a collision occurs, and establishes a Bluetooth communication connection for data transmission between the paired mobile terminals. 8. 根据权利要求 7所述的数据传输系统, 其特征在于,  8. The data transmission system according to claim 7, wherein: 所述移动终端包括: 加速度感应器, 获取与碰撞相关的参数; 蓝牙通信设备; 蓝牙信息提供单元,用于提供配置的蓝牙通信设备的设备信息和蓝牙通信设 备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列表; 信息收发单元,用于: 将包括蓝牙通信设备的设备信息和蓝牙通信设备检测 到的其他所有的蓝牙通信设备的设备信息的设备信息列表、以及在参与碰撞时将 利用加速度感应器获取的与碰撞相关的参数的信息上传至所述数据传输服务器; 以及在建立蓝牙通信连接的移动终端之间进行数据传输; 显示单元; 存储单元,用于存储自身配置的蓝牙通信设备的设备信息、数据以及通过所 述信息收发单元接收自建立蓝牙通信连接的其他移动终端的数据; 所述数据传输服务器包括: 信息收发单元,用于接收自各个所述移动终端所发送的配置的蓝牙通信设备 的设备信息、移动终端配置的所述蓝牙通信设备检测到的其他所有的蓝牙通信设 备的设备信息的设备信息列表、以及在参与碰撞时将利用加速度感应器获取的与 碰撞相关的参数; 碰撞参数分析单元,用于根据所述移动终端上传的与碰撞相关的参数, 筛选 出同时发生碰撞的两个或多个所述移动终端; 蓝牙信息查找单元, 用于根据所述移动终端配置的蓝牙通信设备的设备信 息、配置的蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备信 息列表, 查找出处于蓝牙通信设备的检测范围内的用户; 蓝牙通信建立单元,用于结合所述碰撞参数分析单元的分析结果和所述蓝牙 信息查找单元的查找结果,确定得到参与碰撞的两个或多个所述移动终端, 为发 生碰撞的两个或多个所述移动终端进行配对,在配对的所述移动终端之间建立供 数据传输的蓝牙通信连接; 数据库,用于存储各个所述移动终端所发送的配置的蓝牙通信设备的设备信 息、 蓝牙通信设备检测到的其他所有的蓝牙通信设备的设备信息的设备信息列 表、 以及在参与碰撞时利用加速度感应器获取的与碰撞相关的参数。 The mobile terminal includes: an acceleration sensor, acquiring a parameter related to the collision; a Bluetooth communication device; a Bluetooth information providing unit, configured to provide device information of the configured Bluetooth communication device, and all other Bluetooth communication devices detected by the Bluetooth communication device a device information list of device information; an information transceiving unit, configured to: list device information including device information of the Bluetooth communication device and device information of all other Bluetooth communication devices detected by the Bluetooth communication device, and when participating in the collision Information relating to the collision-related parameters acquired by the acceleration sensor is uploaded to the data transmission server; and data transmission is performed between the mobile terminals establishing the Bluetooth communication connection; a display unit; and a storage unit for storing the Bluetooth communication configured by itself Device information of the device, data, and data received by the information transceiving unit from other mobile terminals establishing a Bluetooth communication connection; the data transmission server includes: an information transceiving unit, configured to receive a configuration sent by each of the mobile terminals Bluetooth device information communication device, the Bluetooth communication device detects the mobile terminal device configuration information list of the device information of all other Bluetooth communication devices, and while participating in the collision using the acceleration sensor and acquires a collision-related parameter; a collision parameter analysis unit, configured to filter two or more of the mobile terminals that collide at the same time according to the collision-related parameters uploaded by the mobile terminal; a device information of a Bluetooth communication device configured by the mobile terminal, and a device information list of device information of all other Bluetooth communication devices detected by the configured Bluetooth communication device, to find a user who is within the detection range of the Bluetooth communication device; a unit, configured to determine two or more of the mobile terminals participating in the collision, in combination with the analysis result of the collision parameter analysis unit and the search result of the Bluetooth information search unit, for two or more collisions The mobile terminal performs pairing, establishing a Bluetooth communication connection for data transmission between the paired mobile terminals; a database for storing device information of the configured Bluetooth communication device sent by each of the mobile terminals, and detecting by the Bluetooth communication device Device information to all other Bluetooth communication devices A list of device information, and collision-related parameters acquired with the acceleration sensor when participating in a collision. 9. 根据权利要求 7或 8所述的数据传输系统, 其特征在于, 所述信息还包括所 述移动终端对应的用户的简明身份信息,所述简明身份信息是连同配置的蓝牙通 信设备的设备信息一起发送至所述数据传输服务器的或是预先存储在所述数据 传输服务器上的; 所述数据传输服务器还包括用户信息提供单元, 用于在确定得 到参与碰撞的两个或多个所述移动终端后将与两个或多个所述移动终端对应的 用户的用户列表发送至这些移动终端,并在所述移动终端上显示出所述用户列表 中用户的简明身份信息。  The data transmission system according to claim 7 or 8, wherein the information further comprises concise identity information of the user corresponding to the mobile terminal, and the concise identity information is a device of the Bluetooth communication device configured together The information is sent to the data transmission server together or pre-stored on the data transmission server; the data transmission server further includes a user information providing unit, configured to determine two or more of the participation collisions After the mobile terminal sends a user list of users corresponding to two or more of the mobile terminals to the mobile terminals, and displays the user's concise identity information in the user list on the mobile terminal. 10.根据权利要求 7或 8所述的数据传输系统, 其特征在于, 所述蓝牙通信设备 的设备信息包括: 蓝牙通信设备的名称或蓝牙通信设备的设备地址。  The data transmission system according to claim 7 or 8, wherein the device information of the Bluetooth communication device comprises: a name of the Bluetooth communication device or a device address of the Bluetooth communication device.
PCT/CN2011/082569 2011-07-29 2011-11-21 Method and system using acceleration sensor for establishing bluetooth connection for data transmission Ceased WO2013016915A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011102148368A CN102427377A (en) 2011-07-29 2011-07-29 Data transmission method and system for establishing Bluetooth connection by using acceleration sensor
CN201110214836.8 2011-07-29

Publications (1)

Publication Number Publication Date
WO2013016915A1 true WO2013016915A1 (en) 2013-02-07

Family

ID=45961324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082569 Ceased WO2013016915A1 (en) 2011-07-29 2011-11-21 Method and system using acceleration sensor for establishing bluetooth connection for data transmission

Country Status (2)

Country Link
CN (1) CN102427377A (en)
WO (1) WO2013016915A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427378B (en) * 2011-07-29 2015-09-23 上海合合信息科技发展有限公司 Utilize data transmission method and the system of Bluetooth technology and acceleration induction technology
CN102638586B (en) * 2012-05-03 2014-05-14 腾讯科技(深圳)有限公司 Sharing method, system and device for application program information
CN103428250B (en) * 2012-05-23 2016-12-28 联想(北京)有限公司 The method of matching unit, server and terminal unit
CN102843465A (en) * 2012-08-14 2012-12-26 苏州锐音信息技术有限公司 Method utilizing audio match to conduct quick match for adjacent mobile phones
CN102869121A (en) * 2012-09-24 2013-01-09 东莞宇龙通信科技有限公司 Method and device for automatically establishing wireless connection
CN103916852B (en) * 2012-12-28 2018-04-27 联想(北京)有限公司 A kind of data transmission method and a kind of mobile terminal
CN105450689B (en) * 2014-06-23 2019-04-26 香港优克网络技术有限公司 Virtual resource transfer method, device and system
CN105321070A (en) * 2014-07-18 2016-02-10 中国电信股份有限公司 Data processing method and system based on touching manner of mobile terminals
CN104540190B (en) * 2014-12-30 2018-04-20 广州视源电子科技股份有限公司 Method and system for pairing with Bluetooth device
CN108538041A (en) * 2018-01-29 2018-09-14 北京硬壳科技有限公司 Electronic equipment matching method and apply its electronic equipment
CN111431564B (en) * 2020-05-12 2022-07-19 深圳市龙岳科技有限公司 Bluetooth device fast connection device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101581968A (en) * 2008-05-13 2009-11-18 索尼爱立信移动通信日本株式会社 Information processing apparatus, information processing method, information processing program, and mobile terminal
CN101632270A (en) * 2007-03-14 2010-01-20 苹果公司 Use the method and system of physics existence pair wireless devices
WO2010036501A2 (en) * 2008-09-26 2010-04-01 Palm, Inc. Orientation and presence detection for use in configuring operations of computing devices in docked environments
CN101889431A (en) * 2007-12-12 2010-11-17 索尼爱立信移动通讯有限公司 Interacting with devices based on physical device-to-device contact

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2034389A1 (en) * 2007-09-07 2009-03-11 Nederlandse Organisatie voor toegepast- natuurwetenschappelijk onderzoek TNO Method and system for linking appliances
KR101094506B1 (en) * 2009-04-21 2011-12-19 삼성에스디에스 주식회사 Method for controlling wireless network connection and application program using device impact and device
CN101958962A (en) * 2009-07-15 2011-01-26 宏达国际电子股份有限公司 Portable electronic device and related method for controlling its wireless transmission
CN201813440U (en) * 2010-09-14 2011-04-27 上海华勤通讯技术有限公司 Motion-sensing-based paired mobile phones

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632270A (en) * 2007-03-14 2010-01-20 苹果公司 Use the method and system of physics existence pair wireless devices
CN101889431A (en) * 2007-12-12 2010-11-17 索尼爱立信移动通讯有限公司 Interacting with devices based on physical device-to-device contact
CN101581968A (en) * 2008-05-13 2009-11-18 索尼爱立信移动通信日本株式会社 Information processing apparatus, information processing method, information processing program, and mobile terminal
WO2010036501A2 (en) * 2008-09-26 2010-04-01 Palm, Inc. Orientation and presence detection for use in configuring operations of computing devices in docked environments

Also Published As

Publication number Publication date
CN102427377A (en) 2012-04-25

Similar Documents

Publication Publication Date Title
CN102427378B (en) Utilize data transmission method and the system of Bluetooth technology and acceleration induction technology
WO2013016915A1 (en) Method and system using acceleration sensor for establishing bluetooth connection for data transmission
WO2013016910A1 (en) Method and system using bluetooth wireless technology for data transmission
EP2332316B1 (en) Methods and systems for providing location-based communication services
US8437353B2 (en) Establishing directed communication based upon physical interaction between two devices
US9014736B2 (en) Portable network device for the discovery of nearby devices and services
CN105100231B (en) Acquisition methods, equipment and the system of smart machine location information
JP2023510953A (en) Bluetooth connection methods, systems and electronic devices
JP2016226011A5 (en)
US10591589B2 (en) Apparatus and method for measuring wireless range
KR102113060B1 (en) Method and system for establishing wireless fidelity direct(wfd) connection in a wfd network environment
US9648577B1 (en) ADSS enabled global roaming system
US11792886B2 (en) Method for accessing network by network node, and electronic equipment
CN108494642B (en) Intelligent device grouping method, device, system and intelligent device
CN105594236A (en) Low-power-consumption short-range radio communication system
CN105103618A (en) Systems and methods for wirelessly modifying detection signatures of portable devices
US9179270B2 (en) Intercommunication methods and devices based on digital networks
WO2013016912A1 (en) Electronic name card delivery method and system combining bluetooth technology and bluetooth device addresses
US20160028726A1 (en) Device to Device User Service Sharing Using Shared Trusted ID
WO2015180051A1 (en) Data sending method and device
JP5911653B2 (en) Intercommunication method and device based on digital network
WO2011009339A1 (en) Method, system and device for transmitting data
CN111615143B (en) Information reporting method, information receiving method, terminal and network control entity
WO2020029723A1 (en) Positioning method, related device, and computer readable storage medium
WO2024077425A1 (en) Mobile network perception methods and apparatuses, storage medium, perception execution end and perception application function network element

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: 11870303

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: 11870303

Country of ref document: EP

Kind code of ref document: A1