Method and device for data driving and electronic equipment

By configuring and defining the driver data and signals in the data driver module, the problem of complex and insufficient flexibility in the instruction addition and maintenance in the prior art is solved, and more efficient data driving and verification environment automation is achieved.

CN119692266APending Publication Date: 2025-03-25BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411766458.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The prior art maintains complexity when adding instructions, and sending instructions as a whole is not conducive to verification of error decoding, and has poor flexibility.

Method used

By sending the data to be driven and the configured signals to the data transmission module, signal definition is performed, and data is transmitted to the data driving module to achieve correct driving of the data to the corresponding pins.

Benefits of technology

Improves data-driven flexibility, reduces signal quantity and code volume, improves the degree of automation and responsiveness of the verification environment, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119692266A_ABST
    Figure CN119692266A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of semiconductor digital verification, and discloses a method and device for data driving and electronic equipment, and the method comprises the steps: transmitting to-be-driven data and a configured signal to a data transmission module; defining the signal under the condition that the to-be-driven data and the signal are received; transmitting the data to be driven and the defined signal to a data driving module; and driving the to-be-driven data to the pins corresponding to the to-be-driven data according to the received to-be-driven data and signals. The number of signals in the data transmission module is reduced, the code quantity of the data driving module is reduced, the flexibility of data driving is improved, and meanwhile the maintenance cost of the verification environment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of semiconductor digital verification technology, for example, to a method and device for data driving, and electronic equipment. Background Art

[0002] At present, with the development of integrated electronic circuit technology, electronic devices tend to be miniaturized and diversified in function. In order to ensure the normal operation of registers in the chip, the chip needs to be verified. In the existing verification environment, data-driven methods are constantly developing and improving to handle complex designs and diverse test requirements.

[0003] In order to realize data-driven in UVM (Universal Verification Methodology) environment, the data-driven method disclosed in the related technology includes: sending instructions as a whole; wherein, the sequence contains many signals, and the task is required to assign values ​​to the signals when sending, and construct multiple base sequences to assign values ​​to the same signal, distinguish the instruction composition by the signal in the driver, call different functions to form a pin array, and then drive the data to the pins.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] With the increase of chip functions and the need for verification, the related technology becomes more complicated to maintain when adding instructions. Moreover, sending instructions as a whole is not conducive to the verification of error decoding and has poor flexibility when sending instructions.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method and apparatus for data driving, and an electronic device to enhance the flexibility of data driving.

[0009] In some embodiments, the method for data driving includes: sending the data to be driven and the configured signal to a data transmission module; defining the signal when the data to be driven and the signal are received; transmitting the data to be driven and the defined signal to the data driving module; and driving the data to be driven to the pin corresponding to the data to be driven according to the received data to be driven and the signal.

[0010] Optionally, the configured signal includes the number of pins, drive mode, and data length.

[0011] Optionally, sending the data to be driven and the configured signal to the data transmission module includes: encapsulating the data to be driven and the configured signal into an instruction function for sending.

[0012] Optionally, when the data and signal to be driven are received, the signal is defined, including: defining the input and output mode, the number of pins, the driving mode and the data length of the data to be driven.

[0013] Optionally, transmitting the data to be driven and the defined signal to the data driving module includes: assigning a default value to the signal to transmit the data to be driven and the signal.

[0014] Optionally, based on the received data to be driven and the signal, the data to be driven is driven to the pin corresponding to the data to be driven, including: classifying the data to be driven according to the signal to obtain a classification result; loading the classified data to be driven into a pin array corresponding to the classification result; and according to the driving mode, driving the data to be driven in the pin array to the pin corresponding to the pin array.

[0015] Optionally, classifying the data to be driven according to the signal includes: identifying the number of pins in the signal; and classifying the data to be driven according to the number of pins.

[0016] In some embodiments, the device for data driving includes: a data sending module, configured to send the data to be driven and the configured signal to the data transmission module; a data transmission module, connected to the data sending module, configured to define the signal when the data to be driven and the signal are received; the data to be driven and the defined signal are transmitted to the data driving module; a data driving module, connected to the data transmission module, configured to drive the data to be driven to the pin corresponding to the data to be driven according to the received data to be driven and the signal.

[0017] In some embodiments, the device for data driving includes a processor and a memory storing program instructions, and the processor is configured to execute the method for data driving as described above when running the program instructions.

[0018] In some embodiments, the electronic device includes: an electronic device body; and the device for data driving as described above, installed in the electronic device body.

[0019] The data-driven method, device, and electronic device provided by the embodiments of the present disclosure can achieve the following technical effects:

[0020] In the disclosed embodiment, the method for data-driven sends the data to be driven and the configured signal to the data transmission module in the UVM environment, and the data transmission module is responsible for transmitting the data to the data driver module to realize the driving of the data to be driven, ensuring that the data and the signal can be correctly processed and transmitted. After receiving the data to be driven and the signal, it is necessary to define the signal. In the UVM environment, the definition signal usually imposes precise constraints on the signal. According to the received data to be driven and the signal to be driven, when the data to be driven is driven to the pin corresponding to the data to be driven, the driving component is used to simulate the hardware interface to ensure that the data can be correctly sent to the designed pin.

[0021] The disclosed embodiment can improve the automation level of the verification environment, and can use a small number of signals to send data to the data driving module through the data transmission module, and the data driving module directly drives the data to the pin. On the basis of meeting the application requirements, the number of signals in the data transmission module is reduced, the amount of code of the data driving module is reduced, and the flexibility of sending data is improved. In this way, the verification environment can respond to different test requirements more flexibly, and the maintenance cost of the verification environment can also be reduced.

[0022] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0024] Figure 1 is a schematic diagram of an implementation environment for a data-driven method according to an embodiment of the present disclosure;

[0025] Figure 2 is a schematic diagram of a data-driven method provided by an embodiment of the present disclosure;

[0026] Figure 3 is a schematic diagram of another data-driven method provided by an embodiment of the present disclosure;

[0027] Figure 4is a schematic diagram of another data-driven method provided by an embodiment of the present disclosure;

[0028] Figure 5 is a schematic diagram of another data-driven method provided by an embodiment of the present disclosure;

[0029] Figure 6 is a schematic diagram of another data-driven method provided by an embodiment of the present disclosure;

[0030] Figure 7 It is a schematic diagram of a device for data driving provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0032] The terms "first", "second", etc. in the technical solutions described in the embodiments of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0033] Unless otherwise stated, the term "plurality" means two or more.

[0034] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0035] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0036] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0037] UVM is a standardized methodology for verifying integrated circuit designs. It is derived from the OpenVerification Methodology and is supported by several electronic design automation companies, including Cadence, Synopsys, and Mentor Graphics. UVM uses the SystemVerilog language to achieve greater automation by providing a set of frameworks and class libraries, thereby improving verification efficiency, interoperability, and code reuse.

[0038] The core of UVM is components and classes based on object-oriented programming. Components are the basic building blocks of the verification environment and communicate through interfaces, while classes define the behavior and properties of components. UVM also includes concepts such as agents, drivers, monitors, sequences, and sequencers. Components work together to achieve complex verification tasks.

[0039] Combination Figure 1 As shown, Figure 1 Schematic diagram of the implementation environment of the data-driven method of the embodiment of the present disclosure. The implementation environment may include a processor 700 and a verification chip 800, and the processor 700 includes a data sending module 100, a data transmission module 200 and a data driving module 300.

[0040] The data transmission module 100 is connected to the data transmission module 200 to realize the transmission of data and the configuration of signals during transmission. The data transmission module includes the integration of instructions, the transmission of data, and the configuration of signals, focusing on the data length and the transmission mode, and uniformly treating the various components of the instruction as data configuration. The input and output of data, the number of pins, the driving mode, and the data length are encapsulated into an instruction function to provide an input and output interface.

[0041] The data transmission module 200 is connected to the data driving module 300 to realize the transmission of data and signals.

[0042] The data driving module 300 configures the pin data according to the number of pins and data, and drives the pin data to the pins of the verification chip 800 .

[0043] Combination Figure 2 As shown, the present disclosure provides a method for data driving, including:

[0044] S201, the processor sends the to-be-driven data and the configured signal to the data transmission module.

[0045] S202: When receiving the data and signal to be driven, the processor defines the signal.

[0046] S203: The processor transmits the to-be-driven data and the defined signal to the data driving module.

[0047] S204: The processor drives the data to be driven to a pin corresponding to the data to be driven according to the received data to be driven and the signal.

[0048] The method for data-driven provided by the embodiment of the present disclosure is adopted. The method for data-driven sends the data to be driven and the configured signal to the data transmission module in the UVM environment. The data transmission module is responsible for transmitting the data to the data driver module to realize the driving of the data to be driven, ensuring that the data and the signal can be correctly processed and transmitted. After receiving the data to be driven and the signal, it is necessary to define the signal. In the UVM environment, the signal is usually accurately constrained by defining the signal. According to the received data to be driven and the signal to be driven, when the data to be driven is driven to the pin corresponding to the data to be driven, a driving component is used to simulate the hardware interface to ensure that the data can be correctly sent to the designed pin.

[0049] The disclosed embodiment can improve the automation level of the verification environment, and can use a small number of signals to send data to the data driving module through the data transmission module, and the data driving module directly drives the data to the pin. On the basis of meeting the application requirements, the number of signals in the data transmission module is reduced, the amount of code of the data driving module is reduced, and the flexibility of sending data is improved. In this way, the verification environment can respond to different test requirements more flexibly, and the maintenance cost of the verification environment can also be reduced.

[0050] Optionally, the configured signal includes the number of pins, drive mode, and data length.

[0051] In the disclosed embodiment, the data to be driven and the configured signal (including the number of pins, drive mode and data length) are sent to the data transmission module to realize data driving. In this way, the UVM environment can simulate complex hardware behaviors and provide strong support for verification work. Instructions of any length and any mode can be sent flexibly, thereby building a reusable and scalable verification environment that can adapt to different test requirements and design changes, thereby improving the flexibility and efficiency of verification.

[0052] Specifically, a hierarchical verification structure is created by defining components and objects. Different components include drivers, monitors, sequencers, and scoreboards. The factory mechanism and configuration database provided by UVM can be used to flexibly configure and replace components to support different test scenarios.

[0053] In this way, the amount of code can be reduced, thus avoiding repeated coding work. At the same time, the code can be modified and updated more efficiently, reducing the maintenance cost of the verification environment.

[0054] Optionally, sending the data to be driven and the configured signal to the data transmission module includes: encapsulating the data to be driven and the configured signal into an instruction function for sending.

[0055] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for data driving, including:

[0056] S301: The processor encapsulates the data to be driven and the configured signal into an instruction function and sends it.

[0057] S302: When receiving the data and signal to be driven, the processor defines the signal.

[0058] S303: The processor transmits the to-be-driven data and the defined signal to the data driving module.

[0059] S304: The processor drives the data to be driven to a pin corresponding to the data to be driven according to the received data to be driven and signal.

[0060] In the embodiment of the present disclosure, in the process of sending the data to be driven and the configured signal to the data transmission module, the data to be driven and the signal are encapsulated into an instruction function. The process may include further processing of the data packet to ensure that it meets the requirements of the bus protocol.

[0061] This can simplify the construction and maintenance of the verification environment. Changes to the bus protocol or data format only require modifications to the data driver module without affecting the data transmission module.

[0062] Furthermore, the data-driven method of the disclosed embodiment also helps to reduce the amount of code. Many common data transmission and processing tasks can be implemented through the predefined classes and methods provided by UVM, thereby reducing the complexity of the verification environment. In addition, the disclosed embodiment also helps to reduce the maintenance cost of the verification environment, reduces the need for hard coding, and makes the test environment easier to adapt to design changes.

[0063] Optionally, when the data and signal to be driven are received, the signal is defined, including: defining the input and output mode, the number of pins, the driving mode and the data length of the data to be driven.

[0064] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for data driving, including:

[0065] S401, the processor sends the to-be-driven data and the configured signal to the data transmission module.

[0066] S402, the processor defines the input and output mode, the number of pins, the driving mode and the data length of the data to be driven.

[0067] S403, the processor transmits the to-be-driven data and the defined signal to the data driving module.

[0068] S404: The processor drives the data to be driven to a pin corresponding to the data to be driven according to the received data to be driven and signal.

[0069] In the disclosed embodiment, the input and output mode, number of pins, driving mode and data length of the data to be driven can be flexibly defined. In the driving component, the signal is defined according to the configuration information, which includes setting parameters such as the number of pins, driving mode and data length. After receiving the data and signal to be driven, the data driving module drives the data to the corresponding pin according to the defined signal. Instructions of any length and any mode can be sent according to the requirements, with strong flexibility, small code depth and code volume, and on the basis of meeting the application requirements, the code volume is reduced, and the maintenance cost of the verification environment is reduced.

[0070] Optionally, transmitting the data to be driven and the defined signal to the data driving module includes: assigning a default value to the signal to transmit the data to be driven and the signal.

[0071] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for data driving, including:

[0072] S501, the processor sends the to-be-driven data and the configured signal to the data transmission module.

[0073] S502: When receiving the data and signal to be driven, the processor defines the signal.

[0074] S503: The processor assigns a default value to the signal to transmit the data and signal to be driven.

[0075] S504: The processor drives the data to be driven to the pin corresponding to the data to be driven according to the received data to be driven and the signal.

[0076] The disclosed embodiment includes the definition and configuration of signals and data length, defines the input and output mode of data, the number of pins, the driving mode and the data length. In addition, the signal is assigned a default value, so that the signal configured by the data sending module and the data to be driven are transmitted to the data driving module.

[0077] In the disclosed embodiment, the input and output modes, the number of pins, the driving mode and the data length of the data to be driven are defined, and can be set in the configuration database of UVM so as to be dynamically adjusted during the test process. The data transmission module acts as an intermediary to coordinate the data flow between the data transmission module and the data driving module to ensure that the data is sent to the data driving module in the correct timing. In the data driving module, the signal is defined according to the configuration information, which includes setting parameters such as the number of pins, the driving mode and the data length.

[0078] Optionally, based on the received data to be driven and the signal, the data to be driven is driven to the pin corresponding to the data to be driven, including: classifying the data to be driven according to the signal to obtain a classification result; loading the classified data to be driven into a pin array corresponding to the classification result; and according to the driving mode, driving the data to be driven in the pin array to the pin corresponding to the pin array.

[0079] Combination Figure 6 As shown, the embodiment of the present disclosure provides another method for data driving, including:

[0080] S601, the processor sends the to-be-driven data and the configured signal to the data transmission module.

[0081] S602: When receiving the data and signal to be driven, the processor defines the signal.

[0082] S603: The processor transmits the to-be-driven data and the defined signal to the data driving module.

[0083] S604: The processor classifies the to-be-driven data according to the signal to obtain a classification result.

[0084] S605: The processor loads the classified data to be driven into a pin array corresponding to the classification result.

[0085] S606: The processor drives the to-be-driven data in the pin array to the pins corresponding to the pin array according to the driving mode.

[0086] In the disclosed embodiment, the process of sending the data to be driven to the corresponding pin involves three key steps: data classification, data loading and driving. First, based on the received data and signal to be driven, the system will classify the data to be driven according to the characteristics of the signal, and classify the data into the correct category by analyzing and identifying the data. The classification result is helpful for subsequent data processing and pin allocation. Specifically, the signal contains the number of pins, and the classification results may include single-line, double-line, four-line, etc.

[0087] The system can load the classified data to be driven into the pin array corresponding to the classification result according to the data category. The pin array is a data structure used to temporarily store data of different categories until the data is sent to the corresponding pin.

[0088] Finally, according to the drive mode, the system drives the data to be driven in the pin array to the pins corresponding to the pin array. The drive mode may include immediate drive, delayed drive or other customized drive strategies. The drive mode determines the timing and method of sending data to the pins. In this way, it ensures that the data can be accurately sent to the corresponding pins according to the predefined rules and patterns.

[0089] Optionally, classifying the data to be driven according to the signal includes: identifying the number of pins in the signal; and classifying the data to be driven according to the number of pins.

[0090] In the disclosed embodiment, first, the system needs to identify the number of pins in the signal. By parsing the signal, the number of pins information can be extracted using the defined signal. For example, the signal may contain multiple pins, each pin corresponding to a different data channel, and identifying the number of pins is helpful for subsequent classification and data processing.

[0091] The data to be driven is classified according to the number of pins identified. The system can assign the data to be driven to the corresponding categories. For example, if the signal contains four pins, the data to be driven may need to be divided into four different categories, each category corresponding to the data of one pin. This can be achieved by creating a data structure (such as an array or a map) in which each element corresponds to the data of one pin.

[0092] The above classification method can ensure that the data to be driven can be accurately mapped to the corresponding pins, thereby improving the accuracy and efficiency of verification. The classified data can be further processed, loaded into the pin array, and driven to the pins corresponding to the pin array according to the driving mode. It not only improves the flexibility of data processing, but also reduces the complexity of the code, making the verification environment easier to maintain and expand.

[0093] Combination Figure 1As shown, the embodiment of the present disclosure provides a device for data driving, including a data sending module 100, a data transmission module 200 and a data driving module 300. The data sending module 100 is configured to send the data to be driven and the configured signal to the data transmission module 200; the data transmission module 200 is connected to the data sending module 100, and is configured to define the signal when receiving the data to be driven and the signal; the data to be driven and the defined signal are transmitted to the data driving module; the data driving module 300 is connected to the data transmission module 200, and is configured to drive the data to be driven to the pin corresponding to the data to be driven according to the received data to be driven and the signal.

[0094] The device for data-driven provided by the embodiment of the present disclosure is adopted, and the method for data-driven sends the data to be driven and the configured signal to the data transmission module in the UVM environment. The data transmission module is responsible for transmitting the data to the data driver module to realize the driving of the data to be driven, ensuring that the data and the signal can be correctly processed and transmitted. After receiving the data to be driven and the signal, it is necessary to define the signal. In the UVM environment, the signal is usually accurately constrained by defining the signal. According to the received data to be driven and the signal to be driven, when the data to be driven is driven to the pin corresponding to the data to be driven, a driving component is used to simulate the hardware interface to ensure that the data can be correctly sent to the designed pin.

[0095] The disclosed embodiment can improve the automation level of the verification environment, and can use a small number of signals to send data to the data driving module through the data transmission module, and the data driving module directly drives the data to the pin. On the basis of meeting the application requirements, the number of signals in the data transmission module is reduced, the amount of code of the data driving module is reduced, and the flexibility of sending data is improved. In this way, the verification environment can respond to different test requirements more flexibly, and the maintenance cost of the verification environment can also be reduced.

[0096] Combination Figure 7 As shown, the embodiment of the present disclosure provides a device 70 for data driving, including a processor (processor) 700 and a memory (memory) 701. Optionally, the device 70 may also include a communication interface (Communication Interface) 702 and a bus 703. Among them, the processor 700, the communication interface 702, and the memory 701 can communicate with each other through the bus 703. The communication interface 702 can be used for information transmission. The processor 700 can call the logic instructions in the memory 701 to execute the method for data driving of the above embodiment.

[0097] In addition, the logic instructions in the memory 701 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0098] The memory 701 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 700 executes functional applications and data processing by running the program instructions / modules stored in the memory 701, that is, implementing the data-driven method in the above-mentioned embodiments.

[0099] The memory 701 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 701 may include a high-speed random access memory and may also include a non-volatile memory.

[0100] The embodiments of the present disclosure provide an electronic device, comprising: an electronic device body, and the above-mentioned device for data driving. The device for data driving is installed on the electronic device body. The installation relationship described here is not limited to placement inside the electronic device body, but also includes installation connections with other components of the electronic device, including but not limited to physical connections, electrical connections or signal transmission connections, etc. Those skilled in the art can understand that the device for data driving can be adapted to a feasible electronic device body, thereby realizing other feasible embodiments.

[0101] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0102] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0103] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0104] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0105] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for data-driven, characterized in that: include: Send the data to be driven and the configured signals to the data transmission module; When receiving the data and signal to be driven, defining the signal; Transmitting the data to be driven and the defined signals to the data driving module; According to the received data to be driven and the signal, the data to be driven is driven to the pin corresponding to the data to be driven.

2. The method according to claim 1, characterized in that The configured signals include the number of pins, drive mode, and data length.

3. The method according to claim 1, characterized in that Send the data to be driven and the configured signals to the data transmission module, including: The data to be driven and the configured signals are encapsulated as instruction functions and sent.

4. The method according to claim 1, characterized in that: When receiving the data and signal to be driven, define the signal, including: Define the input and output mode, number of pins, drive mode and data length of the data to be driven.

5. The method according to claim 1, characterized in that Transmit the data to be driven and the defined signals to the data driver module, including: Assign default values ​​to signals to transmit data and signals to be driven.

6. The method according to any one of claims 2 to 5, characterized in that: According to the received data to be driven and the signal, the data to be driven is driven to a pin corresponding to the data to be driven, including: Classify the data to be driven according to the signal to obtain a classification result; Loading the classified data to be driven into the pin array corresponding to the classification result; According to the driving mode, the data to be driven in the pin array is driven to the pins corresponding to the pin array.

7. The method according to claim 6, characterized in that The data to be driven is classified according to the signal, including: Identify the number of pins in the signal; The data to be driven is classified according to the number of pins.

8. A data-driven device, characterized in that: include: A data sending module, configured to send the to-be-driven data and the configured signal to the data transmission module; The data transmission module is connected to the data sending module and is configured to define the signal when receiving the data and signal to be driven; Transmitting the data to be driven and the defined signals to the data driving module; The data driving module is connected to the data transmission module and is configured to drive the data to be driven to the pin corresponding to the data to be driven according to the received data to be driven and the signal.

9. A data-driven device, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for data driving according to any one of claims 1 to 7 when running the program instructions.

10. An electronic device, characterized in that: include: Electronic device body; The data-driven device as described in claim 8 or 9 is installed on the electronic device body.