CN111641505B - Information processing method, information processing device, electronic equipment and readable storage medium - Google Patents

Information processing method, information processing device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111641505B
CN111641505B CN202010312222.2A CN202010312222A CN111641505B CN 111641505 B CN111641505 B CN 111641505B CN 202010312222 A CN202010312222 A CN 202010312222A CN 111641505 B CN111641505 B CN 111641505B
Authority
CN
China
Prior art keywords
password
server
bluetooth
login
user terminal
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.)
Active
Application number
CN202010312222.2A
Other languages
Chinese (zh)
Other versions
CN111641505A (en
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.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics 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 Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN202010312222.2A priority Critical patent/CN111641505B/en
Publication of CN111641505A publication Critical patent/CN111641505A/en
Application granted granted Critical
Publication of CN111641505B publication Critical patent/CN111641505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response
    • H04L9/3273Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response for mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application provides an information processing method, an information processing device, an electronic device and a readable storage medium, wherein the information processing method comprises the following steps: transmitting a login signal to the Bluetooth device; receiving a login request instruction and a first password returned by the Bluetooth equipment; according to the login request instruction, the account binding information and the first password are sent to a server, and the server verifies whether the equipment codes in the account binding information and the first password are correct or not; receiving a verification result which is transmitted by the server and used for verifying correctness by the characterization and a second password; sending a login verification request to the Bluetooth device so that the Bluetooth device verifies whether login is successful; and receiving a login success instruction returned by the Bluetooth equipment, wherein the login success instruction is returned after the second password is verified by the Bluetooth equipment. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.

Description

Information processing method, information processing device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an information processing method, an information processing device, an electronic device, and a readable storage medium.
Background
In the prior art, when a bluetooth device logs in a server, the bluetooth device often sends its identity information to the server, and the server verifies whether the bluetooth device is a legal device according to the identity information. The existing login mode has the risk that illegal Bluetooth equipment impersonates legal Bluetooth equipment, and the security is low.
Disclosure of Invention
An objective of the embodiments of the present application is to provide an information processing method, an apparatus, an electronic device, and a readable storage medium, so as to solve the problem in the prior art that the security of a login mode of a bluetooth device is low.
In a first aspect, an embodiment of the present application provides an information processing method, applied to a user terminal, for implementing interaction between the user terminal and a bluetooth device and between the user terminal and a server, where the method includes: sending a login signal to the Bluetooth device; receiving a login request instruction and a first password returned by the Bluetooth device, wherein the first password is obtained by performing a first operation on a device code through the Bluetooth device, and the device code is distributed to the Bluetooth device by the server; according to the login request instruction, sending account binding information and the first password to the server, and verifying whether the account binding information and the equipment codes in the first password are correct or not by the server; receiving a verification result which is transmitted by the server and used for characterizing and verifying correctness and a second password, wherein the second password is obtained by performing second operation on the equipment code through the server; sending a login verification request to the Bluetooth device so as to enable the Bluetooth device to verify whether login is successful, wherein the login verification request comprises a correct verification result and the second password; and receiving a login success instruction returned by the Bluetooth equipment, wherein the login success instruction is returned after the second password is verified by the Bluetooth equipment.
In the above embodiment, the user terminal sends the first password and the account binding information to the server according to the login request instruction of the bluetooth device, and the server verifies the first password and the account binding information. After the server verifies the two passwords correctly, the user terminal receives the second password sent by the server and transmits the second password to the Bluetooth device so that the Bluetooth device verifies the second password. After the Bluetooth equipment verifies the second password, the user terminal receives a login success instruction returned by the Bluetooth equipment. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
In the above embodiment, the user terminal may directly forward the verification result and the second password to the bluetooth device, and then the bluetooth device determines whether the verification result is correct, and after the bluetooth device determines that the verification result is correct, the bluetooth device performs verification of the second password.
In one possible design, after the verifying, by the server, whether the account binding information and the device code in the first password are correct, the method further comprises: and receiving a verification result representing verification errors sent by the server, and sending the verification result to the Bluetooth equipment so that the Bluetooth equipment displays that the user terminal requests login failure.
In the above embodiment, if the server verifies that the account binding information or the device code in the first password is incorrect, the bluetooth device may display that the user terminal requests for login failure according to the verification result of the server, without performing the second verification.
In one possible design, the login authentication request may include a second password, and the method further includes, prior to the sending the login authentication request to the bluetooth device: and the user terminal determines the verification result to be correct. The user terminal can determine that the verification result sent by the server is correct in verification, and then the user terminal sends the second password to the Bluetooth device, and the Bluetooth device performs verification. The user terminal firstly judges the verification result, and after the judgment is passed, the second password is sent to the Bluetooth device, so that the operation amount of the Bluetooth device can be properly reduced.
In one possible design, after the receiving the login success instruction returned by the bluetooth device, the method further includes: transmitting a plurality of parameter inquiry information to the Bluetooth device, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options, so that the Bluetooth device selects the corresponding transmission parameter alternative option according to a Bluetooth protocol supported by the Bluetooth device; and receiving the transmission parameters characterized by the transmission parameter alternative options selected by the Bluetooth equipment.
In the above embodiment, after the bluetooth device logs in successfully, when the user terminal wants to establish a connection with the bluetooth device, the user terminal may send a plurality of parameter inquiry information to the bluetooth device, where each parameter inquiry information may have an alternative option of a plurality of transmission parameters, and the bluetooth device selects an alternative option supported by itself from the plurality of alternative options. The alternatives provided by the user terminal are typically transmission parameters supported by the user terminal, from which alternatives the bluetooth device selects, the connection between the bluetooth device and the user terminal can be established more quickly.
In one possible design, after the receiving the login success instruction returned by the bluetooth device, the method further includes: sending a plurality of parameter inquiry information to the Bluetooth equipment so that the Bluetooth equipment can determine corresponding transmission parameters according to a Bluetooth protocol supported by the Bluetooth equipment; and receiving the transmission parameters determined by the Bluetooth equipment.
In the above embodiment, after the bluetooth device logs in successfully, when the user terminal wants to establish a connection with the bluetooth device, the user terminal may send a plurality of parameter inquiry information to the bluetooth device, and the bluetooth device gives corresponding transmission parameters to each parameter inquiry information according to the bluetooth protocol supported by the bluetooth device. The adaptation range of the user terminal and the Bluetooth equipment can be enlarged by inquiring the information to obtain the transmission parameters, so that one user terminal can be compatible with more Bluetooth intelligent hardware equipment.
In one possible design, before the sending of the login signal to the bluetooth device, the method further comprises: the serial number of the Bluetooth device and the user account number are sent to the server, so that the server binds the serial number with the user account number; receiving a binding instruction which characterizes a binding result and is sent by the server; and sending the binding instruction to the Bluetooth device so that the Bluetooth device can display a binding result according to the binding instruction.
In the above embodiment, before the bluetooth device logs into the server, the serial number of the bluetooth device may be bound with the user account of the user terminal. After the binding action is carried out by the server, a binding instruction is returned to the user terminal, the user terminal sends the binding instruction to the Bluetooth device, and the Bluetooth device can display the binding result of successful binding or failed binding according to the binding instruction, so that a user can intuitively know the progress of binding.
In one possible design, before the sending the serial number of the bluetooth device and the user account to the server, the method further includes: acquiring Bluetooth broadcast information sent by the Bluetooth equipment, and judging whether the Bluetooth equipment is registered or not according to a flag bit in the Bluetooth broadcast information; if not, acquiring the serial number of the Bluetooth device from the Bluetooth service characteristic value, and sending the serial number to the server so that the server can judge whether the serial number can be found in the system; if the Bluetooth equipment can be found, receiving a registration instruction and an equipment code returned by the server, and forwarding the registration instruction and the equipment code to the Bluetooth equipment, wherein the equipment code is generated by the server according to the serial number of the Bluetooth equipment.
In the above embodiment, the registration process of the bluetooth device may be performed before the bluetooth device is bound to the server. The user terminal can judge whether the Bluetooth equipment is registered according to the flag bit of the Bluetooth equipment in the Bluetooth broadcast, if not, the user terminal can judge whether the Bluetooth equipment is registered; the user terminal obtains the serial number of the Bluetooth device from the Bluetooth broadcast and sends the serial number to the server. After the server receives the serial number, whether the serial number can be found in the system can be judged, if so, the server generates a device code corresponding to the serial number, and returns the device code and a registration instruction to the Bluetooth device through the user terminal, so that the registration process is completed.
In a second aspect, an embodiment of the present application provides an information processing method, applied to a bluetooth device, where the method includes: receiving a login signal sent by a user terminal; transmitting a first password and a login request instruction corresponding to the login signal to the user terminal so that the user terminal transmits the first password to a server and the server verifies the first password, wherein the first password is obtained by performing a first operation on a device code by the Bluetooth device, and the device code is distributed to the Bluetooth device by the server; receiving a login verification request returned by the user terminal, wherein the login verification request comprises a verification result of verifying correctness and the second password, analyzing the second password to obtain an analyzed equipment code, and performing second operation on the second password by the equipment code through the server to obtain the second password; comparing the parsed device code with the device code stored by the device code; and if the analyzed equipment code is consistent with the equipment code stored by the equipment code, sending a login success instruction to the user terminal.
In the above embodiment, the bluetooth device receives the login signal sent by the user terminal, and sends the generated first password and the login request instruction corresponding to the login signal to the user terminal, so that the server verifies the first password. After verification, the server sends a verification result and a second password, wherein the characterization result is verification correct. After the verification result is determined to be correct, the Bluetooth device can analyze the second password to obtain an analyzed device code, and then compare the analyzed device code with the device code stored by the Bluetooth device. And under the condition of consistent comparison, a login success instruction is sent out. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
In one possible design, after sending the first password and the login request instruction corresponding to the login signal to the user terminal, so that the user terminal sends the first password to a server and is verified by the server, the method further includes: receiving a verification result of the characterization verification failure returned by the user terminal; and the Bluetooth equipment is disconnected with the user terminal, and the login request failure is displayed.
In the above embodiment, if the server verifies that the account binding information or the device code in the first password is incorrect, the bluetooth device may display that the user terminal requests for login failure according to the verification result of the server, without performing the second verification.
In one possible design, after the sending a login success instruction to the user terminal, the method further includes: receiving a plurality of parameter inquiry information sent by the user terminal, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options; selecting a plurality of transmission parameter alternative options of each parameter inquiry information according to a Bluetooth protocol supported by the transmission parameter alternative options, so as to obtain transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information; and returning the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
In the above embodiment, after the bluetooth device logs in successfully, when the user terminal wants to establish a connection with the bluetooth device, the user terminal may send a plurality of parameter inquiry information to the bluetooth device, where each parameter inquiry information may have an alternative option of a plurality of transmission parameters, and the bluetooth device selects an alternative option supported by itself from the plurality of alternative options. The alternatives provided by the user terminal are typically transmission parameters supported by the user terminal, from which alternatives the bluetooth device selects, the connection between the bluetooth device and the user terminal can be established more quickly.
In one possible design, after the sending a login success instruction to the user terminal, the method further includes: receiving a plurality of parameter inquiry information sent by the user terminal; determining corresponding transmission parameters according to Bluetooth protocols supported by the parameter inquiry information of each parameter inquiry information in the plurality of parameter inquiry information; and returning the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
In the above embodiment, after the bluetooth device logs in successfully, when the user terminal wants to establish a connection with the bluetooth device, the user terminal may send a plurality of parameter inquiry information to the bluetooth device, and the bluetooth device gives corresponding transmission parameters to each parameter inquiry information according to the bluetooth protocol supported by the bluetooth device. The adaptation range of the user terminal and the Bluetooth equipment can be enlarged by inquiring the information to obtain the transmission parameters, so that one user terminal can be compatible with more Bluetooth intelligent hardware equipment. The Bluetooth intelligent hardware device is generally used for detecting health and movement data of a user, and the same user terminal is compatible with a plurality of Bluetooth intelligent hardware devices, so that the user terminal can conveniently carry out comprehensive evaluation processing on the data detected by the plurality of Bluetooth intelligent hardware devices, and the user is better guided to know self health conditions and carry out health management.
In a third aspect, an embodiment of the present application provides an information processing method, applied to a server, where the method includes: receiving account binding information and a first password sent by a user terminal, wherein the account binding information comprises a user account and a serial number of Bluetooth equipment, the first password is obtained by performing first operation on equipment codes by the Bluetooth equipment, and the equipment codes are distributed to the Bluetooth equipment by the server; searching a serial number corresponding to the user account in a database of the user account, and comparing the searched serial number with the serial number in the account binding information; analyzing the first password to obtain an analyzed device code, and comparing the analyzed device code with the device code corresponding to the account binding information in the server; if the found serial number is consistent with the serial number in the account binding information, and the resolved equipment code is consistent with the equipment code corresponding to the account binding information in the server, generating a verification result representing that verification is correct and a second password, wherein the second password is obtained by performing a second operation on the equipment code by the server; and sending the verification result and the second password to the user terminal.
In the above embodiment, the server verifies the account binding information and the first password, and after the account binding information and the first password pass the verification, the server generates a verification result and a second password indicating that the verification is correct, and then sends the verification result and the second password to the user terminal. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
In a fourth aspect, an embodiment of the present application provides an information processing apparatus, applied to a user terminal, configured to implement interaction between the user terminal and a bluetooth device and between the user terminal and a server, where the apparatus includes: the login signal sending module is used for sending a login signal to the Bluetooth equipment; the first password receiving module is used for receiving a login request instruction and a first password returned by the Bluetooth device, wherein the first password is obtained by performing a first operation on a device code through the Bluetooth device, and the device code is distributed to the Bluetooth device by the server; the first password sending module is used for sending account binding information and the first password to the server according to the login request instruction, and verifying whether the account binding information and the equipment code in the first password are correct or not by the server; the second password receiving module is used for receiving a verification result which is transmitted by the server and used for characterizing and verifying correctness and a second password, wherein the second password is obtained by performing a second operation on the equipment code through the server; the login verification sending module is used for sending a login verification request to the Bluetooth equipment so as to enable the Bluetooth equipment to verify whether login is successful or not, wherein the login verification request comprises a correct verification result and the second password; and the login success receiving module is used for receiving a login success instruction returned by the Bluetooth equipment, wherein the login success instruction is returned after the second password is verified by the Bluetooth equipment.
In a fifth aspect, an embodiment of the present application provides an information processing apparatus, applied to a bluetooth device, including: the login signal receiving module is used for receiving a login signal sent by the user terminal; the login request sending module is used for sending a first password and a login request instruction corresponding to the login signal to the user terminal so that the user terminal sends the first password to a server and the server verifies the first password, wherein the first password is obtained by performing a first operation on a device code by Bluetooth equipment, and the device code is distributed to the Bluetooth equipment by the server; the second password analysis module is used for receiving a login verification request returned by the user terminal, wherein the login verification request comprises a verification result for verifying correctness and the second password, analyzing the second password to obtain an analyzed equipment code, and the second password is obtained by performing a second operation on the equipment code through the server; the device code comparison module is used for comparing the parsed device code with the device code stored by the device code comparison module; and the login success sending module is used for sending a login success instruction to the user terminal when the analyzed equipment code is consistent with the equipment code stored by the user terminal.
In a sixth aspect, an embodiment of the present application provides an information processing apparatus, applied to a server, including: the system comprises a binding information receiving module, a server and a binding information processing module, wherein the binding information receiving module is used for receiving account binding information and a first password which are sent by a user terminal, the account binding information comprises a user account and a serial number of Bluetooth equipment, the first password is obtained by performing first operation on equipment codes by the Bluetooth equipment, and the equipment codes are distributed to the Bluetooth equipment by the server; the serial number comparison module is used for searching the serial number corresponding to the user account in the database of the serial number comparison module and comparing the searched serial number with the serial number in the account binding information; the first password analysis module is used for analyzing the first password to obtain an analyzed device code, and comparing the analyzed device code with the device code corresponding to the account binding information in the server; the second password generation module is used for generating a verification result representing correct verification and a second password when the found serial number is consistent with the serial number in the account binding information and the resolved equipment code is consistent with the equipment code corresponding to the account binding information in the server, wherein the second password is obtained by performing a second operation on the equipment code by the server; and the second password sending module is used for sending the verification result and the second password to the user terminal.
In a seventh aspect, embodiments of the present application provide an electronic device, including the method in the first aspect or any optional implementation manner of the first aspect.
In an eighth aspect, the present application provides a readable storage medium having stored thereon an executable program which when executed by a processor performs the method of the first aspect or any alternative implementation of the first aspect.
In a ninth aspect, the present application provides an executable program product which, when run on a computer, causes the computer to perform the method of the first aspect or any possible implementation of the first aspect.
In order to make the above objects, features and advantages of the embodiments of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of an information processing method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of an information processing method according to another embodiment of the present application;
fig. 3 is a schematic flow chart of an information processing method according to another embodiment of the present application;
fig. 4 shows a schematic structural diagram of an information processing apparatus provided in an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an information processing apparatus provided in another embodiment of the present application;
fig. 6 shows a schematic structural diagram of an information processing apparatus provided in still another embodiment of the present application.
Detailed Description
In contrast to the embodiment, when the bluetooth device logs in the server, the bluetooth device often sends its identity information to the server, and the server verifies whether the bluetooth device is a legal device according to the identity information. The login mode has the risk that the illegal Bluetooth equipment steals the identity information, so that the illegal Bluetooth equipment is impersonated, and the security is low.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 shows an information processing method provided in an embodiment of the present application, where the method may be performed by a user terminal, and the method specifically includes steps S110 to S160 as follows:
Step S110, the user terminal sends a login signal to the Bluetooth device.
The login signal is a prompt signal for representing that the user terminal can perform the login process of the Bluetooth device. The user terminal sends a login signal to the Bluetooth device, which characterizes that the user terminal has completed the preparation work for the login process.
In step S120, the user terminal receives the login request instruction and the first password returned by the bluetooth device.
The login request instruction is a code for representing that the bluetooth device requests to login, and the code may include identity information of the bluetooth device, for example, may include a serial number of the bluetooth device. The first password is obtained by performing a first operation on the device code through the Bluetooth device, and the device code is distributed to the Bluetooth device by the server. The first operation is an operation process known by the Bluetooth device and the server, the Bluetooth device can perform the first operation on the device code to obtain a first password, and the server can analyze the first password to obtain the device code.
Alternatively, the first operation may be the result of an exclusive-or operation of the device code and the MAC address of the bluetooth device. For example, the device codes (0 x10,0x20,0x30,0x40,0x50,0x 60) and the MAC addresses (0 x01,0x02,0x03,0x04,0x05,0x 06) are xored to obtain (0 xee,0xdd,0xcc,0xbb,0xaa,0x 99).
It is understood that the specific operation process of the first operation may be another operation, for example, the first operation may also be an exclusive-or operation between the device code and the MAC address of the bluetooth device, or an exclusive-or operation between the device code and the IP address of the bluetooth device. The specific course of the first operation should not be construed as limiting the application.
Step S130, the user terminal sends account binding information and the first password to the server according to the login request instruction, and the server verifies whether the account binding information and the equipment code in the first password are correct or not.
The account binding information is the serial number of the Bluetooth equipment end and the user account which are already bound with each other. The user terminal can determine the serial number of the Bluetooth device according to the identity information of the Bluetooth device in the login request instruction, then obtain the serial number of the Bluetooth device end and the user account, and send the serial number of the Bluetooth device end and the user account as account binding information together with the first password I to the server.
And step S140, the user terminal receives the verification result and the second password which are sent by the server and used for characterizing and verifying correctness.
The second password is obtained by performing a second operation on the equipment code through the server. The second operation is different from the first operation, for example, the second operation may be an exclusive-or operation of the device code and the inverse code of the MAC address of the bluetooth device, for example, the inverse code of the device code (0 x10,0x20,0x30,0x40,0x50,0x 60) is (0 x06,0x05,0x04,0x03,0x02,0x 01), and the exclusive-or operation is performed on the two, so as to obtain (0 xe9,0xda,0xcb,0xbc,0xad,0x9 e). The second operation may also be a exclusive nor operation of the device code and the inverse of the MAC address of the bluetooth device.
After receiving the account binding information and the first password, the server can verify the account binding information and the first password at the same time; the account binding information can be verified firstly, and the verification of the first password is performed after the verification is passed; the first password can be verified first, and the account binding information can be verified after the first password passes the verification. The order in which the server verifies the account binding information and the first password should not be construed as limiting the application.
After the server passes the verification of the account binding information and the first password, the server may send a verification result characterizing that the verification is correct to the user terminal together with the second password.
The specific process of verifying the account binding information by the server is as follows:
the server can obtain the user account from the account binding information, and then find out the corresponding serial number of the user account from the corresponding relation between the user account and the serial number stored in the server. After the serial numbers stored in the server are obtained, the server compares the stored serial numbers with the serial numbers in the account binding information, judges whether the serial numbers are consistent, and if so, indicates that the account binding information passes verification.
Optionally, the server may also obtain a serial number from the account binding information, then find a user account corresponding to the serial number in a correspondence between the user account stored in the server and the serial number, and then determine whether the stored user account is consistent with the user account in the account binding information, if so, it indicates that the account binding information passes verification.
The specific process of the server verifying the first password is as follows:
the server analyzes the first password according to the first operation to obtain an analyzed device code, and compares the analyzed device code with the device code stored in the server and in the account binding information. If the two are consistent in comparison, the first password verification is passed.
Step S150, the user terminal sends a login verification request to the Bluetooth device so that the Bluetooth device verifies whether login is successful, and the login verification request comprises the verification correct result and the second password.
The user terminal can directly forward the verification result and the second password to the Bluetooth device, the Bluetooth device determines whether the verification result is correct or not, and the Bluetooth device performs verification of the second password after the Bluetooth device determines that the verification result is correct.
In a specific embodiment, the login authentication request may also include only the second password, and before step S150, the method further includes: and the user terminal determines the verification result to be correct. The user terminal can determine that the verification result sent by the server is correct in verification, and then the user terminal sends the second password to the Bluetooth device, and the Bluetooth device performs verification. The user terminal firstly judges the verification result, and after the judgment is passed, the second password is sent to the Bluetooth device, and the Bluetooth device verifies the second password, so that the operation amount of the Bluetooth device can be properly reduced.
The specific process of the Bluetooth device verifying the second password is as follows:
the Bluetooth device analyzes the second password by using the second operation to obtain an analyzed device code, the Bluetooth device compares the analyzed device code with the device code stored by the Bluetooth device, and if the analyzed device code is consistent with the device code stored by the Bluetooth device, the second password is judged to pass verification.
Step S160, the user terminal receives a login success instruction returned by the Bluetooth device.
The login success instruction is an instruction representing that the login process of the Bluetooth equipment is successful, and the login success instruction is returned after the second password is verified by the Bluetooth equipment.
And the user terminal sends the first password and the account binding information to the server according to the login request instruction of the Bluetooth device, and the server verifies the first password and the account binding information. After the server verifies the two passwords correctly, the user terminal receives the second password sent by the server and transmits the second password to the Bluetooth device so that the Bluetooth device verifies the second password. After the Bluetooth equipment verifies the second password, the user terminal receives a login success instruction returned by the Bluetooth equipment. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
In a specific embodiment, after step S160, the method further includes: the method comprises the steps that a user terminal sends a plurality of parameter inquiry information to Bluetooth equipment, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options, so that the Bluetooth equipment can select the corresponding transmission parameter alternative options according to a Bluetooth protocol supported by the Bluetooth equipment; and receiving the transmission parameters characterized by the transmission parameter alternative options selected by the Bluetooth equipment.
After the bluetooth device logs in successfully, when the user terminal wants to establish connection with the bluetooth device, the user terminal can send a plurality of parameter inquiry information to the bluetooth device, each parameter inquiry information can be provided with a plurality of transmission parameter alternatives, and the bluetooth device selects the alternatives supported by the user terminal from the plurality of alternatives. The alternatives provided by the user terminal are typically transmission parameters supported by the user terminal, from which alternatives the bluetooth device selects, the connection between the bluetooth device and the user terminal can be established more quickly.
In another embodiment, after step S160, the method further includes: the user terminal sends a plurality of parameter inquiry information to the Bluetooth equipment so that the Bluetooth equipment can determine corresponding transmission parameters according to a Bluetooth protocol supported by the user terminal; and receiving the transmission parameters determined by the Bluetooth equipment.
After the bluetooth device logs in successfully, when the user terminal wants to establish connection with the bluetooth device, the user terminal can send a plurality of parameter inquiry information to the bluetooth device, and the bluetooth device gives corresponding transmission parameters to each parameter inquiry information according to a bluetooth protocol supported by the bluetooth device. The adaptation range of the user terminal and the Bluetooth equipment can be enlarged by inquiring the information to obtain the transmission parameters, so that one user terminal can be compatible with more Bluetooth intelligent hardware equipment. The Bluetooth intelligent hardware device is generally used for detecting health and movement data of a user, and the same user terminal is compatible with a plurality of Bluetooth intelligent hardware devices, so that the user terminal can conveniently carry out comprehensive evaluation processing on the data detected by the plurality of Bluetooth intelligent hardware devices, and the user is better guided to know self health conditions and carry out health management.
For example, the plurality of parameter query information may include: whether multi-frame transmission is needed, whether the maximum supported instruction length and the maximum supported data packet frame number are agreed, whether a position detection function is supported, whether a cuff detection function is supported, the type of time used and the like. Each of the plurality of parameter query information may include a plurality of alternatives, such as whether a multi-frame transmission is required including two alternatives "yes" and "no"; the contracted maximum supported instruction length includes a plurality of alternatives of "instruction length a", "instruction length b", "instruction length c". The multiple parameter query information may not include an alternative option, and the bluetooth device gives corresponding transmission parameters according to a bluetooth protocol supported by the bluetooth device.
After the user terminal negotiates the transmission parameters with the Bluetooth device, the user terminal can send a data synchronization request to the Bluetooth device, and the Bluetooth device receives the data synchronization request and sends the data generated or measured by itself to the user terminal. In the data transmission process, special variable records of the number of data which are not uploaded exist in the data sent by the Bluetooth equipment, so that the user terminal knows the number of data to be sent. The data generated or measured by the Bluetooth device can be stored in the storage space of the user terminal, so that the user can conveniently check the measured data at the user terminal or analyze and compare some data in the user terminal.
Optionally, before step S110, the information processing method provided in the embodiment of the present application may further include: the user terminal sends the serial number of the Bluetooth device and the user account to the server so that the server binds the serial number with the user account; the user terminal receives a binding instruction which characterizes a binding result and is sent by the server; and the user terminal sends the binding instruction to the Bluetooth device so that the Bluetooth device displays a binding result according to the binding instruction.
The binding result may be the result of successful binding or the result of failed binding. The binding result may be generated by the server and sent to the user terminal, which forwards to the bluetooth device for display by the bluetooth device. Alternatively, the server may send the binding result directly to the bluetooth device. Optionally, if the binding result is binding failure, the user terminal may receive a verification result representing a verification error sent by the server, and send the verification result to the bluetooth device, so that the bluetooth device displays that the user terminal requests login failure.
The above steps may be repeated again until a successful binding result is obtained.
Optionally, before sending the serial number of the bluetooth device and the user account to the server, the method further includes: the user terminal acquires Bluetooth broadcast information sent by the Bluetooth device and judges whether the Bluetooth device is registered or not according to a flag bit in the Bluetooth broadcast information; if not, the user terminal acquires the serial number of the Bluetooth device from the Bluetooth service characteristic value and sends the serial number to the server so that the server can judge whether the serial number can be found in the system; if the Bluetooth device can be found, the user terminal receives the registration instruction and the device code returned by the server and forwards the registration instruction and the device code to the Bluetooth device, wherein the device code is generated by the server according to the serial number of the Bluetooth device.
The registration process of the bluetooth device may be advanced before the bluetooth device binds with the server. The user terminal can judge whether the Bluetooth equipment is registered according to the flag bit of the Bluetooth equipment in the Bluetooth broadcast; if not, the user terminal acquires the serial number of the Bluetooth device from the Bluetooth broadcast and sends the serial number to the server. After the server receives the serial number, whether the serial number can be found in the system can be judged, if so, the server generates a device code corresponding to the serial number, and returns the device code and a registration instruction to the Bluetooth device through the user terminal, so that the registration process is completed.
Referring to fig. 2, another embodiment of the present application provides an information processing method, which may be performed by a bluetooth device, and specifically includes the following steps S210 to S250:
in step S210, the bluetooth device receives a login signal sent by the user terminal.
Step S220, the bluetooth device sends a first password and a login request instruction corresponding to the login signal to the user terminal, so that the user terminal sends the first password to a server and verifies the first password by the server, wherein the first password is obtained by performing a first operation on a device code, and the device code is distributed to the bluetooth device by the server.
Step S230, receiving a login verification request returned by the user terminal, where the login verification request includes a verification result of verifying the correctness and the second password, and analyzing the second password to obtain an analyzed device code, where the second password is obtained by performing a second operation on the device code by the server.
The verification result may be determined to be correct by the bluetooth device, that is, the user terminal may send the verification result together with the second password to the bluetooth device, and after the bluetooth device determines that the verification result is correct by the verification result, the second password is parsed.
In a specific embodiment, the verification result may be determined to be correct by the user terminal, and then the user terminal sends the second password to the bluetooth device after confirming that the verification result is correct by the user terminal, and the bluetooth device performs the analysis of the second password.
In step S240, the bluetooth device compares the parsed device code with the device code stored in itself.
Step S250, if the resolved device code is consistent with the device code stored by the Bluetooth device, the Bluetooth device sends a login success instruction to the user terminal.
The Bluetooth equipment receives a login signal sent by the user terminal and sends the generated first password and a login request instruction corresponding to the login signal to the user terminal so that the server can verify the first password. After verification, the server sends a verification result and a second password, wherein the characterization result is verification correct. The Bluetooth device can analyze the second password to obtain an analyzed device code, and then compare the analyzed device code with the device code stored by the Bluetooth device. And under the condition of consistent comparison, a login success instruction is sent out. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
Optionally, after sending the first password and a login request instruction corresponding to the login signal to the user terminal, so that the user terminal sends the first password to a server and is verified by the server, the method further includes: receiving a verification result of the characterization verification failure returned by the user terminal; and the Bluetooth equipment is disconnected with the user terminal, and the login request failure is displayed.
After step S250, in a specific embodiment, the method may further include: the Bluetooth equipment receives a plurality of parameter inquiry information sent by the user terminal, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options; for a plurality of transmission parameter alternative options of each parameter inquiry information, the Bluetooth equipment selects the corresponding transmission parameter alternative option according to a Bluetooth protocol supported by the Bluetooth equipment, so that transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information are obtained; and the Bluetooth equipment returns the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
The alternatives provided by the user terminal are typically transmission parameters supported by the user terminal, from which alternatives the bluetooth device selects, the connection between the bluetooth device and the user terminal can be established more quickly.
After step S250, in another specific embodiment, the method may further include: the Bluetooth equipment receives a plurality of parameter inquiry information sent by the user terminal; for each parameter inquiry information in the plurality of parameter inquiry information, the Bluetooth equipment determines corresponding transmission parameters according to a Bluetooth protocol supported by the Bluetooth equipment; and the Bluetooth equipment returns the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
The adaptation range of the user terminal and the Bluetooth equipment can be enlarged by inquiring the information to obtain the transmission parameters, so that one user terminal can be compatible with more Bluetooth intelligent hardware equipment.
Referring to fig. 3, fig. 3 shows an information processing method provided in another embodiment of the present application, where the method may be executed by a server, and specifically includes the following steps S310 to S350:
step S310, a server receives account binding information and a first password sent by a user terminal, wherein the account binding information comprises a user account and a serial number of Bluetooth equipment, the first password is obtained by performing a first operation on equipment codes by the Bluetooth equipment, and the equipment codes are distributed to the Bluetooth equipment by the server.
Step S320, the server searches the serial number corresponding to the user account in the database of the server, and compares the found serial number with the serial number in the account binding information.
Step S330, the server analyzes the first password to obtain an analyzed device code, and compares the analyzed device code with the device code corresponding to the account binding information in the server.
Step S340, if the found serial number is consistent with the serial number in the account binding information, and the resolved device code is consistent with the device code corresponding to the account binding information in the server, generating a verification result representing that verification is correct and a second password, wherein the second password is obtained by performing a second operation on the device code by the server.
Step S350, the server sends the verification result and the second password to the user terminal.
The server respectively verifies the account binding information and the first password, generates a verification result and a second password which characterize the verification to be correct after the account binding information and the first password pass the verification, and then sends the verification result and the second password to the user terminal. In the login process of the Bluetooth device, the server and the Bluetooth device are respectively verified twice, and after the server and the Bluetooth device pass through the verification twice, the success of the login of the Bluetooth device is judged, and compared with the prior art, the login security of the Bluetooth device is greatly improved.
Referring to fig. 4, fig. 4 shows an information processing apparatus provided in an embodiment of the present application, and the apparatus 400 includes:
a login signal sending module 410, configured to send a login signal to the bluetooth device.
The first password receiving module 420 is configured to receive a login request instruction and a first password returned by the bluetooth device, where the first password is obtained by performing a first operation on a device code by the bluetooth device, and the device code is allocated to the bluetooth device by the server.
And the first password sending module 430 is configured to send account binding information and the first password to the server according to the login request instruction, where the server verifies whether the account binding information and the device code in the first password are correct.
And a second password receiving module 440, configured to receive a verification result that is sent by the server and is used for characterizing and verifying correct, and a second password, where the second password is obtained by performing a second operation on the device code by the server.
And the login verification sending module 450 is configured to send a login verification request to the bluetooth device, so that the bluetooth device verifies whether the login is successful, where the login verification request includes the verification correct result and the second password.
And a login success receiving module 460, configured to receive a login success instruction returned by the bluetooth device, where the login success instruction is returned after the second password is verified by the bluetooth device.
The apparatus further comprises:
and the verification structure determining module is used for determining that the verification result is correct.
And the parameter inquiry option module is used for sending a plurality of parameter inquiry information to the Bluetooth equipment, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternatives, so that the Bluetooth equipment can select the corresponding transmission parameter alternatives according to the Bluetooth protocol supported by the Bluetooth equipment.
And the transmission parameter receiving module is used for receiving the transmission parameters represented by the transmission parameter alternative options selected by the Bluetooth equipment.
And the parameter inquiry information module is used for sending a plurality of parameter inquiry information to the Bluetooth equipment so that the Bluetooth equipment can determine corresponding transmission parameters according to a Bluetooth protocol supported by the Bluetooth equipment.
And the determining parameter receiving module is used for receiving the transmission parameters determined by the Bluetooth equipment.
And the serial number sending module is used for sending the serial number of the Bluetooth device and the user account number to the server so that the server binds the serial number with the user account number.
And the binding instruction receiving module is used for receiving the binding instruction which is sent by the server and represents the binding result.
And the binding sending module is used for sending the binding instruction to the Bluetooth equipment so that the Bluetooth equipment can display a binding result according to the binding instruction.
And the zone bit judging module is used for acquiring the Bluetooth broadcasting information sent by the Bluetooth equipment and judging whether the Bluetooth equipment is registered or not according to the zone bit in the Bluetooth broadcasting information.
And the serial number searching module is used for acquiring the serial number of the Bluetooth device from the Bluetooth service characteristic value and sending the serial number to the server so that the server can judge whether the serial number can be searched in the system.
The device code receiving module is used for receiving the registration instruction and the device code returned by the server and forwarding the registration instruction and the device code to the Bluetooth device, wherein the device code is generated by the server according to the serial number of the Bluetooth device.
The information processing apparatus shown in fig. 4 corresponds to the information processing method shown in fig. 1, and a detailed description thereof will be omitted.
Referring to fig. 5, fig. 5 shows an information processing apparatus provided in another embodiment of the present application, and the apparatus 500 includes:
The login signal receiving module 510 is configured to receive a login signal sent by a user terminal.
The login request sending module 520 is configured to send a first password and a login request instruction corresponding to the login signal to the user terminal, so that the user terminal sends the first password to a server and verifies the server, where the first password is obtained by performing a first operation on a device code by a bluetooth device, and the device code is allocated to the bluetooth device by the server.
And the second password parsing module 530 is configured to receive a login verification request returned by the user terminal, where the login verification request includes a verification result of verifying correct authentication and the second password, parse the second password, and obtain a parsed device code, where the second password is obtained by performing a second operation on the device code by using the server.
And the device code comparison module 540 is configured to compare the parsed device code with the device code stored in the device code comparison module.
And the login success sending module 550 is configured to send a login success instruction to the user terminal when the parsed device code is consistent with the device code stored in the user terminal.
The information processing apparatus shown in fig. 5 corresponds to the information processing method shown in fig. 2, and a detailed description thereof will be omitted.
Referring to fig. 6, fig. 6 shows an information processing apparatus provided in another embodiment of the present application, the apparatus 600 includes:
the binding information receiving module 610 is configured to receive account binding information and a first password sent by a user terminal, where the account binding information includes a user account and a serial number of a bluetooth device, the first password is obtained by performing a first operation on a device code by the bluetooth device, and the device code is allocated to the bluetooth device by the server.
And the serial number comparison module 620 is configured to search a database of the serial number comparison module for a serial number corresponding to the user account, and compare the found serial number with the serial number in the account binding information.
The first password parsing module 630 is configured to parse the first password to obtain a parsed device code, and compare the parsed device code with a device code corresponding to the account binding information in the server.
And the second password generating module 640 is configured to generate a verification result indicating that the verification is correct and a second password when the found serial number is consistent with the serial number in the account binding information and the parsed device code is consistent with the device code corresponding to the account binding information in the server, where the second password is obtained by performing a second operation on the device code by the server.
And a second password sending module 650, configured to send the verification result and a second password to the user terminal.
The information processing apparatus shown in fig. 6 corresponds to the information processing method shown in fig. 3, and a detailed description thereof will be omitted.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (16)

1. An information processing method, which is applied to a user terminal and is used for realizing interaction between the user terminal and a bluetooth device and between the user terminal and a server, the method comprising:
sending a login signal to the Bluetooth device;
receiving a login request instruction and a first password returned by the Bluetooth device, wherein the first password is obtained by performing a first operation on a device code through the Bluetooth device, and the device code is distributed to the Bluetooth device by the server;
According to the login request instruction, sending account binding information and the first password to the server, and verifying whether the account binding information and the equipment codes in the first password are correct or not by the server;
receiving a verification result which is transmitted by the server and used for characterizing and verifying correctness and a second password, wherein the second password is obtained by performing second operation on the equipment code through the server;
sending a login verification request to the Bluetooth device so as to enable the Bluetooth device to verify whether login is successful, wherein the login verification request comprises a verification correct result and the second password;
and receiving a login success instruction returned by the Bluetooth equipment, wherein the login success instruction is returned after the second password is verified by the Bluetooth equipment.
2. The method of claim 1, wherein after the verifying, by the server, that the account binding information and the device code in the first password are correct, the method further comprises:
and receiving a verification result representing verification errors sent by the server, and sending the verification result to the Bluetooth equipment so that the Bluetooth equipment displays that the user terminal requests login failure.
3. The method of claim 1, wherein after said receiving a login success instruction returned by said bluetooth device, said method further comprises:
transmitting a plurality of parameter inquiry information to the Bluetooth device, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options, so that the Bluetooth device selects the corresponding transmission parameter alternative option according to a Bluetooth protocol supported by the Bluetooth device;
and receiving the transmission parameters characterized by the transmission parameter alternative options selected by the Bluetooth equipment.
4. The method of claim 1, wherein after said receiving a login success instruction returned by said bluetooth device, said method further comprises:
sending a plurality of parameter inquiry information to the Bluetooth equipment so that the Bluetooth equipment can determine corresponding transmission parameters according to a Bluetooth protocol supported by the Bluetooth equipment;
and receiving the transmission parameters determined by the Bluetooth equipment.
5. The method of claim 1, wherein prior to said sending a login signal to said bluetooth device, said method further comprises:
the serial number of the Bluetooth device and the user account number are sent to the server, so that the server binds the serial number with the user account number;
Receiving a binding instruction which characterizes a binding result and is sent by the server;
and sending the binding instruction to the Bluetooth device so that the Bluetooth device can display a binding result according to the binding instruction.
6. The method of claim 5, wherein prior to said sending the serial number of the bluetooth device and the user account to the server, the method further comprises:
acquiring Bluetooth broadcast information sent by the Bluetooth equipment, and judging whether the Bluetooth equipment is registered or not according to a flag bit in the Bluetooth broadcast information;
if not, acquiring the serial number of the Bluetooth device from the Bluetooth service characteristic value, and sending the serial number to the server so that the server can judge whether the serial number can be found in the system;
if the device code can be found, receiving a registration instruction and the device code returned by the server, and forwarding the registration instruction and the device code to the Bluetooth device, wherein the device code is generated by the server.
7. An information processing method, applied to a bluetooth device, the method comprising:
receiving a login signal sent by a user terminal;
transmitting a first password and a login request instruction corresponding to the login signal to the user terminal so that the user terminal transmits the first password to a server and the server verifies the first password, wherein the first password is obtained by performing a first operation on a device code by the Bluetooth device, and the device code is distributed to the Bluetooth device by the server;
Receiving a login verification request returned by the user terminal, wherein the login verification request comprises a verification result of verifying correctness and a second password, analyzing the second password to obtain an analyzed equipment code, and performing second operation on the second password by the equipment code through the server;
comparing the parsed device code with the device code stored by the device code;
and if the analyzed equipment code is consistent with the equipment code stored by the equipment code, sending a login success instruction to the user terminal.
8. The method according to claim 7, wherein after transmitting a first password and a login request instruction corresponding to the login signal to the user terminal so that the user terminal transmits the first password to a server and is authenticated by the server, the method further comprises:
receiving a verification result of the characterization verification failure returned by the user terminal;
and the Bluetooth equipment is disconnected with the user terminal, and the login request failure is displayed.
9. The method of claim 7, wherein after said sending a login success instruction to said user terminal, said method further comprises:
Receiving a plurality of parameter inquiry information sent by the user terminal, wherein each parameter inquiry information in the plurality of parameter inquiry information comprises a plurality of transmission parameter alternative options;
selecting a plurality of transmission parameter alternative options of each parameter inquiry information according to a Bluetooth protocol supported by the transmission parameter alternative options, so as to obtain transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information;
and returning the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
10. The method of claim 7, wherein after said sending a login success instruction to said user terminal, said method further comprises:
receiving a plurality of parameter inquiry information sent by the user terminal;
determining corresponding transmission parameters according to Bluetooth protocols supported by the parameter inquiry information of each parameter inquiry information in the plurality of parameter inquiry information;
and returning the transmission parameters corresponding to each parameter inquiry information in the plurality of parameter inquiry information to the user terminal.
11. An information processing method, characterized by being applied to a server, the method comprising:
Receiving account binding information and a first password sent by a user terminal, wherein the account binding information comprises a user account and a serial number of Bluetooth equipment, the first password is obtained by performing first operation on equipment codes by the Bluetooth equipment, and the equipment codes are distributed to the Bluetooth equipment by the server;
searching a serial number corresponding to the user account in a database of the user account, and comparing the searched serial number with the serial number in the account binding information;
analyzing the first password to obtain an analyzed device code, and comparing the analyzed device code with the device code corresponding to the account binding information in the server;
if the found serial number is consistent with the serial number in the account binding information, and the resolved equipment code is consistent with the equipment code corresponding to the account binding information in the server, generating a verification result representing that verification is correct and a second password, wherein the second password is obtained by performing a second operation on the equipment code by the server;
and sending the verification result and the second password to the user terminal.
12. An information processing apparatus, applied to a user terminal, for implementing interaction between the user terminal and a bluetooth device and between the user terminal and a server, the apparatus comprising:
The login signal sending module is used for sending a login signal to the Bluetooth equipment;
the first password receiving module is used for receiving a login request instruction and a first password returned by the Bluetooth device, wherein the first password is obtained by performing a first operation on a device code through the Bluetooth device, and the device code is distributed to the Bluetooth device by the server;
the first password sending module is used for sending account binding information and the first password to the server according to the login request instruction, and verifying whether the account binding information and the equipment code in the first password are correct or not by the server;
the second password receiving module is used for receiving a verification result which is transmitted by the server and used for characterizing and verifying correctness and a second password, wherein the second password is obtained by performing a second operation on the equipment code through the server;
the login verification sending module is used for sending a login verification request to the Bluetooth equipment so as to enable the Bluetooth equipment to verify whether login is successful or not, wherein the login verification request comprises a verification correct result and the second password;
and the login success receiving module is used for receiving a login success instruction returned by the Bluetooth equipment, wherein the login success instruction is returned after the second password is verified by the Bluetooth equipment.
13. An information processing apparatus, characterized by being applied to a bluetooth device, comprising:
the login signal receiving module is used for receiving a login signal sent by the user terminal;
the login request sending module is used for sending a first password and a login request instruction corresponding to the login signal to the user terminal so that the user terminal sends the first password to a server and the server verifies the first password, wherein the first password is obtained by performing a first operation on a device code by Bluetooth equipment, and the device code is distributed to the Bluetooth equipment by the server;
the second password analysis module is used for receiving a login verification request returned by the user terminal, wherein the login verification request comprises a verification result for verifying correctness and the second password, analyzing the second password to obtain an analyzed equipment code, and the second password is obtained by performing a second operation on the equipment code through the server;
the device code comparison module is used for comparing the parsed device code with the device code stored by the device code comparison module;
and the login success sending module is used for sending a login success instruction to the user terminal when the analyzed equipment code is consistent with the equipment code stored by the user terminal.
14. An information processing apparatus, characterized by being applied to a server, comprising:
the system comprises a binding information receiving module, a server and a binding information processing module, wherein the binding information receiving module is used for receiving account binding information and a first password which are sent by a user terminal, the account binding information comprises a user account and a serial number of Bluetooth equipment, the first password is obtained by performing first operation on equipment codes by the Bluetooth equipment, and the equipment codes are distributed to the Bluetooth equipment by the server;
the serial number comparison module is used for searching the serial number corresponding to the user account in the database of the serial number comparison module and comparing the searched serial number with the serial number in the account binding information;
the first password analysis module is used for analyzing the first password to obtain an analyzed device code, and comparing the analyzed device code with the device code corresponding to the account binding information in the server;
the second password generation module is used for generating a verification result representing correct verification and a second password when the found serial number is consistent with the serial number in the account binding information and the parsed equipment code is consistent with the equipment code corresponding to the account binding information in the server, wherein the second password is obtained by performing a second operation on the equipment code by the server;
And the second password sending module is used for sending the verification result and the second password to the user terminal.
15. An electronic device, comprising: a processor, a storage medium, and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor in communication with the storage medium via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the method of any one of claims 1-11 when executed.
16. A readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the method according to any of claims 1-11.
CN202010312222.2A 2020-04-20 2020-04-20 Information processing method, information processing device, electronic equipment and readable storage medium Active CN111641505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010312222.2A CN111641505B (en) 2020-04-20 2020-04-20 Information processing method, information processing device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010312222.2A CN111641505B (en) 2020-04-20 2020-04-20 Information processing method, information processing device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111641505A CN111641505A (en) 2020-09-08
CN111641505B true CN111641505B (en) 2023-04-25

Family

ID=72333206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010312222.2A Active CN111641505B (en) 2020-04-20 2020-04-20 Information processing method, information processing device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111641505B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598465B (en) * 2022-03-08 2024-05-17 潍柴动力股份有限公司 Data updating method and controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015101273A1 (en) * 2013-12-30 2015-07-09 腾讯科技(深圳)有限公司 Security verification method, and related device and system
CN105187369A (en) * 2015-06-05 2015-12-23 杭州华三通信技术有限公司 Data access method and data access device
CN105450614A (en) * 2014-09-01 2016-03-30 阿里巴巴集团控股有限公司 Server account login method, apparatus and system
CN106534105A (en) * 2016-11-03 2017-03-22 百度在线网络技术(北京)有限公司 Logging-in method and apparatus
CN109640326A (en) * 2018-11-16 2019-04-16 深圳绿米联创科技有限公司 Right management method, device, system and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015101273A1 (en) * 2013-12-30 2015-07-09 腾讯科技(深圳)有限公司 Security verification method, and related device and system
CN105450614A (en) * 2014-09-01 2016-03-30 阿里巴巴集团控股有限公司 Server account login method, apparatus and system
CN105187369A (en) * 2015-06-05 2015-12-23 杭州华三通信技术有限公司 Data access method and data access device
CN106534105A (en) * 2016-11-03 2017-03-22 百度在线网络技术(北京)有限公司 Logging-in method and apparatus
CN109640326A (en) * 2018-11-16 2019-04-16 深圳绿米联创科技有限公司 Right management method, device, system and mobile terminal

Also Published As

Publication number Publication date
CN111641505A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN108737418B (en) Identity authentication method and system based on block chain
US9519767B2 (en) Apparatus and method for authenticating a combination code using a quick response code
CN106302308B (en) Trust login method and device
JP4604253B2 (en) Web page safety judgment system
CN108052474B (en) Data format conversion method, device, equipment and computer readable storage medium
CN105392136A (en) Method and device for access to router based on two-dimensional code
CN102958022A (en) Short message verification method, device and system
CN112291271B (en) Method, system and medium for automatically logging in server by mobile equipment
CN105119722A (en) Identity verification method, equipment and system
CN112260929B (en) Content sharing method and device, terminal and storage medium
CN105141605A (en) Session method, web server and browser
CN111641505B (en) Information processing method, information processing device, electronic equipment and readable storage medium
CN111601366A (en) Network distribution method, device to be networked, auxiliary network distribution device and network distribution system
CN111262830B (en) Security authentication method, device, system, electronic equipment and storage medium
CN105577692A (en) Website login authentication method and device
CN106028326B (en) WiFi configuration method and device of smart watch
CN110858132B (en) Configuration security detection method and device for printing equipment
CN115967575A (en) HTTP request entrainment detection method and device, electronic equipment and storage medium
CN107483294B (en) Method and device for monitoring network request
CN106844073B (en) Method for diagnosing application, diagnosis client and system
CN111104629B (en) Verification method and device of dynamic two-dimensional code
CN107786420B (en) Message revocation method, message revocation server and user equipment
CN115529154A (en) Login management method, login management device, electronic device and readable storage medium
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
CN113037526B (en) Security detection method, terminal, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant