CN114201184A - Method, device, storage medium, equipment and system for burning information - Google Patents

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

Info

Publication number
CN114201184A
CN114201184A CN202111437480.4A CN202111437480A CN114201184A CN 114201184 A CN114201184 A CN 114201184A CN 202111437480 A CN202111437480 A CN 202111437480A CN 114201184 A CN114201184 A CN 114201184A
Authority
CN
China
Prior art keywords
terminal device
wireless network
burning
configuration information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111437480.4A
Other languages
Chinese (zh)
Inventor
杨海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202111437480.4A priority Critical patent/CN114201184A/en
Publication of CN114201184A publication Critical patent/CN114201184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device, a storage medium, equipment and a system for burning information. The method is applied to wireless burning transmitting equipment, and the wireless burning transmitting equipment comprises the following steps: first wireless network chip and second wireless network chip include: receiving first configuration information from first terminal equipment, wherein the first configuration information is used for configuring wireless network connection information of a second wireless network chip; establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information; receiving a burning command from first terminal equipment, wherein the burning command is used for burning target type information to second terminal equipment; and forwarding the burning command to the second terminal equipment so that the second terminal equipment burns the target type information. The invention solves the technical problems of complicated burning operation and low burning efficiency when burning information in related schemes.

Description

Method, device, storage medium, equipment and system for burning information
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, a storage medium, a device, and a system for burning information.
Background
The Over-the-Air (OTA) technology is a technology for remotely managing a mobile terminal device through an Air interface of mobile communication. With the wide application of the OTA technology, mobile communication can provide not only voice and data services, but also new service downloads, so that application and content service providers can continuously develop services more close to user requirements without being limited by platforms.
In the related scheme, when the Wi-Fi equipment for wireless network communication is remotely managed, two modes, namely a local area network OTA mode and a cloud server OTA mode, are generally adopted for realizing. However, when the related identity information needs to be burned for a plurality of Wi-Fi devices, the technical problems of complicated burning operation and low burning efficiency exist.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a storage medium, equipment and a system for burning information, which are used for at least solving the technical problems of complicated burning operation and low burning efficiency when the information is burned in related schemes.
According to an embodiment of the present application, a method for burning information is provided, where the method is applied to a wireless burning transmission device, and the wireless burning transmission device includes: first wireless network chip and second wireless network chip include:
receiving first configuration information from first terminal equipment, wherein the first configuration information is used for configuring wireless network connection information of a second wireless network chip; establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information; receiving a burning command from first terminal equipment, wherein the burning command is used for burning target type information to second terminal equipment; and forwarding the burning command to the second terminal equipment so that the second terminal equipment burns the target type information.
Optionally, the establishing a communication connection between the second wireless network chip and the second terminal device based on the first configuration information includes: sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and second terminal equipment, wherein the first network connection is a wireless local area network connection; and establishing a second network connection between the second wireless network chip and the second terminal equipment by utilizing the first network connection, wherein the second network connection is a transmission control protocol communication connection.
Optionally, the sending the first configuration information through the first wireless network chip, and the establishing the first network connection between the second wireless network chip and the second terminal device includes: sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel; receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on first configuration information; and responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment.
Optionally, the establishing, by using the first network connection, a second network connection between the second wireless network chip and the second terminal device includes: receiving a second connection request from a second terminal device via the first network connection; and responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal equipment.
Optionally, the method for upgrading the module further includes: and returning a notification message to the first terminal device, wherein the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Optionally, the method for upgrading the module further includes: adjusting second configuration information of the first wireless network chip, wherein the second configuration information comprises: the transmission power and the radio frequency antenna parameter, and the second configuration information is used for controlling the transmission distance of the first configuration information
Optionally, the information carried in the burning command includes: target type information, wherein the target type information includes at least one of: identity information of the second terminal device, and product serial number information of the second terminal device.
According to one embodiment of the present application, there is also provided an apparatus for burning information, the apparatus is applied to a wireless burning transmission device, the wireless burning transmission device includes: first wireless network chip and second wireless network chip include:
the first receiving module is used for receiving first configuration information from the first terminal equipment, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip; the connection module is used for establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information; the second receiving module is used for receiving a burning command from the first terminal device, wherein the burning command is used for burning target type information to the second terminal device; and the forwarding module is used for forwarding the burning command to the second terminal equipment so that the second terminal equipment burns the target type information.
Optionally, the connection module is further configured to: sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and second terminal equipment, wherein the first network connection is a wireless local area network connection; and establishing a second network connection between the second wireless network chip and the second terminal equipment by utilizing the first network connection, wherein the second network connection is a transmission control protocol communication connection.
Optionally, the connection module is further configured to: sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel; receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on first configuration information; and responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment.
Optionally, the connection module is further configured to: receiving a second connection request from a second terminal device via the first network connection; and responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal equipment.
Optionally, the apparatus for burning information further includes: and the notification module is used for returning a notification message to the first terminal device, wherein the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Optionally, the apparatus for burning information further includes: an adjusting module, configured to adjust second configuration information of the first wireless network chip, where the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Optionally, the information carried in the burning command includes: target type information, wherein the target type information includes at least one of: identity information of the second terminal device, and product serial number information of the second terminal device.
According to an embodiment of the present application, there is further provided a non-volatile storage medium having a computer program stored therein, where the computer program is configured to execute the method for burning information in any one of the above methods when running.
According to an embodiment of the present application, there is also provided a wireless burning transmission device, including a memory, a processor, a first wireless network chip and a second wireless network chip, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above methods for burning information.
According to an embodiment of the present application, a wireless burning system is further provided, which includes a first terminal device, a second terminal device, and a wireless burning transmitting device.
In the embodiment of the invention, by receiving first configuration information from a first terminal device, the first configuration information is used for configuring wireless network connection information of a second wireless network chip, and further, based on the first configuration information, communication connection is established between the second wireless network chip and the second terminal device; and then, a burning instruction from the first terminal device is received, and the burning instruction is forwarded to the second terminal device, so that the second terminal device burns the target type information, and the purpose of wirelessly burning the second terminal device through the wireless burning transmitter is achieved, thereby achieving the technical effects of simplifying the operation flow of burning information and improving the burning efficiency, and further solving the technical problems of complicated burning operation and low burning efficiency when burning information in related schemes.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an alternative wireless burning system according to an embodiment of the present application;
FIG. 2 is a flow diagram of a method of upgrading a module according to one embodiment of the present application;
FIG. 3 is a schematic diagram of a method for upgrading a module according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for burning information according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a method for burning information according to an embodiment of the present disclosure;
FIG. 6 is a flow chart of a method of testing a terminal device according to one embodiment of the present application;
FIG. 7 is a schematic diagram of a method of testing a terminal device according to one embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for upgrading a module according to an embodiment of the present disclosure;
FIG. 9 is a block diagram of an apparatus for burning information according to an embodiment of the present disclosure;
FIG. 10 is a block diagram of an apparatus for testing a terminal device according to an embodiment of the present application;
FIG. 11 is a block diagram of a wireless burning system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The remote management of the Wi-Fi device through the OTA comprises module upgrading, burning information and testing of the Wi-Fi device. In the related scheme, when the Wi-Fi equipment is remotely managed, two modes, namely a local area network OTA mode and a cloud server OTA mode, are generally adopted for realizing.
The local area network OTA mode means that the Wi-Fi equipment realizes OTA by accessing an OTA server in the local area network. Specifically, after establishing a connection with a preset Access Point (AP) in a local area network by using a Wi-Fi device, the OTA module is upgraded by accessing a local server. In the local area network OTA mode, an AP with a preset name is searched for to establish connection usually at the power-on stage of the Wi-Fi equipment, but in the mode, a plurality of Wi-Fi equipment in the local area network are affected, so that the Wi-Fi equipment which is currently operated in the OTA mode is difficult to determine, the Wi-Fi equipment cannot be accurately operated in a one-to-one mode, and the flexibility of remote management is poor.
The cloud server OTA mode means that the OTA is realized by interaction with a cloud server after the Wi-Fi equipment is networked. Specifically, a terminal user firstly completes distribution of the network to the Wi-Fi equipment, after the distribution of the network is completed, connection is established between the Wi-Fi equipment and the cloud server, and OTA module upgrading is achieved by accessing the cloud server. When module upgrading processing is carried out on a large amount of Wi-Fi equipment, distribution networks need to be sequentially carried out on each piece of equipment, and the operation efficiency is low. When the Wi-Fi equipment has defects and cannot be successfully distributed, the module upgrading of the Wi-Fi equipment cannot be realized by adopting the cloud server OTA mode.
In accordance with one embodiment of the present application, there is provided an embodiment of a method for burning information, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method embodiment can be executed in a wireless burning system. The wireless burning system comprises: the device comprises a wireless burning transmitting device and a plurality of terminal devices. The plurality of terminal devices may include a first terminal device and a second terminal device, and the first terminal device may remotely manage the second terminal device through the wireless burning transmitting device. Fig. 1 is a schematic diagram of an optional wireless burning system according to an embodiment of the present application, where the wireless burning transmitting device may be a dedicated wireless burning transmitting gun, the first terminal device may be a Personal Computer (PC) or a Mobile terminal, and the first terminal device may also be a Mobile terminal such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet Computer, a palmtop Computer, and a Mobile Internet Device (MID). The second terminal device is a Wi-Fi device, and specifically, the second terminal device may be a complete machine product device, such as an intelligent household device (e.g., an intelligent air conditioner, an intelligent washing machine, an intelligent socket, and an intelligent lamp); the second terminal device may also be a Printed Circuit Board Assembly (PCBA) semi-finished product of the module, for example, the PCBA semi-finished product of the module is a Circuit Board that can be directly installed in the whole device, and the Circuit Board can provide a standard power interface.
By the method, the wireless burning transmitting equipment can receive the configuration information from the first terminal equipment, can establish communication connection with the second terminal equipment based on the configuration information, and can receive the remote management instruction from the first terminal equipment after the communication connection is established, so that the remote management instruction is forwarded to the second terminal equipment, and finally the remote management of the second terminal equipment is realized. For example, after the wireless burning transmitting device establishes communication connection with the second terminal device based on the configuration information, the wireless burning transmitting device may 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. For another example, after establishing communication connection with the second terminal device based on the configuration information, the wireless burning transmitting device may receive the burning instruction from the first terminal device, and further forward the burning instruction to the second terminal device, so that the second terminal device burns the target type information. For another example, after the wireless burning transmitting device establishes a communication connection with the second terminal device based on the configuration information, the wireless burning transmitting device may 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 executes the target type test.
The internal main structures of the wireless burning transmitting equipment, the first terminal equipment and the second terminal equipment are basically similar. The following description will take the internal main structure of the wireless burning transmitting device as an example, and the internal main structures of the first terminal device and the second terminal device will not be described in detail.
The wireless burst device may include one or more processors (which may include, but are not limited to, processing devices such as Central Processing Units (CPUs), Graphics Processing Units (GPUs), Digital Signal Processing (DSP) chips, Microprocessors (MCUs), programmable logic devices (FPGAs), neural Network Processors (NPUs), Tensor Processors (TPUs), Artificial Intelligence (AI) type processors, etc.) and memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory can be used for storing 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 the computer programs stored in the memory so as to execute various functional applications and data processing, i.e., implement the methods described in the embodiments of the present application. The memory may include high speed random access memory, and may also include 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 memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
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) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The method in the embodiment of the application can be applied to wireless burning transmitting equipment, and the wireless burning transmitting equipment comprises: a first wireless network chip and a second wireless network chip.
The wireless burning transmitting device is a wireless burning tool, such as a wireless burning transmitting gun. The wireless burning gun can integrate a first wireless network chip and a second wireless network chip, wherein the first wireless network chip is a transmitter, and the transmitting distance of the wireless burning gun can be controlled by adjusting the transmitting power and the radio frequency antenna parameters of the first wireless network chip. The second wireless network chip is a Wi-Fi router, is a module with a normal Wi-Fi communication distance, and can be used for establishing communication connection with Wi-Fi equipment so as to complete an operation instruction sent by the first terminal equipment.
Fig. 2 is a flowchart of a method for upgrading a module according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S21, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
optionally, before receiving the first configuration information from the first terminal device, a Universal Asynchronous Receiver/Transmitter (UART) is used to establish a communication connection with the first terminal device. Specifically, the UART is a general serial data bus that can perform bidirectional communication and can implement full duplex transmission and reception.
The first configuration information is a Wi-Fi management frame and may carry customized encrypted data, and the first configuration information is used to configure wireless network connection information of the second wireless network chip, where the wireless network connection information includes a Service Set Identifier (SSID) and a password, and the SSID may be used for verifying a subnet identity of the wireless local area network. In each transmission process, the first configuration information can be created and sent by the first terminal device, so that the SSID and the password used in the Wi-Fi connection are flexible and variable, and the security of data transmission is guaranteed.
Step S22, establishing communication connection between the second wireless network chip and the second terminal device based on the first configuration information;
specifically, based on the first configuration information, the implementation process of establishing the communication connection between the second wireless network chip and the second terminal device may refer to further description of the embodiment of the present application, and is not repeated here.
Step S23, receiving an upgrade instruction from a first terminal device, wherein the upgrade instruction is used for upgrading at least one module in a module set built in a second terminal device;
the information carried in the upgrade instruction includes: the system comprises identification information, file information and verification information, wherein the identification information is used for indicating at least one module, the file information is an upgrade file corresponding to the at least one module, and the verification information is used for verifying whether the upgrade file is complete.
For example, the identification information in the upgrade instruction is a number of at least one module to be upgraded in the Wi-Fi device, the file information includes an OTA file corresponding to the at least one module to be upgraded, the verification information is a hash (hash) value of the OTA file, and the hash value is used for verifying whether the OTA file is complete.
Step S24, forwarding the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.
Optionally, after the upgrade instruction is forwarded 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.
For example, after the Wi-Fi equipment receives an OTA file in the upgrading instruction, the hash value of the OTA file is calculated, the calculation result is compared with the verification information in the upgrading instruction, and whether the received OTA file is complete or not is judged according to the comparison result. When the calculation result is the same as the verification information, the verification is passed, and at least one module in the built-in modules in the Wi-Fi equipment can be upgraded based on the upgrading instruction.
Through the steps S21 to S24, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and then, based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then receiving an upgrading instruction from the first terminal device, wherein the upgrading instruction is used for upgrading at least one module in a built-in module of the second terminal device, and finally forwarding the upgrading instruction to the second terminal device, so that the second terminal device can upgrade at least one module, and can upgrade at least one module in the built-in module of the Wi-Fi device.
The method for upgrading the module according to the above embodiment is further described below.
Optionally, in step S22, the establishing a communication connection between the second wireless network chip and the second terminal device based on the first configuration information includes:
step S221, first configuration information is sent through a first wireless network chip, and first network connection is established between a second wireless network chip and second terminal equipment, wherein the first network connection is wireless local area network connection;
for example, a Wi-Fi connection is established between the Wi-Fi router and the second end device by sending the first configuration information via the transmitter.
Specifically, the implementation process of establishing the first network connection between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip may refer to further description of the following embodiments, which is not repeated herein.
Step S222, establishing a second network connection between the second wireless network chip and the second terminal device by using the first network connection, where the second network connection is a tcp communication connection.
For example, a Transmission Control Protocol (TCP) communication connection is established between the Wi-Fi router and the second terminal device using the Wi-Fi connection.
Specifically, the implementation process of establishing the second network connection between the second wireless network chip and the second terminal device by using the first network connection may refer to further description of the following embodiments, which are not repeated herein.
Based on the above steps S221 to S222, a first network connection is established between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip, and then a second network connection is established between the second wireless network chip and the second terminal device by using the first network connection, so that the first terminal device performs signaling transmission and interaction with the second terminal device through the wireless burning transmitting device, and finally, remote management of the second terminal device is achieved.
Optionally, in step S221, sending the first configuration information through the first wireless network chip, and establishing the first network connection between the second wireless network chip and the second terminal device includes:
step S2211, sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel;
as an optional implementation manner, the first configuration information is repeatedly sent at a preset frequency through the first wireless network chip in the fixed channel, so that the second terminal device senses the first configuration information in the fixed channel within a preset time period before powering on.
For example, the transmitter repeatedly sends Wi-Fi management frames at a preset frequency on channel 1, and the Wi-Fi device listens for Wi-Fi management frames in channel 1 within the first 200 milliseconds of power-up.
Step S2212, receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on the first configuration information;
step S2213, in response to the first connection request, establishing a first network connection between the second wireless network chip and the second terminal device.
Through the steps S2211 to S2213, the first configuration information is sent in the fixed channel through the first wireless network chip, so that the second terminal device senses the first configuration information in the fixed channel, and then the second wireless network chip is utilized to receive the first connection request from the second terminal device, and finally, in response to the first connection request, the first network connection is established between the second wireless network chip and the second terminal device, so that the Wi-Fi connection can be quickly established, and the subsequent data interaction with the Wi-Fi device is facilitated.
Optionally, in step S222, establishing a second network connection between the second wireless network chip and the second terminal device by using the first network connection includes:
step S2221, receiving a second connection request from the second terminal device via the first network connection;
step S2222, in response to the second connection request, establishes a second network connection between the second wireless network chip and the second terminal device.
Through the steps S2221 to S2222, the second connection request from the second terminal device is received through the established first network connection, and then, in response to the second connection request, the second network connection is established between the second wireless network chip and the second terminal device, so that the first terminal device can perform data and command interaction with the second terminal device through the wireless burning transmission device, and finally, remote management of the second terminal device is achieved.
Optionally, the method for upgrading a module according to the foregoing embodiment further includes:
step S223 is to return a notification message to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Based on the step S223, after the second network connection is successfully established, a notification message is returned to the first terminal device, so that the first terminal device can send a relevant instruction for performing remote management on the second terminal device in time.
Optionally, the method for upgrading a module according to the foregoing embodiment further includes:
step S224, adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
The transmitting distance of Wi-Fi management frames is reduced by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, and only Wi-Fi equipment in the transmitting range of the transmitter of the wireless burning equipment can receive the Wi-Fi management frames, so that the transmitting distance is accurately controlled, and the influence on other Wi-Fi equipment is reduced.
For example, by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, the transmitting distance of the Wi-Fi management frame can be controlled to be about 15 cm, when 3 Wi-Fi devices, namely device a, device B and device C, exist in the local area network, the distance between the device a, the device B and the device C only needs to exceed 1 meter, and then one-to-one accurate control can be performed on any one of the device a, the device B and the device C.
The method for upgrading the module in the above embodiment is described below with reference to fig. 3.
Fig. 3 is a schematic diagram of a method for upgrading a module according to an embodiment of the present application, and as shown in fig. 3, the process includes the following steps:
step S301, sending first configuration information;
step S302, configuring wireless network connection information of a second wireless network chip based on first configuration information;
step S303, sending first configuration information in a fixed channel through a first wireless network chip;
step S304, the second terminal device listens to the first configuration information in the fixed channel;
step S305, a first connection request is initiated based on the first configuration information;
step S306, responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment;
step S307, receiving a second connection request via the first network connection;
step S308, responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal device;
step S309, a notification message is returned to the first terminal device;
the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Step S310, adjusting second configuration information of the first wireless network chip;
wherein the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Step S311, sending an upgrading instruction;
the upgrading instruction is used for upgrading at least one module in a module built in the second terminal device;
step S312, the upgrading instruction is forwarded to the second terminal device;
and step 313, upgrading at least one module based on the upgrading instruction.
Based on the steps S301 to S313, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and further based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then receiving an upgrading instruction from the first terminal device, wherein the upgrading instruction is used for upgrading at least one module in a built-in module of the second terminal device, and finally forwarding the upgrading instruction to the second terminal device, so that the second terminal device can upgrade at least one module, and can upgrade at least one module in the built-in module of the Wi-Fi device.
Specifically, the method for upgrading the module is described by taking a wireless burning transmission device as a wireless burning transmission gun, a first terminal device as a PC, and a second terminal device as a complete machine product device, such as an intelligent washing machine. The intelligent washing machine comprises a plurality of processors to be upgraded, and in a related scheme, the whole equipment needs to be upgraded for upgrading the intelligent washing machine, so that the operation process is complicated, and the upgrading cost is high. A plurality of modules of the built-in module of intelligent washing machine can be customized and numbered in the embodiment of the application, and the upgrading of any module is realized. The wireless burning transmitting gun receives first configuration information from the PC through the UART, wireless network connection information of a Wi-Fi router in the wireless burning transmitting gun is configured based on the first configuration information, the Wi-Fi router is started after configuration is completed, and communication connection is established between the wireless burning transmitting gun and the intelligent washing machine. After the communication connection is established, an upgrading instruction is sent to the wireless burning transmitting gun by the PC, the wireless burning transmitting gun forwards the upgrading instruction to the intelligent washing machine through the communication connection established with the intelligent washing machine, and the intelligent washing machine upgrades at least one module in the built-in module according to the upgrading instruction.
Specifically, the method for upgrading the module is described 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 module PCBA semi-finished product as an example. In the embodiment of the application, a plurality of modules of the module PCBA semi-finished product built-in module can be numbered in a user-defined mode, and upgrading of any module is achieved. The wireless burning transmitting gun receives first configuration information from the PC through the UART, wireless network connection information of a Wi-Fi router in the wireless burning transmitting gun is configured based on the first configuration information, the Wi-Fi router is started after configuration is completed, and communication connection is established between the wireless burning transmitting gun and a module PCBA semi-finished product. After the communication connection is established, the PC is used for sending an upgrading instruction to the wireless burning transmitting gun, the wireless burning transmitting gun forwards the upgrading instruction to the module PCBA semi-finished product through the communication connection established with the module PCBA semi-finished product, and the module PCBA semi-finished product upgrades at least one module in the built-in module according to the upgrading instruction.
Fig. 4 is a flowchart of a method for burning information according to an embodiment of the present application, and as shown in fig. 4, the flowchart includes the following steps:
step S41, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
optionally, before receiving the first configuration information from the first terminal device, a communication connection with the first terminal device is established using a UART. Specifically, the UART is a general serial data bus that can perform bidirectional communication and can implement full duplex transmission and reception.
The first configuration information is a Wi-Fi management frame and can carry customized encrypted data, and the first configuration information is used for configuring wireless network connection information of a second wireless network chip, wherein the wireless network connection information comprises an SSID and a password, and the SSID can be used for subnet identity authentication of a wireless local area network. In each transmission process, the first configuration information can be created and sent by the first terminal device, so that the SSID and the password used in the Wi-Fi connection are flexible and variable, and the security of data transmission is guaranteed.
Step S42, establishing communication connection between the second wireless network chip and the second terminal device based on the first configuration information;
specifically, based on the first configuration information, the implementation process of establishing the communication connection between the second wireless network chip and the second terminal device may refer to further description of the embodiment of the present application, and is not repeated here.
Step S43, receiving a burning command from a first terminal device, wherein the burning command is used for burning target type information to a second terminal device;
the information carried in the burning command includes: target type information, wherein the target type information includes at least one of: identity information of the second terminal device, and product serial number information of the second terminal device.
For example, the identity information of the second terminal device may be a Media Access Control Address (MAC) or may be a Serial Number (SN).
Step S44, the burning command is forwarded to the second terminal device, so that the second terminal device burns the target type information.
Through the steps S41 to S44, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and then, based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then, receiving a burning command from the first terminal device, forwarding the burning command to the second terminal device so that the second terminal device burns the target type information, and wirelessly burning the second terminal device through the wireless burning transmitter.
The method for burning information described in the above embodiments is further described below.
Optionally, in step S42, the establishing a communication connection between the second wireless network chip and the second terminal device based on the first configuration information includes:
step S421, sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and a second terminal device, wherein the first network connection is a wireless local area network connection;
for example, a Wi-Fi connection is established between the Wi-Fi router and the second end device by sending the first configuration information via the transmitter.
Specifically, the implementation process of establishing the first network connection between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip may refer to further description of the following embodiments, which is not repeated herein.
Step S422 is to establish a second network connection between the second wireless network chip and the second terminal device by using the first network connection, where the second network connection is a tcp communication connection.
For example, a TCP communication connection is established between the Wi-Fi router and the second end device using a Wi-Fi connection.
Specifically, the implementation process of establishing the second network connection between the second wireless network chip and the second terminal device by using the first network connection may refer to further description of the following embodiments, which are not repeated herein.
Based on the above steps S421 to S422, a first network connection is established between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip, and then a second network connection is established between the second wireless network chip and the second terminal device by using the first network connection, so that the first terminal device performs signaling transmission and interaction with the second terminal device through the wireless burning transmitting device, and finally, remote management of the second terminal device is achieved.
Optionally, in step S421, the sending the first configuration information through the first wireless network chip, and establishing the first network connection between the second wireless network chip and the second terminal device includes:
step S4211, sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel;
as an optional implementation manner, the first configuration information is repeatedly sent at a preset frequency through the first wireless network chip in the fixed channel, so that the second terminal device senses the first configuration information in the fixed channel within a preset time period before powering on.
For example, the transmitter repeatedly sends Wi-Fi management frames at a preset frequency on channel 1, and the Wi-Fi device listens for Wi-Fi management frames in channel 1 within the first 200 milliseconds of power-up.
Step S4212, receiving a first connection request from a second terminal device by using a second wireless network chip, where the first connection request is initiated based on the first configuration information;
step S4213, in response to the first connection request, establishing a first network connection between the second wireless network chip and the second terminal device.
Through the steps S4211 to S4213, the first configuration information is sent in the fixed channel through the first wireless network chip, so that the second terminal device senses the first configuration information in the fixed channel, and then the second wireless network chip is utilized to receive the first connection request from the second terminal device, and finally, in response to the first connection request, the first network connection is established between the second wireless network chip and the second terminal device, so that the Wi-Fi connection can be quickly established, and the subsequent data interaction with the Wi-Fi device is facilitated.
Optionally, in step S422, establishing a second network connection between the second wireless network chip and the second terminal device by using the first network connection includes:
step S4221, receiving a second connection request from the second terminal device via the first network connection;
step S4222, in response to the second connection request, establishing a second network connection between the second wireless network chip and the second terminal device.
Through the steps S4221 to S4222, a second connection request from the second terminal device is received through the established first network connection, and then, in response to the second connection request, a second network connection is established between the second wireless network chip and the second terminal device, so that the first terminal device can perform data and command interaction with the second terminal device through the wireless burning transmitting device, and finally, remote management of the second terminal device is achieved.
Optionally, the method for burning information according to the above embodiment further includes:
step S423, a notification message is returned to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Based on the above step S423, after the second network connection is successfully established, a notification message is returned to the first terminal device, so that the first terminal device can send a relevant instruction for performing remote management on the second terminal device in time.
Optionally, the method for burning information according to the above embodiment further includes:
step S424, adjusting second configuration information of the first wireless network chip, where the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
The transmitting distance of Wi-Fi management frames is reduced by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, and only Wi-Fi equipment in the transmitting range of the transmitter of the wireless burning equipment can receive the Wi-Fi management frames, so that the transmitting distance is accurately controlled, and the influence on other Wi-Fi equipment is reduced.
For example, by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, the transmitting distance of the Wi-Fi management frame can be controlled to be about 15 cm, when 3 Wi-Fi devices, namely device a, device B and device C, exist in the local area network, the distance between the device a, the device B and the device C only needs to exceed 1 meter, and then one-to-one accurate control can be performed on any one of the device a, the device B and the device C.
The method for burning information in the above embodiment is described with reference to fig. 5.
Fig. 5 is a schematic diagram of a method for burning information according to an embodiment of the present application, and as shown in fig. 5, the process includes the following steps:
step S501, sending first configuration information;
step S502, configuring wireless network connection information of a second wireless network chip based on first configuration information;
step S503, sending first configuration information in a fixed channel through a first wireless network chip;
step S504, the second terminal device listens to the first configuration information in the fixed channel;
step S505, a first connection request is initiated based on the first configuration information;
step S506, responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment;
step S507, receiving a second connection request via the first network connection;
step S508, in response to the second connection request, establishing a second network connection between the second wireless network chip and the second terminal device;
step S509, returning a notification message to the first terminal device;
the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Step S510, adjusting second configuration information of the first wireless network chip;
wherein the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Step S511, sending a burning command;
the burning command is used for burning the target type information to the second terminal equipment.
Step S512, the burning command is forwarded to the second terminal device;
step S513, recording the target type information based on the recording command.
Based on the steps S501 to S513, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and further based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then, receiving a burning command from the first terminal device, forwarding the burning command to the second terminal device so that the second terminal device burns the target type information, and wirelessly burning the second terminal device through the wireless burning transmitter.
Specifically, the method for burning information is described by taking a wireless burning transmitting device as a wireless burning transmitting gun, a first terminal device as a PC, and a second terminal device as a complete machine product device, such as an intelligent washing machine. In the related scheme, when MAC addresses or SN are burned on a large quantity of intelligent washing machines, the intelligent washing machines need to be disassembled and assembled, and the burning process is complex. In the embodiment of the application, the bar code or the two-dimensional code corresponding to the MAC address or the SN is scanned through the scanner and then sent to the PC, the wireless burning transmitting gun receives first configuration information from the PC through the UART, wireless network connection information of a Wi-Fi router in the wireless burning transmitting gun is configured based on the first configuration information, the Wi-Fi router is started after configuration is completed, and communication connection is established with the intelligent washing machine. After the communication connection is established, the PC is used for sending the burning command to the wireless burning transmitting gun, the wireless burning transmitting gun forwards the burning command to the intelligent washing machine through the communication connection established with the intelligent washing machine, and the intelligent washing machine wirelessly burns the target type information according to the burning command, so that the burning process of the identity information or the product serial number of the intelligent washing machine is simplified, and the burning efficiency is improved.
Specifically, the method for burning information is described by taking an example that the wireless burning transmitting device is a wireless burning transmitting gun, the first terminal device is a PC, and the second terminal device module PCBA semi-finished product. The wireless burning transmitting gun receives first configuration information from the PC through the UART, wireless network connection information of a Wi-Fi router in the wireless burning transmitting gun is configured based on the first configuration information, the Wi-Fi router is started after configuration is completed, and communication connection is established between the wireless burning transmitting gun and a module PCBA semi-finished product. After the communication connection is established, the PC is used for sending a burning instruction to the wireless burning transmitting gun, the wireless burning transmitting gun forwards the burning instruction to the module PCBA semi-finished product through the communication 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.
Fig. 6 is a flowchart of a method for testing a terminal device according to an embodiment of the present application, where the flowchart includes the following steps, as shown in fig. 6:
step S61, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
optionally, before receiving the first configuration information from the first terminal device, a communication connection with the first terminal device is established using a UART. Specifically, the UART is a general serial data bus that can perform bidirectional communication and can implement full duplex transmission and reception.
The first configuration information is a Wi-Fi management frame and can carry customized encrypted data, and the first configuration information is used for configuring wireless network connection information of a second wireless network chip, wherein the wireless network connection information comprises an SSID and a password, and the SSID can be used for subnet identity authentication of a wireless local area network. In each transmission process, the first configuration information can be created and sent by the first terminal device, so that the SSID and the password used in the Wi-Fi connection are flexible and variable, and the security of data transmission is guaranteed.
Step S62, establishing communication connection between the second wireless network chip and the second terminal device based on the first configuration information;
specifically, based on the first configuration information, the implementation process of establishing the communication connection between the second wireless network chip and the second terminal device may refer to further description of the embodiment of the present application, and is not repeated here.
Step S63, receiving a test instruction from the first terminal device, wherein the test instruction is used for performing a target type test on the second terminal device;
the information carried in the test instruction includes: and testing object information and testing mode information corresponding to the target type test.
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.
Step S64, forwarding the test instruction to the second terminal device, so that the second terminal device executes the target type test.
The target type test may include a burning information test, a Wi-Fi radio frequency test, a function test of the second terminal device, and the like.
For example, the target type test may include testing whether identity information burned in the Wi-Fi device is correct and whether the Wi-Fi radio can work normally. When the second terminal device is a complete machine product device, the target type test may include a functional test for the Wi-Fi device.
Through the steps S61 to S64, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and then, based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then receiving a test instruction from the first terminal device, forwarding the test instruction to the second terminal device so that the second terminal device executes a target type test, and performing an automatic test on the second terminal device through the wireless burning transmitter.
The method for testing the terminal device according to the above embodiment is further described below.
Optionally, in step S62, the establishing a communication connection between the second wireless network chip and the second terminal device based on the first configuration information includes:
step S621, sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and a second terminal device, wherein the first network connection is a wireless local area network connection;
for example, a Wi-Fi connection is established between the Wi-Fi router and the second end device by sending the first configuration information via the transmitter.
Specifically, the implementation process of establishing the first network connection between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip may refer to further description of the following embodiments, which is not repeated herein.
Step S622, a second network connection is established between the second wireless network chip and the second terminal device by using the first network connection, where the second network connection is a tcp communication connection.
For example, a TCP communication connection is established between the Wi-Fi router and the second end device using a Wi-Fi connection.
Specifically, the implementation process of establishing the second network connection between the second wireless network chip and the second terminal device by using the first network connection may refer to further description of the following embodiments, which are not repeated herein.
Based on the above steps S621 to S622, a first network connection is established between the second wireless network chip and the second terminal device by sending the first configuration information through the first wireless network chip, and then a second network connection is established between the second wireless network chip and the second terminal device by using the first network connection, so that the first terminal device performs signaling transmission and interaction with the second terminal device through the wireless burning transmitting device, and finally, remote management of the second terminal device is achieved.
Optionally, in step S621, sending the first configuration information through the first wireless network chip, and establishing the first network connection between the second wireless network chip and the second terminal device includes:
step 6211, sending the first configuration information in the fixed channel through the first wireless network chip, so that the second terminal device can listen to the first configuration information in the fixed channel;
as an optional implementation manner, the first configuration information is repeatedly sent at a preset frequency through the first wireless network chip in the fixed channel, so that the second terminal device senses the first configuration information in the fixed channel within a preset time period before powering on.
For example, the transmitter repeatedly sends Wi-Fi management frames at a preset frequency on channel 1, and the Wi-Fi device listens for Wi-Fi management frames in channel 1 within the first 200 milliseconds of power-up.
Step 6212, receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on the first configuration information;
step S6213, in response to the first connection request, establishing a first network connection between the second wireless network chip and the second terminal device.
Through the steps S6211 to S6213, the first configuration information is sent through the first wireless network chip in the fixed channel, so that the second terminal device senses the first configuration information in the fixed channel, and then the second wireless network chip is utilized to receive the first connection request from the second terminal device, and finally, in response to the first connection request, the first network connection is established between the second wireless network chip and the second terminal device, so that the Wi-Fi connection can be quickly established, and the subsequent data interaction with the Wi-Fi device is facilitated.
Optionally, in step S622, establishing a second network connection between the second wireless network chip and the second terminal device by using the first network connection includes:
step S6221 of receiving a second connection request from the second terminal device via the first network connection;
step S6222, in response to the second connection request, establishing a second network connection between the second wireless network chip and the second terminal device.
Through the steps S6221 to S6222, the second connection request from the second terminal device is received through the established first network connection, and then, in response to the second connection request, the second network connection is established between the second wireless network chip and the second terminal device, so that the first terminal device can perform data and command interaction with the second terminal device through the wireless burning transmitting device, and finally, remote management of the second terminal device is realized.
Optionally, the method for testing a terminal device according to the above embodiment further includes:
step S623, returning a notification message to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Based on the step S623, a notification message is returned to the first terminal device after the second network connection is successfully established, so that the first terminal device can send a related instruction for performing remote management on the second terminal device in time.
Optionally, the method for testing a terminal device according to the above embodiment further includes:
step S624, adjusting second configuration information of the first wireless network chip, wherein the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
The transmitting distance of Wi-Fi management frames is reduced by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, and only Wi-Fi equipment in the transmitting range of the transmitter of the wireless burning equipment can receive the Wi-Fi management frames, so that the transmitting distance is accurately controlled, and the influence on other Wi-Fi equipment is reduced.
For example, by adjusting the transmitting power and the radio frequency antenna parameters of the transmitter, the transmitting distance of the Wi-Fi management frame can be controlled to be about 15 cm, when 3 Wi-Fi devices, namely device a, device B and device C, exist in the local area network, the distance between the device a, the device B and the device C only needs to exceed 1 meter, and then one-to-one accurate control can be performed on any one of the device a, the device B and the device C.
The method for testing the terminal device in the above embodiment is described below with reference to fig. 7.
Fig. 7 is a schematic diagram of a method for testing a terminal device according to an embodiment of the present application, and as shown in fig. 7, the process includes the following steps:
step S701, first configuration information is sent;
step S702, configuring wireless network connection information of a second wireless network chip based on first configuration information;
step S703, sending first configuration information in a fixed channel through a first wireless network chip;
step S704, the second terminal device listens to the first configuration information in the fixed channel;
step S705, a first connection request is initiated based on the first configuration information;
step S706, responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal device;
step S707, receiving a second connection request via the first network connection;
step S708, in response to the second connection request, establishing a second network connection between the second wireless network chip and the second terminal device;
step S709, returning a notification message to the first terminal device;
the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Step S710, adjusting second configuration information of the first wireless network chip;
wherein the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Step S711, sending a test instruction;
and the test instruction is used for carrying out target type test on the second terminal equipment.
Step S712, forwarding the test instruction to the second terminal device;
step S713, a target type test is executed based on the burning command.
Based on the steps S701 to S713, by receiving first configuration information from the first terminal device, the first configuration information is used to configure wireless network connection information of the second wireless network chip, and further based on the first configuration information, a communication connection is established between the second wireless network chip and the second terminal device; and then, receiving a burning command from the first terminal device, forwarding the burning command to the second terminal device so that the second terminal device burns the target type information, and performing automatic test on the second terminal device through the wireless burning transmitter.
Specifically, the method for testing the terminal device is introduced by taking the wireless burning transmission device as a wireless burning transmission gun, the first terminal device as a PC, and the second terminal device as a complete machine product device, such as an intelligent air conditioner. In the embodiment of the application, the wireless burning transmitting gun receives first configuration information from a PC through a UART, wireless network connection information of a Wi-Fi router in the wireless burning transmitting gun is configured based on the first configuration information, the Wi-Fi router is started after the configuration is completed, and communication connection is established between the Wi-Fi router and an intelligent air conditioner. After the communication connection is established, the PC is used for sending a burning command to the wireless burning transmitting gun, the wireless burning transmitting gun forwards the test command to the intelligent air conditioner through the communication connection established with the intelligent air conditioner, and the intelligent air conditioner executes the corresponding target type test according to the test command. For example, the intelligent air conditioner can be controlled by a remote controller to test whether the keys are normal or not, whether cooling or heating is working or not, and the like. In the related technology, the function test of the intelligent air conditioner can be realized by enabling the air conditioner to enter a complete machine test mode through a group of special key combinations, the intelligent air conditioner can be wirelessly controlled to enter the complete machine test mode through a wireless burning and transmitting gun, test data can be recorded in real time, complete test records can be obtained, the complex flow of manual test can be reduced, and automatic test terminal equipment can be realized.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Still provide a device of upgrading module in this embodiment, be applied to wireless burning recording transmitting equipment, wireless burning recording transmitting equipment includes: a first wireless network chip and a second wireless network chip. The device is used for implementing the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram illustrating an apparatus for upgrading a module according to an embodiment of the present application, and as shown in fig. 8, the apparatus 800 for upgrading a module includes:
a first receiving module 801, configured to receive first configuration information from a first terminal device, where the first configuration information is used to configure wireless network connection information of a second wireless network chip;
a connection module 802, configured to establish a communication connection between the second wireless network chip and the second terminal device based on the first configuration information;
a second receiving module 803, configured to receive an upgrade instruction from the first terminal device, where the upgrade instruction is used to upgrade at least one module in a module built in the second terminal device;
the forwarding module 804 is configured to forward the upgrade instruction to the second terminal device, so that the second terminal device upgrades at least one module.
Optionally, the connection module 802 is further configured to: sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and second terminal equipment, wherein the first network connection is a wireless local area network connection; and establishing a second network connection between the second wireless network chip and the second terminal equipment by utilizing the first network connection, wherein the second network connection is a transmission control protocol communication connection.
Optionally, the connection module 802 is further configured to: sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel; receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on first configuration information; and responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment.
Optionally, the connection module 802 is further configured to: receiving a second connection request from a second terminal device via the first network connection; and responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal equipment.
Optionally, the module upgrading apparatus 800 further includes: a notification module 805, configured to return a notification message to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Optionally, the module upgrading apparatus 800 further includes: an adjusting module 806, configured to adjust second configuration information of the first wireless network chip, where the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Optionally, the information carried in the upgrade instruction includes: the system comprises identification information, file information and verification information, wherein the identification information is used for indicating at least one module, the file information is an upgrade file corresponding to the at least one module, and the verification information is used for verifying whether the upgrade file is complete.
Still provide a device of upgrading module in this embodiment, be applied to wireless burning recording transmitting equipment, wireless burning recording transmitting equipment includes: a first wireless network chip and a second wireless network chip.
Fig. 9 is a block diagram of an apparatus for burning information according to an embodiment of the present application, and as shown in fig. 9, the apparatus 900 for burning information includes:
a first receiving module 901, configured to receive first configuration information from a first terminal device, where the first configuration information is used to configure wireless network connection information of the second wireless network chip;
a connection module 902, configured to establish a communication connection between the second wireless network chip and a second terminal device based on the first configuration information;
a second receiving module 903, configured to receive a burning instruction from the first terminal device, where the burning instruction is used to burn target type information to the second terminal device;
a forwarding module 904, configured to forward the burning instruction to the second terminal device, so that the second terminal device burns the target type information.
Optionally, the connection module 902 is further configured to: sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and second terminal equipment, wherein the first network connection is a wireless local area network connection; and establishing a second network connection between the second wireless network chip and the second terminal equipment by utilizing the first network connection, wherein the second network connection is a transmission control protocol communication connection.
Optionally, the connection module 902 is further configured to: sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel; receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on first configuration information; and responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment.
Optionally, the connection module 902 is further configured to: receiving a second connection request from a second terminal device via the first network connection; and responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal equipment.
Optionally, the apparatus 900 for burning information further includes: a notification module 905, configured to return a notification message to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Optionally, the apparatus 900 for burning information further includes: an adjusting module 906, configured to adjust second configuration information of the first wireless network chip, where the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Optionally, the information carried in the burning command includes: target type information, wherein the target type information includes at least one of: identity information of the second terminal device, and product serial number information of the second terminal device.
In this embodiment, a device for testing a terminal device is further provided, and is applied to a wireless burning transmission device, where the wireless burning transmission device includes: a first wireless network chip and a second wireless network chip.
Fig. 10 is a block diagram of an apparatus for testing a terminal device according to an embodiment of the present application, and as shown in fig. 10, the apparatus 1000 for testing a terminal device includes:
a first receiving module 1001, configured to receive first configuration information from a first terminal device, where the first configuration information is used to configure wireless network connection information of the second wireless network chip;
a connection module 1002, configured to establish a communication connection between the second wireless network chip and a second terminal device based on the first configuration information;
a second receiving module 1003, configured to receive a test instruction from the first terminal device, where the test instruction is used to perform a target type test on the second terminal device;
a forwarding module 1004, configured to forward the test instruction to the second terminal device, so that the second terminal device executes the target type test.
Optionally, the connection module 1002 is further configured to: sending first configuration information through a first wireless network chip, and establishing a first network connection between a second wireless network chip and second terminal equipment, wherein the first network connection is a wireless local area network connection; and establishing a second network connection between the second wireless network chip and the second terminal equipment by utilizing the first network connection, wherein the second network connection is a transmission control protocol communication connection.
Optionally, the connection module 1002 is further configured to: sending first configuration information on a fixed channel through a first wireless network chip so that a second terminal device can sense the first configuration information on the fixed channel; receiving a first connection request from a second terminal device by using a second wireless network chip, wherein the first connection request is initiated based on first configuration information; and responding to the first connection request, and establishing a first network connection between the second wireless network chip and the second terminal equipment.
Optionally, the connection module 1002 is further configured to: receiving a second connection request from a second terminal device via the first network connection; and responding to the second connection request, and establishing a second network connection between the second wireless network chip and the second terminal equipment.
Optionally, the apparatus 1000 for testing a terminal device further includes: a notification module 1005, configured to return a notification message to the first terminal device, where the notification message is used to notify that the second network connection is successfully established between the second wireless network chip and the second terminal device.
Optionally, the apparatus 1000 for testing a terminal device further includes: an adjusting module 1006, configured to adjust second configuration information of the first wireless network chip, where the second configuration information includes: the transmission power and the radio frequency antenna parameters, and the second configuration information is used for controlling the transmission distance of the first configuration information.
Optionally, the information carried in the test instruction includes: and testing object information and testing mode information corresponding to the target type test.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present application further provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving an upgrade instruction from the first terminal device, wherein the upgrade instruction is used for upgrading at least one module in a module built in the second terminal device;
and S4, forwarding the upgrading instruction to the second terminal device so that the second terminal device upgrades at least one module.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving a burning command from the first terminal device, wherein the burning command is used for burning target type information to the second terminal device;
and S4, forwarding the burning command to the second terminal device so that the second terminal device burns the target type information.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving a test instruction from the first terminal device, wherein the test instruction is used for carrying out a target type test on the second terminal device;
and S4, forwarding the test instruction to the second terminal equipment so as to enable the second terminal equipment to execute the target type test.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
An embodiment of the present application further provides a wireless burning transmission device, which includes a memory, a processor, a first wireless network chip and a second wireless network chip, and is characterized in that the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving an upgrade instruction from the first terminal device, wherein the upgrade instruction is used for upgrading at least one module in a module built in the second terminal device;
and S4, forwarding the upgrading instruction to the second terminal device so that the second terminal device upgrades at least one module.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving a burning command from the first terminal device, wherein the burning command is used for burning target type information to the second terminal device;
and S4, forwarding the burning command to the second terminal device so that the second terminal device burns the target type information.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving first configuration information from the first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
s2, establishing communication connection between the second wireless network chip and the second terminal equipment based on the first configuration information;
s3, receiving a test instruction from the first terminal device, wherein the test instruction is used for carrying out a target type test on the second terminal device;
and S4, forwarding the test instruction to the second terminal equipment so as to enable the second terminal equipment to execute the target type test.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Fig. 11 is a block diagram of a wireless burning system according to an embodiment of the present application, and as shown in fig. 11, the wireless burning system 1100 includes a first terminal device 1101, a wireless burning transmitting device 1102, and a second terminal device 1103.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method for burning information is applied to a wireless burning transmitting device, and the wireless burning transmitting device comprises: a first wireless network chip and a second wireless network chip, the method comprising:
receiving first configuration information from a first terminal device, wherein the first configuration information is used for configuring wireless network connection information of the second wireless network chip;
establishing a communication connection between the second wireless network chip and a second terminal device based on the first configuration information;
receiving a burning command from the first terminal device, wherein the burning command is used for burning target type information to the second terminal device;
and forwarding the burning instruction to the second terminal equipment so that the second terminal equipment burns the target type information.
2. The method of claim 1, wherein establishing a communication connection between the second wireless network chip and a second terminal device based on the first configuration information comprises:
sending the first configuration information through the first wireless network chip, and establishing a first network connection between the second wireless network chip and the second terminal device, wherein the first network connection is a wireless local area network connection;
and establishing a second network connection between the second wireless network chip and the second terminal equipment by using the first network connection, wherein the second network connection is a transmission control protocol communication connection.
3. The method of claim 2, wherein sending the first configuration information via the first wireless network chip, and wherein establishing the first network connection between the second wireless network chip and the second terminal device comprises:
sending the first configuration information through the first wireless network chip on a fixed channel so that the second terminal device can listen to the first configuration information on the fixed channel;
receiving, by the second wireless network chip, a first connection request from the second terminal device, where the first connection request is initiated based on the first configuration information;
and responding to the first connection request, and establishing the first network connection between the second wireless network chip and the second terminal equipment.
4. The method of claim 2, wherein establishing the second network connection between the second wireless network chip and the second terminal device using the first network connection comprises:
receiving a second connection request from the second terminal device via the first network connection;
and responding to the second connection request, and establishing the second network connection between the second wireless network chip and the second terminal equipment.
5. The method of claim 2, further comprising:
and returning a notification message to the first terminal device, wherein the notification message is used for notifying that the second network connection is successfully established between the second wireless network chip and the second terminal device.
6. The method of claim 2, further comprising:
adjusting second configuration information of the first wireless network chip, wherein the second configuration information comprises: the transmission power and the radio frequency antenna parameter, and the second configuration information is used for controlling the transmission distance of the first configuration information.
7. The method of claim 1, wherein the information carried in the burning command comprises: the target type information, wherein the target type information includes at least one of: identity information of the second terminal device, and product serial number information of the second terminal device.
8. An apparatus for burning information, the apparatus being applied to a wireless burning transmitting device, the wireless burning transmitting device comprising: a first wireless network chip and a second wireless network chip, the apparatus comprising:
a first receiving module, configured to receive first configuration information from a first terminal device, where the first configuration information is used to configure wireless network connection information of the second wireless network chip;
the connection module is used for establishing communication connection between the second wireless network chip and second terminal equipment based on the first configuration information;
a second receiving module, configured to receive a burning instruction from the first terminal device, where the burning instruction is used to burn target type information to the second terminal device;
and the forwarding module is used for forwarding the burning command to the second terminal equipment so as to enable the second terminal equipment to burn the target type information.
9. A non-volatile storage medium, wherein a computer program is stored in the storage medium, and wherein the computer program is configured to execute the method for burning information as claimed in any one of claims 1 to 7 when running.
10. A wireless burning transmission device, comprising a memory, a processor, a first wireless network chip and a second wireless network chip, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method of burning information as claimed in any one of claims 1 to 7.
11. A wireless burning system comprising a first terminal device, a second terminal device and the wireless burning transmitting device of claim 10.
CN202111437480.4A 2021-11-29 2021-11-29 Method, device, storage medium, equipment and system for burning information Pending CN114201184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111437480.4A CN114201184A (en) 2021-11-29 2021-11-29 Method, device, storage medium, equipment and system for burning information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111437480.4A CN114201184A (en) 2021-11-29 2021-11-29 Method, device, storage medium, equipment and system for burning information

Publications (1)

Publication Number Publication Date
CN114201184A true CN114201184A (en) 2022-03-18

Family

ID=80649575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111437480.4A Pending CN114201184A (en) 2021-11-29 2021-11-29 Method, device, storage medium, equipment and system for burning information

Country Status (1)

Country Link
CN (1) CN114201184A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679477A (en) * 2022-03-25 2022-06-28 上海庆科信息技术有限公司 Method and device for burning information, terminal equipment and wired burning system
CN117762438A (en) * 2024-01-12 2024-03-26 荣耀终端有限公司 System, method and related device for wireless burning of printed circuit board
CN117762438B (en) * 2024-01-12 2024-07-05 荣耀终端有限公司 System, method and related device for wireless burning of printed circuit board

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679477A (en) * 2022-03-25 2022-06-28 上海庆科信息技术有限公司 Method and device for burning information, terminal equipment and wired burning system
CN117762438A (en) * 2024-01-12 2024-03-26 荣耀终端有限公司 System, method and related device for wireless burning of printed circuit board
CN117762438B (en) * 2024-01-12 2024-07-05 荣耀终端有限公司 System, method and related device for wireless burning of printed circuit board

Similar Documents

Publication Publication Date Title
CN112911556B (en) Method for establishing classical Bluetooth connection between dual mode Bluetooth devices and dual mode Bluetooth device
US10264424B2 (en) Information processing method and central control device
CN107241679B (en) Connection establishing method, information sending method, message sending method and device
US11540245B2 (en) Home appliance and mobile terminal having application for registering the home appliance to server
CN104144093A (en) Intelligent device control method, relevant device and system
CN103607713A (en) Method, apparatus, device and system for network access
CN105578310A (en) Smart TV remote control method and device based on websocket protocol
CN102833794A (en) Method for configuring wireless network settings of thin client device using intelligent terminal
CN104915306A (en) Data operation control method and device manager
CN105636161A (en) Wireless network access method and device, communication terminal and wireless network access point
CN104697105A (en) Air conditioner control system and method
CN114201184A (en) Method, device, storage medium, equipment and system for burning information
CN114201196A (en) Method, device, storage medium, equipment and system for upgrading module
CN114205847B (en) Method, device, storage medium, equipment and system for testing terminal equipment
CN105446160A (en) Self-learning type control system of intelligent household
CN114845282A (en) Method, device, storage medium, equipment and system for testing terminal equipment
CN114845283A (en) Method, device, storage medium, equipment and system for upgrading module
CN114666775A (en) Method, device, storage medium, equipment and system for burning information
CN113777942A (en) Control method and control device for intelligent equipment and electronic equipment
CN112770379B (en) Power adjustment method and device, electronic equipment and storage medium
CN112416399B (en) Target function updating method and device
KR20170023245A (en) System for auto pairing using near field communication tag
CN105933755B (en) A kind of intelligence control system and its control method
KR101613650B1 (en) Smart Terminal, His control system for controlling multiple wireless repeaters and Control method thereof
CN114675848A (en) Method and device for burning information, terminal equipment and wireless burning system

Legal Events

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