CN112230583A - Master control board installation method based on Scratch program - Google Patents

Master control board installation method based on Scratch program Download PDF

Info

Publication number
CN112230583A
CN112230583A CN202011163583.1A CN202011163583A CN112230583A CN 112230583 A CN112230583 A CN 112230583A CN 202011163583 A CN202011163583 A CN 202011163583A CN 112230583 A CN112230583 A CN 112230583A
Authority
CN
China
Prior art keywords
main control
installation
control board
serial number
control panel
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.)
Granted
Application number
CN202011163583.1A
Other languages
Chinese (zh)
Other versions
CN112230583B (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.)
Fujian mental Information Technology Co., Ltd
Xiamen Xinyue Chuangyi Education Technology Co.,Ltd.
Longyan University
Original Assignee
Xiamen Xinyue Chuangyi Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Xinyue Chuangyi Education Technology Co ltd filed Critical Xiamen Xinyue Chuangyi Education Technology Co ltd
Priority to CN202011163583.1A priority Critical patent/CN112230583B/en
Publication of CN112230583A publication Critical patent/CN112230583A/en
Application granted granted Critical
Publication of CN112230583B publication Critical patent/CN112230583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23146Programmable, reconfigurable via microprocessor or coding switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a master control board installation method based on a Scratch program, which comprises the following steps: acquiring a serial number of a main control panel based on a simple graphical programming tool program, generating a random code associated with the serial number according to the acquired serial number of the main control panel, and configuring installation control codes for each part of the main control panel according to the random code; the main control board is installed on the main control board, wherein one part of the main control board corresponds to one installation control code, the installation control codes corresponding to the parts are different, an installation model of the main control board is built according to the installation control codes, and the main control board is installed on the basis of the installation model of the main control board. By the aid of the method, the situation of software program leakage in the process of installing the main control panel based on the simple graphical programming tool program can be reduced.

Description

Master control board installation method based on Scratch program
Technical Field
The invention relates to the technical field of main control panel installation, in particular to a method for installing a main control panel based on a Scratch program.
Background
The Scratch (simple graphical programming tool) program is a graphical programming tool developed by the "lifelong kindergarten team" of the massachusetts institute of technology, and is mainly open to teenagers. Almost all children will enjoy this software at a glance. The desire to do programming is established.
However, in the conventional master control board installation scheme based on the Scratch program, since the software program of the master control board based on the simple graphic programming tool program is usually not completely confidential, in the process of installing the master control board based on the simple graphic programming tool program, a phenomenon that the software program of the master control board based on the simple graphic programming tool program is cracked by an installer often occurs, so that a situation that the software program leaks often occurs in the process of installing the master control board based on the simple graphic programming tool program.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method for installing a master control board based on a Scratch program, which can reduce the software program leakage occurring in the process of installing the master control board based on a simple graphic programming tool program.
According to one aspect of the invention, a master control board installation method based on a Scratch program is provided, and comprises the following steps: acquiring a serial number of a main control panel based on a simple graphical programming tool program; generating a random code associated with the serial number according to the acquired serial number of the main control panel; configuring installation control codes for all parts of the main control panel according to the random codes; one part of the main control panel corresponds to one installation control code, and the installation control codes corresponding to the parts are different; constructing an installation model of the main control panel according to the installation control code; and installing the main control panel based on the installation model of the main control panel.
Wherein, the obtaining of the serial number of the main control panel based on the simple graphical programming tool program comprises: the method comprises the steps of configuring a mapping file of main control panel serial number information by modifying a basic input and output system of a main control panel based on a simple graphical programming tool program, searching the position of the serial number of the main control panel by adopting a peripheral component interconnection standard mode, and acquiring the serial number of the main control panel based on the simple graphical programming tool program according to the searched position of the serial number of the main control panel and based on the mapping file.
Wherein, the searching the position of the serial number of the main control board by adopting the peripheral component interconnection standard mode comprises the following steps: extracting first bus information and second bus information of the main control panel by adopting a peripheral component interconnection standard mode, confirming a storage data area of the serial number of the main control panel through configuration space data corresponding to the first bus information, and searching the position of the serial number of the main control panel from the storage data area of the serial number according to the second bus information.
Wherein, the generating a random code associated with the serial number according to the obtained serial number of the main control board comprises: and respectively generating random numbers corresponding to the signal sources by using at least two different signal sources according to the acquired serial number of the main control board, and performing setting operation on the generated random numbers corresponding to the signal sources to generate random codes related to the serial number.
Configuring installation control codes for all parts of the main control board according to the random codes; wherein, an installation control code is corresponded to a part of master control board, and the installation control code diverse that each part corresponds includes: according to the random code, carrying out installation identification related to the random code on each component of the main control panel according to the installation sequence, wherein one component of the main control panel corresponds to one installation identification, the installation identifications corresponding to the components are different, and according to the sequence of the installation identifications, configuring installation control codes for each component of the main control panel in a mode of configuring matched installation codes for matched components among the components of the main control panel; one part of the main control panel corresponds to one installation control code, and the installation control codes corresponding to the parts are different.
Wherein, according to the installation control code, constructing the installation model of the main control panel comprises: determining the structural characteristics of the main control panel, extracting at least two characteristic points corresponding to each component in matched components of the main control panel corresponding to the installation control code from the structural characteristics according to the installation control code, calculating the position coordinates of each characteristic point relative to each component in matched components of the installation control code according to the positions of the at least two characteristic points in the main control panel, and connecting the position coordinates and each component in matched components of the installation control code to construct an installation model of the main control panel.
Wherein, the determining the structural features of the main control board and extracting at least two feature points corresponding to each component in the matched components of the main control board corresponding to the installation control code from the structural features according to the installation control code include: determining the structural characteristics of the main control board, performing component segmentation on each component in matched components based on the installation control codes according to the installation control codes to obtain the structure of multiple sections of the main control board, and extracting at least two feature points corresponding to each component in matched components of the main control board corresponding to the installation control codes from the structural characteristics corresponding to the structures of the sections of the main control board.
Wherein the installing the main control panel based on the installation model of the main control panel comprises: and sequencing each part in the matched parts of the installation control codes according to the sequence of the installation frequency from most to least based on the installation model of the main control board, and installing the main control board according to the sequence sequencing.
Wherein after the installation model based on the main control board installs the main control board, the method further comprises: activating a simple graphical-based programming tool program in the installed master control board.
Wherein the activating of the easy graphical programming tool based program in the installed master control board comprises: and receiving an activation code through the installed main control board, and activating a simple graphical programming tool-based program in the installed main control board based on the activation code.
According to another aspect of the present invention, there is provided a computer apparatus comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the Scratch program based master control board installation method as in any one of the above.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the Scratch program-based main control board installation method as described in any one of the above.
It can be found that, with the above scheme, the serial number of the main control panel based on the simple graphical programming tool program can be acquired, the random code associated with the serial number can be generated according to the acquired serial number of the main control panel, and the installation control code can be configured for each component of the main control panel according to the random code; wherein, a part of this main control panel corresponds an installation control code, and the installation control code diverse that each part corresponds can be according to this installation control code, and can construct the installation model of this main control panel to and can install this main control panel based on the installation model of this main control panel, can realize reducing the software program that appears in the in-process of installing the main control panel based on simple and easy graphical programming tool program and reveal the condition.
Furthermore, according to the scheme, the mapping file of the serial number information of the main control panel can be configured by modifying the basic input and output system of the main control panel based on the simple graphical programming tool program, the position of the serial number of the main control panel is searched in a peripheral component interconnection standard mode, and the serial number of the main control panel based on the simple graphical programming tool program is acquired according to the searched position of the serial number of the main control panel and the mapping file.
Furthermore, the above solution may adopt a peripheral component interconnect standard manner to extract the first bus information and the second bus information of the main control board, confirm the storage data area of the serial number of the main control board through the configuration space data corresponding to the first bus information, and search the position of the serial number of the main control board from the storage data area of the serial number according to the second bus information, which is advantageous in that it is possible to improve the accuracy of the position of the serial number of the searched main control board.
Further, according to the above scheme, at least two different signal sources can be used to generate random numbers corresponding to the respective signal sources respectively according to the acquired serial number of the main control board, and the generated random numbers corresponding to the respective signal sources are subjected to setting operation to generate random codes associated with the serial number, so that the generated random codes associated with the serial number can be specifically unique and irreversible.
Further, according to the above scheme, according to the random code, an installation identifier associated with the random code may be performed on each component of the main control board according to an installation sequence, one component of the main control board corresponds to one installation identifier, the installation identifiers corresponding to the components are different, and according to the installation sequence, an installation control code may be configured for each component of the main control board by configuring a matched installation code for a matched component between each component of the main control board; the main control panel is provided with a plurality of installation control codes, each installation control code is corresponding to one component, and the installation control codes corresponding to the components are different from each other.
Further, according to the above scheme, the structural feature of the main control board can be determined, at least two feature points corresponding to each of the components of the main control board corresponding to the installation control code are extracted from the structural feature according to the installation control code, the position coordinates of each feature point relative to each of the components of the main control board corresponding to the installation control code are calculated according to the positions of the at least two feature points in the main control board, and the installation model of the main control board is constructed by connecting the position coordinates and each of the components of the main control board corresponding to the installation control code.
Further, according to the above scheme, the structural features of the main control board may be determined, and according to the installation control code, each of the components in the kit of the main control board based on the installation control code may be subjected to component segmentation to obtain the structure of the multi-segment main control board, and at least two feature points corresponding to each of the components in the kit of the main control board corresponding to the installation control code may be extracted from the structural features corresponding to the structures of the respective segments of the main control board.
Furthermore, according to the scheme, each part in the matched parts of the installation control codes can be sequenced from a large to a small according to the installation frequency based on the installation model of the main control board, and the main control board is installed according to the sequence sequencing.
Further, according to the above scheme, the simple graphic programming tool based program in the installed main control board can be activated, so that the difficulty of multiplexing the simple graphic programming tool based program can be improved, and the possibility of multiplexing the simple graphic programming tool based program is reduced.
Further, according to the above scheme, the activation code can be received by the installed main control board, and the easy graphic programming tool based program in the installed main control board is activated based on the activation code, which has the advantages that the difficulty of reusing the easy graphic programming tool based program can be increased, and the possibility of reusing the easy graphic programming tool based program is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an embodiment of a method for installing a main control panel based on a Scratch program in a human body according to the present invention;
FIG. 2 is a schematic flow chart of another embodiment of the method for installing a master control board based on a Scratch program according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of the computer apparatus of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Similarly, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive work are within the scope of the present invention.
The invention provides a master control board installation method based on a Scratch program, which can reduce the software program leakage in the process of installing the master control board based on a simple graphical programming tool program.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a master control board installation method based on a Scratch program according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
s101: and acquiring the serial number of the main control panel based on the simple graphical programming tool program.
The obtaining of the serial number of the main control panel based on the simple graphical programming tool program may include:
the method has the advantages that the complete serial number information of the main control panel based on the simple graphical programming tool program can be automatically acquired, and the effects of effectively recording, positioning and tracing the product life cycle of the main control panel based on the simple graphical programming tool program can be achieved.
Wherein, the searching the position of the serial number of the main control board by adopting the peripheral component interconnection standard mode may include:
the method has the advantages that the accuracy of the position of the serial number of the searched main control board can be improved.
S102: and generating a random code associated with the serial number according to the acquired serial number of the main control board.
Wherein, the generating a random code associated with the serial number according to the obtained serial number of the main control board may include:
according to the acquired serial number of the main control board, at least two different signal sources are utilized to respectively generate random numbers corresponding to the signal sources, the generated random numbers corresponding to the signal sources are subjected to setting operation, and random codes related to the serial number are generated.
S103: configuring installation control codes for all parts of the main control board according to the random codes; wherein, a part of this main control panel corresponds an installation control code, and the installation control code that each part corresponds is different.
Wherein, should according to the random code, dispose the installation control code for each part of the master control board; wherein, an installation control code is corresponded to a part of this master control board, and the installation control code diverse that each part corresponds can include:
according to the random code, carrying out installation marks related to the random code on each component of the main control panel according to the installation sequence, wherein one component of the main control panel corresponds to one installation mark, the installation marks corresponding to the components are different, and according to the installation mark sequence, configuring installation control codes for each component of the main control panel in a mode of configuring matched installation codes for matched components among the components of the main control panel; the main control panel is provided with a plurality of installation control codes, each installation control code is corresponding to one component, and the installation control codes corresponding to the components are different from each other.
S104: and constructing an installation model of the main control panel according to the installation control code.
Wherein, should construct the installation model of this main control panel according to this installation control code, can include:
the method comprises the steps of determining the structural characteristics of the main control panel, extracting at least two characteristic points corresponding to each part in matched parts of the main control panel corresponding to the installation control code from the structural characteristics according to the installation control code, calculating the position coordinates of each characteristic point relative to each part in matched parts of the installation control code according to the positions of the at least two characteristic points in the main control panel, connecting the position coordinates with each part in matched parts of the installation control code, and constructing the installation model of the main control panel.
Wherein, the determining the structural feature of the main control board, and extracting at least two feature points corresponding to each component in the matched components of the main control board corresponding to the installation control code from the structural feature according to the installation control code may include:
the method comprises the steps of determining the structural characteristics of the main control board, carrying out component segmentation on each component in matched components based on the installation control code according to the installation control code to obtain the structure of the multi-section main control board, and extracting at least two feature points corresponding to each component in matched components of the main control board corresponding to the installation control code from the structural characteristics corresponding to the structures of the sections of the main control board.
S105: the main control board is installed based on the installation model of the main control board.
Wherein, the installing the main control panel based on the installation model of the main control panel may include:
based on the installation model of the main control board, each part in the matched parts of the installation control code is sequenced from more to less according to the installation frequency, and the main control board is installed according to the sequencing of the sequence.
Wherein, after the installation model based on the main control board is installed on the main control board, the method may further include:
the simple graphical programming tool based program in the installed main control board is activated, so that the difficulty of reusing the simple graphical programming tool based program can be improved, and the possibility of reusing the simple graphical programming tool based program is reduced.
It can be seen that, in this embodiment, a serial number of a main control board based on a simple graphic programming tool program can be acquired, and a random code associated with the serial number can be generated based on the acquired serial number of the main control board, and an installation control code can be configured for each component of the main control board based on the random code; wherein, a part of this main control panel corresponds an installation control code, and the installation control code diverse that each part corresponds can be according to this installation control code, and can construct the installation model of this main control panel to and can install this main control panel based on the installation model of this main control panel, can realize reducing the software program that appears in the in-process of installing the main control panel based on simple and easy graphical programming tool program and reveal the condition.
Further, in this embodiment, the mapping file of the serial number information of the main control board may be configured by modifying the bios of the main control board based on the simple graphic programming tool program, and the peripheral component interconnect standard manner is adopted to search the position of the serial number of the main control board, and the serial number of the main control board based on the simple graphic programming tool program is obtained according to the searched position of the serial number of the main control board and based on the mapping file.
Further, in this embodiment, a peripheral component interconnect standard manner may be adopted to extract the first bus information and the second bus information of the main control board, confirm the storage data area of the serial number of the main control board through the configuration space data corresponding to the first bus information, and search for the position of the serial number of the main control board from the storage data area of the serial number according to the second bus information.
Further, in this embodiment, at least two different signal sources may be used to generate random numbers corresponding to the respective signal sources according to the acquired serial number of the main control board, and the generated random numbers corresponding to the respective signal sources are set and operated to generate a random code associated with the serial number, which has the advantage of realizing specific uniqueness and irreversibility of the generated random code associated with the serial number.
Further, in this embodiment, according to the random code, an installation identifier associated with the random code may be performed on each component of the main control board according to an installation sequence, where one component of the main control board corresponds to one installation identifier, and the installation identifiers corresponding to the components are different from each other, and according to the installation sequence, an installation control code may be configured for each component of the main control board by configuring a matching installation code for a matching component between each component of the main control board; the main control panel is provided with a plurality of installation control codes, each installation control code is corresponding to one component, and the installation control codes corresponding to the components are different from each other.
Further, in this embodiment, the structural feature of the main control board may be determined, at least two feature points corresponding to each of the components of the main control board corresponding to the installation control code may be extracted from the structural feature according to the installation control code, the position coordinates of each feature point with respect to each of the components of the main control board corresponding to the installation control code may be calculated according to the positions of the at least two feature points in the main control board, and the installation model of the main control board may be constructed by connecting the position coordinates and each of the components of the main control board corresponding to the installation control code.
Further, in this embodiment, the structural features of the main control board may be determined, and according to the installation control code, the structural features of the main control board may be subjected to component segmentation for each of the matched components based on the installation control code to obtain a structure of a multi-segment main control board, and at least two feature points corresponding to each of the matched components of the main control board corresponding to the installation control code are extracted from the structural features corresponding to the structures of the respective segments of main control boards, which may achieve an advantage of improving efficiency of extracting at least two feature points corresponding to each of the matched components of the main control board corresponding to the installation control code.
Further, in this embodiment, each of the components associated with the installation control code may be sorted in the order of the installation frequency from most to least based on the installation model of the main control board, and the main control board is installed according to the order sorting.
Referring to fig. 2, fig. 2 is a schematic flow chart of another embodiment of the method for installing a master control board based on a Scratch program according to the present invention. In this embodiment, the method includes the steps of:
s201: and acquiring the serial number of the main control panel based on the simple graphical programming tool program.
As described above in S101, further description is omitted here.
S202: and generating a random code associated with the serial number according to the acquired serial number of the main control board.
As described above in S102, further description is omitted here.
S203: configuring installation control codes for all parts of the main control board according to the random codes; wherein, a part of this main control panel corresponds an installation control code, and the installation control code that each part corresponds is different.
As described above in S103, which is not described herein.
S204: and constructing an installation model of the main control panel according to the installation control code.
As described above in S104, and will not be described herein.
S205: the main control board is installed based on the installation model of the main control board.
As described above in S105, which is not described herein.
S206: activating a simple graphical programming tool based program in the installed master control board.
Wherein the activating the easy graphic programming tool based program in the installed main control board may include:
the installed main control board receives the activation code, and the simplified graphical programming tool based program in the installed main control board is activated based on the activation code, so that the difficulty of reusing the simplified graphical programming tool based program can be improved, and the possibility of reusing the simplified graphical programming tool based program is reduced.
It can be seen that, in the present embodiment, the advantage of activating the easy graphic programming tool based program in the installed main control board is that the difficulty of reusing the easy graphic programming tool based program can be increased, and the possibility of reusing the easy graphic programming tool based program is reduced.
Further, in this embodiment, the activation code may be received by the installed main control board, and based on the activation code, the easy graphic programming tool based program in the installed main control board is activated, which has the advantages of increasing the difficulty of multiplexing the easy graphic programming tool based program and reducing the possibility of multiplexing the easy graphic programming tool based program.
The present invention also provides a computer device, as shown in fig. 3, comprising: at least one processor 31; and a memory 32 communicatively coupled to the at least one processor 31; the memory 32 stores instructions executable by the at least one processor 31, and the instructions are executed by the at least one processor 31, so that the at least one processor 31 can execute the above-mentioned master board installation method based on the Scratch program.
Where the memory 32 and the processor 31 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling together one or more of the various circuits of the processor 31 and the memory 32. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 31 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 31.
The processor 31 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 32 may be used to store data used by the processor 31 in performing operations.
The present invention further provides a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
It can be found that, with the above scheme, the serial number of the main control panel based on the simple graphical programming tool program can be acquired, the random code associated with the serial number can be generated according to the acquired serial number of the main control panel, and the installation control code can be configured for each component of the main control panel according to the random code; wherein, a part of this main control panel corresponds an installation control code, and the installation control code diverse that each part corresponds can be according to this installation control code, and can construct the installation model of this main control panel to and can install this main control panel based on the installation model of this main control panel, can realize reducing the software program that appears in the in-process of installing the main control panel based on simple and easy graphical programming tool program and reveal the condition.
Furthermore, according to the scheme, the mapping file of the serial number information of the main control panel can be configured by modifying the basic input and output system of the main control panel based on the simple graphical programming tool program, the position of the serial number of the main control panel is searched in a peripheral component interconnection standard mode, and the serial number of the main control panel based on the simple graphical programming tool program is acquired according to the searched position of the serial number of the main control panel and the mapping file.
Furthermore, the above solution may adopt a peripheral component interconnect standard manner to extract the first bus information and the second bus information of the main control board, confirm the storage data area of the serial number of the main control board through the configuration space data corresponding to the first bus information, and search the position of the serial number of the main control board from the storage data area of the serial number according to the second bus information, which is advantageous in that it is possible to improve the accuracy of the position of the serial number of the searched main control board.
Further, according to the above scheme, at least two different signal sources can be used to generate random numbers corresponding to the respective signal sources respectively according to the acquired serial number of the main control board, and the generated random numbers corresponding to the respective signal sources are subjected to setting operation to generate random codes associated with the serial number, so that the generated random codes associated with the serial number can be specifically unique and irreversible.
Further, according to the above scheme, according to the random code, an installation identifier associated with the random code may be performed on each component of the main control board according to an installation sequence, one component of the main control board corresponds to one installation identifier, the installation identifiers corresponding to the components are different, and according to the installation sequence, an installation control code may be configured for each component of the main control board by configuring a matched installation code for a matched component between each component of the main control board; the main control panel is provided with a plurality of installation control codes, each installation control code is corresponding to one component, and the installation control codes corresponding to the components are different from each other.
Further, according to the above scheme, the structural feature of the main control board can be determined, at least two feature points corresponding to each of the components of the main control board corresponding to the installation control code are extracted from the structural feature according to the installation control code, the position coordinates of each feature point relative to each of the components of the main control board corresponding to the installation control code are calculated according to the positions of the at least two feature points in the main control board, and the installation model of the main control board is constructed by connecting the position coordinates and each of the components of the main control board corresponding to the installation control code.
Further, according to the above scheme, the structural features of the main control board may be determined, and according to the installation control code, each of the components in the kit of the main control board based on the installation control code may be subjected to component segmentation to obtain the structure of the multi-segment main control board, and at least two feature points corresponding to each of the components in the kit of the main control board corresponding to the installation control code may be extracted from the structural features corresponding to the structures of the respective segments of the main control board.
Furthermore, according to the scheme, each part in the matched parts of the installation control codes can be sequenced from a large to a small according to the installation frequency based on the installation model of the main control board, and the main control board is installed according to the sequence sequencing.
Further, according to the above scheme, the simple graphic programming tool based program in the installed main control board can be activated, so that the difficulty of multiplexing the simple graphic programming tool based program can be improved, and the possibility of multiplexing the simple graphic programming tool based program is reduced.
Further, according to the above scheme, the activation code can be received by the installed main control board, and the easy graphic programming tool based program in the installed main control board is activated based on the activation code, which has the advantages that the difficulty of reusing the easy graphic programming tool based program can be increased, and the possibility of reusing the easy graphic programming tool based program is reduced.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A master control board installation method based on a Scratch program is characterized by comprising the following steps:
acquiring a serial number of a main control panel based on a simple graphical programming tool program;
generating a random code associated with the serial number according to the acquired serial number of the main control panel;
configuring installation control codes for all parts of the main control panel according to the random codes; one part of the main control panel corresponds to one installation control code, and the installation control codes corresponding to the parts are different;
constructing an installation model of the main control panel according to the installation control code;
and installing the main control panel based on the installation model of the main control panel.
2. The Scratch program-based main control board installation method of claim 1, wherein the obtaining of the serial number of the main control board based on the abbreviated graphic programming tool program comprises:
the method comprises the steps of configuring a mapping file of main control panel serial number information by modifying a basic input and output system of a main control panel based on a simple graphical programming tool program, searching the position of the serial number of the main control panel by adopting a peripheral component interconnection standard mode, and acquiring the serial number of the main control panel based on the simple graphical programming tool program according to the searched position of the serial number of the main control panel and based on the mapping file.
3. The Scratch program-based main control board installation method according to claim 2, wherein the finding the position of the serial number of the main control board in a peripheral component interconnect standard manner includes:
extracting first bus information and second bus information of the main control panel by adopting a peripheral component interconnection standard mode, confirming a storage data area of the serial number of the main control panel through configuration space data corresponding to the first bus information, and searching the position of the serial number of the main control panel from the storage data area of the serial number according to the second bus information.
4. The Scratch program-based master control board installation method according to claim 1, wherein the generating a random code associated with the serial number according to the acquired serial number of the master control board includes:
and respectively generating random numbers corresponding to the signal sources by using at least two different signal sources according to the acquired serial number of the main control board, and performing setting operation on the generated random numbers corresponding to the signal sources to generate random codes related to the serial number.
5. The Scratch program-based main control board installation method according to claim 1, wherein the installation control codes are configured for respective parts of the main control board according to the random code; wherein, an installation control code is corresponded to a part of master control board, and the installation control code diverse that each part corresponds includes:
according to the random code, carrying out installation identification related to the random code on each component of the main control panel according to the installation sequence, wherein one component of the main control panel corresponds to one installation identification, the installation identifications corresponding to the components are different, and according to the sequence of the installation identifications, configuring installation control codes for each component of the main control panel in a mode of configuring matched installation codes for matched components among the components of the main control panel; one part of the main control panel corresponds to one installation control code, and the installation control codes corresponding to the parts are different.
6. The Scratch program-based main control board installation method according to claim 1, wherein the building of the installation model of the main control board according to the installation control code includes:
determining the structural characteristics of the main control panel, extracting at least two characteristic points corresponding to each component in matched components of the main control panel corresponding to the installation control code from the structural characteristics according to the installation control code, calculating the position coordinates of each characteristic point relative to each component in matched components of the installation control code according to the positions of the at least two characteristic points in the main control panel, and connecting the position coordinates and each component in matched components of the installation control code to construct an installation model of the main control panel.
7. The Scratch program-based main control board installation method according to claim 6, wherein the determining structural features of the main control board and extracting at least two feature points corresponding to each of the components of the main control board, which are mated with the installation control code, from the structural features according to the installation control code includes:
determining the structural characteristics of the main control board, performing component segmentation on each component in matched components based on the installation control codes according to the installation control codes to obtain the structure of multiple sections of the main control board, and extracting at least two feature points corresponding to each component in matched components of the main control board corresponding to the installation control codes from the structural characteristics corresponding to the structures of the sections of the main control board.
8. The Scratch program-based main control board installation method according to claim 1, wherein installing the main control board based on the installation model of the main control board includes:
and sequencing each part in the matched parts of the installation control codes according to the sequence of the installation frequency from most to least based on the installation model of the main control board, and installing the main control board according to the sequence sequencing.
9. The Scratch program-based main control board installation method according to claim 1, further comprising, after the main control board is installed based on the main control board installation model, the steps of:
activating a simple graphical-based programming tool program in the installed master control board.
10. The Scratch program-based main control board installation method according to claim 9, wherein the activating of the easy graphic programming tool program in the installed main control board comprises:
and receiving an activation code through the installed main control board, and activating a simple graphical programming tool-based program in the installed main control board based on the activation code.
CN202011163583.1A 2020-10-27 2020-10-27 Master control board installation method based on Scratch program Active CN112230583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011163583.1A CN112230583B (en) 2020-10-27 2020-10-27 Master control board installation method based on Scratch program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011163583.1A CN112230583B (en) 2020-10-27 2020-10-27 Master control board installation method based on Scratch program

Publications (2)

Publication Number Publication Date
CN112230583A true CN112230583A (en) 2021-01-15
CN112230583B CN112230583B (en) 2021-07-20

Family

ID=74110605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011163583.1A Active CN112230583B (en) 2020-10-27 2020-10-27 Master control board installation method based on Scratch program

Country Status (1)

Country Link
CN (1) CN112230583B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0011119A1 (en) * 1978-10-12 1980-05-28 WLW-Elektrotechnik GmbH & Co. KG Display and control element
JP2004101126A (en) * 2002-09-12 2004-04-02 Mitsubishi Kagaku Sanshi Corp Heat radiation board and installation method thereof
CN103176805A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 Executable program installation method and executable program installation system
CN103576029A (en) * 2013-11-05 2014-02-12 延锋伟世通汽车电子有限公司 Device for testing aging of automotive electronic product
CN104303144A (en) * 2011-11-21 2015-01-21 波音公司 Component programming system
CN104361267A (en) * 2014-11-19 2015-02-18 厦门海迈科技股份有限公司 Software authorization and protection device and method based on asymmetric cryptographic algorithm
CN105278413A (en) * 2015-10-30 2016-01-27 广西柳工机械股份有限公司 Communication method for upper computer and CAN equipment of same type
CN108171019A (en) * 2018-01-12 2018-06-15 陈征宇 Anti-counterfeit authentication method, fake certification system, fake certification equipment and storage medium
CN109523899A (en) * 2018-12-18 2019-03-26 南京奥斯坦丁电子有限公司 A kind of open source robot
CN109543423A (en) * 2018-11-05 2019-03-29 上海新时达电气股份有限公司 Control panel encryption and manner of decryption, terminal device and computer readable storage medium
CN111079099A (en) * 2019-12-25 2020-04-28 惠州拓邦电气技术有限公司 Control panel activation method, device and system
US20200134162A1 (en) * 2018-10-30 2020-04-30 Haier Us Appliance Solutions, Inc. Appliance with control board authentication
CN111475154A (en) * 2020-03-17 2020-07-31 北京邮电大学 Program editing system, method, electronic device, and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0011119A1 (en) * 1978-10-12 1980-05-28 WLW-Elektrotechnik GmbH & Co. KG Display and control element
JP2004101126A (en) * 2002-09-12 2004-04-02 Mitsubishi Kagaku Sanshi Corp Heat radiation board and installation method thereof
CN104303144A (en) * 2011-11-21 2015-01-21 波音公司 Component programming system
CN103176805A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 Executable program installation method and executable program installation system
CN103576029A (en) * 2013-11-05 2014-02-12 延锋伟世通汽车电子有限公司 Device for testing aging of automotive electronic product
CN104361267A (en) * 2014-11-19 2015-02-18 厦门海迈科技股份有限公司 Software authorization and protection device and method based on asymmetric cryptographic algorithm
CN105278413A (en) * 2015-10-30 2016-01-27 广西柳工机械股份有限公司 Communication method for upper computer and CAN equipment of same type
CN108171019A (en) * 2018-01-12 2018-06-15 陈征宇 Anti-counterfeit authentication method, fake certification system, fake certification equipment and storage medium
US20200134162A1 (en) * 2018-10-30 2020-04-30 Haier Us Appliance Solutions, Inc. Appliance with control board authentication
CN109543423A (en) * 2018-11-05 2019-03-29 上海新时达电气股份有限公司 Control panel encryption and manner of decryption, terminal device and computer readable storage medium
CN109523899A (en) * 2018-12-18 2019-03-26 南京奥斯坦丁电子有限公司 A kind of open source robot
CN111079099A (en) * 2019-12-25 2020-04-28 惠州拓邦电气技术有限公司 Control panel activation method, device and system
CN111475154A (en) * 2020-03-17 2020-07-31 北京邮电大学 Program editing system, method, electronic device, and storage medium

Also Published As

Publication number Publication date
CN112230583B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
US7685322B2 (en) Port number emulation for wireless USB connections
CN104331285A (en) Automatic code generation method and system
CN111475192B (en) Method, device, storage medium and system for performing thermal augmentation on game server
CN102930026B (en) Method and device for converting computer-aided design (CAD) model
CN110597523A (en) Board card firmware burning method, device and system, board card and terminal equipment
CN105447246A (en) Method and system for generating electrical principle diagram through one key
CN102023882A (en) System and method for computer to automatically identify mobile phone and install mobile phone driver
CN105159809A (en) State machine based fault positioning method and apparatus
CN116542207A (en) Method, device, equipment and storage medium for generating circuit layout
CN114818594A (en) Automatic wiring and naming method, device, equipment and medium
CN103164232A (en) Method and system of updating intelligent terminal operating system and computer
CN112230583B (en) Master control board installation method based on Scratch program
CN112231251B (en) Board card slot identification method and device, communication equipment and readable storage medium
CN107864152B (en) Method for rapidly completing intelligent building multi-protocol adaptation engineering template by using VBA
CN100403039C (en) Method for checking circuit schematic diagram
CN112417122A (en) Multi-turn question and answer method and device, computer readable storage medium and electronic equipment
CN112567375A (en) Format verification method, information identification method, device and storage medium
CN116560629A (en) Serialization method, device, medium and equipment for data transmission object
CN112162731B (en) Data expansion method, device, storage medium and electronic device
CN114116544B (en) Slot information acquisition method, device, equipment and storage medium
CN104424153B (en) A kind of audio & video equipment data collecting system and its method to USB interface
CN103488503B (en) Oftware updating method and device
CN106933509A (en) The processing method and electronic equipment of a kind of disk number
CN102270126A (en) Method and equipment for quickly determining interface code and test script parameter value
CN113176908A (en) Method, system, device and medium for dynamically expanding web function and hot-pluggable

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210927

Address after: 361100 Room 101, No. 655-1, Huancheng North Road, Tong'an District, Xiamen City, Fujian Province

Patentee after: Xiamen Xinyue Chuangyi Education Technology Co.,Ltd.

Patentee after: LONGYAN University

Patentee after: Fujian mental Information Technology Co., Ltd

Address before: 361100 Room 101, No. 655-1, Huancheng North Road, Tong'an District, Xiamen City, Fujian Province

Patentee before: Xiamen Xinyue Chuangyi Education Technology Co.,Ltd.