[go: up one dir, main page]

CN112118307B - Method for downloading equipment data - Google Patents

Method for downloading equipment data Download PDF

Info

Publication number
CN112118307B
CN112118307B CN202010962307.5A CN202010962307A CN112118307B CN 112118307 B CN112118307 B CN 112118307B CN 202010962307 A CN202010962307 A CN 202010962307A CN 112118307 B CN112118307 B CN 112118307B
Authority
CN
China
Prior art keywords
data
image
equipment
downloading
tile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010962307.5A
Other languages
Chinese (zh)
Other versions
CN112118307A (en
Inventor
杨东涛
赵越
董玉红
杨敏恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010962307.5A priority Critical patent/CN112118307B/en
Publication of CN112118307A publication Critical patent/CN112118307A/en
Application granted granted Critical
Publication of CN112118307B publication Critical patent/CN112118307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/085Error detection or correction by redundancy in data representation, e.g. by using checking codes using codes with inherent redundancy, e.g. n-out-of-m codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for downloading equipment data, which comprises the following steps: the device processes data into a tile sequence containing at least one tile according to a preset rule; the apparatus combines the sequence of tiles into at least one frame of image and displays it frame by frame through a display device; the intelligent device scans the displayed image frame by frame and restores the image into data of the device according to a preset rule. The invention makes the data downloading of the traditional equipment more convenient.

Description

Method for downloading equipment data
Technical Field
The invention relates to a data downloading method, in particular to a data downloading method of traditional equipment such as an industrial control screen.
Background
In some conventional devices, since the device does not have a corresponding interface or module, the device data downloading is troublesome, taking the data downloading of the conventional industrial control screen device as an example, if the data of the industrial control screen device needs to be downloaded in a wireless manner, the industrial control screen device needs to have corresponding wireless radio frequency hardware, but the anti-interference requirement of the industrial control field on the wireless radio frequency hardware installed in the industrial control screen device is high. If the data of the industrial control screen equipment is downloaded through the USB or the network interface, for the industrial control screen embedded in the shell, an interface of the unit needs to be led out, or the unit shell needs to be stopped to be opened, so that the operation of data downloading is inconvenient.
Moreover, the general device data usually has a large capacity, and if the two-dimensional code is used for transmission, the data capacity carried by the two-dimensional code often differs from the device data capacity greatly, so how to provide a convenient method for downloading the device data is an urgent technical problem in the art.
Disclosure of Invention
In order to solve the technical problem that the traditional equipment is limited by hardware conditions and data downloading is inconvenient in the prior art, the invention provides an equipment data downloading method, which comprises the following steps:
step 1, processing data into a tile sequence containing at least one tile by equipment according to a preset rule;
step 2, the equipment combines the image block sequences into at least one frame of image and displays the image block by frame through a display device;
and 3, scanning the displayed image frame by the intelligent equipment, and restoring the image into the data of the equipment according to a preset rule.
Preferably, before the step 1 is executed, the method further comprises the steps of:
step 1.1, selecting the components of the image blocks and the transmission speed of the image blocks by a user;
step 1.2, the equipment determines a corresponding preset rule according to the selection of a user, generates a section of test pattern block sequence according to the preset rule and displays the test pattern block sequence through a display device;
step 1.3, the intelligent equipment tests whether the self restoration speed is matched with the components of the selected image blocks and the transmission speed of the image blocks by scanning the test image block sequence;
step 1.4, if the test is passed, the equipment analyzes the data into a tile block sequence containing at least one tile block according to the determined corresponding preset rule; if the test is not passed, the intelligent equipment reminds the user to return to the step 1.1 to change the components of the selected picture blocks and/or the transmission speed of the picture blocks until the test is passed.
Specifically, the device data is binary data.
Specifically, the composition of the image block comprises at least one of a shape, a color and a character.
Specifically, the shape includes: at least one of a square, a diamond, a circle, and a triangle.
Specifically, the character is any one of english letters.
In one embodiment, the shape, color, and character each represent different data.
In another embodiment, the shape and the color represent different data respectively, and the data represented by the character is verification data of the data represented by the shape and the color.
Further, the data represented by the characters is check data obtained by calculating the data represented by the shapes and the data represented by the colors according to a preset operation rule, and when the data of the equipment restored by the intelligent equipment has a problem, the intelligent equipment regenerates the data of the equipment according to the characters and the preset operation rule.
Further, the equipment is industrial control screen equipment.
According to the invention, data of traditional equipment such as an industrial control screen and the like are processed into image blocks with at least one dimension, then an image block sequence is formed, corresponding restoring software is installed on intelligent equipment such as a mobile phone and the like carried by people, and the image block sequence can be restored into the data of the equipment by photographing and recording, so that the data downloading of the traditional equipment is not limited by the hardware condition of the traditional equipment. Taking the industrial control screen as an example, the invention directly adopts the display basis of the industrial control screen, reduces the requirement of equipment interfaces, avoids the operation of access, increases the convenience of data downloading and simultaneously reduces the possibility of virus infection of the industrial control screen.
Drawings
The invention is described in detail below with reference to examples and figures, in which:
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a first embodiment of a sequence of blocks of the present invention;
FIG. 3 is a schematic diagram of an embodiment of the present invention;
FIG. 4 shows a first embodiment of the composition of the components of the block based on FIG. 3;
FIG. 5 shows a second embodiment of the composition of the components of the block based on FIG. 3;
FIG. 6 shows a third embodiment of the composition of the components of the block based on FIG. 3.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Thus, a feature indicated in this specification will serve to explain one of the features of one embodiment of the invention, and does not imply that every embodiment of the invention must have the stated feature. Further, it should be noted that this specification describes many features. Although some features may be combined to show a possible system design, these features may also be used in other combinations not explicitly described. Thus, the combinations illustrated are not intended to be limiting unless otherwise specified.
The principles of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
The invention provides a method for downloading equipment data, which is a unidirectional data transmission flow direction based on the defects and advantages of the traditional equipment, and particularly for industrial control screen equipment, the method well utilizes the characteristics of a display device, wherein the display device can be a display screen or a touch screen.
As shown in fig. 1, when a user needs to download device data, the device parses the device data into a tile sequence including one or more tiles according to a preset rule, which is generally a tile sequence including a plurality of tiles, the tile sequences are combined into at least one frame of image, and then the image is displayed frame by frame through a display screen, the user can scan the displayed image frame by frame through an intelligent device such as a mobile phone, and the intelligent device can restore the photographed image of one or a plurality of consecutive frames into the device data according to the preset rule based on corresponding application software installed on the intelligent device such as the mobile phone. The unidirectional data transmission flow direction mode of the invention enables users to download data of corresponding equipment at any time only by installing corresponding application software on intelligent equipment such as mobile phones and the like, thereby avoiding the hardware condition limitation of the traditional equipment.
The data of the device is represented by binary data on a byte basis, when a user needs to download the data, the binary device data is represented by a variable tile block, the device can determine the components (composition components) of the tile block based on the data size, as shown in fig. 2, the device can select to represent the corresponding data by characters, for example, # # # # represents null data,/////represents data 1, … represents data 0, the characters can form corresponding data frames, the interval frame, the data frame 1010, the interval frame, the data frame 0000 are respectively represented from left to right in fig. 2, and finally the transmitted data of fig. 2 is 10100000.
In other embodiments, the device may also select at least one of a shape, a color, and a character as its component. The characters are not limited to the above characters, and may be other characters, for example, the characters may be any one of english letters. The shape may take on a base shape such as at least one of a square, a diamond, a circle, and a triangle. In one embodiment, the shape, the color and the character can respectively represent different data, and the shape, the color and the character can be superposed in one image block, so that the data volume contained in one image block is multiplied, and the method is suitable for data downloading of equipment with larger data volume. In another embodiment, due to some unidirectional data streaming schemes in the prior art, a data recovery algorithm is usually added to continuous data, such as adding check information and redundant information after the parsed data, this will greatly increase the data volume, aggravate the analysis processing work of the intelligent device, further complicate the downloading, and the present application provides a better fault-tolerant mechanism, which adopts the shape and color to represent different data respectively, the data represented by the characters in the shape and the color is the verification data of the data represented by the shape and the color, specifically, the data represented by the characters can be the verification data calculated by the data represented by the shape and the data represented by the color through a preset operation rule, for example by adding data represented by the shape and data represented by the color. In this way, no new tile is added, that is, the data amount is not increased, and only the dimension layer information of the tile is increased. When the data of the equipment restored by the intelligent equipment has problems, the intelligent equipment can further regenerate the data of the equipment according to the characters and the preset operation rule, and the complexity of recovering the data again is simplified.
In addition, before the user downloads the device data, the device data includes, but is not limited to, data included in a record file and a curve file, the user starts a downloading function of the device, the device may pop up a downloading setting window for the user to select components of a tile block and a transmission speed of the tile block (which needs to be lower than a maximum number of frames per second taken by an intelligent device such as a mobile phone), after the user selection is completed, the device determines a corresponding preset rule (for example, a data representation rule shown in fig. 3) according to the user selection, generates a test tile block sequence according to the preset rule, displays the test tile block sequence on a display screen, and the intelligent device such as the mobile phone tests whether a reduction speed of the device data matches with the components of the selected tile block and the transmission speed of the tile block by scanning the test tile block sequence. If the processing speed of the intelligent equipment such as the mobile phone and the like can normally restore the data represented by the test image block sequence, the test is passed, and the equipment analyzes the file data which the user wants to download into the image block sequence containing at least one image block according to the determined corresponding preset rule and generates a corresponding image. If the processing speed of the intelligent device such as the mobile phone cannot normally restore the data represented by the test pattern block sequence, the test fails, the application software installed on the intelligent device such as the mobile phone can remind the user to modify the corresponding selection, for example, select a pattern block with relatively simple components and/or reduce the transmission speed of the pattern block, and the like, after the user changes the components of the selected pattern block and/or the transmission speed of the pattern block, the test is performed again, and the process is repeated until the test passes. Taking a mobile phone as an example, when the test pattern block sequence is a group of characters, after the mobile phone identifies data, the result of identifying the test pattern block sequence is the same as the characters represented by the test pattern block sequence, so that the complexity of the current pattern block component and the transmission speed of the pattern block are determined, and the method is suitable for the performance of the mobile phone.
As shown in fig. 3, the present invention provides a specific embodiment capable of representing complex data, based on the combination of the components of the tiles, the data providing rate is increased by increasing the corresponding dimension (complexity), the data amount of the tile formed by all the elements in fig. 3 is increased by 4 times compared with fig. 2, i.e. the data transmission speed is increased by 4 times, and the data amount to be expressed is increased by increasing the information density of a single tile. Where color 0 represents data 00, color 1 represents data 01, color 02 represents data 10, color 03 represents data 11, etc., and similarly, shape 0 may represent data 00, shape 1 may represent 01, shape 2 may represent 10, and shape 3 may represent 11. The English characters can represent corresponding data, and in a specific embodiment of the invention, the English characters can also be addition values after combination of colors and shapes so as to be used as check values of different dimensions in a picture block.
Fig. 4 to 6 are each an example of representing corresponding data with different tile components on the basis of fig. 3.
Where fig. 4 uses only colors as the components of the tile, the data represented are:
00 10 00 11
11 00 00 00
00 11 01 10
01 00 00 00。
FIG. 5 is a diagram of a graph with shapes as the only components, and represents the data:
00 00 00 00
10 00 00 00
00 00 11 00
00 00 01 00。
fig. 6 is an example of using shapes, colors, and characters as components of a tile, and when characters are used as check codes, the data represented by fig. 6 is:
00 10 00 11 11 00 00 00 00 11 01 10 01 00 00 00
00 00 00 00 10 00 00 00 00 00 11 00 00 00 01 00。
and the character is used as a check value after the color and the shape are added, and the data represented by the character is as follows:
0000 0010 0000 0011
1011 0000 0000 0000
0000 0000 1101 0010
0001 0000 0100 0000。
in the process of analyzing the image, the intelligent device transmits data transmitted by devices such as an industrial control screen for a plurality of files in a time, so that one complete video actually contains the content of the plurality of files. When the intermediate video is lost, the result is the loss of a file. At this time, the user only needs to select the lost file on a display device (such as a touch screen) of the industrial control screen and other equipment and transmit the file again.
The smart device of the present invention includes, in addition to the above-mentioned exemplary mobile phone, other smart devices having functions of taking pictures and taking pictures, such as a tablet computer. The conventional device referred by the invention is not limited to an industrial control screen, and also comprises other devices with a display screen or a touch screen.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (6)

1. A method for downloading device data, comprising:
step 1, processing data into a tile sequence containing at least one tile by equipment according to a preset rule;
step 2, the equipment combines the image block sequences into at least one frame of image and displays the image block by frame through a display device;
step 3, the intelligent equipment scans the displayed image frame by frame and restores the image into the data of the equipment according to a preset rule;
before the step 1 is executed, the method further comprises the following steps:
step 1.1, selecting the components of the image blocks and the transmission speed of the image blocks by a user;
step 1.2, the equipment determines a corresponding preset rule according to the selection of a user, generates a section of test pattern block sequence according to the preset rule and displays the test pattern block sequence through a display device;
step 1.3, the intelligent equipment tests whether the self restoration speed is matched with the components of the selected image blocks and the transmission speed of the image blocks by scanning the test image block sequence;
step 1.4, if the test is passed, the equipment analyzes the data into a tile block sequence containing at least one tile block according to the determined corresponding preset rule; if the test is not passed, the intelligent equipment reminds the user to return to the step 1.1 to change the components of the selected image blocks and/or the transmission speed of the image blocks until the test is passed;
the components of the image block comprise shapes, colors and characters, the characters comprise any one of English letters, and the data represented by the characters are check data obtained by calculating the data represented by the shapes and the data represented by the colors through a preset operation rule.
2. The method for downloading device data according to claim 1, wherein the device data is binary data.
3. The method for downloading device data according to claim 1, wherein the shape includes: at least one of a square, a diamond, a circle, and a triangle.
4. The device data downloading method of claim 1, wherein the shape, color and character represent different data, respectively.
5. The device data downloading method according to claim 1, wherein the shape and the color represent different data, respectively, and the data represented by the character is verification data of the data represented by the shape and the color.
6. The device data downloading method of any one of claims 1 to 5, wherein the device is an industrial control screen device.
CN202010962307.5A 2020-09-14 2020-09-14 Method for downloading equipment data Active CN112118307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010962307.5A CN112118307B (en) 2020-09-14 2020-09-14 Method for downloading equipment data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010962307.5A CN112118307B (en) 2020-09-14 2020-09-14 Method for downloading equipment data

Publications (2)

Publication Number Publication Date
CN112118307A CN112118307A (en) 2020-12-22
CN112118307B true CN112118307B (en) 2022-03-15

Family

ID=73802555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010962307.5A Active CN112118307B (en) 2020-09-14 2020-09-14 Method for downloading equipment data

Country Status (1)

Country Link
CN (1) CN112118307B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118971944B (en) * 2024-10-08 2025-01-24 齐鲁空天信息研究院 Remote sensing satellite data quality processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2071493A2 (en) * 2007-12-12 2009-06-17 Canon Kabushiki Kaisha Image processing device, image processing method, and program and recording medium thereof
CN104539953A (en) * 2014-12-19 2015-04-22 华南理工大学 Method and system for transmitting files in image recognition mode
CN105227518A (en) * 2014-05-29 2016-01-06 北京数码视讯科技股份有限公司 Server, client, interactive system and information method of sending and receiving
CN105323141A (en) * 2014-06-22 2016-02-10 曾昭兴 Information transmission method and system based on image recognition and mobile terminal
CN105323142A (en) * 2014-06-22 2016-02-10 曾昭兴 Image recognition-based information transmission method, system and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102878647B (en) * 2011-07-15 2015-06-10 珠海格力电器股份有限公司 Automatic monitoring system and automatic monitoring method for air conditioner running state
US8931700B2 (en) * 2011-12-23 2015-01-13 Konica Minolta Laboratory U.S.A., Inc. Four dimensional (4D) color barcode for high capacity data encoding and decoding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2071493A2 (en) * 2007-12-12 2009-06-17 Canon Kabushiki Kaisha Image processing device, image processing method, and program and recording medium thereof
CN105227518A (en) * 2014-05-29 2016-01-06 北京数码视讯科技股份有限公司 Server, client, interactive system and information method of sending and receiving
CN105323141A (en) * 2014-06-22 2016-02-10 曾昭兴 Information transmission method and system based on image recognition and mobile terminal
CN105323142A (en) * 2014-06-22 2016-02-10 曾昭兴 Image recognition-based information transmission method, system and mobile terminal
CN104539953A (en) * 2014-12-19 2015-04-22 华南理工大学 Method and system for transmitting files in image recognition mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《国家电网公司招聘考试辅导用书 计算机类专业知识》;中公教育国有企业招聘考试研究中心;《世界图书出版公司北京公司》;20170731;正文第195页第1段-第199页倒数第1页 *

Also Published As

Publication number Publication date
CN112118307A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
US9037993B2 (en) System and method for using a visual password scheme
US20010034770A1 (en) Method and device for implementing networked terminals in graphical operating environment
CN112770059B (en) Photographing method and device and electronic equipment
WO2004045200A1 (en) Method and system for conducting image processing from a mobile client device
CN1151643A (en) Communication terminal device with directory display and dialing functions
CN103235685A (en) Method and device for setting desktop content of terminal operating system
CN105430393B (en) Picture processing method, picture processing device, picture processing platform and storage medium
CN112118307B (en) Method for downloading equipment data
CN108986009A (en) Generation method, device and the electronic equipment of picture
EP1248184A1 (en) Mobile terminal and method for scaling an option list of an application software
US7016596B2 (en) Image processing apparatus, image processing method, recording medium and data signal providing image processing program
CN107515704B (en) Method and device for previewing compressed file
US7702340B2 (en) Short message system for mobile devices
CN110544281B (en) Picture batch compression method, medium, mobile terminal and device
CN118567763A (en) Automatic screenshot capture of primary content
CN111984173B (en) Expression package generation method and device
CN114257755B (en) Image processing method, device, equipment and storage medium
CN110912801A (en) Method, system and terminal device for detecting electronic red packet
CN113066139A (en) Picture processing method and device, storage medium and electronic equipment
CN114329412A (en) A verification method and device
KR100932603B1 (en) Mobile WiFi test method and device
CN106254654A (en) Mobile terminal and data transmission method
CA2566557C (en) System, method, and user interface for controlling the display of images on a mobile device
CN119576882B (en) Compression processing method, electronic device, and computer-readable storage medium
CN106293379A (en) A kind of information processing method and electronic equipment

Legal Events

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