CN115293096B - Line generation method, device, electronic equipment and storage medium - Google Patents

Line generation method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115293096B
CN115293096B CN202210936596.0A CN202210936596A CN115293096B CN 115293096 B CN115293096 B CN 115293096B CN 202210936596 A CN202210936596 A CN 202210936596A CN 115293096 B CN115293096 B CN 115293096B
Authority
CN
China
Prior art keywords
wiring
line
position information
wired
data
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
CN202210936596.0A
Other languages
Chinese (zh)
Other versions
CN115293096A (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.)
Qingyan Precision Beijing Automotive Technology Co ltd
Original Assignee
Qingyan Precision Beijing Automotive 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 Qingyan Precision Beijing Automotive Technology Co ltd filed Critical Qingyan Precision Beijing Automotive Technology Co ltd
Priority to CN202210936596.0A priority Critical patent/CN115293096B/en
Publication of CN115293096A publication Critical patent/CN115293096A/en
Application granted granted Critical
Publication of CN115293096B publication Critical patent/CN115293096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/394Routing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

The invention discloses a line generation method, a line generation device, electronic equipment and a storage medium. The method comprises the following steps: acquiring line data to be used, wherein the line data comprises at least one line to be wired and corresponding wiring position information; determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of at least one to-be-wired circuit, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes; and adjusting a line to be wired in the line data based on the display information corresponding to each welding point, and determining target wiring data based on the adjusted line data. The problems of low efficiency, high error rate and low accuracy of line determination caused by manually checking line data in the prior art are solved, convenience and accuracy of line data checking are improved, and effects of improving line generation and accuracy are achieved.

Description

Line generation method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer processing technologies, and in particular, to a line generating method, a line generating device, an electronic device, and a storage medium.
Background
In a hardware line test system, line data in a circuit board is usually checked, and certain difficulty is added to line checking due to the line connection of a large number of connection points included in the line data.
At present, the method for checking the line usually searches whether each wiring point is wired or not or whether the wiring is repeated in the line data by manpower, and the checking method is low in efficiency and has the problems of missed connection and repeated connection in the finally generated line board caused by checking errors.
Disclosure of Invention
The invention provides a circuit generation method, a circuit generation device, electronic equipment and a storage medium, which are used for improving the convenience and accuracy of circuit data checking and achieving the technical effect of improving the circuit generation and accuracy.
According to an aspect of the present invention, there is provided a line generation method including:
obtaining line data to be used, wherein the line data comprises at least one line to be wired and corresponding wiring position information;
determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of the at least one circuit to be wired, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes;
And adjusting a line to be wired in the line data based on display information corresponding to each welding point, and determining target wiring data based on the adjusted line data.
According to another aspect of the present invention, there is provided a line generating apparatus including:
the circuit data acquisition module is used for acquiring circuit data to be used, wherein the circuit data comprises at least one circuit to be wired and corresponding wiring position information;
the wiring attribute determining module is used for determining wiring attributes corresponding to the welding spots based on the position information of the welding spots in the reference circuit board and the wiring position information of the at least one circuit to be wired, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes;
the target wiring data determining module is used for adjusting the wiring to be wired in the wiring data based on the display information corresponding to each welding point and determining the target wiring data based on the adjusted wiring data.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the line generation method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a line generation method according to any embodiment of the present invention.
According to the technical scheme, line data to be used are obtained, and the line data comprise at least one line to be wired and corresponding wiring position information; determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of at least one to-be-wired circuit, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes; the method comprises the steps of adjusting a line to be wired in line data based on display information corresponding to each welding point, determining target wiring data based on the adjusted line data, solving the problems of low efficiency, high error rate and low accuracy of line determination caused by manually checking the line data in the prior art, determining wiring attributes corresponding to each welding point by comparing wiring position information of the line to be wired with position information of each welding point, and displaying the welding point position information of different wiring attributes in a distinguishing way, so that a user can clearly and conveniently check line conditions, adjusting the line to be wired in the line data based on the display information, improving the accuracy and convenience of line data adjustment checking, improving the checking efficiency, enabling the finally determined target line data to meet actual demands and line requirements, and achieving the technical effects of line generation and accuracy.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a line generating method according to a first embodiment of the present invention;
FIG. 2 is a diagram of table data of a reference circuit board according to a first embodiment of the present invention;
FIG. 3 is a diagram of table data of a reference circuit board according to a first embodiment of the present invention;
FIG. 4 is a diagram of table data for distinguishing display of location information according to a first embodiment of the present invention;
fig. 5 is a schematic structural diagram of a line generating apparatus according to a third embodiment of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device implementing a line generating method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a line generating method according to a first embodiment of the present invention, where the method may be applied to a line checking case, and the method may be performed by a line generating apparatus, which may be implemented in the form of hardware and/or software, and the line generating apparatus may be configured in a computing device. As shown in fig. 1, the method includes:
s110, acquiring line data to be used.
The circuit data may be wiring data in a circuit board, for example, the circuit board may be a board card, and the circuit board includes a plurality of circuit channels, where each circuit channel corresponds to a wiring point.
It should be noted that, in practical application, in order to improve the convenience of line inspection, the wiring table data may be generated based on the actual wiring requirement, instead of the line graph, where the wiring table data includes the point location information of the to-be-wired line, it is able to clearly and explicitly know which point locations need to be wired, and the wiring table data may be used as line data, where the line data includes at least one to-be-wired line and corresponding wiring position information. The to-be-wired line can be understood as a hard-wired signal, in principle, each line channel allows one hard-wired signal to be accessed, but a plurality of hard-wired signals may exist in the same line channel, point location information of the line channel is wiring position information of the plurality of hard-wired signals, and damage is caused to a circuit board when the circuit board is electrified.
In this embodiment, when the uploaded wiring form data requiring the line condition to be checked is detected, it is considered that the line data to be used is received to perform the line analysis on the line data.
It should be noted that, the line data to be used may be wiring table data generated based on actual wiring requirements, and then the manner of generating the line data to be used may be: determining at least one to-be-wired line corresponding to each to-be-wired point; taking the position information of the to-be-wired point corresponding to the to-be-wired line as the wiring position information of the to-be-wired line; and determining line data based on each line to be wired and corresponding wiring position information.
Specifically, the to-be-wired line signals corresponding to each to-be-wired point in the to-be-wired circuit board can be summarized, each to-be-wired line signal and corresponding wiring position information are recorded, the wiring position information is the position information of the to-be-wired point corresponding to the to-be-wired line, each to-be-wired line corresponds to one to-be-wired point, and the corresponding to-be-wired points may be the same or different. The line data may be determined based on each line to be wired and corresponding wiring location information. It can be understood that if there is more than one position information shared by the lines to be wired, the same point in the line data is repeatedly wired.
S120, determining wiring attributes corresponding to the welding spots based on the position information of the welding spots in the reference circuit board and the wiring position information of the at least one circuit to be wired, and displaying the position information of the corresponding welding spots in a distinguishing mode based on the wiring attributes.
The reference circuit board may be a circuit board to be wired, and each circuit channel in the circuit board may be understood as a solder joint, and each solder joint has unique position information. It should be noted that, the line data to be used may include circuit information of the reference circuit board that needs to be wired, so that when the line data is checked, whether the line data has a missing line or a repeated line is determined based on the position information of each solder joint in the reference circuit board. The wiring properties may be used to characterize wiring conditions such as normal wiring, missing or repeated connections, etc.
In this embodiment, the position information of each solder joint in the reference circuit board may be analyzed and compared with the wiring position information of each to-be-wired line, so as to determine the wiring attribute corresponding to each solder joint, and the position information of the corresponding solder joint may be displayed differently in the table data based on different wiring attributes. If the normal wiring is displayed as yellow, the missed connection is displayed as green, the repeated connection is displayed as red, etc.
In practical application, because the reference circuit board includes a plurality of modules, each module has different positions, and the position information of the welding spot under each module is different, so that the position information of each welding spot has a unique identifier, and accordingly, when the position information of each welding spot in the reference circuit board is determined, table data can be generated based on the position information of each welding spot, and each welding spot corresponds to one cell, so that when the wiring attribute of the welding spot is determined, the corresponding cell can be displayed in a distinguishing way. For example, referring to the schematic diagram of the tabular data of the circuit board, see fig. 2, such as T1S2M1: S1, using the symbol ": "as separator, the separator is preceded by a position code: T1S2M1, namely No. 1 cabinet No. 2 plug-in box No. 1 module, the sign of signal code is behind the separator: s1, namely representing the signal channel 1, T1S2M1: S1 can be represented as position information corresponding to the welding spot 1. The table data shown in fig. 2 can be imported into the system, each cell represents a point location, and the format needs to be according to the position code: the signal code "is filled in.
It should be further noted that, there are multiple modules in the reference circuit board, each module includes multiple circuit channels, that is, welding spots, in order to improve the efficiency of checking the subsequent circuit data, after the table data of the reference circuit board is obtained, the table data may be subjected to partition processing, for example, the welding spots corresponding to the same module may be subjected to classification processing, so as to obtain processed table data, and the initial color information of the cells in the table may be given, so that when the wiring attribute corresponding to each welding spot is determined, different display information may be given based on different wiring attributes. For example, referring to fig. 3, after the table data of the reference circuit board of fig. 2 is imported into the system, the system may automatically identify the symbol ": "the position code before, generate the corresponding module, then distribute each cell in figure 2 in the corresponding module according to the position code, map and generate the form data as shown in figure 3, the cell can default to have no filling color.
In practical application, the line data to be used may include wiring data of a plurality of circuit boards, so that the part of data to be matched with the table data can be determined from the line data to be used based on the line data to be used and the partition position identification in the table data of the reference circuit board, so that the line checking efficiency is improved based on the determined part of data to be matched with the table data.
Optionally, determining the wiring attribute corresponding to each solder joint based on the position information of each solder joint in the reference circuit board and the wiring position information of at least one to-be-wired line includes: determining wire sub-data to be used from the line data based on the position information of the reference circuit board; and determining the wiring attribute corresponding to each welding point based on the position information of each welding point and the wiring position information of each wiring line to be wired in the wiring sub-data to be used.
It should be noted that, the line data includes wiring data of a plurality of circuit boards, and the wiring data corresponding to each circuit board may be a region of the line data and be assigned with a corresponding position identifier.
In this embodiment, the area data corresponding to the position identifier matched with the position information of the reference circuit board may be determined as the to-be-used wiring sub-data by comparing the position information of the reference circuit board with the partition position identifier in the circuit data. And analyzing and comparing the position information of each welding spot with the wiring position information of each wiring line to be wired in the wiring sub-data to be used, and determining the wiring attribute corresponding to each welding spot.
Optionally, based on the position information of each welding spot and the wiring position information of each wiring line to be wired in the to-be-used wiring sub-data, a specific implementation manner of determining the wiring attribute corresponding to each welding spot may be: matching the position information of each welding spot with the wiring position information of each wiring line to be wired in the wiring sub-data to be used to obtain the wiring frequency corresponding to each welding spot; and taking the wiring frequency of the corresponding welding spots as wiring attributes corresponding to the corresponding welding spots.
In this embodiment, the position information of each solder joint may be matched with the wiring position information of each wiring line to be wired in the to-be-used wiring sub-data, and the occurrence frequency of the position information of each solder joint from each wiring position information may be determined, for example, the occurrence frequency may be two times if the position information of each wiring position information consistent with the position information of solder joint 1 occurs twice. The occurrence frequency can represent the number of lines to be wired in the welding spot, namely the wiring frequency of the lines to be wired. The wiring frequency of the solder joint can be used as the wiring property thereof.
Optionally, in the process of performing differential display on the position information of the corresponding welding point based on the wiring attribute, the position information corresponding to the welding point with the wiring attribute smaller than the first preset value can be displayed as first display information; displaying position information corresponding to a welding spot with the wiring attribute of a first preset value as second display information; displaying position information corresponding to welding spots with wiring properties larger than a first preset value as third display information;
The first display information, the second display information and the third display information are information with different display attributes. The first preset value may be 1.
In practical application, when the wiring attribute of the welding spot is smaller than the first preset value 1, it may be considered that the welding spot does not appear in the line data, that is, no wiring line is configured for the welding spot in the line data, and the position information of the welding spot may be displayed as first display information, for example, the first display information may be non-filling information. When the wiring attribute of the welding spot is a first preset value 1, the welding spot can be considered to appear 1 time in the line data, that is, a wiring line is configured for the welding spot in the line data, and the position information of the welding spot can be displayed as second display information, for example, the second display information can be green. When the wiring attribute of the welding spot is greater than the first preset value 1, the welding spot can be considered to appear more than 1 time in the line data, that is, more than one wiring line is configured for the welding spot in the line data, the position information of the welding spot can be displayed as third display information, for example, the third display information can be red. For example, referring to fig. 4, the table data of the position information distinguishing display may be shown, since only 1 line can be connected to each welding point, the corresponding cell with the wiring attribute of 0 may be set to be unfilled, the corresponding cell with the wiring attribute of 1 may be filled to be gray, and the corresponding cell with the wiring attribute of greater than or equal to 2 times may be filled to be different from the colors of gray and unfilled. So that the follow-up judgment of whether the welding spot is missed or repeated or normal wiring is carried out based on different display information, and the modified circuit is conveniently checked.
S130, adjusting a line to be wired in the line data based on display information corresponding to each welding point, and determining target wiring data based on the adjusted line data.
In this embodiment, whether the welding spots have missing connections or repeated connections or normal connection conditions may be determined based on display information corresponding to each welding spot, so as to adjust the line to be wired in the line data under different conditions, obtain the line data meeting the actual requirements and the line requirements, and obtain the target connection data, so as to perform the connection of the entity circuit board based on the target connection data.
It should be noted that, in order to further improve the checking convenience, the content of the position cell of the corresponding line to be wired can be displayed differently based on the occurrence frequency of the wiring position information in the sub-data to be wired, and the repeated wiring of which data in the line data occurs can be obtained based on the display information, so as to adjust in time.
Optionally, before adjusting the line to be wired in the line data based on the display information corresponding to each welding point, the method further includes: determining the occurrence times corresponding to the wiring position information of each line to be wired; and based on the occurrence times, the corresponding wiring position information is displayed in a distinguishing mode.
In this embodiment, the line data to be used may be imported into the system, the system automatically retrieves the content of each cell in the line data, where the content of each cell is the wiring position information of the line to be wired, counts the number of occurrences of each wiring position information, and automatically counts +1 if they occur repeatedly. When the number of occurrence of certain wiring position information exceeds 1, the wiring position information may be displayed in a distinguishing manner, and the number of occurrence may be marked in a cell corresponding to the wiring position information. If the number of occurrence times of certain wiring position information exceeds 1, it can be stated that a plurality of wiring lines appear in a signal channel, namely a point position, corresponding to the wiring position information, and the situation is repeated, and the wiring lines to be wired in the line data can be adjusted by distinguishing the displayed wiring position information, for example, redundant lines are deleted, and the adjusted line data is used as target line data.
It should be noted that, the line data may be adjusted based on the wiring position information that is displayed separately in the line data to be used, and the line to be wired in the line data may be adjusted based on the display information corresponding to each welding point, which may be implemented in the following manner; determining a new wiring line based on welding spots of the first display information, updating a wiring line to be wired in the line data based on the new wiring line, and/or determining a wiring line to be deleted based on position information corresponding to the welding spots of the third display information, and updating the wiring line to be wired in the line data based on the wiring line to be deleted, so as to determine target wiring data based on the updated line data.
In this embodiment, the welding points of the first display information may be represented as the welding points are not configured with a wiring line in the line data, which may be the case because the welding points are reserved points, and no line is required to be configured at this time; and if so, the circuit corresponding to the welding point of the circuit to be configured is used as a newly-added wiring circuit, and wiring position information of the newly-added wiring circuit is added into the circuit data to update the circuit data. The welding point of the third display information can be represented as that wiring lines are repeatedly configured for the welding point in the line data, the situation can judge which repeated lines need to be deleted according to actual requirements, a line can be reserved for the welding point, at the moment, the line needing to be deleted can be used as the wiring line to be deleted, the wiring position information of the wiring line to be deleted is deleted from the line data, and the line data is updated. The updated line data can be matched with the table data of the reference circuit board again until the display information meets the actual requirement and the line requirement, and the updated line data is used as the target wiring data.
According to the technical scheme, line data to be used are obtained, wherein the line data comprise at least one line to be wired and corresponding wiring position information; determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of at least one to-be-wired circuit, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes; the method comprises the steps of adjusting a line to be wired in line data based on display information corresponding to each welding point, determining target wiring data based on the adjusted line data, solving the problems of low efficiency, high error rate and low accuracy of line determination caused by manually checking the line data in the prior art, determining wiring attributes corresponding to each welding point by comparing wiring position information of the line to be wired with position information of each welding point, and displaying the welding point position information of different wiring attributes in a distinguishing way, so that a user can clearly and conveniently check line conditions, adjusting the line to be wired in the line data based on the display information, improving the accuracy and convenience of line data adjustment checking, improving the checking efficiency, enabling the finally determined target line data to meet actual demands and line requirements, and achieving the technical effects of line generation and accuracy.
Example two
As an alternative embodiment of the foregoing embodiment, a specific application scenario example is given to make the technical solution of the embodiment of the present invention further clear to those skilled in the art. In particular, reference may be made to the following details.
With continued reference to fig. 2, in practical application, since the reference circuit board includes a plurality of modules, each module has a different position, and the position information of the solder joint under each module is different, so the position information of each solder joint has a unique identifier, and accordingly, when determining the position information of each solder joint in the reference circuit board, table data can be generated based on the position information of each solder joint, and each solder joint corresponds to a cell, for example, T1S2M1: S1 in the cell can be expressed as the position information corresponding to solder joint 1, where the symbol ": "as separator, the separator is preceded by a position code: T1S2M1, namely No. 1 cabinet No. 2 plug-in box No. 1 module, the sign of signal code is behind the separator: s1, namely representing a signal channel 1, table data shown in FIG. 2 can be imported into the system, each cell represents a point location, and the format is required to be according to the' position code: the signal code "is filled in. After the table data of the reference circuit board in fig. 2 is imported into the system, the system may automatically identify the symbol ": "the position code before, generate the corresponding module, then distribute each cell in figure 2 in the corresponding module according to the position code, map and generate the form data as shown in figure 3, the cell can default to have no filling color.
On the basis of the scheme, line data to be used can be imported into the system, the system automatically retrieves the content of each cell in the line data, the content of each cell is wiring position information of a line to be wired, the occurrence frequency of each wiring position information is counted, and if the wiring position information is repeatedly generated, the number of times of occurrence of certain wiring position information exceeds 1, the wiring position information can be displayed in a distinguished mode, and the occurrence frequency of the wiring position information can be marked in the cell corresponding to the wiring position information. Further, the line data to be used can be matched with the table data corresponding to the reference circuit board shown in fig. 3, and if the matching times are 0, the corresponding wiring position information still defaults to no filling color; if the matching times are 1, filling the corresponding wiring position information into green; if the number of matches is greater than or equal to 2, the number of matches is filled into the corresponding cell of the corresponding wiring position information, and the wiring position information is filled in red, resulting in the form data shown in fig. 4. The non-filling color position should be checked as missing or reserved; if the missed connection is needed, the line data after modification is reintroduced into the system and is re-matched with the form data of the reference circuit board; if the reservation is available for the subsequent newly added signal allocation.
According to the technical scheme, line data to be used are obtained, wherein the line data comprise at least one line to be wired and corresponding wiring position information; determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of at least one to-be-wired circuit, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes; the method comprises the steps of adjusting a line to be wired in line data based on display information corresponding to each welding point, determining target wiring data based on the adjusted line data, solving the problems of low efficiency, high error rate and low accuracy of line determination caused by manually checking the line data in the prior art, determining wiring attributes corresponding to each welding point by comparing wiring position information of the line to be wired with position information of each welding point, and displaying the welding point position information of different wiring attributes in a distinguishing way, so that a user can clearly and conveniently check line conditions, adjusting the line to be wired in the line data based on the display information, improving the accuracy and convenience of line data adjustment checking, improving the checking efficiency, enabling the finally determined target line data to meet actual demands and line requirements, and achieving the technical effects of line generation and accuracy.
Example III
Fig. 5 is a schematic structural diagram of a line generating apparatus according to a third embodiment of the present invention. As shown in fig. 5, the apparatus includes: a line data acquisition module 510, a wiring attribute determination module 520, and a target wiring data determination module 530.
The circuit data obtaining module 510 is configured to obtain circuit data to be used, where the circuit data includes at least one circuit to be wired and corresponding wiring position information; the wiring attribute determining module 520 is configured to determine wiring attributes corresponding to each solder joint based on the position information of each solder joint in the reference circuit board and the wiring position information of the at least one circuit to be wired, and perform differential display on the position information of the corresponding solder joint based on the wiring attributes; the target wiring data determining module 530 is configured to adjust a line to be wired in the line data based on display information corresponding to each welding point, and determine target wiring data based on the adjusted line data.
According to the technical scheme, line data to be used are obtained, wherein the line data comprise at least one line to be wired and corresponding wiring position information; determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of at least one to-be-wired circuit, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes; the method comprises the steps of adjusting a line to be wired in line data based on display information corresponding to each welding point, determining target wiring data based on the adjusted line data, solving the problems of low efficiency, high error rate and low accuracy of line determination caused by manually checking the line data in the prior art, determining wiring attributes corresponding to each welding point by comparing wiring position information of the line to be wired with position information of each welding point, and displaying the welding point position information of different wiring attributes in a distinguishing way, so that a user can clearly and conveniently check line conditions, adjusting the line to be wired in the line data based on the display information, improving the accuracy and convenience of line data adjustment checking, improving the checking efficiency, enabling the finally determined target line data to meet actual demands and line requirements, and achieving the technical effects of line generation and accuracy.
On the basis of the device, optionally, the device further comprises a line data generating module, wherein the line data generating module comprises a line to be wired determining unit, a wiring position information determining unit and a line data generating unit.
The to-be-wired line determining unit is used for determining at least one to-be-wired line corresponding to each to-be-wired point;
a wiring position information determining unit, configured to use position information of a to-be-wired point corresponding to the to-be-wired line as wiring position information of the to-be-wired line;
and the line data generating unit is used for determining the line data based on each line to be wired and corresponding wiring position information.
On the basis of the above-described apparatus, optionally, the wiring property determining module 520 includes a wiring sub-data determining unit to be used and a wiring property determining unit.
A to-be-used wiring sub-data determining unit configured to determine to-be-used wiring sub-data from the line data based on the position information of the reference circuit board;
and the wiring attribute determining unit is used for determining wiring attributes corresponding to the welding spots based on the position information of the welding spots and the wiring position information of the lines to be wired in the to-be-used wiring sub-data.
On the basis of the above device, optionally, the wiring attribute determining unit includes a wiring frequency determining subunit and a wiring attribute determining subunit.
The wiring frequency determining subunit is used for matching the position information of each welding spot with the wiring position information of each wiring line to be wired in the wiring sub data to be used to obtain the wiring frequency corresponding to each welding spot;
and the wiring attribute determining subunit is used for taking the wiring frequency of the corresponding welding spots as the wiring attribute corresponding to the corresponding welding spots.
On the basis of the above apparatus, optionally, the wiring property determining module 520 includes a first display information determining unit, a second display information determining unit, and a third display information determining unit.
A first display information determining unit, configured to display, as first display information, position information corresponding to a solder joint with the wiring attribute smaller than a first preset value;
a second display information determining unit, configured to display, as second display information, position information corresponding to a welding spot with the wiring attribute being the first preset value;
a third display information determining unit, configured to display, as third display information, position information corresponding to a welding spot with the wiring attribute greater than the first preset value;
The first display information, the second display information and the third display information are information with different display attributes.
On the basis of the device, optionally, the device further comprises a wiring position information display module, wherein the wiring position information display module comprises an occurrence number determining unit and a wiring position information display unit.
The occurrence number determining unit is used for determining the occurrence number corresponding to the wiring position information of each line to be wired;
and the wiring position information display unit is used for displaying the corresponding wiring position information in a distinguishing mode based on the occurrence times.
On the basis of the above apparatus, optionally, the target wiring data determining module 530 is further configured to determine an newly added wiring line based on the welding spot of the first display information, and update the wiring line to be wired in the wiring data based on the newly added wiring line, and/or,
and determining a wiring line to be deleted based on position information corresponding to the welding spot of the third display information, and updating the wiring line to be connected in the line data based on the wiring line to be deleted so as to determine target wiring data based on the updated line data.
The circuit generating device provided by the embodiment of the invention can execute the circuit generating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 6 is a schematic structural diagram of an electronic device implementing a line generating method according to an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the route generation method.
In some embodiments, the line generation method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the wire generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the route generation method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A line generation method, comprising:
obtaining line data to be used, wherein the line data comprises at least one line to be wired and corresponding wiring position information;
determining wiring attributes corresponding to all welding spots based on the position information of all welding spots in the reference circuit board and the wiring position information of the at least one circuit to be wired, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes;
Adjusting a line to be wired in the line data based on display information corresponding to each welding point, and determining target wiring data based on the adjusted line data;
the determining the wiring attribute corresponding to each welding point based on the position information of each welding point in the reference circuit board and the wiring position information of the at least one line to be wired includes:
determining wiring sub-data to be used from the line data based on the position information of the reference circuit board;
determining wiring attributes corresponding to all welding spots based on the position information of all welding spots and the wiring position information of all wiring lines to be wired in the wiring sub-data to be used;
based on the wiring attribute, the method for distinguishing and displaying the position information of the corresponding welding spots comprises the following steps:
displaying the position information corresponding to the welding spots with the wiring attribute smaller than a first preset value as first display information;
displaying the position information corresponding to the welding spot with the wiring attribute of the first preset value as second display information;
displaying the position information corresponding to the welding spots with the wiring attribute larger than the first preset value as third display information;
the first display information, the second display information and the third display information are information with different display attributes.
2. The method of claim 1, further comprising, prior to the acquiring the line data to be used:
determining at least one to-be-wired line corresponding to each to-be-wired point;
taking the position information of the to-be-wired point corresponding to the to-be-wired line as the wiring position information of the to-be-wired line;
and determining the line data based on each line to be wired and corresponding wiring position information.
3. The method according to claim 1, wherein determining the wiring attribute corresponding to each solder joint based on the position information of each solder joint and the wiring position information of each wiring line to be wired in the wiring sub data to be used includes:
matching the position information of each welding spot with the wiring position information of each wiring line to be wired in the wiring sub-data to be used to obtain wiring frequency corresponding to each welding spot;
and taking the wiring frequency of the corresponding welding spots as wiring attributes corresponding to the corresponding welding spots.
4. The method of claim 1, further comprising, prior to adjusting the line to be wired in the line data based on the display information corresponding to each solder joint:
Determining the occurrence times corresponding to the wiring position information of each line to be wired;
and based on the occurrence times, the corresponding wiring position information is displayed in a distinguishing mode.
5. The method according to any one of claims 1 and 4, wherein adjusting the line to be wired in the line data based on the display information corresponding to each welding point includes:
determining an newly added wiring line based on the welding spot of the first display information, and updating the wiring line to be wired in the line data based on the newly added wiring line, and/or,
and determining a wiring line to be deleted based on position information corresponding to the welding spot of the third display information, and updating the wiring line to be connected in the line data based on the wiring line to be deleted so as to determine target wiring data based on the updated line data.
6. A line generating apparatus, comprising:
the circuit data acquisition module is used for acquiring circuit data to be used, wherein the circuit data comprises at least one circuit to be wired and corresponding wiring position information;
the wiring attribute determining module is used for determining wiring attributes corresponding to the welding spots based on the position information of the welding spots in the reference circuit board and the wiring position information of the at least one circuit to be wired, and distinguishing and displaying the position information of the corresponding welding spots based on the wiring attributes;
The target wiring data determining module is used for adjusting a to-be-wired line in the line data based on display information corresponding to each welding point and determining target wiring data based on the adjusted line data;
the wiring attribute determining module comprises a wiring sub-data determining unit to be used and a wiring attribute determining unit;
a to-be-used wiring sub-data determining unit configured to determine to-be-used wiring sub-data from the line data based on the position information of the reference circuit board;
the wiring attribute determining unit is used for determining wiring attributes corresponding to all welding spots based on the position information of all the welding spots and the wiring position information of all the lines to be wired in the to-be-used wiring sub-data;
the wiring attribute determining module comprises a first display information determining unit, a second display information determining unit and a third display information determining unit;
a first display information determining unit, configured to display, as first display information, position information corresponding to a solder joint with the wiring attribute smaller than a first preset value;
a second display information determining unit, configured to display, as second display information, position information corresponding to a welding spot with the wiring attribute being the first preset value;
A third display information determining unit, configured to display, as third display information, position information corresponding to a welding spot with the wiring attribute greater than the first preset value;
the first display information, the second display information and the third display information are information with different display attributes.
7. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the route generation method of any one of claims 1-5.
8. A computer readable storage medium storing computer instructions for causing a processor to perform the line generation method of any one of claims 1-5.
CN202210936596.0A 2022-08-05 2022-08-05 Line generation method, device, electronic equipment and storage medium Active CN115293096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210936596.0A CN115293096B (en) 2022-08-05 2022-08-05 Line generation method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210936596.0A CN115293096B (en) 2022-08-05 2022-08-05 Line generation method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115293096A CN115293096A (en) 2022-11-04
CN115293096B true CN115293096B (en) 2023-05-26

Family

ID=83828657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210936596.0A Active CN115293096B (en) 2022-08-05 2022-08-05 Line generation method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115293096B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008204349A (en) * 2007-02-22 2008-09-04 Fujitsu Ltd Layout design program, recording medium with the same program recorded, layout design method and layout design device
CN111812545B (en) * 2020-07-07 2023-05-12 苏州精濑光电有限公司 Line defect detection method, device, equipment and medium

Also Published As

Publication number Publication date
CN115293096A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN113795039A (en) Operator network switching method, device, equipment and computer readable storage medium
CN115293096B (en) Line generation method, device, electronic equipment and storage medium
CN116932304A (en) Register test method and device, electronic equipment and storage medium
CN115481594B (en) Scoreboard implementation method, scoreboard, electronic equipment and storage medium
CN117938909A (en) Data transmission method, device, equipment and medium
CN116089499A (en) Data statistics method, device and medium based on kafka data volume
CN117290688A (en) Virtual loop verification method and device, electronic equipment and storage medium
CN117632977A (en) Method and device for checking real-time library data, electronic equipment and storage medium
CN117424818A (en) CAN configuration detection method, device, equipment and medium
CN114785717A (en) Method, apparatus, device and medium for determining maximum time delay of time-sensitive network
CN117331924A (en) Data model matching degree checking method, device, equipment and storage medium
CN117493214A (en) Interface message generation method and device, electronic equipment and storage medium
CN117271303A (en) Test case management method, device, equipment and medium
CN117670236A (en) Mobile-terminal-based to-be-handled flow approval method, device, equipment and medium
CN117201228A (en) Data recharging method and device, electronic equipment and storage medium
CN116028228A (en) Bitmap memory occupation detection method, device, equipment and storage medium
CN115567624A (en) Message processing method and device, electronic equipment and medium
CN116796711A (en) Information summarizing method, device, equipment and medium based on vehicle parts
CN115495380A (en) Test case generation method and device, electronic equipment and storage medium
CN116303071A (en) Interface testing method and device, electronic equipment and storage medium
CN115766260A (en) Method, device, equipment and storage medium for generating network access white list
CN116301679A (en) Fault detection method, device, equipment and medium
CN113362297A (en) Image processing method, apparatus and storage medium for printed circuit board
CN114741291A (en) Method, device, equipment and medium for automatically submitting vulnerability information
CN116860652A (en) Method and device for evaluating software quality, electronic equipment and storage medium

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