CN109831213B - Electronic device control method based on EDID coding and electronic device - Google Patents

Electronic device control method based on EDID coding and electronic device Download PDF

Info

Publication number
CN109831213B
CN109831213B CN201910038990.0A CN201910038990A CN109831213B CN 109831213 B CN109831213 B CN 109831213B CN 201910038990 A CN201910038990 A CN 201910038990A CN 109831213 B CN109831213 B CN 109831213B
Authority
CN
China
Prior art keywords
serial numbers
numbers
digital array
serial number
serial
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
CN201910038990.0A
Other languages
Chinese (zh)
Other versions
CN109831213A (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.)
Qisda Suzhou Co Ltd
Qisda Corp
Original Assignee
Qisda Suzhou Co Ltd
Qisda Corp
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 Qisda Suzhou Co Ltd, Qisda Corp filed Critical Qisda Suzhou Co Ltd
Priority to CN201910038990.0A priority Critical patent/CN109831213B/en
Publication of CN109831213A publication Critical patent/CN109831213A/en
Application granted granted Critical
Publication of CN109831213B publication Critical patent/CN109831213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides an electronic device control method based on EDID coding and an electronic device. The electronic device comprises a main body and a plurality of electronic components connected with the main body, wherein the main body comprises a controller, an arithmetic unit and a memory, the memory is used for storing extended display identification data corresponding to the main body, each electronic component is respectively provided with a storage unit, and each storage unit is used for storing element serial numbers corresponding to the respective electronic components. The electronic device control method comprises the following steps: reading out the component serial number corresponding to each electronic component from each storage unit; generating a corresponding digital array serial number according to a preset rule by each element serial number; performing coding operation on all the digital array serial numbers, and obtaining a coding serial number; the encoding sequence number is updated into the extended display identification data in the memory, thereby obtaining updated extended display identification data corresponding to the subject.

Description

Electronic device control method based on EDID coding and electronic device
Technical Field
The present invention relates to the field of displays, and in particular, to an electronic device control method and an electronic device based on EDID encoding.
Background
EDID (Extended Display Identification Data ) of a display is a VESA (video electronics standards association) standard data format that contains electronic profile information about the display, such as a string of information about manufacturer, date of manufacture, maximum image size, color settings, manufacturer preset, display mode, interface type, product model number, product serial number, etc. The EDID information is stored in the display and can be communicated with the host computer system through a DDC (Display Data Channel, data display channel). The data information amount of the EDID is generally 128 bytes and 256 bytes, and is usually stored in an EEPROM (electrically-erasable programmable read only memory) on a circuit board, and the EDID is read and written into the EEPROM through an I2C (Inter-Integrated Circuit) interface. The latest version of EDID can be used in CRTs (cathode ray tubes), LCDs (liquid crystal displays) and future display types, since EDID provides a generic description of almost all display parameters.
Currently, professional displays in the market have more and more functions, such as photo sensors or color temperature corrector, and these applications are not limited to the use of screens together with other sensors or external devices. In addition to the online registration of a user, the maintenance center uses the serial number sticker of the machine as the basis for the maintenance, and usually the serial number sticker records the production time, the product name, the serial number and the custom number. In general, a professional display is equipped with the above mentioned components, such as special function electronic modules (e.g. circuit boards) or sensors, besides the above information of production serial numbers and production dates, and each component has its own serial number sticker for easy management and maintenance and replacement, but this may cause the following problems: 1. when the serial number sticker of a single electronic module is lost, the security data of the component cannot be obtained; after production, unless the original production unit is inquired about the part serial number list of the screen, the serial number of the lost part can be known; 2. if the maintenance unit has a faulty component replacement, the replacement record cannot be followed by the display.
Disclosure of Invention
In view of the above technical problems, the present invention provides an electronic device control method and an electronic device based on EDID encoding, which can record part information in a display to facilitate maintenance and tracking in the future.
In order to achieve the above object, the present invention provides an electronic device control method based on EDID encoding, the electronic device including a main body and a plurality of electronic components connected to the main body, the main body including a controller, an operator, and a memory for storing extended display identification data corresponding to the main body, each electronic component having a storage unit, each storage unit for storing a component serial number of the electronic component corresponding thereto, the electronic device control method comprising:
reading out the element serial number corresponding to each electronic component from each storage unit by the controller, wherein each element serial number is a character code combination of English characters and/or numbers;
generating a corresponding digital array serial number according to a preset rule by using the arithmetic unit;
the arithmetic unit is utilized to carry out coding operation on all the digital array serial numbers and obtain a coding serial number;
the code number is updated into the extended display identification data in the memory using the controller, thereby obtaining updated extended display identification data corresponding to the subject.
As an optional technical solution, the electronic device control method further includes:
when the element serial number of one of the plurality of electronic components is lost, the controller is utilized to read the element serial numbers of the plurality of electronic components corresponding to the rest electronic components from respective storage units, and the controller is utilized to read the coding serial number from the updated extended display identification data in the memory;
generating a serial number of the other digital arrays according to the preset rule by using the arithmetic unit and the serial numbers of the elements corresponding to the other electronic components;
the arithmetic unit is utilized to carry out decoding operation on the coding sequence number and the sequence numbers of the other digital arrays to obtain a decoding digital array sequence number;
and recovering the serial number corresponding to the lost element according to the serial number of the decoding digital array.
As an optional technical solution, the electronic device control method further includes:
when one of the plurality of electronic components is replaced and reassembled with the main body, the controller is utilized to read the element serial numbers corresponding to all the electronic components from the corresponding storage units, and the controller is utilized to read the coding serial numbers from the updated extended display identification data in the memory;
generating a digital array serial number to be detected corresponding to the electronic component after replacement and a remaining digital array serial number corresponding to the remaining electronic component by using the arithmetic unit according to the preset rule respectively;
the arithmetic unit is utilized to carry out decoding operation on the coding sequence number and the sequence numbers of the other digital arrays to obtain a decoding digital array sequence number;
comparing the serial number of the digital array to be detected with the serial number of the decoding digital array by using an arithmetic unit;
and judging whether the replaced electronic component is selected to be provided with errors or not according to the comparison result.
As an alternative technical solution, when all the digital array serial numbers to be used for the encoding operation are odd numbers, the step of using the arithmetic unit to use the all the digital array serial numbers for the encoding operation includes combining all the digital array serial numbers together for exclusive-or operation; the step of decoding the encoding sequence number and the remaining digital array sequence numbers using the operator includes exclusive-or operation of the encoding sequence number and the remaining digital array sequence numbers together.
As an alternative solution, when all the number of the digital arrays to be subjected to the encoding operation is an even number, the step of using the arithmetic unit to perform the encoding operation on all the number of the digital arrays includes: firstly, a virtual array serial number is manufactured according to the preset rule by utilizing known information, and then the virtual array serial number and all the digital array serial numbers are combined together to perform exclusive OR operation, wherein the known information comprises one or more of production date, warranty period or product name; the step of decoding the encoded sequence number and the remaining digital array sequence number using the operator includes exclusive-or combining the encoded sequence number, the remaining digital array sequence number, and the dummy array sequence number.
As an alternative technical solution, the step of performing the encoding operation on all the digital array serial numbers by using the arithmetic unit and obtaining a coding serial number includes: and sequentially selecting part of the digital array serial numbers to perform exclusive OR operation to obtain a first group of cache array serial numbers, storing the first group of cache array serial numbers in the memory, sequentially performing exclusive OR operation on the rest part of the digital array serial numbers and the first group of cache array serial numbers, and obtaining one group of cache array serial numbers by each operation until all the digital array serial numbers participate in exclusive OR operation, finally obtaining the coding serial numbers, and obtaining the first number group of cache array serial numbers altogether.
As an optional technical solution, the electronic device control method further includes:
when more than two element serial numbers of the plurality of electronic components are lost, the controller is utilized to read the element serial numbers of the plurality of electronic components corresponding to the rest of electronic components from respective storage units, and the controller is utilized to read the first number group cache array serial numbers and the coding serial numbers in the updated extended display identification data from the memory, wherein the number of the electronic components with the lost element serial numbers is not more than the number of the rest of electronic components;
generating a serial number of the other digital arrays according to the preset rule by using the arithmetic unit and the serial numbers of the elements corresponding to the other electronic components;
performing exclusive-or operation on the first number group of cache array serial numbers, the rest digital array serial numbers and the coding serial numbers by using the arithmetic unit to obtain a plurality of decoding digital array serial numbers;
and recovering the serial numbers corresponding to the lost elements according to the serial numbers of the decoding digital arrays.
As an optional technical solution, each digital array sequence number corresponds to a combination of 13-bit words, and the preset rule includes: when the element serial number of one of the plurality of electronic components is less than 13-bit character codes, the character codes are supplemented at high positions to be supplemented to 13 bits, so that a corresponding digital array serial number is generated; when the serial number of another element in the plurality of electronic components exceeds 13-bit codes, the element is split by taking the 13-bit codes as units, and the part of the residual less than 13-bit codes is padded with the high-bit padding codes to 13 bits, so that a plurality of corresponding digital array serial numbers are generated.
As an optional technical solution, the preset rule further includes: when the element serial number of one of the plurality of electronic components or the element serial number of the other of the plurality of electronic components is split and the residual part is less than 13-bit character codes, 1 is fully filled in the high order of the electronic components so as to generate corresponding digital array serial numbers.
In addition, the invention also provides an electronic device, which comprises a main body and a plurality of electronic components connected with the main body, wherein the main body comprises a controller, an arithmetic unit and a memory, the memory is used for storing the extended display identification data corresponding to the main body, each electronic component is respectively provided with a storage unit, and each storage unit is used for storing the element serial number of the corresponding electronic component:
the controller is used for respectively reading the element serial numbers corresponding to each electronic component from each storage unit, wherein each element serial number is a character code combination of English characters and/or numbers;
the arithmetic unit is used for generating a corresponding digital array serial number according to a preset rule from each element serial number;
the arithmetic unit is used for carrying out coding operation on all the digital array serial numbers and obtaining a coding serial number;
the controller is used for updating the coding sequence number into the extended display identification data in the memory so as to obtain updated extended display identification data corresponding to the main body.
As an alternative technical scheme, each storage unit is a storage space in a processing chip of each electronic component, or each storage unit is an existing electrified erasable programmable read-only memory on each electronic component; the controller of the main body reads out the element serial number of the electronic component corresponding to each storage unit through the I2C bus channel.
Compared with the prior art, the electronic device control method and the electronic device based on the EDID coding record the element serial numbers of all parts in the EDID through a specific coding mode, and meanwhile, the EDID is still compatible with the EDID specification of the VESA. By the invention, for third party cooperators and maintenance units, electronic components (such as circuit boards) of each electronic component module are easier to manage, and lost serial numbers can be easily restored from product serial numbers and other known information. If the electronic component module has the wrong assembly of the electronic component module during assembly, the wrong item can be identified by the invention, the display can be automatically judged after being powered on, and a prompt message is sent to inform a factory or a maintenance unit of the wrong assembly condition, so that the assembly efficiency or the maintenance quality is improved, and the invention is economical and safe.
Drawings
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the invention.
Fig. 2 is a flowchart of a control method of an electronic device according to an embodiment of the invention.
Fig. 3 is a flowchart of a control method of an electronic device according to another embodiment of the invention.
Fig. 4 is a flowchart of a control method of an electronic device according to another embodiment of the invention.
Fig. 5 is a flowchart of a control method of an electronic device according to another embodiment of the invention.
Detailed Description
For a further understanding of the objects, construction, features, and functions of the invention, reference should be made to the following detailed description of the preferred embodiments.
Referring to fig. 1 and fig. 2 in combination, fig. 1 is a schematic diagram of an electronic device according to an embodiment of the invention, and fig. 2 is a flowchart of a control method of the electronic device according to an embodiment of the invention.
The electronic device 100 provided by the invention comprises a main body 1 and a plurality of electronic components 2 connected with the main body 1, wherein the electronic device 100 can be a display, a projector and the like. The main body 1 includes a controller 11, an operator 12, and a memory 13, the memory 13 storing Extended Display Identification Data (EDID) corresponding to the main body 1, each electronic component 2 having a storage unit 21, respectively, each storage unit 21 storing a component serial number Sn of the electronic component 2 corresponding thereto, wherein n can be matched with the number of electronic components 2. As shown in fig. 1, in the present embodiment, the number of electronic components 2 is 3, and the element serial numbers of the respective electronic components 2 may be S1, S2, and S3. In practice, the number of the electronic components 2 may be 4, 5, 8, 9, etc., which is not limited thereto.
The controller 11 is configured to read out the component serial number Sn corresponding to each electronic component 2 from each storage unit 21, respectively. In this embodiment, each element serial number Sn is a combination of english characters and/or numerals.
The arithmetic unit 12 is used for generating a corresponding digital array serial number according to a preset rule by using each element serial number Sn. The predetermined rules are described below, and each element serial number Sn is substantially the same as the corresponding digital array serial number without requiring substantial adjustment.
The arithmetic unit 12 is used for performing encoding operation on all the digital array serial numbers and obtaining an encoding serial number Cn.
The controller 11 is configured to update the code number Cn into the extended display identification data in the memory 13, thereby obtaining updated extended display identification data En corresponding to the main body 1. Because the number of bits of the Extended Display Identification Data (EDID) is far greater than the number of bits of the encoding sequence number Cn, the updated extended display identification data En is obtained after the encoding sequence number Cn is put into the EDID, which can be completely compatible with the EDID specification and does not affect the use of other information in the EDID.
In one embodiment, each storage unit 21 is a storage space provided in a processing chip of each electronic component 2, or each storage unit 21 is an existing eeprom on each electronic component 2. The controller 11 of the main body 1 reads out the element serial number Sn of the electronic component 2 corresponding to each storage unit 21 stored thereon through the I2C bus channel. The controller 11 may be a Micro Control Unit (MCU) or a scaler (scaler) of the display.
The invention provides an electronic device control method based on EDID coding, which comprises the following steps.
S1, the element serial number Sn corresponding to each electronic component 2 is read out from each storage unit 21 by the controller 11. In this embodiment, each element serial number Sn is a combination of english characters and/or numerals.
S2, generating a corresponding digital array serial number according to a preset rule by utilizing the arithmetic unit 12.
S3, using the arithmetic unit 12 to do coding operation to all the digital array serial numbers, and obtaining a coding serial number Cn.
S4, the controller 11 updates the code number Cn to the extended display identification data in the memory 13, thereby obtaining updated extended display identification data En corresponding to the main body 1 of the electronic device 100.
In practical application, the updated extended display identification data En includes a code number Cn synthesized by the element serial number Sn of each electronic component 2, where the code number Cn has fault tolerance and can be used to restore a missing element serial number Sn.
With continued reference to fig. 3, fig. 3 is a flowchart of a control method of an electronic device according to another embodiment of the invention. The electronic device control method based on EDID coding provided by the invention further comprises the following steps after the steps S1 to S4 are carried out.
S5, when the element serial number of one of the plurality of electronic components is lost, the element serial numbers Sn corresponding to the other electronic components in the plurality of electronic components are read out from the respective storage units 21 by the controller 11, and the code serial numbers Cn are read out from the updated extended display identification data En in the memory 13 by the controller 11.
S6, generating the serial numbers of the other digital arrays by using the arithmetic unit 12 according to the preset rule and the serial numbers of the elements corresponding to the other electronic components. The preset rule in this step is the same as the preset rule in step S2.
S7, decoding the coding sequence number Cn and the other digital array sequence numbers by using the arithmetic unit 12 to obtain a decoded digital array sequence number.
S8, restoring the serial number of the element corresponding to the lost serial number according to the serial number of the decoding digital array.
In practical application, firstly, a plurality of element serial numbers corresponding to a plurality of electronic components are output into a serial number through coding operation; assuming that the serial number S1 of the corresponding electronic component is lost due to the loss of the serial number sticker, the damage of the storage unit, the replacement of the electronic component or other factors, the serial number S1 can be restored by performing decoding operation on the coded serial number Cn in the updated extended display identification data En and the serial numbers of other electronic components; similarly, any element serial number can be calculated by matching the code serial number Cn in the updated extended display identification data En with the element serial numbers of other electronic components through the same flow, so as to restore the required element serial number.
Referring to fig. 4 in combination, fig. 4 is a flowchart of a control method of an electronic device according to another embodiment of the invention. The electronic device control method based on EDID coding provided by the invention further comprises the following steps after the steps S1 to S4 are carried out.
S9, when one of the plurality of electronic components is replaced and reassembled with the main body, the element serial numbers corresponding to all the electronic components are respectively read out from the corresponding storage units by the controller 11, and the code serial numbers Cn are read out from the updated extended display identification data En in the memory 13 by the controller 11.
S10, the element serial numbers corresponding to the electronic components after replacement and the rest of the electronic components are respectively generated into a digital array serial number to be detected corresponding to the electronic components after replacement and the rest of the digital array serial numbers corresponding to the rest of the electronic components by utilizing the arithmetic unit 12 according to the preset rule. The preset rule in this step is the same as the preset rule in step S2.
S11, the arithmetic unit 12 carries out decoding operation on the coding sequence number Cn and the rest digital array sequence numbers to obtain a decoding digital array sequence number.
S12, the arithmetic unit 12 is utilized to compare the serial number of the digital array to be detected with the serial number of the decoding digital array.
S13, judging whether the replaced electronic component is selected to be provided with errors or not according to the comparison result.
In practical application, each electronic component is assembled according to the component sequence during factory production, and after the assembly is completed, the serial number of each electronic component can be restored by operation of an operator (such as a scaler chip), and whether the electronic component with the assembly error exists or not is detected by comparison.
It should be noted that, the embodiment of the present invention may further include: steps S1 to S4, S5 to S8 are performed first, and then steps S9 to S13 are performed; or, after steps S1 to S4 and S9 to S13 are performed, steps S5 to S8 are performed; alternatively, after steps S1 to S4 are performed first, steps S5 to S8 and steps S9 to S13 are performed a plurality of times according to actual needs.
For example, when one of the plurality of electronic components is replaced, the replaced electronic component may not have the component serial number in the initial state, and the component serial number of the electronic component before the replacement may be obtained according to steps S5 to S8, and then stored in the replaced electronic component as the component serial number thereof. Then, steps S9 to S13 are performed to further confirm whether the replaced electronic component is optionally provided with a mistake.
In any of the above embodiments, when all the number of the digital arrays to be encoded is odd, the step of encoding all the number of the digital arrays with the arithmetic unit includes exclusive-or operation of all the number of the digital arrays. Assuming that SN (1), SN (2), SN (3) … …, SN (n) are respectively a 13-bit digital array serial number, SN (1), SN (2), SN (3) … …, SN (n) respectively represent the digital array serial numbers of each electronic component, X [ SN (output) ] represents the encoded output result, all the digital array serial numbers are combined together to perform exclusive or (expressed by #) operation, then X [ SN (output) ]=xsn 1] and xxxsn 2 are equal to … @ X [ SNn ] of xsn 3 ]. In practice, SN (1), SN (2), SN (3) … …, SN (n) may be other digits of the digital array sequence number, which is not limited thereto.
Further, the step of decoding the code sequence number and the remaining digital array sequence numbers by the operator includes exclusive-or operation of the code sequence number and all the remaining digital array sequence numbers. The serial number of the electronic device 100 is assumed to be n element serial numbers in total, wherein the y-th serial number is missing, i.e. Sy, the n element serial numbers generate m digital array serial numbers according to a preset rule, and m is greater than or equal to n, i.e. each element serial number at least corresponds to one digital array serial number (which will be specifically described when the preset rule is described). And the number array corresponding to Sy is SN (u), then X [ SN (u) ]=X [ SN (output) ] } [ SN (1) ] } [ SN (2) ] } -X [ SN (u-1) ], X [ SN (u+1) ] - … ] X [ SN (m) ]. It should be noted that the recovered serial number SN (u) may need to be inversely calculated according to the foregoing preset rule to obtain the actual element serial number.
In one embodiment, when all the number of the digital arrays to be encoded is an even number, the step of using the arithmetic unit to encode all the number of the digital arrays includes: firstly, a virtual array serial number is manufactured according to the preset rule by using known information, and then the virtual array serial number and all the digital array serial numbers are combined together to perform exclusive OR operation, wherein the known information comprises one or more of production date, warranty period or product name. For example, the operation is assisted by a virtual array number, such as "1111120161130", based on the date of manufacture "2016-11-30".
Further, the step of decoding the encoded sequence number and the remaining digital array sequence number by using an operator includes exclusive-or operation of the encoded sequence number, the remaining digital array sequence number, and the dummy array sequence number. Preferably, an element serial number is restored, the digital array serial number corresponding to the element serial number is decoded, and at the moment, the coding serial number in the EDID and the known two digital array serial numbers are needed to carry out exclusive OR operation; if other missing serial numbers exist, when the digital array serial numbers corresponding to the serial numbers are decoded, the coding serial numbers in the EDID and the other two digital array serial numbers are taken as inputs to carry out exclusive OR decoding operation; and continuing the previous step, finally decoding the digital array serial numbers corresponding to the lost serial numbers one by one, and then restoring the lost element serial numbers one by one.
In the above preset rule, the number array number preferably satisfies the combination of english and numerals of 13 codes. If the serial number of the electronic component 2 is less than 13, the high order bits of less than 13 are all filled with 1. Examples: the actual element serial number is "MM123", only 5 codes is less than 13 codes, and the 13 codes are complemented to be "11111111MM123", and the total 13 codes, the first eight bits 11111111, are added according to the preset rule, and the element serial number corresponds to a corresponding digital array serial number. If the component serial number of the electronic component 2 exceeds 13 codes, the component serial number is split by taking the 13 codes as a unit, and if the component serial number is less than 13 codes, the rest part serial numbers are filled with 1 at the high-order space code position to be filled with 13 codes. Examples: the actual element serial number is "MM123456789 ABCDE", which is 18 codes, the first 13 codes are taken out as a group of serial numbers "MM123456789ab", and the remaining "ABCDE" is complemented with 13 codes serial number "11111111ABCDE", at this time, the element serial number corresponds to the corresponding two digital array serial numbers. And then can be operated as such according to the coding algorithm of the present invention.
For example, the above encoding serial number may be put into a Descriptor area, such as a "Descriptor 4" area, where 13 code serial numbers may be set, and the serial numbers are recorded in 16 system, i.e. the EDID in 128 or 256 byte (byte) format conforming to VESA is completed.
The invention can record 1 group of production worksheets (comprising a plurality of groups of element serial numbers) into a group of coding serial numbers in a machine, and if the element serial numbers of electronic components are lost, the lost element serial numbers can be restored through calculation. The maintenance unit can simply inquire and update the production work order by the encoding and decoding mode of the invention, thereby facilitating the follow-up maintenance and tracking. After the assembly is completed, the serial number of each electronic component is restored by scaler operation, and the components with assembly errors can be detected by comparison.
In a different embodiment, the step S3 of performing the encoding operation on all the digital array numbers by using the operator 12 and obtaining a code number Cn includes: and sequentially selecting part of the digital array serial numbers, performing exclusive-or operation to obtain a first group of cache array serial numbers, storing the first group of cache array serial numbers in the memory 13, sequentially performing exclusive-or operation on the rest part of the digital array serial numbers and the first group of cache array serial numbers, obtaining a group of cache array serial numbers by each operation until all the digital array serial numbers participate in the exclusive-or operation, finally obtaining the coding serial numbers, and in the process, obtaining a first number of groups of cache array serial numbers together, wherein the last group of cache array serial numbers are the coding serial numbers Cn, the first time of exclusive-or operation is the odd number of digital array serial numbers, and the next time of exclusive-or operation is the latest group of cache array serial numbers and even number of digital array serial numbers. In actual operation, the first number is 2 or more. When the serial numbers of at least two electronic components are lost and restored, the above operation is needed to obtain a plurality of results during encoding, and the results are stored as known information first, and can be used when the serial numbers of the digital arrays are decoded subsequently and restored.
For example, there are five digits in total, respectively SN (A), SN (B), SN (C), SN (D), and SN (E). Sequentially selecting SN (A), SN (B) and SN (C) to do exclusive OR operation to obtain a first group of buffer sequence numbers,
X[SN(op1)]=X[SN(A)]⊕X[SN(B)]⊕X[SN(C)]
X[SN(op2)]=X[SN(op1)]⊕X[SN(D)]⊕X[SN(E)]
wherein, SN (op 1) is the first group of cache array sequence numbers, and SN (op 2) is the second group of cache array sequence numbers. The second set of buffer array sequence numbers is the last set of buffer array sequence numbers, so it is the code sequence number Cn.
Preferably, referring to fig. 5, fig. 5 is a flowchart of a control method of an electronic device according to still another embodiment of the invention. The electronic device control method based on EDID coding provided by the invention further comprises the following steps after the steps S1 to S4 are carried out.
And S14, when more than two element serial numbers in the plurality of electronic components are lost, the element serial numbers corresponding to the rest of the electronic components in the plurality of electronic components are read out from the respective storage units by the controller, the first number group of cache array serial numbers and the coding serial numbers in the updated extended display identification data are read out from the memory by the controller, wherein the number of the electronic components with the lost element serial numbers is not more than the number of the rest of the electronic components.
S15, generating the serial numbers of the other digital arrays by using the arithmetic unit according to the preset rule and the serial numbers of the elements corresponding to the other electronic components. The preset rule in this step is the same as the preset rule in step S2.
S16, the first number group of cache array serial numbers, the rest digital array serial numbers and the coding serial numbers are correspondingly exclusive-ored by an arithmetic unit, so that a plurality of decoding digital array serial numbers are obtained.
S17, restoring the serial numbers of the elements corresponding to the missing elements according to the serial numbers of the decoding digital arrays. In this embodiment, when there is a loss of the component serial numbers of the plurality of electronic components 2, the lost component serial numbers can be restored without exceeding half of the total number.
Assume that the electronic device has 5 electronic components in total, and the 5 electronic components are respectively: a first electronic component, a second electronic component, a third electronic component, a fourth electronic component, and a fifth electronic component. Their element serial numbers are respectively: s1, S2, S3, S4, S5. The corresponding digital array serial numbers are respectively: SN (a), SN (B), SN (C), SN (D), and SN (E). In addition, the memory also stores a first number of groups of buffer array serial numbers, in this embodiment, the first number is 2, and the first numbers are respectively: SN (op 1), SN (op 2), wherein X [ SN (op 1) ]=x [ SN (a) ], X [ SN (B) ], X [ SN (C) ]; x [ SN (op 2) ]=x [ SN (op 1) ]. X [ SN (D) ]. X [ SN (E) ];
assuming that the component serial numbers of the first electronic component and the fourth electronic component are lost, the lost component serial numbers can be restored by the following three steps.
Step 1, the operation results SN (op 1) of the digital array serial numbers SN (B), SN (C) and EDID corresponding to the second electronic component and the third electronic component are operated to decode the digital array serial number SN (A) of the first electronic component, such as X [ SN (A) ]=X [ SN (op 1) ] # [ SN (B) ] # ] X [ SN (C) ];
and 2, calculating the calculation results SN (op 1) and SN (op 2) of the digital array serial numbers SN (D) of the fifth electronic component and the EDID to decode the digital array serial number SN (D) of the fourth electronic component, such as X [ SN (D) ]=X [ SN (op 2) ], X [ SN (op 1) ]=X [ SN (op 2) ], X [ SN (A) ], X [ SN (B) ], X [ SN (C) ].
Step 3, the element serial numbers S1 and S4 corresponding to the missing element serial numbers are restored according to the decoded digital array serial numbers SN (A) and SN (D).
In any of the above embodiments, each of the number array sequence numbers corresponds to a combination of 13-bit words, and the preset rule includes: when the element serial number of one of the plurality of electronic components is less than 13-bit character codes, the character codes are supplemented at high positions to be supplemented to 13 bits, so that a corresponding digital array serial number is generated; when the serial number of another element in the plurality of electronic components exceeds 13-bit codes, the element is split by taking the 13-bit codes as units, and the part of the residual less than 13-bit codes is padded with the high-bit padding codes to 13 bits, so that a plurality of corresponding digital array serial numbers are generated. It can be seen that the element serial number of each electronic component corresponds to at least one digital array serial number. Preferably, the preset rule further includes: when the element serial number of one of the plurality of electronic components or the element serial number of the other of the plurality of electronic components is split, the rest part is less than 13-bit character codes, 1 is fully filled in the high order of the electronic components so as to generate corresponding digital array serial numbers.
According to the electronic device control method and the electronic device based on the EDID coding, the element serial numbers of all parts are recorded in the EDID through a specific coding mode, and meanwhile, the EDID is still compatible with the EDID specification of the VESA. By the invention, the electronic components (such as the circuit board) are easier to manage and control for third party cooperators and maintenance units, and the lost serial numbers can be easily restored from the product serial numbers together with other known information. If the electronic component is assembled in error, the invention can identify the error item, and can also automatically judge after the display is started and electrified, and send out a prompt message to inform a factory or a maintenance unit of the error assembly condition, thereby improving the assembly efficiency or the maintenance quality and being economical and safe.
The invention has been described with respect to the above-described embodiments, however, the above-described embodiments are merely examples of practicing the invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. On the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. An electronic device control method based on EDID coding, the electronic device includes a main body and a plurality of electronic components connected with the main body, the main body includes a controller, an arithmetic unit and a memory, the memory is used for storing the extended display identification data corresponding to the main body, characterized in that each electronic component is respectively provided with a storage unit, each storage unit is used for storing the element serial number of the corresponding electronic component, the electronic device control method includes:
reading out the element serial number corresponding to each electronic component from each storage unit by the controller, wherein each element serial number is a character code combination of English characters and/or numbers;
generating a corresponding digital array serial number according to a preset rule by using the arithmetic unit;
the arithmetic unit is utilized to carry out coding operation on all the digital array serial numbers and obtain a coding serial number;
updating the code sequence number into the extended display identification data in the memory by the controller, thereby obtaining updated extended display identification data corresponding to the subject;
the step of using the arithmetic unit to carry out coding operation on all the digital array serial numbers and obtain a coding serial number comprises the following steps: and sequentially selecting part of the digital array serial numbers to perform exclusive OR operation to obtain a first group of cache array serial numbers, storing the first group of cache array serial numbers in the memory, sequentially performing exclusive OR operation on the rest part of the digital array serial numbers and the first group of cache array serial numbers, and obtaining one group of cache array serial numbers by each operation until all the digital array serial numbers participate in exclusive OR operation, finally obtaining the coding serial numbers, and obtaining the first number group of cache array serial numbers altogether.
2. The electronic device control method according to claim 1, characterized by further comprising:
when the element serial number of one of the plurality of electronic components is lost, the controller is utilized to read the element serial numbers of the plurality of electronic components corresponding to the rest electronic components from respective storage units, and the controller is utilized to read the coding serial number from the updated extended display identification data in the memory;
generating a serial number of the other digital arrays according to the preset rule by using the arithmetic unit and the serial numbers of the elements corresponding to the other electronic components;
the arithmetic unit is utilized to carry out decoding operation on the coding sequence number and the sequence numbers of the other digital arrays to obtain a decoding digital array sequence number;
and restoring the corresponding lost element serial number according to the decoded digital array serial number.
3. The electronic device control method according to claim 1, characterized by further comprising:
when one of the plurality of electronic components is replaced and reassembled with the main body, the controller is utilized to read the element serial numbers corresponding to all the electronic components from the corresponding storage units, and the controller is utilized to read the coding serial numbers from the updated extended display identification data in the memory;
generating a digital array serial number to be detected corresponding to the electronic component after replacement and a remaining digital array serial number corresponding to the remaining electronic component by using the arithmetic unit according to the preset rule respectively;
the arithmetic unit is utilized to carry out decoding operation on the coding sequence number and the sequence numbers of the other digital arrays to obtain a decoding digital array sequence number;
comparing the serial number of the digital array to be detected with the serial number of the decoding digital array by using an arithmetic unit;
and judging whether the replaced electronic component is selected to be provided with errors or not according to the comparison result.
4. A control method of an electronic device according to claim 2 or 3, wherein when all the digital array numbers to be subjected to the encoding operation are odd numbers, the step of encoding all the digital array numbers by the operator includes exclusive-or-ing all the digital array numbers together; the step of decoding the encoding sequence number and the remaining digital array sequence numbers using the operator includes exclusive-or operation of the encoding sequence number and the remaining digital array sequence numbers together.
5. The method of claim 4, wherein the step of encoding all the number of the digital arrays by the arithmetic unit includes: firstly, a virtual array serial number is manufactured according to the preset rule by utilizing known information, and then the virtual array serial number and all the digital array serial numbers are combined together to perform exclusive OR operation, wherein the known information comprises one or more of production date, warranty period or product name; the step of decoding the encoded sequence number and the remaining digital array sequence number using the operator includes exclusive-or combining the encoded sequence number, the remaining digital array sequence number, and the dummy array sequence number.
6. The electronic device control method according to claim 1, characterized by further comprising:
when more than two element serial numbers of the plurality of electronic components are lost, the controller is utilized to read the element serial numbers of the plurality of electronic components corresponding to the rest of electronic components from respective storage units, and the controller is utilized to read the first number group cache array serial numbers and the coding serial numbers in the updated extended display identification data from the memory, wherein the number of the electronic components with the lost element serial numbers is not more than the number of the rest of electronic components;
generating a serial number of the other digital arrays according to the preset rule by using the arithmetic unit and the serial numbers of the elements corresponding to the other electronic components;
performing exclusive-or operation on the first number group of cache array serial numbers, the rest digital array serial numbers and the coding serial numbers by using the arithmetic unit to obtain a plurality of decoding digital array serial numbers;
and recovering the corresponding lost element serial numbers according to the plurality of decoding digital array serial numbers.
7. The method of claim 1, wherein each of the digital array numbers corresponds to a combination of 13-bit codes, and the predetermined rule comprises: when the element serial number of one of the plurality of electronic components is less than 13-bit character codes, the character codes are supplemented at high positions to be supplemented to 13 bits, so that a corresponding digital array serial number is generated; when the serial number of another element in the plurality of electronic components exceeds 13-bit codes, the element is split by taking the 13-bit codes as units, and the part of the residual less than 13-bit codes is padded with the high-bit padding codes to 13 bits, so that a plurality of corresponding digital array serial numbers are generated.
8. The method for controlling an electronic device as claimed in claim 7, wherein the preset rule further comprises: when the element serial number of one of the plurality of electronic components or the element serial number of the other of the plurality of electronic components is split and the residual part is less than 13-bit character codes, 1 is fully filled in the high order of the electronic components so as to generate corresponding digital array serial numbers.
9. An electronic device comprising a main body and a plurality of electronic components connected with the main body, wherein the main body comprises a controller, an arithmetic unit and a memory, and the memory is used for storing extended display identification data corresponding to the main body, and the electronic device is characterized in that each electronic component is respectively provided with a storage unit, and each storage unit is used for storing element serial numbers of the corresponding electronic components:
the controller is used for respectively reading the element serial numbers corresponding to each electronic component from each storage unit, wherein each element serial number is a character code combination of English characters and/or numbers;
the arithmetic unit is used for generating a corresponding digital array serial number according to a preset rule from each element serial number;
the arithmetic unit is used for carrying out coding operation on all the digital array serial numbers and obtaining a coding serial number;
the controller is used for updating the coding sequence number into the extended display identification data in the memory so as to obtain updated extended display identification data corresponding to the main body;
the step of the arithmetic unit for performing coding operation on all the digital array serial numbers and obtaining a coding serial number comprises the following steps: and sequentially selecting part of the digital array serial numbers to perform exclusive OR operation to obtain a first group of cache array serial numbers, storing the first group of cache array serial numbers in the memory, sequentially performing exclusive OR operation on the rest part of the digital array serial numbers and the first group of cache array serial numbers, and obtaining one group of cache array serial numbers by each operation until all the digital array serial numbers participate in exclusive OR operation, finally obtaining the coding serial numbers, and obtaining the first number group of cache array serial numbers altogether.
10. The electronic device of claim 9, wherein each storage unit is a storage space provided in a processing chip of each electronic component, or each storage unit is an existing charged eeprom on each electronic component; the controller of the main body reads out the element serial number of the electronic component corresponding to each storage unit through the I2C bus channel.
CN201910038990.0A 2019-01-16 2019-01-16 Electronic device control method based on EDID coding and electronic device Active CN109831213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910038990.0A CN109831213B (en) 2019-01-16 2019-01-16 Electronic device control method based on EDID coding and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910038990.0A CN109831213B (en) 2019-01-16 2019-01-16 Electronic device control method based on EDID coding and electronic device

Publications (2)

Publication Number Publication Date
CN109831213A CN109831213A (en) 2019-05-31
CN109831213B true CN109831213B (en) 2023-07-25

Family

ID=66860243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910038990.0A Active CN109831213B (en) 2019-01-16 2019-01-16 Electronic device control method based on EDID coding and electronic device

Country Status (1)

Country Link
CN (1) CN109831213B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111703471A (en) * 2020-06-30 2020-09-25 湖南中车时代通信信号有限公司 Railway product preventive maintenance device and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870222A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Display output control method and electronic device
CN106201383A (en) * 2014-10-16 2016-12-07 亚信电子股份有限公司 Many main frames common display expands electronic installation and the system of display identification data
CN107024906A (en) * 2016-10-12 2017-08-08 运城学院 The code generating method and device of a kind of NC cutting tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6762698B2 (en) * 2001-09-24 2004-07-13 Zenith Electronics Corporation Robust system for transmitting and receiving map data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870222A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Display output control method and electronic device
CN106201383A (en) * 2014-10-16 2016-12-07 亚信电子股份有限公司 Many main frames common display expands electronic installation and the system of display identification data
CN107024906A (en) * 2016-10-12 2017-08-08 运城学院 The code generating method and device of a kind of NC cutting tool

Also Published As

Publication number Publication date
CN109831213A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US7328846B2 (en) Display apparatus, light receiving apparatus, communication system, and communication method
CN109831213B (en) Electronic device control method based on EDID coding and electronic device
CN1327359C (en) Memory controller
JP2008198330A (en) Semiconductor memory device for byte-based masking operation and method of generating parity data
US20070118683A1 (en) Apparatus for updating television firmware and method therefor
US8151136B2 (en) Method and device for correcting code data error
US20090070655A1 (en) Method for Generating an ECC Code for a Memory Device
JPS60112149A (en) Data processor and data word writing method
CN117371002A (en) Model encryption method, model decryption method, encryption device, and readable storage medium
JP5194747B2 (en) Data transmission device, data transmission device, data reception device, and data transmission system
EP4087138A1 (en) Low overhead transition encoding codes
CN112104873B (en) Video data stream decoding IP core and method, artificial intelligence chip and medium
US9865226B2 (en) Image color correction for electronic displays
CN113065787A (en) Emergency plan generation method and system based on scene construction
US6675343B1 (en) Code error correcting and detecting apparatus
US9275166B2 (en) Off-line delivery of content through an active screen display
JP2006127105A (en) Method of installing firmware into electronic apparatus and printed circuit board
TWI617915B (en) Data verification correction method
CN101894574B (en) Method for reading and driving circuit thereof
CN116386499A (en) Gamma correction method, driving circuit of display panel and display panel
TWI373972B (en) Apparatus and method for programming function of monitor
US20090150727A1 (en) Data transmission method
KR101744117B1 (en) Telegram decoder and transponder reader including the same
JPH04304714A (en) Coder for error correction code, coding method, its decoder and decoding method
US20190294497A1 (en) Method of implementing error correction code used by memory storage apparatus and memory storage apparatus using the same

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