Shared wireless charger and charging method based on shared wireless charger

文档序号:1615184 发布日期:2020-01-10 浏览:6次 中文

阅读说明:本技术 共享无线充电器及基于共享无线充电器的充电方法 (Shared wireless charger and charging method based on shared wireless charger ) 是由 庄俊华 黎淼林 于 2019-09-16 设计创作,主要内容包括:本发明公开了一种共享无线充电器及基于共享无线充电器的充电方法,共享无线充电器包括AC/DC电源模块、低压差线性稳压器、带蓝牙功能的主控芯片、充电开关、密码按键和状态指示灯,AC/DC电源模块分别与低压差线性稳压器和充电开关连接,带蓝牙功能的主控芯片分别与低压差线性稳压器、充电开关、密码按键和状态指示灯连接,带蓝牙功能的主控芯片通过蓝牙接收移动终端下发的解锁指令或密码按键输入的解锁密码,输出高电平到充电开关,通过充电开关打开充电功能,对待充电设备进行充电。本发明支持微信公众号和微信小程序协议,也支持按键解锁功能,具有蓝牙免密解锁功能,能极大提高充电器的解锁功能,提高用户体验好感度。(The invention discloses a shared wireless charger and a charging method based on the shared wireless charger, wherein the shared wireless charger comprises an AC/DC power supply module, a low-voltage-difference linear voltage stabilizer, a main control chip with a Bluetooth function, a charging switch, a password key and a status indicator lamp, the AC/DC power supply module is respectively connected with the low-voltage-difference linear voltage stabilizer and the charging switch, the main control chip with the Bluetooth function is respectively connected with the low-voltage-difference linear voltage stabilizer, the charging switch, the password key and the status indicator lamp, the main control chip with the Bluetooth function receives an unlocking command sent by a mobile terminal or an unlocking password input by the password key through Bluetooth, outputs a high level to the charging switch, and charges a device to be charged by turning on the charging function through the charging switch. The invention supports the protocol of WeChat public numbers and WeChat small programs, also supports the key unlocking function, has the Bluetooth secret-free unlocking function, can greatly improve the unlocking function of the charger, and improves the user experience and the feeling.)

1. The utility model provides a sharing wireless charger, its characterized in that, includes AC/DC power module, low dropout linear regulator, takes bluetooth function's main control chip, charge switch, password button and status indicator lamp, AC/DC power module respectively with low dropout linear regulator and charge switch connect, take bluetooth function's main control chip respectively with low dropout linear regulator, charge switch, password button and status indicator lamp connect, take bluetooth function's main control chip to receive the unblock password of unblock instruction or password button input that mobile terminal issued through the bluetooth, export the high level to charge switch, through charge switch opens charge function, treats charging device and charges, and output control signal lights simultaneously status indicator lamp.

2. The shared wireless charger of claim 1, wherein a first pin of the low dropout regulator is connected to the positive voltage input terminal, a second pin of the low dropout regulator is connected to ground, and a fifth pin of the low dropout regulator is connected to the status indicator light.

3. The shared wireless charger according to claim 2, wherein the charging switch includes a fourteenth capacitor, a third resistor, a first MOS transistor, a fifteenth capacitor, a fourth resistor, a second MOS transistor, a second resistor, and a third MOS transistor, a source of the first MOS transistor is connected to the positive voltage input terminal, one end of the fourteenth capacitor, one end of the third resistor, and a source of the third MOS transistor, respectively, a second end of the fourteenth capacitor is grounded, a gate of the first MOS transistor is connected to the other end of the third resistor and one end of the fourth resistor, respectively, a drain of the first MOS transistor is connected to one end of the fifteenth capacitor, the positive voltage output terminal, and a drain of the third MOS transistor, respectively, a second end of the fifteenth capacitor is grounded, a drain of the second MOS transistor is connected to the other end of the fourth resistor, and a gate of the second MOS transistor is connected to an eleventh pin of the bluetooth master chip through the second resistor .

4. The shared wireless charger according to claim 1, wherein the password key comprises a first key, a second key, a third key and a fourth key, one end of the first key, one end of the second key, one end of the third key and one end of the fourth key are respectively connected to the second pin, the third pin, the fourth pin and the fourteenth pin of the bluetooth-enabled main control chip, and the other end of the first key, the other end of the second key, the other end of the third key and the other end of the fourth key are all grounded.

5. The shared wireless charger according to any one of claims 1 to 4, wherein the status indicator light comprises a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a fifteenth resistor, a first light emitting diode, a second light emitting diode, a third light emitting diode, a fourth light emitting diode, a fifth light emitting diode, a sixth light emitting diode, and a seventh light emitting diode, one end of the fifth resistor, one end of the sixth resistor, one end of the seventh resistor, one end of the eighth resistor, one end of the ninth resistor, one end of the tenth resistor, and one end of the fifteenth resistor are all connected to the fifth pin of the low dropout linear regulator, and the other end of the fifth resistor, the other end of the sixth resistor, the other end of the seventh resistor, the other end of the eighth resistor, the other end of the ninth resistor, the other end of the fifth resistor, the sixth resistor, the seventh resistor, the fifth resistor, the sixth resistor, the, The other end of the tenth resistor and the other end of the fifteenth resistor are respectively and correspondingly connected with the anode of the first light emitting diode, the anode of the second light emitting diode, the anode of the third light emitting diode, the anode of the fourth light emitting diode, the anode of the fifth light emitting diode, the anode of the sixth light emitting diode and the anode of the seventh light emitting diode, and the cathode of the first light emitting diode, the cathode of the second light emitting diode, the cathode of the third light emitting diode, the cathode of the fourth light emitting diode, the cathode of the fifth light emitting diode, the cathode of the sixth light emitting diode and the cathode of the seventh light emitting diode are respectively and correspondingly connected with the fifteenth pin, the twentieth pin, the twenty-first pin, the twenty-second pin, the twenty-third pin, the twenty-fourth pin and the twelfth pin of the master control chip with the Bluetooth function.

6. The shared wireless charger according to claim 1, further comprising an I2C communication Flash, an eleventh resistor, a twelfth resistor, a fourteenth resistor, a thirteenth resistor and an eighteenth capacitor, wherein a first pin of the I2C communication Flash is connected to one end of the eleventh resistor, a second pin of the I2C communication Flash is connected to one end of the twelfth resistor, a third pin of the I2C communication Flash is connected to one end of the fourteenth resistor, the other end of the eleventh resistor, the other end of the twelfth resistor, the other end of the fourteenth resistor and a fourth pin of the I2C communication Flash are all grounded, a fifth pin of the I2C communication Flash is connected to a tenth pin of the Bluetooth function main control chip, a sixth pin of the I2C communication Flash is connected to a ninth pin of the Bluetooth function main control chip, and a seventh pin of the I2C communication Flash is grounded through the thirteenth resistor, and an eighth pin of the I2C communication Flash is grounded through the eighteenth capacitor.

7. A charging method based on a shared wireless charger, wherein the shared wireless charger adopts the shared wireless charger of any one of claims 1 to 6, and the charging method based on the shared wireless charger comprises the following steps:

A) scanning a two-dimensional code on the shared wireless charger by using a mobile terminal;

B) the background automatically connects the Bluetooth of the shared wireless charger through the Bluetooth on the mobile terminal, and judges whether the WeChat Bluetooth public number is successfully connected, if so, the step C) is executed; otherwise, executing step D);

C) after the mobile terminal pays the charge package fee, receiving a public number unlocking command sent by the background, responding to the public number unlocking command, and executing the step G);

D) judging whether the WeChat Bluetooth small program is successfully connected, if so, executing the step E); otherwise, executing step F);

E) the mobile terminal receives the applet unlocking command sent by the background, responds to the applet unlocking command and executes the step G);

F) inputting a password through a password key, verifying the password correctly, and executing the step G);

G) and unlocking the charging function of the shared wireless charger, changing the state of a state indicator lamp, modifying a password sequence, and synchronizing and storing the password sequence of the background and the shared wireless charger.

Technical Field

The invention relates to the field of shared charging, in particular to a shared wireless charger and a charging method based on the shared wireless charger.

Background

The existing shared charger mainly uses keys to input passwords to unlock the charging function, the operation steps are complex, and the background and the shared charger have no communication function, so that the background and a client at the terminal of the shared charger are easily asynchronous and inconsistent in password sequence, and the unlocking failure is caused. A few parts of Bluetooth unlocking and charging functions can achieve the function of unlocking the charger by adopting single protocol communication of a WeChat public number or a WeChat applet, but only support the single communication protocol of the WeChat public number or the WeChat applet, so that part of user mobile phones which do not support the protocol fail to unlock and cannot normally unlock and charge the function.

Disclosure of Invention

The technical problem to be solved by the present invention is to provide a shared wireless charger and a charging method based on the shared wireless charger, which support the wechat public number and wechat applet protocol, also support the key unlocking function, have the bluetooth privacy-free unlocking function, can greatly improve the unlocking function of the charger, and improve the user experience.

The technical scheme adopted by the invention for solving the technical problems is as follows: the utility model provides a structure sharing wireless charger, includes AC/DC power module, low-dropout linear regulator, takes bluetooth function's main control chip, charge switch, password button and status indicator lamp, AC/DC power module respectively with low-dropout linear regulator and the switch connection that charges, take bluetooth function's main control chip respectively with low-dropout linear regulator, charge switch, password button and status indicator lamp connect, take bluetooth function's main control chip to receive the unblock password of unblock instruction or password button input that mobile terminal issued through the bluetooth, output high level arrives charge switch, through charge switch opens charge function, treats the battery charging outfit and charges, and output control signal lights simultaneously status indicator lamp.

In the shared wireless charger, a first pin of the low dropout regulator is connected with the positive voltage input terminal, a second pin of the low dropout regulator is grounded, and a fifth pin of the low dropout regulator is connected with the status indicator lamp.

In the shared wireless charger of the invention, the charging switch comprises a fourteenth capacitor, a third resistor, a first MOS transistor, a fifteenth capacitor, a fourth resistor, a second MOS transistor, a second resistor and a third MOS transistor, the source electrode of the first MOS tube is respectively connected with the positive voltage input terminal, one end of the fourteenth capacitor, one end of the third resistor and the source electrode of the third MOS tube, the other end of the fourteenth capacitor is grounded, the grid electrode of the first MOS tube is respectively connected with the other end of the third resistor and one end of the fourth resistor, the drain electrode of the first MOS tube is respectively connected with one end of the fifteenth capacitor, the positive voltage output end and the drain electrode of the third MOS tube, the other end of the fifteenth capacitor is grounded, the drain electrode of the second MOS tube is connected with the other end of the fourth resistor, and the grid electrode of the second MOS tube is connected with an eleventh pin of the master control chip with the Bluetooth function through the second resistor.

In the shared wireless charger, the password keys comprise a first key, a second key, a third key and a fourth key, one end of the first key, one end of the second key, one end of the third key and one end of the fourth key are respectively and correspondingly connected with a second pin, a third pin, a fourth pin and a fourteenth pin of the main control chip with the Bluetooth function, and the other end of the first key, the other end of the second key, the other end of the third key and the other end of the fourth key are all grounded.

In the shared wireless charger of the present invention, the status indicator light includes a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a fifteenth resistor, a first light emitting diode, a second light emitting diode, a third light emitting diode, a fourth light emitting diode, a fifth light emitting diode, a sixth light emitting diode, and a seventh light emitting diode, one end of the fifth resistor, one end of the sixth resistor, one end of the seventh resistor, one end of the eighth resistor, one end of the ninth resistor, one end of the tenth resistor, and one end of the fifteenth resistor are all connected to the fifth pin of the low dropout linear regulator, and the other end of the fifth resistor, the other end of the sixth resistor, the other end of the seventh resistor, the other end of the eighth resistor, the other end of the ninth resistor, the other end of the tenth resistor, and the other end of the fifteenth resistor respectively correspond to the anode of the first light emitting diode, the second light emitting diode, the eighth light, The anode of the second light emitting diode, the anode of the third light emitting diode, the anode of the fourth light emitting diode, the anode of the fifth light emitting diode, the anode of the sixth light emitting diode and the anode of the seventh light emitting diode are connected, and the cathode of the first light emitting diode, the cathode of the second light emitting diode, the cathode of the third light emitting diode, the cathode of the fourth light emitting diode, the cathode of the fifth light emitting diode, the cathode of the sixth light emitting diode and the cathode of the seventh light emitting diode are respectively connected with the fifteenth pin, the twentieth pin, the twenty-first pin, the twenty-second pin, the twenty-third pin, the twenty-fourth pin and the twelfth pin of the master control chip with the Bluetooth function in a corresponding mode.

The shared wireless charger further comprises an I2C communication Flash, an eleventh resistor, a twelfth resistor, a fourteenth resistor, a thirteenth resistor and an eighteenth capacitor, wherein a first pin of the I2C communication Flash is connected with one end of the eleventh resistor, a second pin of the I2C communication Flash is connected with one end of the twelfth resistor, a third pin of the I2C communication Flash is connected with one end of the fourteenth resistor, the other end of the eleventh resistor, the other end of the twelfth resistor, the other end of the fourteenth resistor and a fourth pin of the I2C communication Flash are all grounded, a fifth pin of the I2C communication Flash is connected with a tenth pin of the main control chip with the Bluetooth function, a sixth pin of the I2C communication Flash is connected with a ninth pin of the main control chip with the Bluetooth function, a seventh pin of the I2C communication Flash is grounded through the thirteenth resistor, and an eighth pin of the I2C communication Flash is grounded through the eighteenth capacitor.

The invention also relates to a charging method based on the shared wireless charger, wherein the shared wireless charger adopts any one of the shared wireless chargers, and the charging method based on the shared wireless charger comprises the following steps:

A) scanning a two-dimensional code on the shared wireless charger by using a mobile terminal;

B) the background automatically connects the Bluetooth of the shared wireless charger through the Bluetooth on the mobile terminal, and judges whether the WeChat Bluetooth public number is successfully connected, if so, the step C) is executed; otherwise, executing step D);

C) after the mobile terminal pays the charge package fee, receiving a public number unlocking command sent by the background, responding to the public number unlocking command, and executing the step G);

D) judging whether the WeChat Bluetooth small program is successfully connected, if so, executing the step E); otherwise, executing step F);

E) the mobile terminal receives the applet unlocking command sent by the background, responds to the applet unlocking command and executes the step G);

F) inputting a password through a password key, verifying the password correctly, and executing the step G);

G) and unlocking the charging function of the shared wireless charger, changing the state of a state indicator lamp, modifying a password sequence, and synchronizing and storing the password sequence of the background and the shared wireless charger.

The implementation of the sharing wireless charger and the charging method based on the sharing wireless charger has the following beneficial effects: the Bluetooth charger comprises an AC/DC power module, a low dropout regulator, a master control chip with a Bluetooth function, a charging switch, a password key and a status indicator lamp, wherein the master control chip with the Bluetooth function receives an unlocking command issued by a mobile terminal or an unlocking password input by the password key through Bluetooth, outputs a high level to the charging switch, turns on the charging function through the charging switch, and charges a device to be charged.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a schematic diagram of a shared wireless charger according to an embodiment of the present invention and a charging method based on the same;

FIG. 2 is a schematic circuit diagram of the shared wireless charger in the embodiment;

fig. 3 is a flowchart of a charging method based on a shared wireless charger in the embodiment.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In an embodiment of the present invention, a shared wireless charger and a charging method based on the shared wireless charger are shown in fig. 1. In fig. 1, the shared wireless charger includes an AC/DC power module 1, a low dropout regulator U2, a main control chip U1 with a bluetooth function, a charging switch 4, a password key 5 and a status indicator lamp 6, where the AC/DC power module 1 is connected to the low dropout regulator U2 and the charging switch 4 respectively, the main control chip U1 with the bluetooth function is connected to the low dropout regulator U2, the charging switch 4, the password key 5 and the status indicator lamp 6 respectively, the main control chip U1 with the bluetooth function receives an unlocking command issued by a mobile terminal (a mobile phone or a tablet computer, etc.) or an unlocking password input by the password key 5 through bluetooth, outputs a high level to the charging switch 4, turns on the charging function through the charging switch 4, charges a device to be charged, and outputs a control signal to turn on the status indicator lamp 6 at the same time. The shared wireless charger has the functions of Bluetooth unlocking and button unlocking, supports the protocol of WeChat public numbers and WeChat small programs, also supports the button unlocking function, has the function of Bluetooth secret-free unlocking, can greatly improve the unlocking function of the charger, and improves the user experience and the sensitivity.

Fig. 2 is a schematic circuit diagram of the shared wireless charger in this embodiment, in fig. 2, a first pin of the low dropout regulator U2 is connected to the positive voltage input terminal Vin +, a second pin of the low dropout regulator U2 is grounded, and a fifth pin of the low dropout regulator U2 is connected to the status indicator lamp 6. The AC/DC power supply module 1 is equivalent to an external module, is a power adapter and is used for providing 5V/2A direct current power supply for the charging control circuit, and a test point (a positive voltage input terminal Vin +/a negative voltage input terminal Vin-) in the circuit is a terminal of the AC/DC power supply module 1 connected to the charging control circuit.

The charging switch 4 comprises a fourteenth capacitor C14, a third resistor R3, a first MOS transistor Q1, a fifteenth capacitor C15, a fourth resistor R4, a second MOS transistor Q2, a second resistor R2 and a third MOS transistor Q3, the source of the first MOS transistor Q1 is connected to the positive voltage input terminal Vin +, one end of the fourteenth capacitor C14, one end of the third resistor R3 and the source of the third MOS transistor Q3, the other end of the fourteenth capacitor C14 is grounded, the gate of the first MOS transistor Q1 is connected to the other end of the third resistor R3 and one end of the fourth resistor R4, the drain of the first MOS transistor Q1 is connected to one end of the fifteenth capacitor C15, the positive voltage output terminal Vout + and the drain of the third MOS transistor Q3, the other end of the fifteenth capacitor C15 is grounded, the drain of the second MOS transistor Q2 is connected to the other end of the fourth resistor R4, and the gate of the second MOS transistor Q2 is connected to the eleventh pin of the bluetooth-enabled main control chip U1 through the second resistor R2. In this embodiment, the first MOS transistor Q1 and the third MOS transistor Q3 are both P-channel MOS transistors, and the second MOS transistor Q2 is an N-channel MOS transistor.

The password key 5 comprises a first key S1, a second key S2, a third key S3 and a fourth key S4, wherein one end of the first key S1, one end of the second key S2, one end of the third key S3 and one end of the fourth key S4 are respectively connected with a second pin, a third pin, a fourth pin and a fourteenth pin of a main control chip U1 with a Bluetooth function, and the other end of the first key S1, the other end of the second key S2, the other end of the third key S3 and the other end of the fourth key S4 are all grounded GND.

When the main control chip U1 with the bluetooth function receives an unlocking instruction issued by the mobile terminal through bluetooth, or receives correct unlocking passwords input by the first key S1, the second key S2, the third key S3 and the fourth key S4, and then outputs a high level to TL _ B1, the second MOS transistor Q2 is turned on, so that the first MOS transistor Q1 and the third MOS transistor Q3 are turned on, and a charging current is charged to a device to be charged through the first MOS transistor Q1 and the third MOS transistor Q3; when the charging time is over, the main control chip U1 with the bluetooth function outputs a low level to TL _ B1, the first MOS transistor Q1 is turned off, the second MOS transistor Q2 and the third MOS transistor Q3 are turned off, the charging current is turned off, and the charging function is stopped.

The status indicator light 6 includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a fifteenth resistor R15, a first light emitting diode LED1, a second light emitting diode LED2, a third light emitting diode LED3, a fourth light emitting diode LED3, a fifth light emitting diode LED3, a sixth light emitting diode LED3, and a seventh light emitting diode LED3, wherein one end of the fifth resistor R3, one end of the sixth resistor R3, one end of the seventh resistor R3, one end of the eighth resistor R3, one end of the ninth resistor R3, one end of the tenth resistor R3, and one end of the fifteenth resistor R3 are all connected to a fifth pin of the low dropout linear regulator U3, the other end of the fifth resistor R3, the other end of the sixth resistor R3, the other end of the seventh resistor R3, the other end of the eighth resistor R3, the other end of the ninth resistor R3, the fifteenth resistor R3, the anode of the ninth resistor R3, the anode of the ninth, An anode of the second light emitting diode LED2, an anode of the third light emitting diode LED3, an anode of the fourth light emitting diode LED4, an anode of the fifth light emitting diode LED5, an anode of the sixth light emitting diode LED6 and an anode of the seventh light emitting diode LED7 are connected, and a cathode of the first light emitting diode LED1, a cathode of the second light emitting diode LED2, a cathode of the third light emitting diode LED3, a cathode of the fourth light emitting diode LED4, a cathode of the fifth light emitting diode LED5, a cathode of the sixth light emitting diode LED6 and a cathode of the seventh light emitting diode LED7 are respectively connected with a fifteenth pin, a twentieth pin, a twenty-first pin, a twenty-second pin, a twenty-third pin, a twenty-fourth pin and a twelfth pin of the bluetooth-enabled main control chip U1.

Vin +/Vin-is input by the AC/DC power module 1, voltage is reduced by a low dropout regulator U2 to provide power for a main control chip U1 with a Bluetooth function, the main control chip U1 with the Bluetooth function receives an unlocking instruction issued by a mobile terminal through Bluetooth, or receives correct unlocking passwords input by a first key S1, a second key S2, a third key S3 and a fourth key S4, then high level is output to TL _ B1, a charging function is turned on to charge equipment needing charging, and meanwhile, an LED control signal is output to light charging indicator lamps (a first LED1, a second LED2, a third LED3, a fourth LED4, a fifth LED5, a sixth LED6 and a seventh LED 7).

In this embodiment, the shared wireless charger further includes an I2C communication Flash U3, an eleventh resistor R11, a twelfth resistor R12, a fourteenth resistor R14, a thirteenth resistor R13, and an eighteenth capacitor C18, wherein the I2C communication Flash U3 is used for storing information that needs to be stored by a user, a first pin of the I2C communication Flash U3 is connected with one end of the eleventh resistor R11, a second pin of the I2C communication Flash U C is connected with one end of the twelfth resistor R C, a third pin of the I2C communication Flash U C is connected with one end of the fourteenth resistor R C, the other end of the eleventh resistor R C, the other end of the twelfth resistor R C, the other end of the fourteenth resistor R C, a fourth pin of the I2C communication Flash U C are all grounded, a fifth pin of the I2C communication Flash U C is connected with a tenth pin of the main control chip U C with bluetooth function, and a ninth pin of the Flash chip C is connected with the ninth pin of the bluetooth chip C, the seventh pin of the I2C communication Flash U3 is grounded through a thirteenth resistor R13, and the eighth pin of the I2C communication Flash U3 is grounded to GND through an eighteenth capacitor C18.

The shared wireless charger supports the micro-letter public number and the micro-letter small program dual-protocol communication, and improves the reliability of Bluetooth communication. Have the password unblock function is exempted from in bluetooth unblock, improves the unblock reliability.

The embodiment also relates to a charging method based on a shared wireless charger, where the shared wireless charger is the shared wireless charger in the embodiment, and a flowchart of the charging method based on the shared wireless charger is shown in fig. 3. In fig. 3, the charging method based on the shared wireless charger includes the following steps:

step S01 scans the two-dimensional code on the shared wireless charger using the mobile terminal: in this step, the user scans the two-dimensional code on the shared wireless charger by using the mobile terminal.

Step S02 background automatically connects the Bluetooth of the shared wireless charger through the Bluetooth on the mobile terminal, and judges whether the WeChat Bluetooth public number is successfully connected: in the step, the background automatically connects the Bluetooth of the shared wireless charger through the Bluetooth on the mobile terminal, judges whether the WeChat Bluetooth public number is successfully connected, and if the judgment result is yes, executes the step S03; otherwise, step S04 is executed.

Step S03, after the mobile terminal pays the fee of the charging package, receiving a public number unlocking command sent by the background, and responding to the public number unlocking command: in the step, after a user pays the charge package fee through the mobile terminal, the background sends a public number unlocking command through the WeChat public number, and after receiving the public number unlocking command, the mobile terminal responds to the public number unlocking command and sends the public number unlocking command to the shared wireless charger. After the present step is executed, step S07 is executed.

Step S04 determines whether the wechat bluetooth applet is successfully connected: in this step, whether the WeChat Bluetooth applet is successfully connected is judged, and if the judgment result is yes, step S05 is executed; otherwise, step S06 is executed.

Step S05, the mobile terminal receives the applet unlocking command sent by the background, and responds to the applet unlocking command: in the step, the mobile terminal receives the applet unlocking command sent by the background, responds to the applet unlocking command, and sends the applet unlocking command to the shared wireless charger.

Step S06, inputting a password through a password button, the password verification is correct: in this step, the password is input through the password key, and whether the password is correct is verified, if the password is correct, step S07 is executed; otherwise, prompting the password input error.

Step S07 unlocks the charging function of the shared wireless charger, changes the state of the status indicator light, modifies the password sequence, synchronizes the background and the password sequence of the shared wireless charger, and saves: in the step, the charging function of the shared wireless charger is unlocked, the state of the state indicator lamp is changed, the password sequence is modified, meanwhile, the background sends the key password sequence to the shared wireless charger, the background and the password sequence of the shared wireless charger are synchronized, the reliability of key unlocking is ensured, and when the Bluetooth of a user is occupied or the Bluetooth communication is inconvenient, the charging function can be unlocked by inputting the password through the keys.

The software supports the optimization of a double communication protocol, so that the reliability of Bluetooth unlocking is greatly improved; meanwhile, the key decryption function is reserved and used as a supplement for charging and unlocking, and when the Bluetooth of the user is occupied or the communication is inconvenient, the user can be ensured to unlock the charging function.

In a word, the invention supports the dual-protocol communication of the WeChat public number and the WeChat applet, and improves the reliability of Bluetooth communication. Have the password unblock function is exempted from in bluetooth unblock, improves the unblock reliability.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种共享陪护床管理系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!