Nothing Special   »   [go: up one dir, main page]

CN105554908A - Method, master device, slave device and system for achieving code scanning automatic bluetooth connection - Google Patents

Method, master device, slave device and system for achieving code scanning automatic bluetooth connection Download PDF

Info

Publication number
CN105554908A
CN105554908A CN201511027674.1A CN201511027674A CN105554908A CN 105554908 A CN105554908 A CN 105554908A CN 201511027674 A CN201511027674 A CN 201511027674A CN 105554908 A CN105554908 A CN 105554908A
Authority
CN
China
Prior art keywords
equipment
bluetooth
information
server
graphic code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201511027674.1A
Other languages
Chinese (zh)
Inventor
张成博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201511027674.1A priority Critical patent/CN105554908A/en
Publication of CN105554908A publication Critical patent/CN105554908A/en
Priority to PCT/CN2016/093137 priority patent/WO2017113790A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The inventor provides a method, master device, slave device and system for achieving code scanning automatic bluetooth connection, which solve the safety and automatic connection problems of bluetooth connection. The invention relates to a method for achieving connection of bluetooth devices, particularly rapid and automatic connection of the bluetooth devices. The method provided by the invention comprises the following steps: a first graphic code is corresponding to a first device, and a second device takes pictures to collect the first graphic code and analyzes the first graphic code to obtain first information; the second device uploads the first information onto a first server, and the first server stores verification information of legally registered bluetooth devices; if the verification information of the legally registered bluetooth devices which is stored in the first server does not contain the first information, then the second device is prohibited from being connected with a bluetooth device, whose name contains the first information, through bluetooth; if the verification information of the legally registered bluetooth devices which is stored in the first server contains the first information, then the second device is connected with the first device through bluetooth according to the first information.

Description

Realize barcode scanning bluetooth automatic connection method, main equipment, from equipment and system
Technical field
The invention relates to a kind of connection realized between bluetooth equipment, and special bluetooth equipment is fast automatic connection.
Background technology
The application of Bluetooth technology on electronic product is instantly very general, comparatively common as wearable devices such as Bluetooth of mobile phone, bluetooth earphone, bluetooth bracelets.Mobile payment terminal also starts the figure having occurred bluetooth module, and bluetooth, as a kind of communication connected mode, completes the information transmission between Mobile payment terminal (such as POS) and communication terminal (such as mobile phone).
Realizing in process of the present invention, inventor finds that in prior art, there are the following problems: in the scene of mobile payment, such as in cashier, each client opens the Mobile payment terminal of the Bluetooth function preparation connection cashier of mobile phone, now client searches for bluetooth equipment, to find very many bluetooth equipments, therefore customer need these bluetooth equipments of identification one by one, could determine which is the Mobile payment terminal of cashier.This causes great inconvenience to the mobile payment of client.
And bluetooth connection is point-to-point connected mode, be in the bluetooth equipment using bluetooth to connect to want to carry out bluetooth connection with other bluetooth equipment, below its existing mode of operation: manual unlocking Bluetooth function, the bluetooth equipment of manual search periphery, find the bluetooth equipment that will carry out bluetooth connection, information manually required for dynamic input pairing, completes bluetooth and connects.According to above-mentioned existing mode of operation, its operation is quite complicated, poor user experience, and user cannot identification which be the bluetooth equipment of illegal camouflage, in connection, the bluetooth equipment of camouflage may cause user's reveal information or cause the bluetooth equipment to illegal camouflage to be transferred accounts.
Summary of the invention
Below provide and the simplification of one or more aspect is summarized to try hard to provide the basic comprehension to this type of aspect.Detailed the combining of this not all aspect contemplated of general introduction is look at, and both not intended to be pointed out out the scope of key or decisive any or all aspect of elements nor delineate of all aspects.Its unique object is some concepts that will provide one or more aspect in simplified form using as the more specifically bright sequence provided after a while.
The invention provides a kind of barcode scanning bluetooth from the method be dynamically connected, solve the safety problem of bluetooth connection and automatic connectivity problem.
For achieving the above object, inventor provide a kind of barcode scanning bluetooth automatic connection method, it comprises the following steps:
First graphic code is corresponding with the first equipment,
Second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information;
The first information is uploaded to first server by the second equipment, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of first server, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected;
If comprise the first information of the first equipment in the authorization information of the bluetooth equipment of the legal registration that first server stores, then the second equipment connects the first equipment according to first information bluetooth.
Further, described authorization information is SN or MAC.
Further, the second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information and the second information;
The first decipherment algorithm the second information of deciphering is used to obtain deciphering character string;
If deciphering character string is not equal to the first information, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected;
If deciphering character string equals the first information, then the second equipment connects the first equipment according to first information Bluetooth Bluetooth.
Further, after forbidding that the second equipment is connected with the first equipment bluetooth, also comprise step: display instruction first equipment is the prompting of illegality equipment, and the first information corresponding for the first equipment is recorded in and in first server, forbids connection device table, after the first information is uploaded to first server by described step the second equipment, if the first information is recorded in forbid connection device table, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected.
Inventor also provides a kind of main equipment for realizing barcode scanning bluetooth automatic connection method, comprises acquisition module, parsing module, link block, mixed-media network modules mixed-media;
Described acquisition module is for gathering the first graphic code;
Described parsing module, for resolving the first graphic code, obtains the first information;
Described link block is used for connecting the first equipment according to first information bluetooth;
Described mixed-media network modules mixed-media is used for the first information to be uploaded to first server, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of first server, then forbid that the bluetooth equipment bluetooth that link block and bluetooth device name comprise the first information is connected; If comprise the first information of the first equipment in the authorization information of the bluetooth equipment of the legal registration that first server stores, then trigger link block and connect the first equipment according to first information bluetooth.
Further, described authorization information is SN or MAC.
Further, described parsing module obtains the first information and the second information for resolving the first graphic code, and uses the first decipherment algorithm the second information of deciphering to obtain deciphering character string;
If described mixed-media network modules mixed-media is used for deciphering, character string is not equal to the first information, then trigger and forbid that the bluetooth equipment bluetooth that link block and bluetooth device name comprise the first information is connected;
If deciphering character string equals the first information, then trigger link block and connect the first equipment according to first information Bluetooth Bluetooth.
Further, described mixed-media network modules mixed-media is also the prompting of illegality equipment for showing instruction first equipment.Inventor also provide a kind of for realize barcode scanning bluetooth automatic connection method from equipment, the described shell from equipment is attached with should from the first graphic code of equipment.
Inventor also provides a kind of system for realizing barcode scanning bluetooth automatic connection method, this system, comprises main equipment, from equipment and server;
Described server comprises memory module and mixed-media network modules mixed-media, and described memory module is for storing the bluetooth equipment information of legal registration; Described mixed-media network modules mixed-media is used for and main equipment communication;
Described main equipment is the above-mentioned main equipment for realizing barcode scanning bluetooth automatic connection method
Described from equipment be above-mentioned for realize barcode scanning bluetooth automatic connection method from equipment.
Be different from prior art, in technique scheme, the second equipment is according to the first graphic code collected, and resolve the first graphic code acquisition first information, and judged by the authorization information of the bluetooth equipment being recorded in the legal registration in first server, if the first equipment that the first graphic code is corresponding is the bluetooth equipment of legal registration, then the second equipment is from being dynamically connected the first equipment.Thus can find out which bluetooth equipment within the scope of Current communications is fast the bluetooth equipment of legal registration, thus initiatively initiates bluetooth connection.Thus do not need user to judge and the target selecting bluetooth to be connected, user is facilitated to be connected to specific bluetooth equipment, and ensure that the first equipment of the second equipment connection is through legal registration, and then improve the possibility of the second equipment connection to reliable target Bluetooth devices, and then avoid connecting illegal bluetooth equipment, improve and connect the reliability of carrying out data interaction by bluetooth.
Particularly in mobile payment field, with the second equipment for mobile phone, the bluetooth equipment of legal registration is POS is example explanation, user is when cashier pays, only need on mobile phone by clicking corresponding app or triggering corresponding function, namely mobile phone can take pictures and gather the first graphic code in POS (person that may need mobile phone operation certain shooting angle select), and mobile phone is resolved the first graphic code and obtained the first information; Then the first information is uploaded to first server by mobile phone automatically, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of the legal registration that first server stores, then forbid that mobile phone is connected with this POS; If comprise this above-mentioned first information in the authorization information of the bluetooth equipment of the legal registration that first server stores, then mobile phone connects the first equipment according to first information bluetooth automatically.Ensure the POS of the legal registration in POS position that user connects on the one hand; Avoid on the other hand user's bluetooth equipment of searching of identification one by one, decrease the manual operation of user, thus improve the experience of user; Also save the stand-by period of other users in cashier on the other hand, improve flowing water speed.Simultaneously in the server by pretending to be POS to the first information checking bluetooth equipment that it also avoid without legal registration, enhance user's mobile payment transaction safety.
Before reaching, address relevant object, this one or more aspect is included in and hereinafter fully describes and the feature particularly pointed out in the following claims.The following description and drawings illustrate some illustrative aspects of this one or more aspect.But these features are only indicate that can to adopt in the various modes of the principle of various aspect several, and this description is intended to contain this type of aspects all and equivalent aspect thereof.
Accompanying drawing explanation
Describe disclosed aspect below with reference to accompanying drawing, provide accompanying drawing to be non-limiting disclosed aspect in order to illustrate, label similar in accompanying drawing indicates similar elements, and wherein:
Fig. 1 is method step schematic diagram described in the specific embodiment of the invention;
Fig. 2 a for described in embodiment for realizing the module diagram of the main equipment of barcode scanning bluetooth automatic connection method.
Fig. 2 b is the module diagram of server described in embodiment;
Fig. 3 is specific embodiment of the invention system schematic.
Description of reference numerals:
10, for realizing the main equipment of bluetooth automatic connection method;
110, acquisition module;
120, parsing module;
130, link block;
140, mixed-media network modules mixed-media;
150, administration module;
20, server;
210, memory module;
220, mixed-media network modules mixed-media;
30, for realize bluetooth automatic connection method from equipment.
Embodiment
By describe in detail technical scheme technology contents, structural feature, realized object and effect, coordinate accompanying drawing to be explained in detail below in conjunction with specific embodiment.In the following description, numerous details is set forth for explanatory purposes providing the thorough understanding to one or more aspect.But it is evident that do not have these details also can put into practice this type of aspect.
Acronym list
SN:SerialNumber, sequence number.
MAC:MediaAccessControl or MediumAccessControl, media interviews control, also known as physical address or hardware address.
Refer to Fig. 1-3, the present invention carries barcode scanning bluetooth automatic connection method, comprises the following steps:
First graphic code is corresponding with the first equipment,
S101 second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information;
The first information is uploaded to first server by S102 second equipment, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of S103 first server, then S104 forbids that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected;
If comprise the first information of the first equipment in the authorization information of the bluetooth equipment of the legal registration that S103 first server stores, then S105 second equipment connects the first equipment according to first information bluetooth.
First equipment and the second equipment are bluetooth equipment, and bluetooth equipment is herein the equipment possessing bluetooth hardware module, and the name of bluetooth equipment is called the composition such as letter, numeral, for being presented at the character string in bluetooth equipment list during bluetooth discovery.
First graphic code can be other codings of formation after one-dimension code, Quick Response Code or coding, and the first graphic code carries the first information.First graphic code can label on the first device or shell be printed, if the first equipment has display screen, also can show bluetooth on the first device screen.
Resolving the first graphic code, to obtain the first information be coding rule according to the first graphic code, and oppositely this bar code of decoding, obtains the corresponding character information of this first graphic code, be understandable that character can be Chinese character, English character or Chinese character etc.
First server is client server in some cases, and preserve the information of that this client has or relevant bluetooth equipment in client server, the information of these bluetooth equipments is the bluetooth equipment information of legal registration; The bluetooth equipment information bluetooth equipment be recorded in the bluetooth equipment information of legal registration is the bluetooth equipment of legal registration.The information being kept at the bluetooth equipment in first server can be the mac address or the sn that comprise bluetooth equipment, or other corresponding marks unique with bluetooth equipment.The facility information preserved in preferred first server is that the bluetooth equipment that vendor server (also referred to as second server) is bought according to client generates, and is sent in first server after generation by the facility information of secure communication means by above-mentioned generation.Such as POS manufacturer, it is according to the order of a certain client or order history, generates the POS facility information that this client is corresponding, and is sent in first server by VPN or HTTPS or other modes by these POS facility informations.The facility information of POS at least comprises SN or MAC, and can also comprise following one or more: SN, MAC, ID, certificate, produces date, customer name, Customer ID etc.By the bluetooth equipment information of the legal registration of second server initialization, decrease the workload of the management legal registration bluetooth equipment information of client, ensure that accuracy and the validity of the bluetooth equipment information of initial legal registration simultaneously.
The authorization information of the bluetooth equipment of legal registration can be the random character arranged in various embodiments, and its authorization information of bluetooth equipment preferably for different legal registrations is different character string; The bluetooth equipment information of the legal registration in first server comprises this bluetooth and establishes corresponding random string.Authorization information can also be sn or mac of the bluetooth equipment of legal registration, or the character string of other these bluetooth equipments of energy unique identification.The authorization information difference of the bluetooth equipment of legal registration is convenient to the state managing and arrange different bluetooth equipments in first server.Such as client, in the process of bluetooth equipment using legal registration, damages if there is bluetooth equipment, then the bluetooth equipment information on corresponding amendment client server.Such as in mobile payment field, for the POS equipment with bluetooth hardware module, for the POS equipment that client has, if permanent damages or to eliminate or loss etc. makes POS equipment be in the state that can not re-use, the then corresponding record deleting this equipment in client server, or to identify this equipment be disarmed state; If POS equipment is in maintenance or state to be repaired, be then designated temporarily unavailable; Otherwise be designated normal or other; The bluetooth equipment information being designated normal POS facility information and gathering for legal registration in client server.And be different character strings for its authorization information of bluetooth equipment of different legal registrations, make when above-mentioned condition appears in the bluetooth equipment of legal registration, by revising the state of the bluetooth equipment of legal registration at server, and the use that can not affect other bluetooth equipments barcode scanning bluetooth of the present invention automatic connection method.Pass through said method, make client directly by the autonomous management of client, realize amendment and the renewal of the middle POS facility information of client server, the POS equipment that the POS equipment disguise as avoiding lawless person to pass through to scrap or report for repairment normally uses, improve the fail safe that client connects POS.
The bluetooth device name of the bluetooth equipment of legal registration can be before dispatching from the factory, be initialized as the corresponding first information, or comprises the first information; Again by sn or mac of this bluetooth equipment or the value of other attributes, and the first information is stored in first server.
Be different from prior art, in technique scheme, the second equipment is according to the first graphic code collected, and resolve the first graphic code acquisition first information, and judged by the authorization information of the bluetooth equipment being recorded in the legal registration in first server, if the first equipment that the first graphic code is corresponding is the bluetooth equipment of legal registration, then the second equipment is from being dynamically connected the first equipment.Thus can find out which bluetooth equipment within the scope of Current communications is fast the bluetooth equipment of legal registration, thus initiatively initiates bluetooth connection.Thus do not need user to judge and the target selecting bluetooth to be connected, user is facilitated to be connected to specific bluetooth equipment, and ensure that the first equipment of the second equipment connection is through legal registration, and then improve the possibility of the second equipment connection to reliable target Bluetooth devices, and then avoid connecting illegal bluetooth equipment, improve and connect the reliability of carrying out data interaction by bluetooth.
Particularly in mobile payment field, with the second equipment for mobile phone, the bluetooth equipment of legal registration is POS is example explanation, user is when cashier pays, only need on mobile phone by clicking corresponding app or triggering corresponding function, namely mobile phone can take pictures and gather the first graphic code in POS (may need mobile phone operation person with certain angle shot), and mobile phone is resolved the first graphic code and obtained the first information; Then the first information is uploaded to first server by mobile phone automatically, SN or MAC (SN or MAC is as authorization information) of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in MAC or SN of the bluetooth equipment of the legal registration that first server stores, then forbid that mobile phone is connected with this POS; If comprise this above-mentioned first information in the authorization information of the bluetooth equipment of the legal registration that first server stores, then mobile phone connects the first equipment according to first information bluetooth automatically.Even the first information is MAC or SN of legal registration bluetooth equipment, then the bluetooth equipment that the first information is corresponding is POS corresponding to the first graphic code gathered of taking pictures, and this pos machine is the bluetooth equipment of legal registration, and mobile phone initiatively bluetooth connects this POS.One aspect of the present invention ensures the POS of the legal registration in POS position that user connects; Avoid on the other hand user's bluetooth equipment of searching of identification one by one, decrease the manual operation of user, thus improve the experience of user; Thus saved the stand-by period of other users in cashier, improve flowing water speed.Simultaneously in the server by pretending to be POS to the first information checking bluetooth equipment that it also avoid without legal registration, enhance user's mobile payment transaction safety.
The present invention is particularly suitable for following use scenes: there are other bluetooth equipments in communication context, and target Bluetooth devices does not have: audio input-output device, character input-output equipment and image input-output equipment.Audio input-output device refers to earphone audio amplifier etc., character input device be keyboard or for the button etc. of input character, character output equipment for such as display, ink screen etc., image input device be video camera etc., image output device is printer, display, projecting apparatus etc.The bluetooth equipment of legal registration cannot initiatively select connected bluetooth equipment by button.Namely target Bluetooth devices is user can only know this target Bluetooth devices Bluetooth pairing information from the 3rd equipment, maybe can only pass through the bluetooth equipment that the 3rd equipment is initiatively selected to dock with target Bluetooth devices.Thus the target Bluetooth devices selected by method Automatic sieve of the present invention in communication context, and be initiatively connected with it, the second equipment can be facilitated to be connected with the quick of the first equipment in communication context.
Display translation equipment refers to the equipment of energy output image or character.Bluetooth pairing information refer to main equipment or from the bluetooths such as the title of equipment or mac or sn no pairing time the information that obtains or send.3rd equipment is physically discerptible with the first equipment, and can be do not sell as goods of joint, and such as the 3rd equipment can be mouse-keyboard smart mobile phone etc.
Be connected with the bluetooth equipment bluetooth that bluetooth device name comprises the first information at only the second equipment; Second equipment display instruction first equipment is the prompting of illegality equipment, and the first information corresponding for the first equipment is recorded in and in first server, forbids connection device table, after the first information is uploaded to first server by described step the second equipment, if the first information is recorded in forbid connection device table, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected.Prompting by mobile phone informing or message box prompting user, or can point out user by the mode of note, and user is learnt, and current Bluetooth is from the connection result be dynamically connected and reason, also has the effect of warning user simultaneously.Forbid preserving in connection device table forbidding the bluetooth equipment that user connects, also can be described as illegal bluetooth equipment, relative with legal bluetooth equipment, be such as in the embodiment of POS at the first equipment, illegal bluetooth equipment refers to illegal POS terminal, is in the bluetooth equipment information table of the legal registration be registered in first server.In certain embodiments, after forbidding the second equipment connection first equipment, the first information and current location information, temporal information etc. are sent to first server by the second equipment, first server, and these information are recorded in by first server forbids connection device table.Forbid the bluetooth title at least comprising illegal bluetooth equipment in connection device table, preferably also comprise other information, such as the time, place etc. of MAC, the illegal bluetooth equipment of Late Cambrian; Forbid that connection device table is conducive to determining whether the first equipment that the first graphic code is corresponding is legal bluetooth equipment fast by inquiry.Simultaneously such as, by forbidding that connection device table is conducive to the information that user collects illegal bluetooth equipment, the information such as loco.In certain embodiments, the second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information and the second information;
The first decipherment algorithm the second information of deciphering is used to obtain deciphering character string;
If deciphering character string is not equal to the first information, then forbid that the bluetooth equipment that the second equipment and bluetooth device name comprise the first information is connected;
If deciphering character string equals the first information, then the second equipment connects the first equipment according to first information Bluetooth Bluetooth.
Judged by said method, if judge, described second information is that the first information obtains through the first cryptographic algorithm encryption, then the second equipment bluetooth connects the first equipment; If judge, the second information is not that the first information obtains through the first cryptographic algorithm, then forbid that the bluetooth equipment that the second equipment and bluetooth device name comprise the first information is connected; Also namely no thoroughfare, and above-mentioned first graphic code of barcode scanning connects the first equipment.
First cryptographic algorithm and the first decipherment algorithm are the cryptographic algorithm of a pair correspondence.It can be the algorithm for data encryption, namely can by the first cryptographic algorithm encryption one piece of data, and use the first data decryption to reduce these data.Such as it can distinguish corresponding RSA cryptographic algorithms and RSA decipherment algorithm, or AES encryption algorithm and AES decipherment algorithm.
First cryptographic algorithm and the first decipherment algorithm may also be for Digital Signature Algorithm, such as, can be SHA cryptographic algorithm and SHA decipherment algorithm respectively, or md5 encryption algorithm or MD5 deciphering calculate.According to the above description, should understand, other the existing algorithms for encryption and decryption (can be the algorithm for data encryption or the algorithm for digital signature) improved based on said method is also feasible.Be understandable that the key that the first cryptographic algorithm or the first decipherment algorithm need to use or random number can be pre-stored in the first equipment, or the first equipment obtains from first server.Be understandable that, preferably the first cryptographic algorithm and executable program corresponding to the second cryptographic algorithm in mobile phone or server for encryption not for the public can obtain.
Verify the second information by said method, avoid lawless person to pass through to revise the device name of bluetooth equipment, by the bluetooth equipment of legal for tool used in crime disguise as registration, ensure the safety that bluetooth connects.
In certain embodiments, after forbidding that the second equipment is connected with the first equipment Bluetooth Bluetooth, it can be the access to netwoks by limiting the specific payment program on mobile phone; Such as mobile phone is forbidden Taobao app accessing wireless network in setting-up time.It also can be the mobile payment that the Interface realization calling Third-party payment platform supervises the second equipment, the relevant interfaces such as such as Net silver, Alipay, Jingdone district payment, the single of mobile payment of such as restricted passage second mobile phone or the transaction limit of every day.It also can be this second equipment of locking, and sends the relevant note of payment that the second equipment receives to the security number that the second equipment is corresponding.The security number that second equipment is corresponding is the security number pre-set.The note that the payment that second equipment receives is correlated with is the payment note that financial institution or payment platform send to the second equipment.If there is the abbreviation of Bank Name, title, Service Phone (such as 95588) or payment platform title or title abbreviation or the amount of money etc. in such as note, think that this note is pay relevant note.
Inventor also provides a kind of main equipment for realizing barcode scanning bluetooth automatic connection method, comprises acquisition module 110, parsing module 120, link block 130, mixed-media network modules mixed-media 140;
Described acquisition module 110 is for gathering the first graphic code;
Described parsing module 120, for resolving the first graphic code, obtains the first information;
Described link block 130 is for connecting the first equipment according to first information bluetooth;
Described mixed-media network modules mixed-media 140 is for being uploaded to first server by the first information, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of first server, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected; If comprise the first information of the first equipment in the authorization information of the bluetooth equipment of the legal registration that first server stores, then link block 130 connects the first equipment according to first information bluetooth.
In certain embodiments, the described first information is SN or MAC.
In certain embodiments, described parsing module obtains the first information and the second information for resolving the first graphic code;
If described mixed-media network modules mixed-media 140 is not equal to the first information for deciphering character string, then forbid that the bluetooth equipment bluetooth that link block and bluetooth device name comprise the first information is connected;
If deciphering character string equals the first information, then link block connects the first equipment according to first information Bluetooth Bluetooth.
In certain embodiments, also comprise administration module 150, described administration module is used for, after forbidding that the second equipment is connected with the first equipment bluetooth, being also included in the time of setting, supervising the mobile payment by the second equipment.
Inventor also provide a kind of for realize barcode scanning bluetooth automatic connection method from equipment, the described shell from equipment is attached with should from the first graphic code of equipment, and described do not have from equipment: audio input-output device, character input-output equipment and image input-output equipment.Attachment can be pasted with the label printing and have the first graphic code, or by laser or ink, the first graphic code is printed on the surface from equipment, or has the jut with shell one from the shell of equipment, and this jut shows the first graphic code.
The present invention is particularly suitable for following use scenes: there are other bluetooth equipments in communication context, and the bluetooth equipment of legal registration does not have: audio input-output device, character input-output equipment and image input-output equipment.Audio input-output device refers to earphone audio amplifier etc., character input device be keyboard or for the button etc. of input character, character output equipment for such as display, ink screen etc., image input device be video camera etc., image output device is printer, display, projecting apparatus etc.The bluetooth equipment of legal registration cannot initiatively select connected bluetooth equipment by button.Namely the bluetooth equipment of legal registration is user can only know the bluetooth equipment of this legal registration Bluetooth pairing information from the 3rd equipment, maybe can only pass through the Bluetooth Bluetooth equipment that the 3rd equipment is initiatively selected to dock with the bluetooth equipment of legal registration.Thus the bluetooth equipment of the legal registration in communication context is selected by method Automatic sieve of the present invention, and be initiatively connected with it, the first equipment can be facilitated to be connected with the quick of bluetooth equipment of the legal registration in communication context.
Inventor also provides a kind of system for realizing barcode scanning bluetooth automatic connection method, this system, comprises main equipment 10, from equipment 30 and server 20;
Described server 20 comprises memory module 210 and mixed-media network modules mixed-media 220, and described memory module 210 is for storing the bluetooth equipment information of legal registration; Described mixed-media network modules mixed-media 220 for main equipment communication;
Described main equipment is the above-mentioned main equipment for realizing barcode scanning bluetooth automatic connection method
Described from equipment be above-mentioned for realize barcode scanning bluetooth automatic connection method from equipment.
Term herein preferentially adopts it in the explanation in Bluetooth technology field, bluetooth equipment is the equipment possessing bluetooth hardware module, and the title of bluetooth equipment is also referred to as bluetooth title, or abbreviation title, for the composition such as alphabetical, digital, for being presented at the character string in bluetooth equipment list during bluetooth discovery, and two bluetooth equipments connect herein, refer to that two bluetooth equipments are connected by respective bluetooth hardware module, also can be described as bluetooth and connect or be called for short connection.Being understandable that, herein " A comprises B " or " A comprises B ", can be that A equals B in certain embodiments.Be appreciated that, herein from equipment, main equipment is all the equipment with bluetooth hardware module, and main equipment and from equipment just just to two entities are made a distinction, in some scenes, main equipment also can as from equipment, namely in one scenario device A as main equipment, equipment B is as from equipment, and in another scene, can be device A as from equipment, equipment B be as main equipment.It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... " or " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other key element.In addition, in this article, " be greater than ", " being less than ", " exceeding " etc. be interpreted as and do not comprise this number; " more than ", " below ", " within " etc. be interpreted as and comprise this number.
Those skilled in the art should understand, the various embodiments described above can be provided as method, device or computer program.These embodiments can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.The hardware that all or part of step in the method that the various embodiments described above relate to can carry out instruction relevant by program has come, described program can be stored in the storage medium that computer equipment can read, for performing all or part of step described in the various embodiments described above method.Described computer equipment, includes but not limited to: personal computer, server, all-purpose computer, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.; Described storage medium, includes but not limited to: the storage of RAM, ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, the webserver, network cloud storage etc.
The various embodiments described above describe with reference to the flow chart of method, equipment (system) and computer program according to embodiment and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of computer equipment to produce a machine, making the instruction performed by the processor of computer equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer equipment readable memory that works in a specific way of vectoring computer equipment, the instruction making to be stored in this computer equipment readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer equipment, make to perform sequence of operations step on a computing device to produce computer implemented process, thus the instruction performed on a computing device is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although be described the various embodiments described above; but those skilled in the art are once obtain the basic creative concept of cicada; then can make other change and amendment to these embodiments; so the foregoing is only embodiments of the invention; not thereby scope of patent protection of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included within scope of patent protection of the present invention.

Claims (10)

1. a barcode scanning bluetooth automatic connection method, is characterized in that, comprises the following steps:
First graphic code is corresponding with the first equipment,
Second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information;
The first information is uploaded to first server by the second equipment, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of first server, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected;
If comprise this first information in the authorization information of the bluetooth equipment of the legal registration that first server stores, then the second equipment connects the first equipment according to first information bluetooth.
2. a kind of barcode scanning bluetooth automatic connection method according to claim 1, it is characterized in that, described authorization information is SN or MAC.
3. a kind of barcode scanning bluetooth automatic connection method according to claim 1, is characterized in that, the second equipment is taken pictures collection first graphic code, and resolves the first graphic code and obtain the first information and the second information;
The first decipherment algorithm the second information of deciphering is used to obtain deciphering character string;
If deciphering character string is not equal to the first information, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected;
If deciphering character string equals the first information, then the second equipment connects the first equipment according to first information bluetooth.
4. a kind of barcode scanning bluetooth automatic connection method according to claim 1, it is characterized in that, after forbidding that the second equipment is connected with the first equipment bluetooth, also showing instruction first equipment is the prompting of illegality equipment, and the first information corresponding for the first equipment is recorded in and in first server, forbids connection device table, after the first information is uploaded to first server by described step the second equipment, if the first information is recorded in forbid connection device table, then forbid that the bluetooth equipment bluetooth that the second equipment and bluetooth device name comprise the first information is connected.
5. for realizing a main equipment for barcode scanning bluetooth automatic connection method, it is characterized in that, comprising acquisition module, parsing module, link block, mixed-media network modules mixed-media;
Described acquisition module is for gathering the first graphic code;
Described parsing module, for resolving the first graphic code, obtains the first information;
Described link block is used for connecting the first equipment according to first information bluetooth;
Described mixed-media network modules mixed-media is used for the first information to be uploaded to first server, the authorization information of the bluetooth equipment of legal registration is stored in first server, if do not comprise this first information in the authorization information of the bluetooth equipment of legal registration that stores of first server, then trigger link block and forbid that the bluetooth equipment bluetooth that link block and bluetooth device name comprise the first information is connected; If comprise this first information in the authorization information of the bluetooth equipment of the legal registration that first server stores, then trigger link block and connect the first equipment according to first information bluetooth.
6. a kind of main equipment for realizing barcode scanning bluetooth automatic connection method according to claim 5, is characterized in that, described authorization information is SN or MAC.
7. a kind of main equipment for realizing barcode scanning bluetooth automatic connection method according to claim 5, it is characterized in that, described parsing module obtains the first information and the second information for resolving the first graphic code, and uses the first decipherment algorithm the second information of deciphering to obtain deciphering character string;
If described mixed-media network modules mixed-media is used for deciphering, character string is not equal to the first information, then trigger and forbid that the bluetooth equipment bluetooth that link block and bluetooth device name comprise the first information is connected; If deciphering character string equals the first information, then trigger link block and connect the first equipment according to first information Bluetooth Bluetooth.
8. a kind of main equipment for realizing barcode scanning bluetooth automatic connection method according to claim 5, is characterized in that, described mixed-media network modules mixed-media is also the prompting of illegality equipment for showing instruction first equipment.
9. one kind for realize barcode scanning bluetooth automatic connection method from equipment, it is characterized in that, the described shell from equipment is attached with should from the first graphic code of equipment, and described do not have from equipment: audio input-output device, character input-output equipment and image input-output equipment.
10. for realizing a system for barcode scanning bluetooth automatic connection method, it is characterized in that, comprising main equipment, from equipment and server;
Described server comprises memory module and mixed-media network modules mixed-media, and described memory module is for storing the bluetooth equipment information of legal registration; Described mixed-media network modules mixed-media is used for and main equipment communication;
Described main equipment is the main equipment for realizing barcode scanning bluetooth automatic connection method described in arbitrary claim 5-8
Described from equipment be according to claim 9 for realize barcode scanning bluetooth automatic connection method from equipment.
CN201511027674.1A 2015-12-31 2015-12-31 Method, master device, slave device and system for achieving code scanning automatic bluetooth connection Pending CN105554908A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511027674.1A CN105554908A (en) 2015-12-31 2015-12-31 Method, master device, slave device and system for achieving code scanning automatic bluetooth connection
PCT/CN2016/093137 WO2017113790A1 (en) 2015-12-31 2016-08-03 Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511027674.1A CN105554908A (en) 2015-12-31 2015-12-31 Method, master device, slave device and system for achieving code scanning automatic bluetooth connection

Publications (1)

Publication Number Publication Date
CN105554908A true CN105554908A (en) 2016-05-04

Family

ID=55833777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511027674.1A Pending CN105554908A (en) 2015-12-31 2015-12-31 Method, master device, slave device and system for achieving code scanning automatic bluetooth connection

Country Status (2)

Country Link
CN (1) CN105554908A (en)
WO (1) WO2017113790A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113790A1 (en) * 2015-12-31 2017-07-06 福建联迪商用设备有限公司 Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system
CN107018123A (en) * 2016-11-14 2017-08-04 北京动石科技有限公司 A kind of methods, devices and systems of management apparatus access authority
CN107172571A (en) * 2017-04-21 2017-09-15 上海掌门科技有限公司 A kind of smart machine automatic matching connection method and system
CN107454558A (en) * 2017-08-02 2017-12-08 神州融安科技(北京)有限公司 A kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information
WO2018032968A1 (en) * 2016-08-03 2018-02-22 广东乐源数字技术有限公司 Method for binding wristband to smartphone
CN107872800A (en) * 2018-01-08 2018-04-03 深圳市芯中芯科技有限公司 A kind of bluetooth equipment BLE cut-in methods based on software double factor authentication
CN108322560A (en) * 2018-01-17 2018-07-24 深圳喆行科技有限公司 A kind of method and system of read-write equipment initialization
CN109769240A (en) * 2019-03-12 2019-05-17 百度在线网络技术(北京)有限公司 Bluetooth connecting method, device and system
CN109831762A (en) * 2018-12-17 2019-05-31 福建新大陆支付技术有限公司 The POS data means of communication, device, terminal device and system
CN112788577A (en) * 2020-12-24 2021-05-11 深圳市民德电子科技股份有限公司 Handheld yard rifle of sweeping of bluetooth and handheld yard rifle system of sweeping of bluetooth
WO2023071993A1 (en) * 2021-11-01 2023-05-04 华为技术有限公司 Bluetooth pairing method, device, system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779263A (en) * 2012-06-19 2012-11-14 袁开国 Credible two-dimensional code scheme based on public key infrastructure (PKI) and digital signature
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
CN103929297A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Communication method, encryption method and device for POS and mobile terminal and POS
CN103997735A (en) * 2014-04-24 2014-08-20 北京大学 Mobile monitoring method and system based on mobile network
CN104244234A (en) * 2013-12-02 2014-12-24 北京东方泰华科技发展有限公司 Method and device for connecting wireless device with intelligent terminal rapidly
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8483614B2 (en) * 2011-01-31 2013-07-09 Koamtac, Inc. HID protocol-based soft keyboard toggle with initialization and synchronization capability for mobile phones and PDAs connected to a peripheral device
CN102932037A (en) * 2012-10-15 2013-02-13 天地融科技股份有限公司 Method and system for establishing connection between Bluetooth key and terminal
CN204119250U (en) * 2013-12-25 2015-01-21 深圳市文鼎创数据科技有限公司 Bluetooth key
CN103701503A (en) * 2013-12-25 2014-04-02 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and system, and Bluetooth KEY
CN105025433A (en) * 2015-07-09 2015-11-04 广东欧珀移动通信有限公司 Bluetooth pairing method and terminal
CN105554908A (en) * 2015-12-31 2016-05-04 福建联迪商用设备有限公司 Method, master device, slave device and system for achieving code scanning automatic bluetooth connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779263A (en) * 2012-06-19 2012-11-14 袁开国 Credible two-dimensional code scheme based on public key infrastructure (PKI) and digital signature
CN104244234A (en) * 2013-12-02 2014-12-24 北京东方泰华科技发展有限公司 Method and device for connecting wireless device with intelligent terminal rapidly
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
CN103929297A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Communication method, encryption method and device for POS and mobile terminal and POS
CN103997735A (en) * 2014-04-24 2014-08-20 北京大学 Mobile monitoring method and system based on mobile network
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113790A1 (en) * 2015-12-31 2017-07-06 福建联迪商用设备有限公司 Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system
WO2018032968A1 (en) * 2016-08-03 2018-02-22 广东乐源数字技术有限公司 Method for binding wristband to smartphone
CN107018123B (en) * 2016-11-14 2020-05-15 郭铮铮 Method, device and system for managing equipment access authority
CN107018123A (en) * 2016-11-14 2017-08-04 北京动石科技有限公司 A kind of methods, devices and systems of management apparatus access authority
CN107172571A (en) * 2017-04-21 2017-09-15 上海掌门科技有限公司 A kind of smart machine automatic matching connection method and system
CN107454558A (en) * 2017-08-02 2017-12-08 神州融安科技(北京)有限公司 A kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information
CN107454558B (en) * 2017-08-02 2020-11-24 神州融安科技(北京)有限公司 Method for achieving Bluetooth automatic connection of master device and slave device through shared information
CN107872800A (en) * 2018-01-08 2018-04-03 深圳市芯中芯科技有限公司 A kind of bluetooth equipment BLE cut-in methods based on software double factor authentication
CN108322560A (en) * 2018-01-17 2018-07-24 深圳喆行科技有限公司 A kind of method and system of read-write equipment initialization
CN109831762A (en) * 2018-12-17 2019-05-31 福建新大陆支付技术有限公司 The POS data means of communication, device, terminal device and system
CN109831762B (en) * 2018-12-17 2022-04-26 福建新大陆支付技术有限公司 POS data communication method, device, terminal equipment and system
CN109769240A (en) * 2019-03-12 2019-05-17 百度在线网络技术(北京)有限公司 Bluetooth connecting method, device and system
CN112788577A (en) * 2020-12-24 2021-05-11 深圳市民德电子科技股份有限公司 Handheld yard rifle of sweeping of bluetooth and handheld yard rifle system of sweeping of bluetooth
CN112788577B (en) * 2020-12-24 2024-04-09 深圳市民德电子科技股份有限公司 Bluetooth handheld code scanning gun and Bluetooth handheld code scanning gun system
WO2023071993A1 (en) * 2021-11-01 2023-05-04 华为技术有限公司 Bluetooth pairing method, device, system, and storage medium

Also Published As

Publication number Publication date
WO2017113790A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN105554908A (en) Method, master device, slave device and system for achieving code scanning automatic bluetooth connection
WO2017113792A1 (en) Bluetooth automatic connection method, master device, slave device, and system
CN109492378B (en) Identity verification method based on equipment identification code, server and medium
KR102195551B1 (en) Virtual currency storage transaction system and its use method
CN102411684B (en) Data protection method and device
CN110414258A (en) Document handling method and system, data processing method
CN103607385A (en) Method and apparatus for security detection based on browser
US10958665B2 (en) Consumer and business anti-counterfeiting services using identification tags
CN108293044A (en) System and method for detecting malware infection via domain name service flow analysis
EP2835997B1 (en) Cell phone data encryption method and decryption method
CN112134893B (en) Internet of things safety protection method and device, electronic equipment and storage medium
WO2019051110A1 (en) Code scanning security check method and apparatus
CN104038924A (en) Method and system for achieving resource exchange information processing
WO2017113789A1 (en) Electronic device remote repair method, device, repaired device, and system
CN104639521A (en) Application safety verification method and system, application server and application client
CN109597727A (en) Detection method, detection device, server and the detection system of electronic equipment
CN107657199B (en) Mobile device, verification device and verification method thereof
CN111259382A (en) Malicious behavior identification method, device and system and storage medium
CN109284608B (en) Method, device and equipment for identifying Legionella software and safety processing method
CN108256351B (en) File processing method and device, storage medium and terminal
CN112528181B (en) Two-dimensional code management method, device, computer equipment and readable storage medium
CN107396363A (en) A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107154977A (en) Information-pushing method and device
CN105472545A (en) Bluetooth automatic connecting method, master device, slave device and system
Saeed et al. Evaluating Near‐Field Communication tag security for identity theft prevention

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504