Data processing method and device, electronic equipment and readable storage medium
By obtaining the production barcode of the photovoltaic module and generating the target data code, the problem of cumbersome photovoltaic data transmission and low security is solved, and the effect of simplifying transmission and improving safety is achieved.
Patent Information
- Application Number
- CN202311495184.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2025-05-13
AI Technical Summary
When the producer of photovoltaic modules transmits the photovoltaic data corresponding to the photovoltaic module to the user, the process is cumbersome and has low safety.
By obtaining the production barcode of the photovoltaic module, the target photovoltaic data is obtained based on the barcode, and the subcode corresponding to the subdata is determined according to the preset code conversion rules, the target data code is generated, printed as a label and pasted on the photovoltaic module, so that the user can obtain the data through the label.
The transmission process of photovoltaic data is simplified and the security of data during transmission is improved.
Smart Images

Figure CN119990166A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technologies, and in particular to a data processing method, device, electronic equipment and readable storage medium. Background Art
[0002] Photovoltaic modules (also called solar panels) are the core part of solar power generation systems, used to convert solar energy into electrical energy and send it to batteries for storage or to drive loads.
[0003] At present, the manufacturer of photovoltaic modules needs to transmit the photovoltaic data corresponding to the photovoltaic modules to the user of the photovoltaic modules in paper or electronic form, which has the problems of cumbersome transmission process and low security. Summary of the invention
[0004] The present invention provides a data processing method, device, electronic device and readable storage medium to solve the problem in the related art that when a photovoltaic module manufacturer transmits photovoltaic data corresponding to the photovoltaic module to a photovoltaic module user, the transmission process is complicated and the security is low.
[0005] In order to solve the above problems, the technical solution of the present invention is achieved as follows:
[0006] An embodiment of the present invention provides a data processing method, which is applied to a first device, and the method includes:
[0007] Obtain the production barcode of the target photovoltaic module;
[0008] Based on the production barcode, acquiring target photovoltaic data corresponding to the target photovoltaic component; the target photovoltaic data includes at least one sub-data;
[0009] Determine the sub-code corresponding to each sub-data according to a preset code conversion rule;
[0010] Arrange the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code;
[0011] generating a first label of the target photovoltaic component according to the target data code;
[0012] The first label is printed onto a second label, and the second label is attached to the target photovoltaic component, so that the second device can obtain target photovoltaic data corresponding to the target photovoltaic component based on the second label.
[0013] Optionally, the sub-data includes voltage data and current data;
[0014] The determining, according to a preset code conversion rule, a sub-code corresponding to each sub-data includes:
[0015] Generate a volt-ampere characteristic curve according to the voltage data and the current data; in the volt-ampere characteristic curve, the voltage data and the current data correspond one to one;
[0016] Determining a target voltage and a target current corresponding to the target photovoltaic component from the volt-ampere characteristic curve;
[0017] According to a preset code conversion rule, a first sub-code corresponding to the target voltage and a second sub-code corresponding to the target current are determined.
[0018] Optionally, the method further comprises:
[0019] Obtaining a tag identifier of the second tag;
[0020] Acquire the target photovoltaic data and the burning data corresponding to the second tag according to the tag identifier; the burning data is the data obtained after the target photovoltaic data is burned into the second tag;
[0021] Matching the target photovoltaic data with the burned data;
[0022] In the case that the target photovoltaic data does not match the burning data, an abnormal signal is generated; the abnormal signal is used to indicate that there is an abnormality in the process of burning the target photovoltaic data to the second tag.
[0023] Optionally, the method further comprises:
[0024] Receiving a data writing instruction from a third device for the first tag; the data writing instruction carries the data to be written;
[0025] Generate a first data code according to the data to be written;
[0026] The first data code is added to the target data code of the first tag.
[0027] Optionally, after acquiring target photovoltaic data corresponding to the target photovoltaic component based on the production barcode, the method further includes:
[0028] Identifying a first language of the target photovoltaic data and determining a target language;
[0029] The language packages corresponding to the first language and the target language are called to convert the target photovoltaic data into data in the target language.
[0030] Optionally, obtaining the production barcode of the target photovoltaic module includes:
[0031] The product barcode of the target photovoltaic module is scanned by a first scanning device to obtain the production barcode of the target photovoltaic module.
[0032] Optionally, acquiring target photovoltaic data corresponding to the target photovoltaic component based on the production barcode includes:
[0033] Sending the production barcode to a preset database, so that the preset database can obtain original photovoltaic data corresponding to the production barcode based on the production barcode;
[0034] The original photovoltaic data returned by the preset database is received, and the target photovoltaic data corresponding to the target photovoltaic component is determined by the original photovoltaic data.
[0035] An embodiment of the present invention further provides a data processing apparatus, applied to a first device, the apparatus comprising:
[0036] A first acquisition module is used to acquire the production barcode of the target photovoltaic module;
[0037] A second acquisition module is used to acquire target photovoltaic data corresponding to the target photovoltaic component based on the production barcode; the target photovoltaic data includes at least one sub-data;
[0038] A first determining module, used for determining the sub-code corresponding to each sub-data according to a preset code conversion rule;
[0039] An arrangement module, used for arranging the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code;
[0040] A first generating module, configured to generate a first label of the target photovoltaic component according to the target data code;
[0041] The printing module is used to print the first label onto a second label, and attach the second label to the target photovoltaic component, so that the second device can obtain the target photovoltaic data corresponding to the target photovoltaic component based on the second label.
[0042] An embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the data processing method as described in any one of the above items is implemented.
[0043] An embodiment of the present invention further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the data processing method as described in any one of the above items is implemented.
[0044] In the embodiment of the present invention, the producer of the target photovoltaic component can use the first device to process the target photovoltaic data corresponding to the target photovoltaic component through the data processing method provided by the embodiment of the present invention, and transmit the target data code corresponding to the target photovoltaic data to the user of the target photovoltaic component in the form of a second label, so that the user can use the second device to obtain the target photovoltaic data, thereby simplifying the transmission process of the target photovoltaic data. In addition, in the process of processing the target photovoltaic data, the first device will convert the target photovoltaic data into a target data code and generate a first label of the target photovoltaic component according to the target data code, thereby improving the security of the photovoltaic data during transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0046] Figure 1 A flowchart of a data processing method provided by an embodiment of the present invention is shown;
[0047] Figure 2 A logical block diagram of a data processing system provided by an embodiment of the present invention is shown;
[0048] Figure 3 A logical block diagram of a data processing device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] Method Embodiment
[0051] Reference Figure 1 , shows a flow chart of steps of a data processing method according to an embodiment of the present invention, the method comprising steps S110 to S160:
[0052] The data processing method provided in the embodiment of the present invention can be applied to the first device, and the first device can be any electronic device with a data processing function. The electronic device may include but is not limited to mobile phones, laptops, digital broadcast receivers, cellular phones, cordless phones, personal digital assistants (PDAs), handheld devices, computing devices, vehicle-mounted devices, wearable devices and other mobile terminals, as well as fixed terminals such as digital TVs and desktop computers. The operating system carried by the electronic device may include but is not limited to Windows systems, Mac systems, Linux systems, Chrome OS systems, UNIX operating systems, etc.
[0053] Exemplarily, the first device may be a Radio Frequency Identification (RFID) handset; the first device may also be an electronic device that establishes a communication connection with the RFID handset, which is not specifically limited in the embodiment of the present invention.
[0054] Step S110: Obtain the production barcode of the target photovoltaic module.
[0055] The target photovoltaic module can be any photovoltaic module that has been produced or is in production. The production barcode is a barcode that corresponds to the target photovoltaic module one by one, and the production barcode can be any one of a one-dimensional barcode, a two-dimensional barcode, and a color barcode.
[0056] In an embodiment of the present invention, the production barcode can be pasted or printed on the target photovoltaic component. After determining the target photovoltaic component, the first device can use a local scanning module or a scanning device that establishes a communication connection with the first device to scan the production barcode on the target photovoltaic component to obtain a production barcode that corresponds one-to-one to the target photovoltaic component.
[0057] Step S120: acquiring target photovoltaic data corresponding to the target photovoltaic module based on the production barcode; the target photovoltaic data includes at least one sub-data.
[0058] The target photovoltaic data is data corresponding to the target photovoltaic module one by one, and the sub-data in the target photovoltaic data may specifically be production data, performance data, model data, certification data, etc. corresponding to the target photovoltaic module.
[0059] Specifically, the sub-data in the target photovoltaic data may be the name of the manufacturer of the target photovoltaic module, the name of the manufacturer of the battery corresponding to the target photovoltaic module, the production date of the target photovoltaic module and / or the battery corresponding to the target photovoltaic module, the production place of the target photovoltaic module and / or the battery corresponding to the target photovoltaic module, the model of the target photovoltaic module, the volt-ampere characteristic curve of the target photovoltaic module, the maximum output power (Pmax ), maximum power point current (I m ), maximum power point voltage (V m ), open circuit voltage (Open circuit voltage, V oc ), short-circuit current (short-circuitcurrent, I sc ), fill factor (FF), the date on which the target photovoltaic module is certified by the International Electrotechnical Commission (IEC), and the name of the laboratory where the target photovoltaic module is certified by IEC.
[0060] In the embodiment of the present invention, the first device can determine the unique component identification of the target photovoltaic component (for example, the verification code calculated based on the production barcode) based on the production barcode, and then search and obtain the photovoltaic data corresponding to the component identification from the preset database based on the component identification, and use it as the target photovoltaic data corresponding to the target photovoltaic component. The first device can also obtain the target photovoltaic data corresponding to the target photovoltaic component from the preset database by scanning the production barcode, which is not specifically limited in the embodiment of the present invention.
[0061] Step S130: Determine the sub-code corresponding to each sub-data according to a preset code conversion rule.
[0062] Among them, the preset code conversion rule may include at least one of a plain code conversion rule and a secret code conversion rule. Specifically, the plain code conversion rule may be a code conversion rule commonly used in the industry, and any party other than the manufacturer of the target photovoltaic module may determine the sub-data corresponding to each sub-code based on the code conversion rule commonly used in the industry. Exemplarily, when the sub-data is the maximum output power, and the maximum output power is 280W, the sub-code corresponding to the sub-data determined according to the plain code conversion rule is 280; when the sub-data is the short-circuit current, and the short-circuit current is 9.46, the sub-code corresponding to the sub-data determined according to the plain code conversion rule is 946; when the sub-data is the component efficiency, and the component efficiency is 16%, the sub-code corresponding to the sub-data determined according to the plain code conversion rule is 16.
[0063] The secret code conversion rule is a code agreed upon by the producer and user of the target photovoltaic module and cannot be known by any party other than the producer and user; the sub-codes corresponding to each sub-data determined by the first device according to the secret code conversion rule may include but are not limited to letters, numbers, special symbols, etc. Exemplarily, in the secret code conversion rule, the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 correspond to the letters i, j, k, l, m, n, o, p, q, r respectively; when the sub-data is the maximum output power and the maximum output power is 280W, the sub-code corresponding to the sub-data determined according to the secret code conversion rule is kqi; when the sub-data is the short-circuit current and the short-circuit current is 9.46, the sub-code corresponding to the sub-data determined according to the clear code conversion rule is rmo; when the sub-data is the module efficiency and the module efficiency is 16%, the sub-code corresponding to the sub-data determined according to the clear code conversion rule is jo.
[0064] In an embodiment of the present invention, when it is necessary to keep the target photovoltaic data confidential, the first device may determine the sub-code corresponding to each sub-data according to the secret code conversion rule in the preset code conversion rule; when it is not necessary to keep the target photovoltaic data confidential, the first device may determine the sub-code corresponding to each sub-data according to the plain code conversion rule in the preset code conversion rule, and the embodiment of the present invention does not specifically limit this.
[0065] Step S140: Arrange the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code.
[0066] Specifically, when the preset code conversion rule in step S130 is a plain code conversion rule, the first device can arrange each sub-code according to the code arrangement rule commonly used in the industry to obtain the target data code during the execution of step S140. When the preset code conversion rule in step S130 is a secret code conversion rule, the first device can arrange each sub-code according to the code arrangement rule agreed upon by the manufacturer and user of the target photovoltaic module during the execution of step S140 to obtain the target data code. Exemplarily, the code arrangement rule agreed upon by the manufacturer and the user can be: the first line of the target data code represents the maximum output power of the target photovoltaic module, the second line of the target data code represents the maximum power point current of the target photovoltaic module, the fifth line of the target data code represents the fill factor of the target photovoltaic module, etc.
[0067] Step S150: Generate a first label of the target photovoltaic component according to the target data code.
[0068] It should be noted that the first label generated in step S150 is an electronic version of the label corresponding to the target photovoltaic component. The second label obtained by the first device printing the electronic version of the first label in step S160 is a physical label corresponding to the target photovoltaic component.
[0069] In an embodiment of the present invention, the second tag may be a radio frequency identification (RFID) tag. The first device may generate the first tag based on the size specification of the RFID tag and the target data code, and the first tag may include the target data code and a tag identifier corresponding to the target data code.
[0070] The tag identifier corresponding to the target data code can specifically be the tag identifier of the second tag, and the second tag corresponds to the tag identifier one by one. The first device can establish a mapping relationship between the target photovoltaic data and the tag identifier, and burn the target photovoltaic data into the chip of the second tag (for example, the NXP SLIX2 chip used by the radio frequency identification tag) or the target database, so that the second device can obtain the target photovoltaic data corresponding to the target photovoltaic module from the chip of the second tag or the target database based on the tag identifier of the second tag. Of course, the second device can also determine the target photovoltaic data according to the target data code printed on the second tag and the preset code conversion rules. The target database is a database that can be directly read by the chip of the second tag.
[0071] The label identification can be any of electronic code, one-dimensional barcode, two-dimensional barcode and color barcode.
[0072] Step S160: Print the first label onto a second label, and attach the second label to the target photovoltaic component, so that the second device can obtain target photovoltaic data corresponding to the target photovoltaic component based on the second label.
[0073] In an embodiment of the present invention, the first device can use a radio frequency identification printer to print the first label generated by step S150 onto a second label, and attach the second label to the target photovoltaic component, so that the user of the target photovoltaic component can use the second device to obtain the target photovoltaic data corresponding to the target photovoltaic component based on the second label on the target photovoltaic component.
[0074] Specifically, the second device can obtain the target photovoltaic data corresponding to the target photovoltaic component from the chip of the second tag or the target database based on the tag identifier of the second tag. The second device can also determine the target photovoltaic data according to the target data code printed on the second tag and the preset code conversion rule, which is not specifically limited in the embodiment of the present invention.
[0075] The second device may be a radio frequency identification handset or an electronic device that establishes a communication connection with the radio frequency identification handset.
[0076] Exemplarily, the printing methods of the RFID printer may include thermal transfer and thermal printing, with a maximum printing width of 104mm and a maximum speed of 14ips (inches per second); wherein the operating temperature of thermal transfer is 5°C to 40°C, and the operating temperature of thermal printing is 0°C to 40°C. The RFID handheld device can read all internationally used one-dimensional barcodes and two-dimensional barcodes; it can read screen barcodes and color barcodes. The size of the RFID tag is generally 80mm×14mm and 55mm×16mm, the label paper material is generally polyethylene terephthalate (PET), and the antenna material is aluminum etching.
[0077] In an embodiment of the present invention, after the second device obtains the target photovoltaic data corresponding to the target photovoltaic component based on the second tag, it can generate a data file based on the target photovoltaic data and store the data file in the target storage area, so that the product user can use program software or electronic equipment with analysis function to read the target photovoltaic data from the target storage area, and analyze the performance, failure and future prediction of the target photovoltaic component based on the target photovoltaic data, so as to formulate a maintenance plan and performance optimization strategy, thereby improving the efficiency and reliability of the photovoltaic system. It should be noted that the data file generated based on the target photovoltaic data can be an excel file, a txt file, etc.
[0078] Among them, the program software or electronic equipment with analysis functions may include visualization tools and decision support systems, which help users better understand the analysis results of target photovoltaic data and make relevant decisions, while improving the stability of the photovoltaic system through continuous monitoring and feedback through visualization tools.
[0079] In the embodiment of the present invention, the producer of the target photovoltaic component can use the first device to process the target photovoltaic data corresponding to the target photovoltaic component through the data processing method provided by the embodiment of the present invention, and transmit the target data code corresponding to the target photovoltaic data to the user of the target photovoltaic component in the form of a second label, so that the user can use the second device to obtain the target photovoltaic data, thereby simplifying the transmission process of the target photovoltaic data. In addition, in the process of processing the target photovoltaic data, the first device will convert the target photovoltaic data into a target data code and generate a first label of the target photovoltaic component according to the target data code, thereby improving the security of the photovoltaic data during transmission.
[0080] Optionally, the sub-data include voltage data and current data; and step S130 determines the sub-code corresponding to each sub-data according to a preset code conversion rule, including steps S131 to S133:
[0081] Step S131 : generating a volt-ampere characteristic curve according to the voltage data and the current data.
[0082] Wherein, in the volt-ampere characteristic curve, the voltage data and the current data correspond one to one.
[0083] Specifically, the sub-data in the target photovoltaic data includes multiple voltage data and current data, and the voltage data and the current data correspond one-to-one, and different voltage data correspond to different current data. Exemplarily, when the first current data corresponds one-to-one to the first voltage data, the first current data is the current data collected by the target photovoltaic component at the voltage corresponding to the first voltage data.
[0084] Based on the one-to-one correspondence between voltage data and current data, the first device can generate a volt-ampere characteristic curve (IV curve) corresponding to the target photovoltaic component with the voltage data as the horizontal coordinate and the current data as the vertical coordinate.
[0085] Step S132: determining a target voltage and a target current corresponding to the target photovoltaic component from the volt-ampere characteristic curve.
[0086] Specifically, the first device can determine the maximum output power of the target photovoltaic component and the voltage and current values corresponding to the maximum output power according to the volt-ampere characteristic curve generated in step S131, and determine the voltage and current values corresponding to the maximum output power as the target voltage and target current.
[0087] The first device may also determine the short-circuit current and open-circuit voltage corresponding to the target photovoltaic assembly according to the volt-ampere characteristic curve generated in step S131, and determine the short-circuit current and open-circuit voltage as the target current and target voltage. Of course, the target voltage may also include the voltage value and open-circuit voltage corresponding to the maximum output power at the same time, and the target current may also include the current value and short-circuit current corresponding to the maximum output power at the same time. In the embodiment of the present invention, the target voltage and target current may be determined according to actual needs, and the embodiment of the present invention does not specifically limit this.
[0088] Step S133: Determine a first sub-code corresponding to the target voltage and a second sub-code corresponding to the target current according to a preset code conversion rule.
[0089] Specifically, the specific implementation process of the first device determining the first subcode corresponding to the target voltage and the second subcode corresponding to the target current according to the preset code conversion rule can refer to the detailed description of step S130, which will not be repeated here.
[0090] In the data processing method provided by the embodiment of the present invention, when the first device determines the sub-code corresponding to each sub-data according to the preset code conversion rule, it can first determine the target voltage and the target current based on the volt-ampere characteristic curve, and then determine the first sub-code corresponding to the target voltage and the second sub-code corresponding to the target current. Therefore, there is no need to determine the sub-codes of all voltage data and current data in the target photovoltaic data to reflect the voltage characteristics and current characteristics of the target photovoltaic component, thereby improving the efficiency of the first device in executing step S130.
[0091] Optionally, the method may further include steps A11 to A14:
[0092] Step A11: Obtain the tag identifier of the second tag.
[0093] Step A12: acquiring target photovoltaic data and burning data corresponding to the second tag according to the tag identifier.
[0094] The burned data is data obtained after the target photovoltaic data is burned into the second tag.
[0095] Step A13: Match the target photovoltaic data with the burning data.
[0096] Step A14: when the target photovoltaic data does not match the burning data, an abnormal signal is generated; the abnormal signal is used to indicate that there is an abnormality in the process of burning the target photovoltaic data to the second tag.
[0097] In an embodiment of the present invention, the second tag may be a radio frequency identification tag, and the second tag includes a chip and an antenna. The chip is used to store target photovoltaic data, process signals received by the second tag, and process transmission signals in the second tag; and the antenna is used to transmit and receive signals.
[0098] The second tag corresponds to the tag identifier one by one, and the first device can establish a mapping relationship between the target photovoltaic data and the tag identifier, and burn the target data code into the chip of the second tag, so that the second device can obtain the target photovoltaic data corresponding to the target photovoltaic module from the chip of the second tag based on the tag identifier of the second tag. The tag identifier can be any one of an electronic code, a one-dimensional barcode, a two-dimensional barcode, and a color barcode.
[0099] In an embodiment of the present invention, after the first device generates a first label through step S150 and prints the first label outside the second label through step S160, the first device may also burn the target photovoltaic data into the chip of the second label so that the second device may obtain the target photovoltaic data from the chip based on the label identifier of the second label.
[0100] To ensure that the target photovoltaic data can be correctly burned into the chip, the first device can also track and monitor the burning process of the target photovoltaic data. Specifically, the first device can obtain the target photovoltaic data corresponding to the second tag according to the tag identifier, and obtain the burned data after the target photovoltaic data is burned into the chip of the second tag, and match the target photovoltaic data with the burned data.
[0101] It can be understood that, when the target photovoltaic data and the burning data match, it indicates that there is no abnormality in the process of burning the target photovoltaic data to the second tag, and the target photovoltaic data is correctly burned into the chip of the second tag. When the target photovoltaic data and the burning data do not match, it indicates that there is an abnormality in the process of burning the target photovoltaic data to the second tag, and the first device can generate an abnormal signal to prompt the relevant personnel that there is an abnormality in the process of burning the target photovoltaic data to the second tag.
[0102] After generating the abnormal signal, the first device may display abnormal information corresponding to the abnormal signal to relevant personnel through a display interface, or may issue an alarm reminder to relevant personnel through an alarm device connected to the first device.
[0103] In the data processing method provided by the embodiment of the present invention, the first device tracks and monitors the burning process of the target photovoltaic data according to the tag identifier of the second tag, and generates an abnormal signal when there is an abnormality in the burning process. The abnormal signal indicates that there is an abnormality in the process of burning the target photovoltaic data to the second tag, thereby improving the accuracy of burning the target photovoltaic data to the second tag.
[0104] Optionally, the method may further include steps B11 to B13:
[0105] Step B11: receiving a data writing instruction for the RFID tag from a third device; the data writing instruction carries the data to be written.
[0106] Step B12: Generate a first data code according to the data to be written.
[0107] Step B13: adding the first data code to the target data code of the RFID tag.
[0108] The embodiment of the present invention can be used for implementing a process in which, after step S160, a third device other than the first device and the second device remotely adds the first data code corresponding to the data to be written to the target data code of the first tag through the first device. It should be noted that the data to be written is also the photovoltaic data corresponding to the target photovoltaic module.
[0109] Exemplarily, when the target photovoltaic data acquired in step S120 does not include the component efficiency of the target photovoltaic component, the third device adds the component efficiency of the target photovoltaic component as the data to be written to the data write instruction for the first tag, and sends the data write instruction to the first device, so that the first device can add the first data code of the component efficiency to the target data code of the first tag through steps B11 to B13.
[0110] When the first device adds the first data code corresponding to the data to be written to the target data code of the first label, it can also burn the data to be written into the second label, and improve the accuracy of burning the data to be written into the second chip through the operations corresponding to steps A11 to A14.
[0111] The third device may establish a communication connection with the first device via a communication network. The communication network may be a wired network or a wireless network, and the communication network may be at least one of a local area network, a metropolitan area network, and a wide area network.
[0112] In the embodiment of the present invention, after adding the first data code to the target data code of the first tag in step B13, the first device may repeatedly perform the operation corresponding to step S160 to achieve real-time update of the second tag.
[0113] In addition, sensors and monitoring devices may be installed on the first device. The sensors are used to monitor the operating parameters of the first device in real time. For example, the sensors can monitor the temperature, humidity, current, communication status, etc. of the first device in real time; the monitoring devices are used to transmit the operating parameters monitored by the sensors to the cloud server or monitoring platform in real time, so that the server or monitoring platform can control the operating process of the first device according to the operating parameters transmitted by the monitoring devices.
[0114] Exemplarily, the server or monitoring platform can remotely configure the operating parameters of the first device through the monitoring device. Exemplarily, the operating parameters can include but are not limited to burning speed, power, label format of the first label, etc.; the server or monitoring platform can also remotely control the start and stop of the first device through the monitoring device according to the operating parameters of the first device; the server or monitoring platform can also implement the upgrade of the firmware and software in the first device through the monitoring device on the first device.
[0115] It should be noted that the server or monitoring platform can establish a communication connection with the monitoring device through the network to achieve remote control of the first device.
[0116] According to the data processing method provided by the embodiment of the present invention, the first device can remotely add the first data code of the data to be written sent by the third device to the target data code, thereby improving the flexibility and operability of managing the first tag.
[0117] Optionally, after acquiring the target photovoltaic data corresponding to the target photovoltaic module based on the production barcode in step S120, the method may further include steps C11 to C12:
[0118] Step C11: identifying the first language of the target photovoltaic data and determining the target language.
[0119] Step C12: calling the language packages corresponding to the first language and the target language to convert the target photovoltaic data into data in the target language.
[0120] In the embodiment of the present invention, a language conversion module and language packages corresponding to multiple languages are provided in the first device. In the case where the languages used by the manufacturer and the user of the target photovoltaic module are different, the first device can, after executing step S120, execute operations corresponding to steps C11 to C12 to convert the target photovoltaic data from the first language used by the manufacturer to the target language used by the user, so as to improve the efficiency of the user in analyzing and processing the photovoltaic data after acquiring the target photovoltaic data.
[0121] Specifically, the language package may include a first language package corresponding to the first language and a second language package corresponding to the target language. The first device may first identify the first language of the target photovoltaic data acquired in step S120, and determine the target language used by the user of the target photovoltaic component; then, the first language package and the second language package are called by the language conversion module, and the target photovoltaic data in the first language are converted into the target photovoltaic data in the target language based on the first language package and the second language package.
[0122] It should be noted that the first device may use the language specified by the user as the target language, or may automatically match the target language of the user corresponding to the production barcode based on the production barcode of the target photovoltaic component, and the embodiment of the present invention does not specifically limit this.
[0123] Optionally, the step S110 of obtaining the production barcode of the target photovoltaic module includes the step S111:
[0124] Step S111: Scan the product barcode of the target photovoltaic module using a first scanning device to obtain the production barcode of the target photovoltaic module.
[0125] The first scanning device is a scanning device for identifying a product barcode. For example, the first scanning device may be any one of a laser handheld scanner, a CCD (Charge Coupled Device) scanner, and a full-angle laser scanner.
[0126] In the embodiment of the present invention, the first scanning device may be a scanning device that establishes a communication connection with the first device; the first scanning device may also be a scanning device disposed in the first device.
[0127] Optionally, the step S120 of acquiring target photovoltaic data corresponding to the target photovoltaic module based on the production barcode includes steps S121 to S122:
[0128] Step S121: Send the production barcode to a preset database, so that the preset database can obtain original photovoltaic data corresponding to the production barcode based on the production barcode.
[0129] Step S122: receiving the original photovoltaic data returned by the preset database, and determining the target photovoltaic data corresponding to the target photovoltaic assembly from the original photovoltaic data.
[0130] The preset database is a database for storing and managing photovoltaic data corresponding to each photovoltaic module. For example, the preset database may be a manufacturing enterprise production process execution system (Manufacturing Execution System, MES) database, or the preset database may be a database customized by the producer of the photovoltaic modules for storing and managing photovoltaic data.
[0131] In the preset database, the production barcode of the photovoltaic component and the photovoltaic data corresponding to the photovoltaic component correspond one to one. In the case where the preset database is an MES database, when the preset database receives the production barcode sent by the first device, it can obtain the original photovoltaic data corresponding to the production barcode based on the production barcode, and return the original photovoltaic data to the first device, so that the first device determines the target photovoltaic data corresponding to the target photovoltaic component with the original photovoltaic data after receiving the original photovoltaic data returned by the preset database. In the case where the preset database is a database customized by the producer of the photovoltaic component, the first device can also directly search and read the photovoltaic data corresponding to the production barcode from the preset database based on the production barcode obtained in step S110, and determine the photovoltaic data as the target photovoltaic data corresponding to the target photovoltaic component. The embodiment of the present invention does not specifically limit this.
[0132] Reference Figure 2, shows a logic block diagram of a data processing system provided by an embodiment of the present invention. The data processing system includes: a first device 10, a second device 20, a target photovoltaic module 30, a first scanning device 41 and a second scanning device 42. The first device 10 establishes a communication connection with the first scanning device 41; the second device 20 establishes a communication connection with the second scanning device 42; and the target photovoltaic module 30 is affixed with a second label 31 and a product barcode 32.
[0133] Specifically, the first device 10 can first use the first scanning device 41 to scan the product barcode 32 of the target photovoltaic component 30 to obtain the production barcode 32 of the target photovoltaic component; then, based on the production barcode 32, obtain the target photovoltaic data corresponding to the target photovoltaic component 30; then, according to the preset code conversion rule, determine the sub-code corresponding to each sub-data in the target photovoltaic data, and arrange the sub-codes corresponding to each sub-data according to the preset arrangement rule to obtain the target data code; then, generate the first label of the target photovoltaic component 30 according to the target data code; finally, print the first label to the second label 31, and attach the second label 31 to the target photovoltaic component 30.
[0134] The second device 30 may scan the second tag 31 using the second scanning device 42 , and obtain the target photovoltaic data corresponding to the target photovoltaic component 30 from the second tag 31 .
[0135] The second tag 31 may be a radio frequency identification tag, and the second scanning device 42 may be a radio frequency identification handset.
[0136] In summary, according to the data processing method provided by the embodiment of the present invention, the manufacturer of the target photovoltaic component can use the first device to process the target photovoltaic data corresponding to the target photovoltaic component through the data processing method provided by the embodiment of the present invention, and transmit the target data code corresponding to the target photovoltaic data to the user of the target photovoltaic component in the form of a second label, so that the user can use the second device to obtain the target photovoltaic data, thereby simplifying the transmission process of the target photovoltaic data. In addition, in the process of processing the target photovoltaic data, the first device will convert the target photovoltaic data into a target data code and generate a first label of the target photovoltaic component according to the target data code, thereby improving the security of the photovoltaic data during transmission.
[0137] Device Embodiment
[0138] like Figure 3 As shown, Figure 3 A logical block diagram of a data processing device provided by an embodiment of the present invention is shown, which is applied to a first device. The device may include:
[0139] A first acquisition module 310 is used to acquire a production barcode of a target photovoltaic module;
[0140] A second acquisition module 320 is used to acquire target photovoltaic data corresponding to the target photovoltaic module based on the production barcode; the target photovoltaic data includes at least one sub-data;
[0141] A first determining module 330, configured to determine a sub-code corresponding to each sub-data according to a preset code conversion rule;
[0142] An arrangement module 340 is used to arrange the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code;
[0143] A first generating module 350, configured to generate a first label of the target photovoltaic component according to the target data code;
[0144] The printing module 360 is used to print the first label onto a second label, and attach the second label to the target photovoltaic component, so that the second device can obtain the target photovoltaic data corresponding to the target photovoltaic component based on the second label.
[0145] Optionally, the sub-data includes voltage data and current data; and the first determining module includes:
[0146] A generating submodule, used for generating a volt-ampere characteristic curve according to the voltage data and the current data; in the volt-ampere characteristic curve, the voltage data and the current data correspond one to one;
[0147] A first determination submodule, used to determine a target voltage and a target current corresponding to the target photovoltaic component from the volt-ampere characteristic curve;
[0148] The second determination submodule is used to determine the first subcode corresponding to the target voltage and the second subcode corresponding to the target current according to a preset code conversion rule.
[0149] Optionally, the device further comprises:
[0150] A third acquisition module, used to acquire the tag identifier of the second tag;
[0151] A fourth acquisition module is used to acquire the target photovoltaic data and the burning data corresponding to the second tag according to the tag identifier; the burning data is the data obtained after the target photovoltaic data is burned into the second tag;
[0152] A matching module, used for matching the target photovoltaic data with the burning data;
[0153] The second generating module is used to generate an abnormal signal when the target photovoltaic data does not match the burning data; the abnormal signal is used to indicate that there is an abnormality in the process of burning the target photovoltaic data to the second tag.
[0154] Optionally, the device further comprises:
[0155] A receiving module, configured to receive a data writing instruction from a third device for the first tag; the data writing instruction carries data to be written;
[0156] A third generating module, used for generating a first data code according to the data to be written;
[0157] An adding module is used to add the first data code to the target data code of the first label.
[0158] Optionally, the device further comprises:
[0159] A second determination module, configured to identify a first language of the target photovoltaic data and determine a target language;
[0160] The conversion module is used to call the language packages corresponding to the first language and the target language to convert the target photovoltaic data into data in the target language.
[0161] Optionally, the first acquisition module includes:
[0162] The scanning submodule is used to scan the product barcode of the target photovoltaic module using a first scanning device to obtain the production barcode of the target photovoltaic module.
[0163] Optionally, the second acquisition module includes:
[0164] A sending submodule, used for sending the production barcode to a preset database, so that the preset database can obtain the original photovoltaic data corresponding to the production barcode based on the production barcode;
[0165] The third determination submodule is configured to receive the original photovoltaic data returned by the preset database, and determine the target photovoltaic data corresponding to the target photovoltaic assembly from the original photovoltaic data.
[0166] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0167] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0168] Regarding the processor in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0169] An embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the data processing method as described in any one of the above items is implemented.
[0170] An embodiment of the present invention further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the data processing method as described in any one of the above items is implemented.
[0171] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0173] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A data processing method, characterized in that: Applied to a first device, the method includes: Obtain the production barcode of the target photovoltaic module; Based on the production barcode, acquiring target photovoltaic data corresponding to the target photovoltaic component; the target photovoltaic data includes at least one sub-data; Determine the sub-code corresponding to each sub-data according to a preset code conversion rule; Arrange the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code; generating a first label of the target photovoltaic component according to the target data code; The first label is printed onto a second label, and the second label is attached to the target photovoltaic component, so that the second device can obtain target photovoltaic data corresponding to the target photovoltaic component based on the second label.
2. The method according to claim 1, characterized in that The sub-data include voltage data and current data; The determining, according to a preset code conversion rule, a sub-code corresponding to each sub-data includes: Generate a volt-ampere characteristic curve according to the voltage data and the current data; in the volt-ampere characteristic curve, the voltage data and the current data correspond one to one; Determining a target voltage and a target current corresponding to the target photovoltaic component from the volt-ampere characteristic curve; According to a preset code conversion rule, a first sub-code corresponding to the target voltage and a second sub-code corresponding to the target current are determined.
3. The method according to claim 1, characterized in that The method further comprises: Obtaining a tag identifier of the second tag; Acquire the target photovoltaic data and the burning data corresponding to the second tag according to the tag identifier; the burning data is the data obtained after the target photovoltaic data is burned into the second tag; Matching the target photovoltaic data with the burned data; In the case that the target photovoltaic data does not match the burning data, an abnormal signal is generated; the abnormal signal is used to indicate that there is an abnormality in the process of burning the target photovoltaic data to the second tag.
4. The method according to claim 3, characterized in that The method further comprises: Receiving a data writing instruction from a third device for the first tag; the data writing instruction carries the data to be written; Generate a first data code according to the data to be written; The first data code is added to the target data code of the first tag.
5. The method according to claim 1, characterized in that After acquiring target photovoltaic data corresponding to the target photovoltaic component based on the production barcode, the method further includes: Identifying a first language of the target photovoltaic data and determining a target language; The language packages corresponding to the first language and the target language are called to convert the target photovoltaic data into data in the target language.
6. The method according to claim 1, characterized in that The step of obtaining the production barcode of the target photovoltaic module includes: The product barcode of the target photovoltaic module is scanned by a first scanning device to obtain the production barcode of the target photovoltaic module.
7. The method according to claim 1, characterized in that The step of acquiring target photovoltaic data corresponding to the target photovoltaic module based on the production barcode includes: Sending the production barcode to a preset database, so that the preset database can obtain original photovoltaic data corresponding to the production barcode based on the production barcode; The original photovoltaic data returned by the preset database is received, and the target photovoltaic data corresponding to the target photovoltaic component is determined by the original photovoltaic data.
8. A data processing device, characterized in that: Applied to a first device, the apparatus comprises: A first acquisition module is used to acquire the production barcode of the target photovoltaic module; A second acquisition module is used to acquire target photovoltaic data corresponding to the target photovoltaic component based on the production barcode; the target photovoltaic data includes at least one sub-data; A first determining module, used for determining the sub-code corresponding to each sub-data according to a preset code conversion rule; An arrangement module, used for arranging the sub-codes corresponding to the sub-data according to a preset arrangement rule to obtain a target data code; A first generating module, configured to generate a first label of the target photovoltaic component according to the target data code; The printing module is used to print the first label onto a second label, and attach the second label to the target photovoltaic component, so that the second device can obtain the target photovoltaic data corresponding to the target photovoltaic component based on the second label.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the data processing method according to any one of claims 1 to 7 is implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the data processing method according to any one of claims 1 to 7 is implemented.