Wireless charging key writing method and device, control terminal, and storage medium
By automating the acquisition and writing of authorization keys for wireless charging devices, the problem of low efficiency in the production process of wireless charging devices is solved, and an efficient and reliable key writing process is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LONGCHEER ELECTRONICS HUIZHOU
- Filing Date
- 2026-05-26
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, the writing efficiency of authorization keys in the production process of wireless charging devices is low, and it is easy to miss or write incorrectly. In addition, the reliance on manual operation leads to low efficiency.
By acquiring the identification information of the wireless charging product, a communication connection is automatically established with the mobile terminal server to obtain the authorization key. The key is then written into the product through an automated process, including scanning the identification code, querying the local database, monitoring the communication status, and diagnosing message parsing to ensure successful writing.
It enables automated acquisition and writing of wireless charging keys, improving production efficiency, avoiding omissions and errors, and enhancing the reliability and quality control of the writing process.
Smart Images

Figure CN122513764A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle charging technology, specifically to a wireless charging key writing method, device, control terminal, and storage medium. Background Technology
[0002] In the pre-installation production of automotive wireless charging products, the wireless charging equipment needs to interface with mobile terminal manufacturers to obtain corresponding authorization keys and write them into the product to achieve fast charging compatibility with specific mobile terminals. Related technologies typically employ a manual or semi-manual approach, requesting authorization keys from different mobile terminal manufacturers and then writing them into the product one by one using a programmer. The entire process relies on manual operation and judgment. Because the authorization protocols and interfaces of different mobile terminal manufacturers are not standardized, manual switching is time-consuming and labor-intensive, and prone to errors such as incorrect requests or key confusion. Furthermore, during product manufacturing, omissions, errors, or incomplete writing are common. If a writing failure occurs, manual intervention is required to troubleshoot and re-operate, resulting in low efficiency. Summary of the Invention
[0003] In view of this, the present invention provides a wireless charging key writing method, apparatus, control terminal and storage medium to solve the problem of low authorization key efficiency.
[0004] In a first aspect, the present invention provides a wireless charging key writing method, applied to a control terminal, the control terminal being deployed in a wireless charging key writing system, the method comprising: Obtain the identification information of the target wireless charging product; The key writing status of the target wireless charging product is obtained based on the identification information; If the key writing status is first writing or missing key, the key writing device is controlled to establish a communication connection with the mobile terminal server to obtain the authorization key; Write the authorization key into the target wireless charging product.
[0005] In one optional implementation, the wireless charging key writing system further includes a scanning device, which is communicatively connected to the control terminal. The step of acquiring the identification information of the target wireless charging product to be processed includes: The scanning device is controlled to scan the identification code of the target wireless charging product to obtain the identification information of the target wireless charging product, the identification information including at least the product serial number of the target wireless charging product.
[0006] In one optional implementation, obtaining the key writing status of the target wireless charging product based on the identification information includes: Based on the identification information, query the local database to find the key writing status of the target wireless charging product corresponding to the identification information.
[0007] In one optional implementation, the control key writing device establishes a communication connection with the mobile terminal server to obtain the authorization key, including: The key writing device is controlled to send an authorization request to the mobile terminal server. Receive the authorization key corresponding to the target wireless charging product returned by the mobile terminal server based on the authorization request.
[0008] In an optional implementation, after writing the authorization key into the target wireless charging product, the method further includes: Send a diagnostic command to the target wireless charging product; Receive a diagnostic message returned by the target wireless charging product based on the diagnostic command, the diagnostic message including at least the authorization key information stored in the target wireless charging product; The diagnostic message is parsed, and the writing success is determined based on the parsing result.
[0009] In an optional implementation, after determining whether the writing was successful based on the parsing result of the diagnostic message, the method further includes: If the write is successful, the write result will be updated to the local database, and the display interface will be controlled to show that the write was successful; If the writing fails, the control clamp maintains the fixed state of the target wireless charging product and issues an alarm signal. The clamp is set in the wireless charging key writing system and is communicatively connected to the control terminal to respond to the instructions of the control terminal to fix or release the target wireless charging product.
[0010] In one optional implementation, if the write operation is successful, the method further includes: A power-off command is sent to the programmable power supply, and the programmable power supply disconnects the power supply to the target wireless charging product in response to the power-off command. The programmable power supply is set in the wireless charging key writing system and is communicatively connected to the control terminal. Control the clamp to release the target wireless charging product from its fixed state.
[0011] The wireless charging key writing method provided in this embodiment includes obtaining the identification information of the target wireless charging product; obtaining the key writing status of the target wireless charging product based on the identification information; if the key writing status is "first writing" or "missing key", controlling the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key; and writing the authorization key into the target wireless charging product. This method can automatically identify the key writing status of the wireless charging product through a scanning device, thereby automating the acquisition and writing of the authorization key for the wireless charging product, improving production efficiency, and avoiding omissions and errors in writing.
[0012] In a second aspect, the present invention provides a wireless charging key writing device, comprising: The information acquisition module is used to acquire the identification information of the target wireless charging product; The status acquisition module is used to acquire the key writing status of the target wireless charging product based on the identification information; The key acquisition module is used to control the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key if the key writing status is first writing or missing key; A key writing module is used to write the authorization key into the target wireless charging product.
[0013] Thirdly, the present invention provides a control terminal, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0014] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0015] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating the wireless charging key writing method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the framework of a wireless charging key writing system according to an embodiment of the present invention; Figure 3This is a schematic diagram of a wireless charging key writing method according to an embodiment of the present invention; Figure 4 This is a structural block diagram of a wireless charging key writing device according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the hardware structure of the control terminal according to an embodiment of the present invention. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] In the pre-installation production process of automotive wireless charging products, the wireless charging equipment needs to be authorized and interfaced with mainstream mobile phone terminal manufacturers to obtain the corresponding authorization keys and write them into the product in order to achieve fast charging compatibility with specific mobile phone models. Currently, a manual or semi-manual method is usually used, requesting authorization keys from different mobile phone terminal manufacturers one by one, and then writing them into the product one by one using a programmer. The entire process relies on manual operation and judgment. Based on this, this invention provides an embodiment of a wireless charging key writing method, applied to a control terminal, which can be an IPC (Industrial Personal Computer) deployed in a wireless charging key writing system.
[0019] According to an embodiment of the present invention, a method for writing a wireless charging key is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0020] This embodiment provides a wireless charging key writing method, applied to a control terminal, which is deployed in a wireless charging key writing system. Figure 1 This is a flowchart of a wireless charging key writing method according to an embodiment of the present invention, as shown below. Figure 1 As shown, the process includes the following steps: Step S101: Obtain the identification information of the target wireless charging product.
[0021] The target wireless charging product refers to the in-vehicle wireless charging device for which the authorization key writing operation is to be performed, i.e., an in-vehicle charging module conforming to the Wireless Power Consortium (WPC) standard (WPC product for short). Identification information is data used to uniquely identify the target wireless charging product, such as the product serial number (SN), the product unique identifier (UID), or a combination of both.
[0022] There are several methods for obtaining identification information. For example, a control terminal can control a scanning device to scan the identification code attached to the product, which may include optically readable codes such as QR codes, barcodes, or data matrix codes, thereby reading the identification information. Alternatively, it can be obtained through manual input or directly received from the production management system.
[0023] Step S102: Obtain the key writing status of the target wireless charging product based on the identification information.
[0024] The key write status reflects the currently written authorization key for the target wireless charging product. The key write status can include: never written, partially written, or fully written. The control terminal queries the local database based on the identification information. The local database pre-stores product records that have completed the write operation, thereby obtaining the key write status.
[0025] Step S103: If the key writing status is "first writing" or "key missing", then control the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key.
[0026] The authorization key is encrypted license data granted by the mobile terminal manufacturer to the wireless charging product, enabling the product to support the fast charging protocol of a specific model. "First write" indicates that the key has never been written before, while "missing key" indicates that only a portion of the key has been written. If the key writing status of the target wireless charging product is "first write" or "missing key," the key writing device actively establishes a network connection with the corresponding mobile terminal server. The connection method can be HTTP (Hypertext Transfer Protocol) / HTTPS (HTTP Secure), TCP / IP (Transmission Control Protocol / Internet Protocol) proprietary protocols, or a manufacturer-specific API (Application Programming Interface). The key writing device sends an authorization request containing product identification information to the server, and the server verifies the request and returns the corresponding authorization key. In practical applications, different communication protocols and encryption methods can be dynamically adapted according to the interface requirements of different mobile phone manufacturers.
[0027] Step S104: Write the authorization key into the target wireless charging product.
[0028] Writing refers to transmitting and storing the acquired authorization key into the non-volatile memory of the target wireless charging product. Specifically, the control terminal can send the authorization key to the wireless charging product in the form of a diagnostic request message via the CAN (Controller Area Network) communication module based on the vehicle-mounted UDS (Unified Diagnostic Services) protocol, or write it via a serial port or other wired communication interface. During the writing process, the control terminal can monitor the communication status to ensure complete data transmission. After writing is complete, the wireless charging product can use this key to complete the fast charging handshake with the mobile terminal in subsequent use.
[0029] The wireless charging key writing method provided in this embodiment includes obtaining the identification information of the target wireless charging product; obtaining the key writing status of the target wireless charging product based on the identification information; if the key writing status is "first writing" or "missing key", controlling the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key; and writing the authorization key into the target wireless charging product. This method can automatically identify the key writing status of the wireless charging product through a scanning device, thereby automating the acquisition and writing of the authorization key for the wireless charging product, improving production efficiency, and avoiding omissions and errors in writing.
[0030] In some optional implementations, the wireless charging key writing system further includes a scanning device, which is communicatively connected to the control terminal. Step S101 includes: controlling the scanning device to scan the identification code of the target wireless charging product to obtain the identification information of the target wireless charging product. The identification information includes at least the product serial number of the target wireless charging product.
[0031] The scanning device can be a QR code scanner or a barcode scanner. The scanning device and the control terminal can communicate via wired or wireless means. The control terminal controls the operation of the scanning device by sending commands.
[0032] An identification code is a machine-readable graphic code affixed to the surface or label of a product, such as a QR code, data matrix code, or one-dimensional barcode. A scanning device reads the identification code using optical imaging or laser scanning and decodes the encoded data. This data includes at least the product serial number (SN) of the target wireless charging product. In some embodiments, the identification code may also contain other information such as a unique product identifier (UID), production batch number, and model code. After receiving the data uploaded by the scanning device, the control terminal extracts the product serial number as the basis for subsequent query key writing status.
[0033] In some optional implementations, step S102 may include: querying the local database for the key writing status of the target wireless charging product corresponding to the identification information based on the identification information.
[0034] The local database can be a relational database, key-value store, or file database, deployed locally on the control terminal or on a server connected to the terminal. The database pre-stores product records where key writing operations have been completed. Each record is associated with a product's identification information (e.g., product serial number) and its corresponding key writing status (e.g., not written, partially written, completed). After obtaining the identification information of the target wireless charging product, the control terminal uses the identification information as the query key to retrieve the corresponding entry in the local database. If a corresponding record is found, the key writing status field in that record is read; if no record is found, it is determined that the product is being written for the first time, meaning no key writing operation has ever been performed.
[0035] In some optional implementations, step S103 includes: the control key writing device sending an authorization request to the mobile terminal server; and receiving the authorization key corresponding to the target wireless charging product returned by the mobile terminal server based on the authorization request.
[0036] An authorization request is a request message generated by the key writing device according to the instructions of the control terminal and in accordance with the communication protocol specified by the mobile terminal manufacturer. The authorization request must at least contain the identification information of the target wireless charging product, and may also include additional information such as the product model, the requested key type, a timestamp, or a digital signature, which are used by the server to verify the legitimacy of the request and determine the range of authorized keys to be returned. The key writing device sends the authorization request to the designated address of the mobile terminal server via the network interface.
[0037] After receiving an authorization request, the mobile terminal server verifies the validity of the authorization. If the verification passes, it generates or finds the authorization key corresponding to the target wireless charging product and encapsulates the authorization key in a response message, returning it to the key writing device. The key writing device receives the response message, parses and extracts the authorization key, and transmits it to the control terminal. If the server returns an error code, the control terminal determines that the acquisition has failed and may trigger the corresponding exception handling process, such as retrying or issuing an alarm.
[0038] In some alternative implementations, after step S104, the method further includes: Step S201: Send a diagnostic command to the target wireless charging product.
[0039] A diagnostic command is a request message constructed according to automotive diagnostic standards, used to read specific data stored internally by the product. The control terminal sends the diagnostic command to the target wireless charging product via a communication module (such as a CAN communication module, i.e., a controller area network communication module). The diagnostic command must contain at least the data identifier to be read, which corresponds to the storage address of the authorization key. For example, a dedicated data identifier can be defined to read the authorization key information written in the wireless charging product.
[0040] Step S202: Receive the diagnostic message returned by the target wireless charging product based on the diagnostic command.
[0041] The diagnostic message includes at least the authorization key information stored in the target wireless charging product. Upon receiving the diagnostic command, the target wireless charging product reads the corresponding authorization key information from its memory based on the data identifier in the command. This information may include the written key content, key version, or key verification value. The authorized key information is then encapsulated into a diagnostic message and returned to the control terminal via the same communication link.
[0042] S203, parse the diagnostic message, and determine whether the write was successful based on the parsing result of the diagnostic message.
[0043] After receiving the diagnostic message, the control terminal parses the response code and valid data field to extract the actually stored authorization key information. It then compares the stored authorization key information with the authorization key obtained from the mobile terminal server. If they match perfectly, the write operation is considered successful; otherwise, the write operation is considered to have failed.
[0044] This embodiment performs verification after the write operation to ensure that the authorization key is correctly and completely written into the target wireless charging product. This prevents write failures caused by communication interference, storage errors, or product abnormalities from being mistakenly judged as successes, thereby significantly improving the reliability and quality control capabilities of production writing.
[0045] In some optional implementations, after step S203 above, the method further includes: In step S301, if the write is successful, the write result is updated to the local database, and the display interface is controlled to show that the write was successful.
[0046] If the write operation is successful, it indicates that all authorization keys have been written to the target wireless charging product. The result of this write operation is then stored in the local database, which may include the write time, product identification information, etc. The update method can be to add a new record or modify the status field of an existing record to "written". The display interface is a human-machine interface used to show operators the current device status, write progress, and results; for example, the monitor of the control terminal. The display interface will show "Write successful".
[0047] Furthermore, if the writing is successful, the method also includes: issuing a power-off command to the programmable power supply, wherein the programmable power supply disconnects the power supply to the target wireless charging product in response to the power-off command, the programmable power supply is set in the wireless charging key writing system and is communicatively connected to the control terminal; and controlling the fixture to release the fixed state of the target wireless charging product.
[0048] A programmable DC power supply is installed in the wireless charging key writing system and communicates with the control terminal. After confirming successful writing and completing local database updates and display prompts, the control terminal sends a power-off command to the programmable power supply. Upon receiving the power-off command, the programmable power supply cuts off the power supply line to the target wireless charging product, putting the product in a power-off state. This prevents electric shock accidents or electrical stress damage to the product during the retrieval process.
[0049] The fixture is installed in the wireless charging key writing system and communicates with the control terminal. It responds to commands from the control terminal to fix or release the target wireless charging product. After the programmable power supply is de-energized, the control terminal sends a release command to the fixture. Upon receiving the release command, the fixture releases its grip on the product, thus separating the target wireless charging product from the test carrier. The target wireless charging product can then be removed and proceed to the next process step.
[0050] In step S302, if the writing process fails, the control fixture maintains its fixed position on the target wireless charging product and issues an alarm signal. The fixture is installed in the wireless charging key writing system and is communicatively connected to the control terminal to respond to commands from the control terminal to fix or release the target wireless charging product.
[0051] If the writing process fails, the control terminal issues a command to maintain the clamp in its current pressed and fixed state, meaning the clamp will not release the product to prevent it from flowing into the next process. Simultaneously, the control terminal issues an alarm signal, which may include an audible alarm, a visual alarm, or a pop-up warning on the interface, to remind the operator that the product writing has failed and requires manual intervention or a retry.
[0052] This embodiment provides a wireless charging key writing method applied to a control terminal, which is an IPC (Industrial Personal Computer). The control terminal is deployed in a wireless charging key writing system, and the system framework diagram is shown below. Figure 2 As shown, it includes the following modules: barcode scanner (scanning device), test carrier, IPC industrial control computer, CAN (Controller Area Network) communication module, wireless charging product (WPC product), programmable power supply, key writing device (key writing device), SQLite local server (i.e., local database), and MES system (Manufacturing Execution System). The system includes: an IPC industrial control computer that can deploy host computer software; a barcode scanner for scanning product identification codes; a test fixture for fixing the target wireless charging product to be processed, and for pressing down to fix or raising up to release under the command of the control terminal; a key writing device that communicates with the control terminal and interacts with an external mobile terminal server (key server) to request and receive authorization keys; a CAN communication module that connects to the control terminal on one end and to the target wireless charging product on the other end via a CAN / CANFD interface for transmitting UDS diagnostic protocol messages; a programmable power supply that communicates with the control terminal and provides on / off power to the target wireless charging product; an SQLite local server that interacts with the control terminal to store the key writing status and results for each product; and an MES system that receives the writing results and implements station release control.
[0053] The wireless charging key writing method provided in this embodiment is as follows: Figure 3 As shown, the details are as follows: The target wireless charging product is placed in the test carrier, and the control barcode scanner scans the identification code on the product to obtain its identification information. After scanning, the control terminal instructs the test carrier to automatically press down, fixing the product and connecting the circuit. The control terminal queries the local SQLite database based on the product identification information to obtain the current key writing status of the product (e.g., not written, partially written, completed). If the status is "first write" or "missing part of the key," the subsequent writing process is triggered; if it is "completed," the writing is skipped. The control terminal controls the key writing device to establish a communication connection with the corresponding mobile terminal server, initiates an authorization task order based on the product UID, and receives the authorization key returned by the server. The control terminal writes the authorization key to the target wireless charging product via the CAN communication module. The control terminal sends a diagnostic command to the target wireless charging product via the CAN communication module, receives the diagnostic message returned by the product, parses the actual authorized key information stored in the product, and compares it with the obtained authorization key. If they match, the writing is considered successful; otherwise, the writing is considered a failure. If the writing is successful, the success result is updated to the local SQLite database, and the UI interface is controlled to display "writing successful." Simultaneously, the programmable power supply disconnects the product's power supply, instructing the test carrier to automatically rise and release the product for manual removal. Finally, the write result and product information are uploaded to the MES system, requesting passage release. If the write operation fails, the failure result is recorded in the local database, the control UI displays the write failure, and an alarm is issued. At the same time, the test carrier remains in a depressed state to prevent the product from flowing into the next process, awaiting manual intervention.
[0054] This embodiment also provides a wireless charging key writing device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0055] This embodiment provides a wireless charging key writing device, such as... Figure 4 As shown, it includes: The information acquisition module is used to acquire the identification information of the target wireless charging product; The status acquisition module is used to acquire the key writing status of the target wireless charging product based on the identification information; The key acquisition module is used to control the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key if the key writing status is first writing or missing key; A key writing module is used to write the authorization key into the target wireless charging product.
[0056] In some optional implementations, the wireless charging key writing system further includes a scanning device, which is communicatively connected to the control terminal. The information acquisition module includes an information acquisition unit, which controls the scanning device to scan the identification code of the target wireless charging product to obtain the identification information of the target wireless charging product. The identification information includes at least the product serial number of the target wireless charging product.
[0057] In some optional implementations, the status acquisition module includes: The status acquisition unit is used to query the key writing status of the target wireless charging product corresponding to the identification information in the local database based on the identification information.
[0058] In some optional implementations, the key acquisition module includes: The request acquisition unit is used to control the key writing device to send an authorization request to the mobile terminal server. A key receiving unit is used to receive the authorization key corresponding to the target wireless charging product returned by the mobile terminal server based on the authorization request.
[0059] In some alternative embodiments, the apparatus further includes: A diagnostic command issuing unit is used to send diagnostic commands to the target wireless charging product; A diagnostic receiving unit is configured to receive a diagnostic message returned by the target wireless charging product based on the diagnostic command, wherein the diagnostic message includes at least the authorization key information stored in the target wireless charging product; The message parsing unit is used to parse the diagnostic message and determine whether the writing was successful based on the parsing result of the diagnostic message.
[0060] In some alternative embodiments, the apparatus further includes: The first processing unit is used to update the write result to the local database if the write is successful, and to control the display interface to show that the write was successful. The second processing unit is used to control the clamp to maintain the fixed state of the target wireless charging product and issue an alarm signal if the writing is unsuccessful. The clamp is set in the wireless charging key writing system and is communicatively connected to the control terminal. It is used to respond to the instructions of the control terminal to fix or release the target wireless charging product.
[0061] In some alternative embodiments, the apparatus further includes: A power-off unit is used to send a power-off command to the programmable power supply. The programmable power supply responds to the power-off command and disconnects the power supply to the target wireless charging product. The programmable power supply is set in the wireless charging key writing system and is communicatively connected to the control terminal. The clamp control unit is used to control the clamp to release the target wireless charging product from its fixed state.
[0062] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0063] In this embodiment, the wireless charging key writing device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0064] This invention also provides a control terminal having the above-described device.
[0065] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a control terminal provided in an optional embodiment of the present invention, such as... Figure 5 As shown, the control terminal includes one or more processors 10, a memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the control terminal, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple control terminals can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 5 Take a processor 10 as an example.
[0066] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0067] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0068] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the control terminal. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories can be connected to the control terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0069] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0070] The control terminal also includes a communication interface 30 for communicating with other devices or communication networks.
[0071] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0072] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0073] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A wireless charging key write-in method, characterized by, The method is applied to a control terminal, which is deployed in a wireless charging key writing system, and includes: Obtain the identification information of the target wireless charging product; The key writing status of the target wireless charging product is obtained based on the identification information; If the key writing status is first writing or missing key, the key writing device is controlled to establish a communication connection with the mobile terminal server to obtain the authorization key; Write the authorization key into the target wireless charging product.
2. The method of claim 1, wherein, The wireless charging key writing system also includes a scanning device, which is communicatively connected to the control terminal. The step of acquiring the identification information of the target wireless charging product to be processed includes: The scanning device is controlled to scan the identification code of the target wireless charging product to obtain the identification information of the target wireless charging product, the identification information including at least the product serial number of the target wireless charging product.
3. The method of claim 1, wherein, The step of obtaining the key writing status of the target wireless charging product based on the identification information includes: Based on the identification information, query the local database to find the key writing status of the target wireless charging product corresponding to the identification information.
4. The method according to claim 1, characterized in that, The control key writing device establishes a communication connection with the mobile terminal server to obtain the authorization key, including: The key writing device is controlled to send an authorization request to the mobile terminal server. Receive the authorization key corresponding to the target wireless charging product returned by the mobile terminal server based on the authorization request.
5. The method according to claim 1, characterized in that, After writing the authorization key into the target wireless charging product, the method further includes: Send a diagnostic command to the target wireless charging product; Receive a diagnostic message returned by the target wireless charging product based on the diagnostic command, the diagnostic message including at least the authorization key information stored in the target wireless charging product; The diagnostic message is parsed, and the writing success is determined based on the parsing result.
6. The method according to claim 5, characterized in that, After determining whether the writing was successful based on the parsing result of the diagnostic message, the method further includes: If the write is successful, the write result will be updated to the local database, and the display interface will be controlled to show that the write was successful; If the writing fails, the control clamp maintains the fixed state of the target wireless charging product and issues an alarm signal. The clamp is set in the wireless charging key writing system and is communicatively connected to the control terminal to respond to the instructions of the control terminal to fix or release the target wireless charging product.
7. The method according to claim 6, characterized in that, If the write operation is successful, the method further includes: A power-off command is sent to the programmable power supply, which responds to the power-off command by disconnecting the power supply to the target wireless charging product. The programmable power supply is set in the wireless charging key writing system and is communicatively connected to the control terminal. Control the clamp to release the target wireless charging product from its fixed state.
8. A wireless charging key writing device, characterized in that, include: The information acquisition module is used to acquire the identification information of the target wireless charging product; The status acquisition module is used to acquire the key writing status of the target wireless charging product based on the identification information; The key acquisition module is used to control the key writing device to establish a communication connection with the mobile terminal server to obtain the authorization key if the key writing status is first writing or missing key; A key writing module is used to write the authorization key into the target wireless charging product.
9. A control terminal, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the wireless charging key writing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the wireless charging key writing method according to any one of claims 1 to 7.