CN111781886B - Signal transmission method, device, storage medium and processor - Google Patents

Signal transmission method, device, storage medium and processor Download PDF

Info

Publication number
CN111781886B
CN111781886B CN202010470318.1A CN202010470318A CN111781886B CN 111781886 B CN111781886 B CN 111781886B CN 202010470318 A CN202010470318 A CN 202010470318A CN 111781886 B CN111781886 B CN 111781886B
Authority
CN
China
Prior art keywords
interfaces
interface
target
logic
control
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
CN202010470318.1A
Other languages
Chinese (zh)
Other versions
CN111781886A (en
Inventor
林宇萌
张睿
李鹏程
邓祖东
黄侠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010470318.1A priority Critical patent/CN111781886B/en
Publication of CN111781886A publication Critical patent/CN111781886A/en
Application granted granted Critical
Publication of CN111781886B publication Critical patent/CN111781886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses a signal transmission method, a signal transmission device, a storage medium and a processor. The method comprises the following steps: combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces; and transmitting a plurality of signals to be transmitted by adopting a plurality of target interfaces and a plurality of logic interfaces, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals. By the method and the device, the problem that the number of special equipment interfaces of the controller is limited and control signals generated by a plurality of control scenes are difficult to transmit in the related art is solved.

Description

Signal transmission method, device, storage medium and processor
Technical Field
The present application relates to the field of signal transmission technologies, and in particular, to a signal transmission method, an apparatus, a storage medium, and a processor.
Background
When a control signal is generated for the robot and transmitted to the controller, the signal transmission mode adopted by the related art is proprietary signal transmission.
Because the physical interfaces of the controller are limited, only a limited number of signals can be transmitted, and with the increase of the robot functions, when the number of required signals is increased, the number of the existing physical interfaces is difficult to meet the requirements of signal transmission, and the available interfaces are required to be increased. In the related art, a physical method is adopted, the number of installed external signal interfaces is increased, and the cost and the efficiency are low in the method that the number of installed external signal interfaces is increased.
In order to solve the problem that the number of dedicated device interfaces of a controller is limited and it is difficult to transmit control signals generated by a plurality of control scenarios in the related art, no effective solution has been proposed at present.
Disclosure of Invention
The application provides a signal transmission method, a signal transmission device, a storage medium and a processor, which are used for solving the problems that the number of special equipment interfaces of a controller is limited and control signals generated by a plurality of control scenes are difficult to transmit in the related art.
According to one aspect of the present application, a signal transmission method is provided. The method comprises the following steps: combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces; and transmitting a plurality of signals to be transmitted by adopting a plurality of target interfaces and a plurality of logic interfaces, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals.
Optionally, before combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces, the method further includes: judging whether the number of a plurality of signals to be transmitted is larger than that of the target interfaces or not; and under the condition that the number of the signals to be transmitted is greater than that of the target interfaces, combining the target interfaces of the controller in a preset combination mode to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the target number of the subinterfaces contained in the logical interface; and combining the target interfaces based on the target number to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the minimum target number of the subinterfaces contained in the logic interface and the maximum target number of the subinterfaces contained in the logic interface; and combining the plurality of target interfaces based on the minimum target number and the maximum target number to obtain a plurality of logical interfaces.
Optionally, before the plurality of target interfaces and the plurality of logical interfaces are adopted to transmit the plurality of signals to be transmitted, the method further includes: in an application program of the controller, a control scene associated with each target interface and a control scene associated with each logic interface are respectively set, wherein each control scene is used for generating a corresponding control signal so as to transmit the control signal into the controller through a preset interface, and the preset interface is the target interface associated with the control scene or the logic interface associated with the control scene.
Optionally, the transmitting the plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces includes: the method comprises the steps that a preset target interface is adopted to transmit a control signal generated by a first control scene, wherein the preset target interface is one of a plurality of target interfaces, and the first control scene is a control scene related to the preset target interface; and transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
Optionally, each control scenario generates a control signal at the same time, and transmitting the control signal generated by the second control scenario by using the preset logic interface includes: and simultaneously transmitting a control signal generated by the second control scene by using a plurality of sub-interfaces contained in each logic interface.
Optionally, the plurality of target interfaces includes a plurality of input interfaces and a first preset function interface.
Optionally, the plurality of target interfaces includes a plurality of output interfaces and a second preset function interface.
According to another aspect of the present application, a signal transmission apparatus is provided. The device includes: the combination unit is used for combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least comprises more than two target interfaces. A transmission unit, configured to transmit a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces, where a time for each target interface to independently transmit a signal is different from a time for each target interface to transmit a signal as a sub-interface of the logic interface
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program performs any one of the signal transmission methods described above.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program executes to perform any one of the signal transmission methods described above.
Through the application, the following steps are adopted: combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces; the method comprises the steps that a plurality of target interfaces and a plurality of logic interfaces are adopted to transmit a plurality of signals to be transmitted, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals, and the problems that in the related art, the number of special equipment interfaces of a controller is limited, and control signals generated by a plurality of control scenes are difficult to transmit are solved. The target interfaces of the controller are combined into the logic interfaces, so that the effects of increasing the number of supporting transmission of a plurality of control signals without increasing the number of physical interfaces are achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a signal transmission method provided according to an embodiment of the present application;
fig. 2 is a schematic interface diagram of a controller according to a signal transmission method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a target interface association control scenario in a signal transmission method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a reusable interface of a controller in a signal transmission method according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a logical interface association control scenario in a signal transmission method provided in an embodiment of the present application; and
fig. 6 is a schematic diagram of a signal transmission device provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. 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.
According to an embodiment of the present application, there is provided a signal transmission method.
Fig. 1 is a flowchart of a signal transmission method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, combining a plurality of target interfaces of a controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least comprises more than two target interfaces.
It should be noted that the multiple target interfaces of the controller are multiple physical interfaces of the controller, the preset combination mode refers to that a specified number of physical interfaces are selected from the multiple physical interfaces and combined to obtain multiple groups of interface combinations, each group of interface combination can be logically regarded as a logical interface, and one logical interface can be functionally equivalent to one physical interface to transmit signals.
Optionally, in the signal transmission method provided in the embodiment of the present application, the plurality of target interfaces include a plurality of input interfaces and a first preset function interface.
Optionally, in the signal transmission method provided in the embodiment of the present application, the plurality of target interfaces include a plurality of output interfaces and a second preset function interface.
It should be noted that the target interfaces to be combined are the same type of functional interfaces, for example, all input interfaces or all output interfaces, and in addition, the special functional interfaces of the system may also participate in the combination of the input interfaces or the output interfaces, such as the functional interfaces of the emergency stop interface.
Optionally, in the signal transmission method provided in this embodiment of the present application, before combining a plurality of target interfaces of the controller in a preset combination manner to obtain a plurality of logical interfaces, the method further includes: judging whether the number of a plurality of signals to be transmitted is larger than that of the target interfaces or not; and under the condition that the number of the signals to be transmitted is greater than that of the target interfaces, combining the target interfaces of the controller in a preset combination mode to obtain a plurality of logic interfaces.
According to the embodiment of the application, when the number of signals needing to be transmitted is large, the number of physical interfaces does not need to be increased, the existing physical interfaces are fully utilized, different physical interface combinations are adopted, more available interfaces are obtained, and therefore cost is reduced.
Optionally, in the signal transmission method provided in this embodiment of the present application, combining a plurality of target interfaces of the controller in a preset combination manner to obtain a plurality of logic interfaces includes: determining the target number of the subinterfaces contained in the logical interface; and combining the target interfaces based on the target number to obtain a plurality of logic interfaces.
For example, the number of target interfaces is 18, the number of sub-interfaces included in the logical interface can be set to 2, and two combinations of 18 target interfaces can obtain 17! A logical interface, 17! 17 × 16 × 15 × 14 × 13 × 3 × 2 × 1.
Optionally, in the signal transmission method provided in this embodiment of the present application, combining a plurality of target interfaces of the controller in a preset combination manner to obtain a plurality of logic interfaces includes: determining the minimum target number of the subinterfaces contained in the logic interface and the maximum target number of the subinterfaces contained in the logic interface; and combining the plurality of target interfaces based on the minimum target number and the maximum target number to obtain a plurality of logical interfaces.
It should be noted that, when the required semaphore is particularly large, a plurality of reuse combination modes can be adopted for the physical interface, so as to improve the flexibility of the setting of the logical interface.
For example, the number of the sub interfaces included in the logical interface may be 2 or more, the number of the target interfaces may be 18, the minimum target number of the sub interfaces included in the logical interface may be set to 2, the minimum target number of the sub interfaces included in the logical interface may be set to 4, two of the 18 target interfaces may be combined to obtain a plurality of first logical interfaces, three of the 18 target interfaces may be combined to obtain a plurality of second logical interfaces, four of the 18 target interfaces may be combined to obtain a plurality of third logical interfaces, and the plurality of first logical interfaces, the first logical interfaces, and the first logical interfaces constitute a plurality of available logical interfaces.
Step S102, a plurality of target interfaces and a plurality of logic interfaces are adopted to transmit a plurality of signals to be transmitted, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals.
It should be noted that, because the target interface is multiplexed, the target interface cannot be used as a separate interface to transmit signals at the same time period, and also cannot be used as a part of the logical interface to transmit signals at the same time period, so that the physical interface and the logical interface are used to transmit signals by dividing the time slice, and the physical signal interface does not need to be installed, thereby solving the problem of the increase of the number of required interfaces at low cost.
The controller may be a controller of a robot, and optionally, in the signal transmission method provided in this embodiment of the application, before transmitting a plurality of signals to be transmitted by using a plurality of target interfaces and a plurality of logical interfaces, the method further includes: in an application program of the controller, a control scene associated with each target interface and a control scene associated with each logic interface are respectively set, wherein each control scene is used for generating a corresponding control signal so as to transmit the control signal into the controller through a preset interface, and the preset interface is the target interface associated with the control scene or the logic interface associated with the control scene.
It should be noted that, in the case that the controller is a controller of the robot, the robot sends out corresponding control signals according to different control scenarios, for example, in the application of the welding robot, whether a welding part exists on the welding fixture represents one control scenario, and outputs a control signal of yes or no, in the application of the palletizing robot, the suction state of the suction cup represents another control scenario, and outputs a control signal of yes or no, and the control signal needs to be transmitted to the controller through the input interface.
For example, as shown in fig. 2, the controller model of the robot is DM272/a, and has 8 input interfaces of 10-17, wherein the necessary switch, emergency stop, etc. function interfaces of the system occupy 3 interfaces, and the number of input interfaces available to the user is 5 without using a multiplexing mechanism to generate logic signals. 5 control scenarios may be associated through these 5 interfaces, e.g., interface 10 may be associated with control scenario one, interface 11 may be associated with control scenario two, and so on, as shown in fig. 3.
Further, in order to receive the control signals generated by more control scenarios, the input interface and the input-side functional interface are combined, as shown in fig. 4, 8 input interfaces of 10-17 may participate in the combination, resulting in a combination of interfaces, each combination logically representing a new situation, for example, interface 10 transmits signals simultaneously with interface 11, representing scenario six, interface 10 transmits signals simultaneously with interface 12, representing scenario seven, and these two interfaces multiplex the extensible 8 | interface! 8, 7, 6, 5, 4, 3, 2, 1 logical interfaces greatly improve the utilization rate of the physical interfaces, as shown in fig. 5.
Furthermore, when a situation with a large amount of required signals is encountered, even multiplexing of three input interfaces, such as interfaces 10, 11 and 12, can be used to transmit signals simultaneously, representing a new scenario.
Optionally, in the signal transmission method provided in the embodiment of the present application, the transmitting the multiple signals to be transmitted by using the multiple target interfaces and the multiple logic interfaces includes: the method comprises the steps that a preset target interface is adopted to transmit a control signal generated by a first control scene, wherein the preset target interface is one of a plurality of target interfaces, and the first control scene is a control scene related to the preset target interface; and transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
Optionally, in the signal transmission method provided in the embodiment of the present application, each control scenario generates a control signal at the same time, and transmitting the control signal generated by the second control scenario through the preset logic interface includes: and simultaneously transmitting a control signal generated by the second control scene by using a plurality of sub-interfaces contained in each logic interface.
It should be noted that there is no difference between the target interface and the control scenario supportable by the logic interface, but there is a difference in signal transmission, and the logic interface uses each sub-interface to simultaneously transmit the same control signal, for example, in a control scenario of a robot, a control signal representing a certain meaning is generated, and each sub-interface simultaneously transmits a boolean "yes", so as to complete the transmission of the control signal, and the difference between the time taken for simultaneously transmitting a plurality of signals and the time taken for transmitting one signal at a time is small and can be ignored.
Through this application embodiment, multiplex the interface, with the promotion of the complexity of transmission signal, save the space and the cost of installing new physical signal transmission module.
According to the signal transmission method provided by the embodiment of the application, a plurality of target interfaces of a controller are combined in a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least comprises more than two target interfaces; the method comprises the steps that a plurality of target interfaces and a plurality of logic interfaces are adopted to transmit a plurality of signals to be transmitted, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals, and the problems that in the related art, the number of special equipment interfaces of a controller is limited, and control signals generated by a plurality of control scenes are difficult to transmit are solved. The target interfaces of the controller are combined into the logic interfaces, so that the effects of increasing the number of supporting transmission of a plurality of control signals without increasing the number of physical interfaces are achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a signal transmission device, and it should be noted that the signal transmission device in the embodiment of the present application may be used to execute the method for signal transmission provided in the embodiment of the present application. The following describes a signal transmission device provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of a signal transmission device according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a combining unit 10 and a transmission unit 20.
Specifically, the combination unit 10 is configured to combine a plurality of target interfaces of the controller in a preset combination manner to obtain a plurality of logical interfaces, where each logical interface is composed of at least two target interfaces.
A transmission unit 20, configured to transmit a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces, where a time for each target interface to separately transmit a signal is different from a time for each target interface to transmit a signal as a sub-interface of the logic interface.
In the signal transmission device provided in the embodiment of the present application, a plurality of target interfaces of a controller are combined by a combination unit 10 in a preset combination manner to obtain a plurality of logical interfaces, where each logical interface is at least composed of more than two target interfaces; the transmission unit 20 transmits a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logical interfaces, wherein the time for each target interface to independently transmit signals is different from the time for each target interface to serve as a sub-interface of the logical interface to transmit signals, so that the problems that the number of interfaces of the dedicated device of the controller is limited and control signals generated by a plurality of control scenes are difficult to transmit in the related art are solved, and the target interfaces of the controller are combined into the logical interfaces, thereby achieving the effects of increasing the number of the physical interfaces and supporting the transmission of a plurality of control signals without increasing the number of the physical interfaces.
Optionally, in the signal transmission device provided in the embodiment of the present application, the device further includes: the judging unit is used for judging whether the number of the signals to be transmitted is greater than that of the target interfaces or not before the preset combination mode is adopted to combine the target interfaces of the controller to obtain the logic interfaces; and the execution unit is used for executing the step of combining the target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces under the condition that the number of the signals to be transmitted is greater than that of the target interfaces.
Optionally, in the signal transmission device provided in the embodiment of the present application, the combining unit 10 includes: the first determining module is used for determining the target number of the subinterfaces contained in the logic interface; and the second combination module is used for combining the target interfaces based on the target quantity to obtain the logic interfaces.
Optionally, in the signal transmission apparatus provided in the embodiment of the present application, the combining unit 10 further includes: a second determining module, configured to determine a minimum target number of sub-interfaces included in the logical interface and a maximum target number of sub-interfaces included in the logical interface; and the second combination module is used for combining the plurality of target interfaces based on the minimum target quantity and the maximum target quantity to obtain the plurality of logical interfaces.
Optionally, in the signal transmission device provided in the embodiment of the present application, the device further includes: the setting unit is configured to set, in an application program of the controller, a control scenario associated with each target interface and a control scenario associated with each logic interface before transmitting a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces, where each control scenario is used to generate a corresponding control signal, so that the control signal is transmitted to the controller through a preset interface, and the preset interface is the target interface associated with the control scenario or the logic interface associated with the control scenario.
Optionally, in the signal transmission apparatus provided in the embodiment of the present application, the transmission unit 20 includes: the device comprises a first transmission module, a second transmission module and a control module, wherein the first transmission module is used for transmitting a control signal generated by a first control scene by adopting a preset target interface, the preset target interface is one of the target interfaces, and the first control scene is a control scene related to the preset target interface; and the second transmission module is used for transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
Optionally, in the signal transmission device provided in the embodiment of the present application, the second transmission module includes: and the transmission sub-module is used for simultaneously transmitting a control signal generated by the second control scene by adopting a plurality of sub-interfaces contained in each logic interface.
Optionally, in the signal transmission apparatus provided in the embodiment of the present application, the plurality of target interfaces include a plurality of input interfaces and a first preset function interface.
Optionally, in the signal transmission apparatus provided in the embodiment of the present application, the plurality of target interfaces include a plurality of output interfaces and a second preset function interface.
The signal transmission device comprises a processor and a memory, wherein the combination unit 10, the transmission unit 20 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that the number of special equipment interfaces of a controller is limited and control signals generated by a plurality of control scenes are difficult to transmit in the related art is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor implements the signal transmission method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the signal transmission method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces; and transmitting a plurality of signals to be transmitted by adopting a plurality of target interfaces and a plurality of logic interfaces, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals.
Optionally, before combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces, the method further includes: judging whether the number of a plurality of signals to be transmitted is larger than that of the target interfaces or not; and under the condition that the number of the signals to be transmitted is greater than that of the target interfaces, combining the target interfaces of the controller in a preset combination mode to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the target number of the subinterfaces contained in the logical interface; and combining the target interfaces based on the target number to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the minimum target number of the subinterfaces contained in the logic interface and the maximum target number of the subinterfaces contained in the logic interface; and combining the plurality of target interfaces based on the minimum target number and the maximum target number to obtain a plurality of logical interfaces.
Optionally, before the plurality of target interfaces and the plurality of logical interfaces are adopted to transmit the plurality of signals to be transmitted, the method further includes: in an application program of the controller, a control scene associated with each target interface and a control scene associated with each logic interface are respectively set, wherein each control scene is used for generating a corresponding control signal so as to transmit the control signal into the controller through a preset interface, and the preset interface is the target interface associated with the control scene or the logic interface associated with the control scene.
Optionally, the transmitting the plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces includes: the method comprises the steps that a preset target interface is adopted to transmit a control signal generated by a first control scene, wherein the preset target interface is one of a plurality of target interfaces, and the first control scene is a control scene related to the preset target interface; and transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
Optionally, each control scenario generates a control signal at the same time, and transmitting the control signal generated by the second control scenario by using the preset logic interface includes: and simultaneously transmitting a control signal generated by the second control scene by using a plurality of sub-interfaces contained in each logic interface.
Optionally, the plurality of target interfaces includes a plurality of input interfaces and a first preset function interface.
Optionally, the plurality of target interfaces includes a plurality of output interfaces and a second preset function interface. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: combining a plurality of target interfaces of the controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces; and transmitting a plurality of signals to be transmitted by adopting a plurality of target interfaces and a plurality of logic interfaces, wherein the time for each target interface to independently transmit the signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit the signals.
Optionally, before combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces, the method further includes: judging whether the number of a plurality of signals to be transmitted is larger than that of the target interfaces or not; and under the condition that the number of the signals to be transmitted is greater than that of the target interfaces, combining the target interfaces of the controller in a preset combination mode to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the target number of the subinterfaces contained in the logical interface; and combining the target interfaces based on the target number to obtain a plurality of logic interfaces.
Optionally, combining the multiple target interfaces of the controller in a preset combination manner to obtain multiple logical interfaces includes: determining the minimum target number of the subinterfaces contained in the logic interface and the maximum target number of the subinterfaces contained in the logic interface; and combining the plurality of target interfaces based on the minimum target number and the maximum target number to obtain a plurality of logical interfaces.
Optionally, before the plurality of target interfaces and the plurality of logical interfaces are adopted to transmit the plurality of signals to be transmitted, the method further includes: in an application program of the controller, a control scene associated with each target interface and a control scene associated with each logic interface are respectively set, wherein each control scene is used for generating a corresponding control signal so as to transmit the control signal into the controller through a preset interface, and the preset interface is the target interface associated with the control scene or the logic interface associated with the control scene.
Optionally, the transmitting the plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces includes: the method comprises the steps that a preset target interface is adopted to transmit a control signal generated by a first control scene, wherein the preset target interface is one of a plurality of target interfaces, and the first control scene is a control scene related to the preset target interface; and transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
Optionally, each control scenario generates a control signal at the same time, and transmitting the control signal generated by the second control scenario by using the preset logic interface includes: and simultaneously transmitting a control signal generated by the second control scene by using a plurality of sub-interfaces contained in each logic interface.
Optionally, the plurality of target interfaces includes a plurality of input interfaces and a first preset function interface.
Optionally, the plurality of target interfaces includes a plurality of output interfaces and a second preset function interface.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A signal transmission method, comprising:
combining a plurality of target interfaces of a controller by adopting a preset combination mode to obtain a plurality of logic interfaces, wherein each logic interface at least consists of more than two target interfaces;
transmitting a plurality of signals to be transmitted by adopting the plurality of target interfaces and the plurality of logic interfaces, wherein the time for each target interface to independently transmit signals is different from the time for each target interface to serve as a sub-interface of the logic interface to transmit signals;
before the target interfaces and the logic interfaces are adopted to transmit signals to be transmitted, a control scene associated with each target interface and a control scene associated with each logic interface are respectively set in an application program of the controller, wherein each control scene is used for generating a corresponding control signal so as to transmit the control signal into the controller through a preset interface, and the preset interface is the target interface associated with the control scene or the logic interface associated with the control scene.
2. The method of claim 1, wherein before combining the target interfaces of the controller in a predetermined combination manner to obtain the logical interfaces, the method further comprises:
judging whether the number of the signals to be transmitted is larger than that of the target interfaces or not;
and under the condition that the number of the signals to be transmitted is greater than that of the target interfaces, combining the target interfaces of the controller in a preset combination mode to obtain a plurality of logic interfaces.
3. The method of claim 1, wherein combining the plurality of target interfaces of the controller in a predetermined combination manner to obtain a plurality of logical interfaces comprises:
determining a target number of sub-interfaces included in the logical interface;
and combining the target interfaces based on the target number to obtain the logic interfaces.
4. The method of claim 1, wherein combining the plurality of target interfaces of the controller in a predetermined combination manner to obtain a plurality of logical interfaces comprises:
determining the minimum target number of the subinterfaces contained in the logic interface and the maximum target number of the subinterfaces contained in the logic interface;
and combining the target interfaces based on the minimum target number and the maximum target number to obtain the logical interfaces.
5. The method of claim 1, wherein transmitting the plurality of signals to be transmitted using the plurality of target interfaces and the plurality of logical interfaces comprises:
transmitting a control signal generated by a first control scene by adopting a preset target interface, wherein the preset target interface is one of the target interfaces, and the first control scene is a control scene associated with the preset target interface;
and transmitting a control signal generated by a second control scene by adopting a preset logic interface, wherein the preset logic interface is one of the plurality of logic interfaces, and the second control scene is a control scene associated with the preset logic interface.
6. The method of claim 5, wherein each control scenario generates a control signal at the same time, and wherein transmitting the control signal generated by the second control scenario using the predetermined logical interface comprises:
and simultaneously transmitting a control signal generated by the second control scene by using a plurality of sub-interfaces included in each logic interface.
7. The method of claim 1, wherein the plurality of target interfaces comprises a plurality of input interfaces and a first pre-defined function interface.
8. The method of claim 1, wherein the plurality of target interfaces comprises a plurality of output interfaces and a second predetermined functional interface.
9. A signal transmission apparatus, comprising:
the system comprises a combination unit, a control unit and a control unit, wherein the combination unit is used for combining a plurality of target interfaces of a controller in a preset combination mode to obtain a plurality of logic interfaces, and each logic interface at least comprises more than two target interfaces;
a transmission unit, configured to transmit a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces, where a time for each target interface to independently transmit a signal is different from a time for each target interface to transmit a signal as a sub-interface of the logic interface;
the setting unit is configured to set, in an application program of the controller, a control scenario associated with each target interface and a control scenario associated with each logic interface before transmitting a plurality of signals to be transmitted by using the plurality of target interfaces and the plurality of logic interfaces, where each control scenario is used to generate a corresponding control signal, so that the control signal is transmitted to the controller through a preset interface, and the preset interface is the target interface associated with the control scenario or the logic interface associated with the control scenario.
10. A storage medium characterized by comprising a stored program, wherein the program executes the signal transmission method according to any one of claims 1 to 8.
11. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the signal transmission method according to any one of claims 1 to 8 when running.
CN202010470318.1A 2020-05-28 2020-05-28 Signal transmission method, device, storage medium and processor Active CN111781886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010470318.1A CN111781886B (en) 2020-05-28 2020-05-28 Signal transmission method, device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010470318.1A CN111781886B (en) 2020-05-28 2020-05-28 Signal transmission method, device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN111781886A CN111781886A (en) 2020-10-16
CN111781886B true CN111781886B (en) 2021-11-05

Family

ID=72754327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010470318.1A Active CN111781886B (en) 2020-05-28 2020-05-28 Signal transmission method, device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN111781886B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4859601B2 (en) * 2006-09-13 2012-01-25 Idec株式会社 Programmable display and drawing device
CN101188013A (en) * 2006-11-16 2008-05-28 中国银联股份有限公司 A framework system for cleaning data and its application method
CN101741667A (en) * 2008-11-26 2010-06-16 成都市华为赛门铁克科技有限公司 Logical adaptation method, system and logical adaptation interface
KR20100125722A (en) * 2009-05-21 2010-12-01 엘에스산전 주식회사 Hmi system
GB2548405B (en) * 2016-03-18 2019-08-14 Advanced Risc Mach Ltd Combination of control interfaces for multiple communicating domains

Also Published As

Publication number Publication date
CN111781886A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
EP2614436B1 (en) Controlled automatic healing of data-center services
CN110333961B (en) Multisystem audio frequency controller equipment, method and computer readable storage medium
US20220329495A1 (en) Network resource management method and system, network equipment and readable storage medium
EP3820083B1 (en) Physical function multiplexing method and apparatus and computer storage medium
CN111638953B (en) Method, device and storage medium for realizing GPU virtualization
CN111781886B (en) Signal transmission method, device, storage medium and processor
CN110795202B (en) Resource allocation method and device of virtualized cluster resource management system
CN114780240A (en) Workflow scheduling method, equipment and storage medium based on GPU time division multiplexing
CN107025126B (en) Resource scheduling method, NFVO and system
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN110532150B (en) Case management method and device, storage medium and processor
CN111400032A (en) Resource allocation method and device
CN103077081A (en) Method and device of adjusting resources
CN110704182A (en) Deep learning resource scheduling method and device and terminal equipment
CN114546672A (en) Unmanned communication method, device, equipment and storage medium
CN106462440B (en) Method for generating a hypervisor unit for an embedded system
CN103562869B (en) Audio-frequency processing method under virtualized environment and equipment
CN111030844B (en) Method and device for establishing flow processing framework
CN109640178A (en) Network shunt method and relevant device
CN112965698B (en) Automatic driving software architecture platform, construction method and construction device
CN108664371A (en) A kind of method and device of multi-hardware system unified management
CN113741946B (en) Clipping method, device and equipment of public interface function library and readable storage medium
CN113900741B (en) Service processing method and device based on plug-in, computer equipment and medium
CN111368343B (en) Block chain system, data storage method and device
CN111967010B (en) Trusted service method, trusted service device, trusted service 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