Method, device, storage medium, equipment and system for burning information

Through wireless burning transmitting equipment, receive configuration information and burning instructions, establish a Bluetooth connection and forwarding instructions, solve the problems of cumbersome and inefficient operation when burning information by BLE equipment, and achieve efficient and fast burning operations.

CN114666775BActive Publication Date: 2025-05-09SHANGHAI MXCHIP INFORMATION TECHN
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210264545.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-17
Publication Date
2025-05-09
Estimated Expiration
2042-03-17

AI Technical Summary

Technical Problem

The prior art has cumbersome operation process when burning information in large batches of BLE equipment, low upgrade efficiency, and lacks effective solutions.

Method used

Through the wireless recording transmitting device, the configuration information from the first terminal device is received, the Bluetooth connection is established, and the recording instruction is received, and the recording is forwarded to the second terminal device, so that it can perform the recording operation.

Benefits of technology

It realizes efficient and fast information burning of BLE equipment, simplifies the operation process, and improves burning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114666775B_ABST
    Figure CN114666775B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, storage medium, equipment and system for burning information. The method is applied to a wireless burning transmitting device, which includes: a first wireless network chip and a second wireless network chip. The method includes: receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip; establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information; receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device; forwarding the burning instruction to the second terminal device so that the second terminal device burns the target type information. The present invention solves the technical problems of cumbersome operation process and low burning efficiency when burning BLE devices in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, storage medium, equipment and system for burning information. Background Art

[0002] Over-the-Air (OTA) technology is a technology that enables remote management of mobile terminal devices through the air interface of mobile communications. With the widespread application of OTA technology, mobile communications can not only provide voice and data services, but also provide new service downloads, thereby allowing application and content service providers to be free from platform limitations and continuously develop services that are closer to user needs.

[0003] In the related scheme, when remotely managing Bluetooth Low Energy (BLE) devices, a BLE connection is usually established between the BLE device and the mobile terminal application (Application, APP), and then the OTA function of the BLE device is realized by executing the OTA task through the mobile terminal APP. However, when a large number of BLE devices need to be burned, the existing OTA technology has technical problems such as cumbersome operation process and low upgrade efficiency when burning information.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method, apparatus, storage medium, device and system for burning information, so as to at least solve the technical problems in the related art of complicated operation process and low burning efficiency when burning BLE devices.

[0006] According to one embodiment of the present application, a method for burning information is provided, the method is applied to a wireless burning transmitting device, the wireless burning transmitting device includes: a first wireless network chip and a second wireless network chip, the method includes: receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip; based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device; receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device; forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0007] Optionally, based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device includes: sending the first configuration information via the first wireless network chip so that the second terminal device enters the target mode when it monitors the first configuration information; using the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0008] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0009] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0010] Optionally, the method for burning information further includes: adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0011] Optionally, the information carried in the burning instruction includes: target type information, wherein the target type information includes at least one of the following: identity information of the second terminal device, product serial number information of the second terminal device.

[0012] According to one embodiment of the present application, a device for burning information is also provided, which is applied to a wireless burning transmitting device, and the wireless burning transmitting device includes: a first wireless network chip and a second wireless network chip, and the device includes: a first receiving module, used to receive first configuration information from a first terminal device, wherein the first configuration information is used to configure the first Bluetooth characteristic data of the first wireless network chip; a connection module, used to establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information; a second receiving module, used to receive a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device; a forwarding module, used to forward the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0013] Optionally, the connection module is also used to: send first configuration information via the first wireless network chip so that the second terminal device enters the target mode when it monitors the first configuration information; use the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0014] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0015] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0016] Optionally, the device for burning information further includes: an adjustment module, used to adjust second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0017] Optionally, the information carried in the burning instruction includes: target type information, wherein the target type information includes at least one of the following: identity information of the second terminal device, product serial number information of the second terminal device.

[0018] According to one embodiment of the present application, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute any of the above-mentioned methods for upgrading a module when running.

[0019] According to one embodiment of the present application, a wireless burning transmission device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above-mentioned methods for upgrading the module.

[0020] According to one embodiment of the present application, a wireless burning system is also provided, including a first terminal device, a second terminal device and the above-mentioned wireless burning transmitting device.

[0021] In an embodiment of the present application, by receiving first configuration information from a first terminal device, and then establishing a Bluetooth connection between a second wireless network chip and a second terminal device based on the first configuration information, and then receiving a burning instruction from the first terminal device, and finally forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information, the BLE device can be burned with high efficiency and speed, thereby solving the technical problems of complicated operation process and low burning efficiency when burning BLE devices in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 is a schematic diagram of an optional wireless burning system provided according to an embodiment of the present application;

[0024] Figure 2 is a flow chart of a method for upgrading a module according to one embodiment of the present application;

[0025] Figure 3 is a schematic diagram of a method for upgrading a module according to one embodiment of the present application;

[0026] Figure 4 is a flow chart of a method for burning information according to one embodiment of the present application;

[0027] Figure 5 is a schematic diagram of a method for burning information according to one embodiment of the present application;

[0028] Figure 6 is a flow chart of a method for testing a terminal device according to one embodiment of the present application;

[0029] Figure 7 is a schematic diagram of a method for testing a terminal device according to one embodiment of the present application;

[0030] Figure 8 is a structural block diagram of an apparatus for upgrading a module according to one embodiment of the present application;

[0031] Fig. 9 is a structural block diagram of a device for burning information according to one embodiment of the present application;

[0032] Fig.10 is a structural block diagram of an apparatus for testing terminal equipment according to one embodiment of the present application;

[0033] Fig.11 It is a structural block diagram of a wireless burning system according to one embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] Remote management of BLE devices through OTA includes module upgrades, information burning, and testing of BLE devices. In related solutions, when remotely managing BLE devices, a BLE connection is usually established between the BLE device and the mobile terminal APP, and then the OTA function of the BLE device is realized by executing the OTA task through the mobile terminal APP.

[0037] In this OTA method, the BLE device can act as a peripheral device (Peripheral). By pressing a button or other methods, the BLE device can enter the OTA mode, and then search for the BLE device with a specific name in the mobile terminal APP and establish a connection, and then perform OTA interaction with the BLE device. However, this method is usually suitable for the management of a single BLE device. When it is necessary to upgrade the module, burn information, or test the product of a large number of BLE devices produced in the factory, there are the following defects: (1) A specific human-computer interaction method is required to make the BLE device enter the OTA mode. The entire operation process is relatively complicated, and different BLE devices may need different teaching processes to enter the OTA mode. Therefore, the OTA management method cannot be universal for all BLE devices. (2) Due to the large number of BLE devices in the factory, it is difficult to determine which BLE device is currently connected through the mobile terminal APP, which results in the BLE device operated by the mobile terminal APP not necessarily being the BLE device that the user wants to operate, resulting in OTA management errors. (3) Due to the cache of the mobile terminal APP, the searched BLE device list may be inaccurate, which makes it difficult to operate the BLE device.

[0038] In summary, the current technical solutions for remote management of large quantities of BLE devices have technical problems such as cumbersome operation process and low management efficiency.

[0039] According to one embodiment of the present application, an embodiment of a method for burning information is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0040] The method embodiment can be executed in a wireless burning system. The wireless burning system includes: a wireless burning transmitting device and multiple terminal devices. The multiple terminal devices may include a first terminal device and a second terminal device. The first terminal device can remotely manage the second terminal device through the wireless burning transmitting device. Figure 1 This is a schematic diagram of an optional wireless burning system provided according to an embodiment of the present application, wherein the wireless burning transmitting device can be a dedicated wireless burning transmitting gun, i.e., a LOTA gun, and the first terminal device can be a personal computer (PC) or a mobile terminal. The first terminal device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile Internet device (MID) and other mobile terminals. The second terminal device is a BLE device. Specifically, the second terminal device can be a complete product device, such as a smart home device (for example, a smart air conditioner, a smart washing machine, a smart socket, a smart lamp); the second terminal device can also be a semi-finished product of a module integrated printed circuit board assembly (PCBA). For example, the module PCBA semi-finished product is a circuit board that can be directly installed in the complete product device, and the circuit board can provide a standard power interface.

[0041] Through the method of the embodiment of the present application, the wireless burning transmitting device can receive configuration information from the first terminal device, and based on the configuration information, a Bluetooth connection can be established with the second terminal device. After the Bluetooth connection is established, the wireless burning transmitting device can receive remote management instructions from the first terminal device, and then forward them to the second terminal device, thereby finally realizing remote management of the second terminal device.

[0042] For example, after the wireless burning transmitter establishes a Bluetooth connection with the second terminal device based on the configuration information, it can receive an upgrade instruction from the first terminal device, and then forward the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module in the built-in module.

[0043] For another example, after the wireless burning transmitting device establishes a Bluetooth connection with the second terminal device based on the configuration information, it can receive a burning instruction from the first terminal device, and then forward the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0044] For another example, after the wireless burning transmitting device establishes a Bluetooth connection with the second terminal device based on the configuration information, it can receive a test instruction from the first terminal device, and then forward the test instruction to the second terminal device, so that the second terminal device performs a target type test.

[0045] The internal main structures of the first terminal device and the second terminal device are basically similar. The internal main structure of the first terminal device will be described below as an example, and the internal main structure of the second terminal device will not be described in detail.

[0046] The first terminal device may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the first terminal device may also include a transmission device, an input and output device, and a display device for communication functions. It will be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the first terminal device. For example, the first terminal device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0047] The memory can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the methods described in the embodiments of the present application, and the processor executes various functional applications and data processing by running the computer programs stored in the memory, that is, implementing the methods described in the embodiments of the present application. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0048] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0049] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0050] The method in the embodiment of the present application can be applied to a wireless burning transmitting device, and the wireless burning transmitting device includes: a first wireless network chip and a second wireless network chip.

[0051] The above-mentioned wireless burning transmitter device is a wireless burning tool, such as a wireless burning transmitter gun. The first wireless network chip and the second wireless network chip can be integrated in the wireless burning transmitter gun, wherein the first wireless network chip is a BLE transmitter, and the transmission distance of the wireless burning transmitter gun can be controlled by adjusting the transmission power and radio frequency antenna parameters of the first wireless network chip. The second wireless network chip is a BLE controller, which can be used to establish a Bluetooth connection with a BLE device to complete the operation instructions sent by the first terminal device. The BLE controller is a chip with a normal BLE communication distance, which is mainly used to establish a Bluetooth connection with a BLE device to achieve data interaction.

[0052] Figure 2 is a flow chart of a method for upgrading a module according to one embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:

[0053] Step S21, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of a first wireless network chip;

[0054] Optionally, before receiving the first configuration information from the first terminal device, a communication connection between the wireless burning transmitter and the first terminal device is established using a universal asynchronous receiver / transmitter (UART). Specifically, UART is a universal serial data bus that can communicate bidirectionally and can achieve full-duplex transmission and reception. The user can run control software on the first terminal device to control the wireless burning transmitter to complete the communication interaction between the first terminal device and the second terminal device, thereby realizing a series of management operations of the user on the second terminal device.

[0055] The first configuration information is BLE broadcast data, which can carry customized encrypted data and can be used to configure the first Bluetooth characteristic data of the BLE transmitter in the wireless burning transmitter. The first configuration information also includes the characteristic data of the wireless burning transmitter to start the service. The characteristic data sent by the first terminal device to the wireless burning transmitter each time is different, thereby ensuring the security and uniqueness of data transmission.

[0056] Step S22: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0057] Optionally, the first wireless network chip is configured based on the first configuration information, and the second wireless network chip is controlled to scan the second terminal device.

[0058] For example, after the wireless burning transmitter receives the first configuration information, the transmission content of the BLE transmitter is configured based on the first configuration information, and the BLE controller is controlled to start scanning the BLE device.

[0059] Specifically, the implementation process of establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information can refer to the further introduction to the embodiment of the present application, which will not be described in detail.

[0060] Step S23, receiving an upgrade instruction from the first terminal device, wherein the upgrade instruction is used to upgrade at least one module in the built-in modules of the second terminal device;

[0061] Optionally, the information carried in the upgrade instruction includes: identification information, file information and verification information, wherein the identification information is used to indicate at least one module, the file information is the upgrade file corresponding to at least one module, and the verification information is used to verify whether the upgrade file is complete.

[0062] For example, the identification information in the upgrade instruction is the number of at least one module to be upgraded in the BLE device, the file information includes at least one OTA file corresponding to the module to be upgraded, and the verification information is the hash value of the OTA file, which is used to verify whether the OTA file is complete.

[0063] Step S24: forwarding the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.

[0064] Optionally, after forwarding the upgrade instruction to the second terminal device, the second terminal device verifies the upgrade instruction, and when the verification passes, the second terminal device upgrades at least one module.

[0065] For example, after receiving the OTA file in the upgrade instruction, the BLE device calculates the hash value of the OTA file and compares the calculation result with the verification information in the upgrade instruction, and determines whether the received OTA file is complete based on the comparison result. When the calculation result is the same as the verification information, the verification passes, and at least one module in the built-in module in the BLE device can be upgraded based on the upgrade instruction.

[0066] Through the above steps S21 to S24, by receiving the first configuration information from the first terminal device, and then based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, and then receiving the upgrade instruction from the first terminal device, and forwarding the upgrade instruction to the second terminal device, at least one module of the built-in module in the BLE device can be upgraded efficiently and quickly.

[0067] The method for upgrading the module described in the above embodiment is further introduced below.

[0068] Optionally, in step S22, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information includes:

[0069] Step S221, sending first configuration information via the first wireless network chip, so that the second terminal device enters the target mode when monitoring the first configuration information;

[0070] Specifically, the first configuration information is broadcasted externally through the first wireless network chip, so that the second terminal device monitors the first configuration information within a preset time period before powering on and enters the target mode.

[0071] Step S222, using the second wireless network chip to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode;

[0072] For example, the second Bluetooth characteristic data is a BLE broadcast packet that protects the LOTA characteristic.

[0073] Step S223: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0074] Specifically, the BLE controller in the wireless burning transmitting device receives the second Bluetooth characteristic data, and establishes a Bluetooth connection with the BLE device based on the second Bluetooth characteristic data, so that the PC can interact with the BLE device through the established Bluetooth connection for data and commands. The basic communication protocol used in the Bluetooth connection between the BLE controller and the BLE device is the Generic Attribute Profile (GATT).

[0075] Optionally, a notification message is returned to the first terminal device, wherein the notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0076] Based on the above steps S221 to S223, the first configuration information is sent via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information, and then uses the second wireless network chip to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode. Finally, based on the second Bluetooth characteristic data, a Bluetooth connection is established between the second wireless network chip and the second terminal device. The Bluetooth connection can be quickly established for subsequent data interaction with the BLE device, thereby improving the efficiency of the upgrade operation.

[0077] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0078] Among them, a Bluetooth peripheral device is a hardware device installed outside a computer host, which is connected to the computer host through an established Bluetooth connection to provide and expand a variety of computer functions.

[0079] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0080] For example, the BLE transmitter in the wireless burning transmitting device sends a BLE broadcast packet to the outside, and the BLE broadcast packet carries the first Bluetooth characteristic data. The BLE device listens to the BLE broadcast packet within the first 200 milliseconds after power-on. If the BLE device receives the broadcast data packet in this special format, it enters the LOTA mode.

[0081] Optionally, the above method for upgrading the module further includes:

[0082] Step S25, adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0083] By adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data is reduced. Only the BLE devices within the transmission range of the BLE transmitter in the wireless burning device can receive the first Bluetooth characteristic data, thereby achieving precise control of the transmission distance and reducing the impact on other BLE devices.

[0084] For example, by adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data can be controlled to about 15 cm, so that the BLE device can only receive the first Bluetooth characteristic data at a very close distance from the wireless burning transmitter, thereby achieving precise control of the communication distance. As a standard device, the BLE device does not need to make any adjustments to the RF, nor does it need to calculate the distance through complex signal strength. It can directly achieve accurate positioning based on the transmission distance of the BLE transmitter in the wireless burning transmitter.

[0085] Combine the following Figure 3 The method for upgrading the module in the above embodiment is introduced.

[0086] Figure 3 is a schematic diagram of a method for upgrading a module according to one embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0087] Step S301, sending first configuration information;

[0088] The first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip.

[0089] Step S302, configuring the first wireless network chip based on the first configuration information, and controlling the second wireless network chip to start scanning the second terminal device;

[0090] Step S303, sending first configuration information via the first wireless network chip;

[0091] Step S304, when the first configuration information is monitored, entering the target mode;

[0092] Step S305, sending the second Bluetooth characteristic data in the target mode;

[0093] Step S306: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data;

[0094] Step S307, returning a notification message to the first terminal device;

[0095] The notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0096] Step S308, adjusting the second configuration information of the first wireless network chip;

[0097] The second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0098] Step S309, sending an upgrade instruction;

[0099] The upgrade instruction is used to upgrade at least one module in the built-in module of the second terminal device;

[0100] Step S310, forwarding the upgrade instruction to the second terminal device;

[0101] Step S311: upgrading at least one module based on the upgrading instruction.

[0102] Based on the above steps S301 to S313, by receiving the first configuration information from the first terminal device, and then based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, and then receiving the upgrade instruction from the first terminal device, the upgrade instruction is forwarded to the second terminal device, so that the second terminal device upgrades at least one module, and at least one module of the built-in module in the BLE device can be upgraded efficiently and quickly.

[0103] Specifically, the wireless burning transmitter device is a wireless burning transmitter gun, the first terminal device is a PC, and the second terminal device is a complete product device, such as a smart washing machine, to introduce the above-mentioned method of upgrading the module. The smart washing machine includes multiple processors to be upgraded. In related schemes, the upgrade of the smart washing machine requires upgrading the entire device itself, the operation process is cumbersome, and the upgrade cost is high. In the embodiment of the present application, multiple modules of the built-in module of the smart washing machine can be customized numbered, and the PC can upgrade any module of the built-in module of the smart washing machine through the wireless burning transmitter gun. The wireless burning transmitter gun receives the first configuration information of the PC through UART, and establishes a Bluetooth connection between the BLE controller and the smart washing machine based on the first configuration information. After the Bluetooth connection is established, the PC is used to send an upgrade instruction to the wireless burning transmitter gun, and the wireless burning transmitter gun forwards the upgrade instruction to the smart washing machine through the Bluetooth connection established with the smart washing machine. The smart washing machine upgrades at least one module in the built-in module according to the upgrade instruction.

[0104] Specifically, taking the wireless burning transmitter device as a wireless burning transmitter gun, the first terminal device as a PC, and the second terminal device module as a semi-finished PCBA as an example, the above-mentioned method for upgrading the module is introduced. In the embodiment of the present application, multiple modules of the built-in module of the PCBA semi-finished product can be custom numbered, and the PC can upgrade any module of the built-in module of the PCBA semi-finished product through the wireless burning transmitter gun. The wireless burning transmitter gun receives the first configuration information of the PC via UART, and establishes a Bluetooth connection between the BLE controller and the PCBA semi-finished product based on the first configuration information. After the Bluetooth connection is established, the PC is used to send an upgrade instruction to the wireless burning transmitter gun, and the wireless burning transmitter gun forwards the upgrade instruction to the PCBA semi-finished product through the Bluetooth connection established with the PCBA semi-finished product, and the PCBA semi-finished product upgrades at least one module in the built-in module according to the upgrade instruction.

[0105] Figure 4 is a flow chart of a method for burning information according to one embodiment of the present application. Figure 4 As shown, the process includes the following steps:

[0106] Step S41, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of a first wireless network chip;

[0107] Optionally, before receiving the first configuration information from the first terminal device, a communication connection with the first terminal device is established using UART. Specifically, UART is a universal serial data bus that can communicate bidirectionally and can achieve full-duplex transmission and reception. The user can run control software on the first terminal device to control the wireless burning transmitter to complete the communication interaction between the first terminal device and the second terminal device, thereby realizing a series of management operations of the user on the second terminal device.

[0108] The first configuration information is BLE broadcast data, which can carry customized encrypted data and can be used to configure the first Bluetooth characteristic data of the BLE transmitter in the wireless burning transmitter. The first configuration information also includes the characteristic data of the wireless burning transmitter to start the service. The characteristic data sent by the first terminal device to the wireless burning transmitter each time is different, thereby ensuring the security and uniqueness of data transmission.

[0109] Step S42: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0110] Optionally, the first wireless network chip is configured based on the first configuration information, and the second wireless network chip is controlled to scan the second terminal device.

[0111] For example, after the wireless burning transmitter receives the first configuration information, the transmission content of the BLE transmitter is configured based on the first configuration information, and the BLE controller is controlled to start scanning the BLE device.

[0112] Specifically, the implementation process of establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information can refer to the further introduction to the embodiment of the present application, which will not be described in detail.

[0113] Step S43, receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device;

[0114] The information carried in the burning instruction includes: target type information, wherein the target type information includes at least one of the following: identity information of the second terminal device, and product serial number information of the second terminal device.

[0115] For example, the identity information of the second terminal device may be a Media Access Control Address (MAC) or a product serial number (SN).

[0116] Step S44: forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0117] Based on the above steps S41 to S44, by receiving the first configuration information from the first terminal device, and then based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, then receiving the burning instruction from the first terminal device, and finally forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information, the BLE device can be efficiently and quickly burned with information.

[0118] The method for burning information described in the above embodiment is further introduced below.

[0119] Optionally, in step S42, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information includes:

[0120] Step S421, sending first configuration information via the first wireless network chip, so that the second terminal device enters the target mode when monitoring the first configuration information;

[0121] Specifically, the first configuration information is broadcasted externally through the first wireless network chip, so that the second terminal device monitors the first configuration information within a preset time period before powering on and enters the target mode.

[0122] Step S422, using the second wireless network chip to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode;

[0123] For example, the second Bluetooth characteristic data is a BLE broadcast packet that protects the LOTA characteristic.

[0124] Step S423: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0125] Specifically, the BLE controller in the wireless burning transmitting device receives the second Bluetooth characteristic data, and establishes a Bluetooth connection with the BLE device based on the second Bluetooth characteristic data, so that the PC can interact with the BLE device through the established Bluetooth connection for data and commands. The basic communication protocol used for the Bluetooth connection between the BLE controller and the BLE device is GATT.

[0126] Optionally, a notification message is returned to the first terminal device, wherein the notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0127] Based on the above steps S421 to S423, the first configuration information is sent via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information, and then uses the second wireless network chip to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode. Finally, based on the second Bluetooth characteristic data, a Bluetooth connection is established between the second wireless network chip and the second terminal device. The Bluetooth connection can be quickly established for subsequent data interaction with the BLE device, thereby improving the efficiency of the burning operation.

[0128] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0129] Among them, a Bluetooth peripheral device is a hardware device installed outside a computer host, which is connected to the computer host through an established Bluetooth connection to provide and expand a variety of computer functions.

[0130] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0131] For example, the BLE transmitter in the wireless burning transmitting device sends a BLE broadcast packet to the outside, and the BLE broadcast packet carries the first Bluetooth characteristic data. The BLE device listens to the BLE broadcast packet within the first 200 milliseconds after power-on. If the BLE device receives the broadcast data packet in this special format, it enters the LOTA mode.

[0132] Optionally, the method for burning information further includes:

[0133] Step S45: adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0134] By adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data is reduced. Only the BLE devices within the transmission range of the BLE transmitter in the wireless burning device can receive the first Bluetooth characteristic data, thereby achieving precise control of the transmission distance and reducing the impact on other BLE devices.

[0135] For example, by adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data can be controlled to about 15 cm, so that the BLE device can only receive the first Bluetooth characteristic data at a very close distance from the wireless burning transmitter, thereby achieving precise control of the communication distance. As a standard device, the BLE device does not need to make any adjustments to the RF, nor does it need to calculate the distance through complex signal strength. It can directly achieve accurate positioning based on the transmission distance of the BLE transmitter in the wireless burning transmitter.

[0136] Combine the following Figure 5 The method for burning information in the above embodiment is introduced.

[0137] Figure 5 is a schematic diagram of a method for burning information according to one embodiment of the present application, such as Figure 5 As shown, the process includes the following steps:

[0138] Step S501, sending first configuration information;

[0139] The first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip.

[0140] Step S502, configuring the first wireless network chip based on the first configuration information, and controlling the second wireless network chip to start scanning the second terminal device;

[0141] Step S503, sending first configuration information via the first wireless network chip;

[0142] Step S504, when the first configuration information is monitored, entering the target mode;

[0143] Step S505, sending the second Bluetooth characteristic data in the target mode;

[0144] Step S506, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data;

[0145] Step S507, returning a notification message to the first terminal device;

[0146] The notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0147] Step S508, adjusting the second configuration information of the first wireless network chip;

[0148] The second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0149] Step S509, sending a burning instruction;

[0150] The burning instruction is used to burn the target type information to the second terminal device.

[0151] Step S510, forwarding the burning instruction to the second terminal device;

[0152] Step S511: Based on the burning instruction, the second terminal device burns the target type information.

[0153] Based on the above steps S501 to S511, by receiving the first configuration information from the first terminal device, and then based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, then receiving the burning instruction from the first terminal device, and finally forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information, the BLE device can be efficiently and quickly burned with information.

[0154] Specifically, the method of burning information is introduced by taking the wireless burning transmitting device as a wireless burning transmitting gun, the first terminal device as a PC, and the second terminal device as a complete product device, such as a smart washing machine, as an example. In the related scheme, when burning the MAC address or SN of a large number of smart washing machines, the smart washing machine needs to be disassembled and assembled, and the burning process is complicated. In the embodiment of the present application, the barcode or QR code corresponding to the MAC address or SN is scanned by a scanner and sent to the PC, and the wireless burning transmitting gun receives the first configuration information of the PC through UART, and establishes a Bluetooth connection between the BLE controller and the smart washing machine based on the first configuration information. After the Bluetooth connection is established, the PC is used to send a burning instruction to the wireless burning transmitting gun, and the wireless burning transmitting gun forwards the burning instruction to the smart washing machine through the Bluetooth connection established with the smart washing machine. The smart washing machine wirelessly burns the target type information according to the burning instruction, which simplifies the burning process of the identity information or product serial number of the smart washing machine and improves the burning efficiency.

[0155] Specifically, the method for burning information is introduced by taking the wireless burning transmitter device as a wireless burning transmitter gun, the first terminal device as a PC, and the second terminal device as a module PCBA semi-finished product as an example. The wireless burning transmitter gun receives the first configuration information from the PC via UART, and establishes a Bluetooth connection between the BLE controller and the PCBA semi-finished product based on the first configuration information. After the Bluetooth connection is established, the PC is used to send a burning instruction to the wireless burning transmitter gun, and the wireless burning transmitter gun forwards the burning instruction to the module PCBA semi-finished product through the Bluetooth connection established with the module PCBA semi-finished product, and the module PCBA semi-finished product wirelessly burns the target type information according to the burning instruction.

[0156] Figure 6 is a flow chart of a method for testing a terminal device according to one embodiment of the present application. Figure 6 As shown, the process includes the following steps:

[0157] Step S61, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of a first wireless network chip;

[0158] Optionally, before receiving the first configuration information from the first terminal device, a communication connection with the first terminal device is established using UART. Specifically, UART is a universal serial data bus that can communicate bidirectionally and can achieve full-duplex transmission and reception. The user can run control software on the first terminal device to control the wireless burning transmitter to complete the communication interaction between the first terminal device and the second terminal device, thereby realizing a series of management operations of the user on the second terminal device.

[0159] The first configuration information is BLE broadcast data, which can carry customized encrypted data and can be used to configure the first Bluetooth characteristic data of the BLE transmitter in the wireless burning transmitter. The first configuration information also includes the characteristic data of the wireless burning transmitter to start the service. The characteristic data sent by the first terminal device to the wireless burning transmitter each time is different, thereby ensuring the security and uniqueness of data transmission.

[0160] Step S62: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0161] Optionally, the first wireless network chip is configured based on the first configuration information, and the second wireless network chip is controlled to scan the second terminal device.

[0162] For example, after the wireless burning transmitter receives the first configuration information, the transmission content of the BLE transmitter is configured based on the first configuration information, and the BLE controller is controlled to start scanning the BLE device.

[0163] Specifically, the implementation process of establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information can refer to the further introduction to the embodiment of the present application, which will not be described in detail.

[0164] Step S63, receiving a test instruction from the first terminal device, wherein the test instruction is used to perform a target type test on the second terminal device;

[0165] The information carried in the above test instruction includes: test object information and test method information corresponding to the target type test.

[0166] For example, the test object information may include software information or hardware information, and the test mode information may include software test mode information or hardware test mode information.

[0167] Step S64: forwarding the test instruction to the second terminal device so that the second terminal device performs the target type test.

[0168] Based on the above steps S61 to S64, by receiving the first configuration information from the first terminal device, and then based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, and then receiving the test instruction from the first terminal device, and finally forwarding the test instruction to the second terminal device, so that the second terminal device performs the target type test, the target type test of the BLE device can be performed efficiently and quickly.

[0169] The method for testing a terminal device described in the above embodiment is further introduced below.

[0170] Optionally, in step S62, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information includes:

[0171] Step S621, sending first configuration information via the first wireless network chip, so that the second terminal device enters the target mode when monitoring the first configuration information;

[0172] Specifically, the first configuration information is broadcasted externally through the first wireless network chip, so that the second terminal device monitors the first configuration information within a preset time period before powering on and enters the target mode.

[0173] Step S622, using the second wireless network chip to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode;

[0174] For example, the second Bluetooth characteristic data is a BLE broadcast packet that protects the LOTA characteristic.

[0175] Step S623: Establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0176] Specifically, the BLE controller in the wireless burning transmitting device receives the second Bluetooth characteristic data, and establishes a Bluetooth connection with the BLE device based on the second Bluetooth characteristic data, so that the PC can interact with the BLE device through the established Bluetooth connection for data and commands. The basic communication protocol used for the Bluetooth connection between the BLE controller and the BLE device is GATT.

[0177] Optionally, a notification message is returned to the first terminal device, wherein the notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0178] Based on the above steps S621 to S623, the first configuration information is sent via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information, and then the second wireless network chip is used to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode. Finally, based on the second Bluetooth characteristic data, a Bluetooth connection is established between the second wireless network chip and the second terminal device. The Bluetooth connection can be quickly established for subsequent data interaction with the BLE device, thereby improving the efficiency of the test operation.

[0179] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0180] Among them, a Bluetooth peripheral device is a hardware device installed outside a computer host, which is connected to the computer host through an established Bluetooth connection to provide and expand a variety of computer functions.

[0181] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0182] For example, the BLE transmitter in the wireless burning transmitting device sends a BLE broadcast packet to the outside, and the BLE broadcast packet carries the first Bluetooth characteristic data. The BLE device listens to the BLE broadcast packet within the first 200 milliseconds after power-on. If the BLE device receives the broadcast data packet in this special format, it enters the LOTA mode.

[0183] Optionally, the method for testing the terminal device further includes:

[0184] Step S65: adjust second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0185] By adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data is reduced. Only the BLE devices within the transmission range of the BLE transmitter in the wireless burning device can receive the first Bluetooth characteristic data, thereby achieving precise control of the transmission distance and reducing the impact on other BLE devices.

[0186] For example, by adjusting the transmission power and RF antenna parameters of the BLE transmitter, the transmission distance of the first Bluetooth characteristic data can be controlled to about 15 cm, so that the BLE device can only receive the first Bluetooth characteristic data at a very close distance from the wireless burning transmitter, thereby achieving precise control of the communication distance. As a standard device, the BLE device does not need to make any adjustments to the RF, nor does it need to calculate the distance through complex signal strength. It can directly achieve accurate positioning based on the transmission distance of the BLE transmitter in the wireless burning transmitter.

[0187] Combine the following Figure 7 The method for testing the terminal device in the above embodiment is introduced.

[0188] Figure 7 is a schematic diagram of a method for testing a terminal device according to one embodiment of the present application, such as Figure 7 As shown, the process includes the following steps:

[0189] Step S701, sending first configuration information;

[0190] The first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip.

[0191] Step S702, configuring the first wireless network chip based on the first configuration information, and controlling the second wireless network chip to start scanning the second terminal device;

[0192] Step S703, sending first configuration information via the first wireless network chip;

[0193] Step S704, when the first configuration information is monitored, entering the target mode;

[0194] Step S705, sending the second Bluetooth characteristic data in the target mode;

[0195] Step S706: establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data;

[0196] Step S707, returning a notification message to the first terminal device;

[0197] The notification message is used to notify that a Bluetooth connection is successfully established between the second wireless network chip and the second terminal device.

[0198] Step S708, adjusting the second configuration information of the first wireless network chip;

[0199] The second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0200] Step S709, sending a test instruction;

[0201] The test instruction is used to perform a target type test on the second terminal device.

[0202] Step S710, forwarding the test instruction to the second terminal device;

[0203] Step S711: enabling the second terminal device to perform a target type test based on the test instruction.

[0204] Based on the above steps S701 to S711, the first configuration information is sent via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information, and then the second wireless network chip is used to receive the second Bluetooth characteristic data sent by the second terminal device in the target mode. Finally, based on the second Bluetooth characteristic data, a Bluetooth connection is established between the second wireless network chip and the second terminal device. The Bluetooth connection can be quickly established for subsequent data interaction with the BLE device, thereby improving the efficiency of the test operation.

[0205] Specifically, the method for testing the terminal device is introduced by taking the wireless burning transmitter device as a wireless burning transmitter gun, the first terminal device as a PC, and the second terminal device as a complete product device, such as a smart air conditioner, as an example. In the embodiment of the present application, the wireless burning transmitter gun receives the first configuration information of the PC through UART, and establishes a Bluetooth connection between the BLE controller and the smart air conditioner based on the first configuration information. After the Bluetooth connection is established, the PC is used to send a burning instruction to the wireless burning transmitter gun, and the wireless burning transmitter gun forwards the test instruction to the smart air conditioner through the Bluetooth connection established with the smart air conditioner, and the smart air conditioner performs the corresponding target type test according to the test instruction. For example, the smart air conditioner can be controlled by a remote control, whether the button is normal, whether the cooling or heating is working, etc. In the related art, the functional test of the smart air conditioner can be realized by a set of special button combinations to let the air conditioner enter the whole machine test mode. In the embodiment of the present application, the smart air conditioner can be wirelessly controlled by the wireless burning transmitter gun to enter the whole machine test mode, and the test data can be recorded in real time, and a complete test record can be obtained, which can reduce the cumbersome process of manual testing and realize the automated testing of terminal equipment.

[0206] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0207] In this embodiment, a device for upgrading modules, a device for burning information, and a device for testing terminal equipment are also provided, and the devices are used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described are not repeated here. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0208] Figure 8 is a structural block diagram of an upgrade module according to one embodiment of the present application, the device is applied to a wireless burning transmitter, the wireless burning transmitter includes: a first wireless network chip and a second wireless network chip, such as Figure 8 As shown, the device 800 of the upgrade module includes:

[0209] A first receiving module 801 is used to receive first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0210] A connection module 802 is used to establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0211] A second receiving module 803 is used to receive an upgrade instruction from the first terminal device, wherein the upgrade instruction is used to upgrade at least one module in the built-in modules of the second terminal device;

[0212] The forwarding module 804 is used to forward the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.

[0213] Optionally, the connection module 802 is also used to: send first configuration information via the first wireless network chip so that the second terminal device enters the target mode when it monitors the first configuration information; use the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0214] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0215] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0216] Optionally, the upgrade module device 800 also includes an adjustment module 805 for adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0217] Optionally, the information carried in the upgrade instruction includes: identification information, file information and verification information, wherein the identification information is used to indicate at least one module, the file information is the upgrade file corresponding to at least one module, and the verification information is used to verify whether the upgrade file is complete.

[0218] Fig. 9 is a structural block diagram of a device for burning information according to one embodiment of the present application, the device is applied to a wireless burning transmitting device, the wireless burning transmitting device includes: a first wireless network chip and a second wireless network chip, such as Fig. 9 As shown, the device 900 for burning information includes:

[0219] A first receiving module 901 is used to receive first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0220] A connection module 902 is used to establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0221] The second receiving module 903 is used to receive a burning instruction from the first terminal device, wherein the burning instruction is used to burn the target type information to the second terminal device;

[0222] The forwarding module 904 is used to forward the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0223] Optionally, the connection module 902 is also used to: send first configuration information via the first wireless network chip so that the second terminal device enters the target mode when it monitors the first configuration information; use the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0224] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0225] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0226] Optionally, the device 900 for burning information further includes: an adjustment module 905, used to adjust second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0227] Optionally, the information carried in the burning instruction includes: target type information, wherein the target type information includes at least one of the following: identity information of the second terminal device, product serial number information of the second terminal device.

[0228] Fig.10 is a structural block diagram of a device for testing a terminal device according to one embodiment of the present application, the device is applied to a wireless burning transmitting device, the wireless burning transmitting device includes: a first wireless network chip and a second wireless network chip, such as Fig.10 As shown, the apparatus 1000 for testing terminal equipment includes:

[0229] The first receiving module 1001 is used to receive first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0230] A connection module 1002 is used to establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0231] The second receiving module 1003 is used to receive a test instruction from the first terminal device, wherein the test instruction is used to perform a target type test on the second terminal device;

[0232] The forwarding module 1004 is used to forward the test instruction to the second terminal device so that the second terminal device performs a target type test.

[0233] Optionally, the connection module 1002 is also used to: send first configuration information via the first wireless network chip so that the second terminal device enters the target mode when it monitors the first configuration information; use the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data.

[0234] Optionally, the second terminal device is set as a Bluetooth peripheral device in the target mode.

[0235] Optionally, the second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

[0236] Optionally, the apparatus 1000 for testing the terminal device further includes: an adjustment module 1005, for adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

[0237] Optionally, the information carried in the test instruction includes: test object information and test method information corresponding to the target type test.

[0238] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0239] An embodiment of the present application further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0240] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0241] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0242] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0243] S3, receiving an upgrade instruction from the first terminal device, wherein the upgrade instruction is used to upgrade at least one module in the built-in module of the second terminal device;

[0244] S4, forwarding the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.

[0245] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0246] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0247] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0248] S3, receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device;

[0249] S4, forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0250] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0251] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0252] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0253] S3, receiving a test instruction from the first terminal device, wherein the test instruction is used to perform a target type test on the second terminal device;

[0254] S4, forwarding the test instruction to the second terminal device, so that the second terminal device performs the target type test.

[0255] Optionally, in this embodiment, the above-mentioned non-volatile storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0256] An embodiment of the present application also provides a wireless burning transmission device, including a memory, a processor, a first wireless network chip and a second wireless network chip, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

[0257] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0258] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0259] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0260] S3, receiving an upgrade instruction from the first terminal device, wherein the upgrade instruction is used to upgrade at least one module in the built-in module of the second terminal device;

[0261] S4, forwarding the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.

[0262] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0263] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0264] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0265] S3, receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device;

[0266] S4, forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information.

[0267] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0268] S1, receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth feature data of a first wireless network chip;

[0269] S2, establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the first configuration information;

[0270] S3, receiving a test instruction from the first terminal device, wherein the test instruction is used to perform a target type test on the second terminal device;

[0271] S4, forwarding the test instruction to the second terminal device, so that the second terminal device performs the target type test.

[0272] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0273] The embodiment of the present application also provides a wireless burning system, Fig.11 is a structural block diagram of a wireless burning system according to one embodiment of the present application. Fig.11 As shown, the wireless burning system 1100 includes a first terminal device 1101 , a wireless burning transmitting device 1102 , and a second terminal device 1103 .

[0274] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0275] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0276] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0277] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0278] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0279] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0280] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0281] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for burning information, characterized in that: The method is applied to a wireless burning transmitting device, the wireless burning transmitting device comprises: a first wireless network chip and a second wireless network chip, and the method comprises: Receiving first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip, and the first wireless network chip is used to represent a Bluetooth low energy transmitter; Based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device, the second wireless network chip being used to represent a Bluetooth low energy controller; receiving a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device; forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information; Wherein, based on the first configuration information, establishing a Bluetooth connection between the second wireless network chip and the second terminal device includes: sending the first configuration information via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information; using the second wireless network chip to receive second Bluetooth characteristic data sent by the second terminal device in the target mode; and establishing a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data; The method further includes: adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

2. The method according to claim 1, characterized in that The second terminal device is set as a Bluetooth peripheral device in the target mode.

3. The method according to claim 1, characterized in that The second terminal device monitors the first Bluetooth characteristic data within a preset time period after being powered on.

4. The method according to claim 1, characterized in that: The information carried in the burning instruction includes: the target type information, wherein the target type information includes at least one of the following: identity information of the second terminal device, product serial number information of the second terminal device.

5. A device for burning information, characterized in that: The device is applied to a wireless burning transmitting device, the wireless burning transmitting device comprises: a first wireless network chip and a second wireless network chip, and the device comprises: A first receiving module, configured to receive first configuration information from a first terminal device, wherein the first configuration information is used to configure first Bluetooth characteristic data of the first wireless network chip, and the first wireless network chip is used to represent a Bluetooth low energy transmitter; a connection module, configured to establish a Bluetooth connection between the second wireless network chip and a second terminal device based on the first configuration information, wherein the second wireless network chip is used to represent a Bluetooth low energy controller; A second receiving module, used to receive a burning instruction from the first terminal device, wherein the burning instruction is used to burn target type information to the second terminal device; A forwarding module, used for forwarding the burning instruction to the second terminal device, so that the second terminal device burns the target type information; The connection module is further used to: send the first configuration information via the first wireless network chip so that the second terminal device enters the target mode when monitoring the first configuration information; receive the second Bluetooth characteristic data sent by the second terminal device in the target mode by using the second wireless network chip; and establish a Bluetooth connection between the second wireless network chip and the second terminal device based on the second Bluetooth characteristic data; The device further includes an adjustment module for adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: transmission power and radio frequency antenna parameters, and the second configuration information is used to control the transmission distance of the first configuration information.

6. A non-volatile storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method for burning information as claimed in any one of claims 1 to 4 when running.

7. A wireless burning transmission device, comprising a memory, a processor, a first wireless network chip and a second wireless network chip, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the method for burning information as claimed in any one of claims 1 to 4.

8. A wireless burning system, comprising a first terminal device, a second terminal device and the wireless burning transmitting device described in claim 7.

Citation Information

Patent Citations

  • Wireless programming apparatus

    CN107608692A