WO2020133261A1 - Electronic device and inter-chip control signal transmission method - Google Patents

Electronic device and inter-chip control signal transmission method Download PDF

Info

Publication number
WO2020133261A1
WO2020133261A1 PCT/CN2018/125019 CN2018125019W WO2020133261A1 WO 2020133261 A1 WO2020133261 A1 WO 2020133261A1 CN 2018125019 W CN2018125019 W CN 2018125019W WO 2020133261 A1 WO2020133261 A1 WO 2020133261A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
control
control message
control signals
control signal
Prior art date
Application number
PCT/CN2018/125019
Other languages
French (fr)
Chinese (zh)
Inventor
周纪
阳宇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2018/125019 priority Critical patent/WO2020133261A1/en
Publication of WO2020133261A1 publication Critical patent/WO2020133261A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L21/00Processes or apparatus adapted for the manufacture or treatment of semiconductor or solid state devices or of parts thereof
    • H01L21/70Manufacture or treatment of devices consisting of a plurality of solid state components formed in or on a common substrate or of parts thereof; Manufacture of integrated circuit devices or of parts thereof

Definitions

  • the present application relates to the field of data transmission between slices, in particular to an electronic device and a method for transmitting control signals between slices.
  • control signals are usually transmitted between chips.
  • some control signals can be transmitted through a dedicated control bus. These control signals follow the protocol of the control bus and realize the control functions specified in the protocol. The other part of the control signal cannot be transmitted through the dedicated control bus, because these control signals follow the manufacturer's custom protocol to implement the manufacturer's specific control functions.
  • Embodiments of the present application provide an electronic device and a method for transmitting control signals between chips, which are used to reduce the number of pins for transmitting control signals between chips.
  • an electronic device including: a first chip and a second chip, the first chip is a control chip, the second chip is a controlled chip; the first chip and the second chip A serial data interface is connected between the chips; the first chip is used to: obtain N control signals; encode the N control signals to obtain control messages; and pass the serial data interface to the second chip Sending the control message, where N is a positive integer; the second chip is used to: receive the control message from the first chip through the serial data interface; decode the control message to obtain The N control signals; perform operations according to the N control signals.
  • the electronic device provided by the embodiment of the present application uses a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced, and the transmission between chips is reduced.
  • the number of control signal pins is not limited to the number of control signal pins.
  • a timing line is further connected between the first chip and the second chip, and the first chip is further used to: send timing to the second chip through the timing line Pulse, the timing pulse is used for time synchronization between the first timer of the first chip and the second timer of the second chip; the control message also includes a count value of the first timer, The count value of the first timer is used to indicate the effective time of the control signal in the control message.
  • This embodiment can achieve precise control of the effective time of the control signal.
  • control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells.
  • This embodiment provides a possible way of carrying N control signals in the control message.
  • control message includes a first cell and a second cell, the first cell represents a type of one of the N control signals, and the second cell Represents the value of the one control signal.
  • This embodiment provides another possible way of carrying N control signals in the control message.
  • the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal.
  • This embodiment can distinguish between control signals and data signals.
  • the end position of the control message further includes error checking and correction ECC check. This embodiment can check and correct the control message.
  • an inter-chip control signal transmission method which includes: a first chip obtains N control signals, where N is a positive integer; and the first chip encodes the N control signals to obtain a control message
  • the first chip sends the control message to the second chip through the serial data interface; the second chip receives the control message through the first chip through the serial data interface; the second chip pair
  • the control message is decoded to obtain the N control signals; the second chip performs operations according to the N control signals.
  • the inter-chip control signal transmission method provided by the embodiment of the present application uses a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced, reducing the chip The number of pins used to transmit control signals.
  • the method further includes: the first chip sends a timing pulse to the second chip through a timing line, and the timing pulse is used for the first timer of the first chip and The second timer of the second chip performs time synchronization; the control message further includes a count value of the first timer, wherein the count value of the first timer is used to indicate the control message The effective time of the control signal.
  • control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells.
  • This embodiment provides a possible way of carrying N control signals in the control message.
  • control message includes a first cell and a second cell, the first cell represents a type of one of the N control signals, and the second cell Represents the value of the one control signal.
  • This embodiment provides another possible way of carrying N control signals in the control message.
  • the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal.
  • This embodiment can distinguish between control signals and data signals.
  • the end position of the control message further includes error checking and correction ECC check. This embodiment can check and correct the control message.
  • a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computer causes the computer to execute as described in the second aspect
  • the transmission method of control signal between chips is provided.
  • a computer program product containing instructions, which when executed on a computer, causes the computer to execute the method for transmitting control signals between chips as described in the second aspect.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of this application.
  • FIG. 2 is a schematic structural diagram of a system-on-chip of an electronic device according to an embodiment of the present application
  • FIG. 3 is a first schematic flowchart of a method for transmitting an inter-chip control signal according to an embodiment of the present application
  • FIG. 4 is a schematic diagram 1 of a control signal encoding method provided by an embodiment of the present application.
  • FIG. 5 is a second schematic diagram of a control signal encoding method provided by an embodiment of the present application.
  • FIG. 6 is a second schematic flowchart of a method for transmitting an inter-chip control signal according to an embodiment of the present application.
  • the electronic device may be a network device, a terminal device, or the like.
  • the network device may include, for example, a base station, an access management function (access management function, AMF) network element, a session management function (session management function, SMF) network element, and so on.
  • Terminal devices may include, for example, mobile phones, wearable electronic devices (such as smart watches, etc.), tablet computers, desktop computers, virtual reality devices, augmented reality devices, and so on.
  • the electronic device 100 may include a system on chip 101, a communication line 102 and a memory 103.
  • the memory 103 is used to store computer execution instructions (which may be called application program codes) for executing the solution of the present application, and the execution is controlled by the system on chip 101.
  • the system-on-chip 101 is used to execute computer-executed instructions stored in the memory 103, so as to implement steps or actions of each network element or device in the following embodiments of the present application.
  • the communication line 102 is used to transfer information between the system on chip 101 and the memory 103.
  • the electronic device 100 further includes at least one communication interface 104 for communicating with other devices or communication networks.
  • the communication network may be Ethernet, wireless access network (radio access network, RAN), or wireless local area network (wireless local area networks, WLAN), etc.
  • the communication interface 104 may use wired or wireless communication technology to communicate with other devices or communication networks. Specifically, it may be a device such as a transceiver, which is not limited.
  • the communication line 102 is also used to transfer information between at least one communication interface 104, the system-on-chip 101 and the memory 103.
  • the memory 103 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), or other types that can store information and instructions
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable-read-only memory (EEPROM), read-only compact disc (compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store the desired program code in the form of instructions or data structures and can be used by a computer Access to any other media, but not limited to this.
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • the memory 103 may exist independently, and is connected to the system-on-chip 101 through the communication line 102.
  • the memory 103 may also be integrated with the system-on-chip 101.
  • the system-on-chip 101 may include a first chip 11 and a second chip 12.
  • the first chip 11 may be a digital intermediate frequency (DIF) chip, a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC) and other control chips, or One or more integrated circuits for controlling the execution of the program procedures of the present application.
  • the second chip 12 may be a controlled chip such as an analog-to-digital/digital-to-analog (AD/DA) conversion chip.
  • AD/DA analog-to-digital/digital-to-analog
  • a serial data interface is connected between the first chip 11 and the second chip 12.
  • the first chip 11 sends a control message to the second chip 12 through the serial data interface.
  • the serial data interface may be a 204X-serializer/deserializer (SERDES) interface, which is usually used to transmit data signals, where part of its bandwidth (for example, a data block) may be used for transmission control Signals, that is, data signals and control signals are mixed and transmitted.
  • SERDES 204X-serializer/deserializer
  • the serial data interface may be a dedicated data interface, such as a general purpose output (GPIO) interface.
  • the GPIO interface includes at least one data line and a clock line. The clock line is used to transmit clock signals and data lines. Used to transmit control signals.
  • the first chip 11 sends a plurality of parallel control signals to the second chip 12 through a serial data interface, thereby reducing the number of pins for transmitting control signals between the first chip 11 and the second chip 12.
  • the control signal may be N channel enable switch signals, and the high and low levels of one channel enable switch signal are used
  • the first chip 11 and the second chip 12 each occupy N pins to transmit N channel enable switching signals.
  • An embodiment of the present application provides an inter-chip control signal transmission method. As shown in FIG. 3, the method includes:
  • the first chip obtains N control signals.
  • N is a positive integer.
  • SW1-SWn are N channel enable switch signals.
  • the channel enable switch signal is low (value 0) means that the corresponding channel is disabled, and the channel enable switch signal is high level (value 1 ) Indicates that the corresponding channel is enabled. If there is data in the i-th channel that needs to be received or sent, the first chip sets the i-th channel enable switch signal to 1, so that the i-th channel of the second chip can be used to receive or send data, and the first chip sets the remaining N The -1 channel enable switch signal is 0, and the remaining N-1 channels of the second chip are disabled to save power consumption.
  • the first chip encodes N control signals to obtain a control message.
  • control message includes N cells, and each of the N control signals occupies one of the N cells.
  • the N cells may be arranged in the order of N control signals, or in other orders, which is not limited in this application.
  • SW1-SW3 are three channel enable switch signals
  • each channel enable switch signal has only two states of 0 or 1, so each control signal occupies only one bit In the cell, three bits of SW1-SW3 are needed to transmit the switch enable signal.
  • control message includes a first cell and a second cell, where the first cell represents the type of one of the N control signals among the N control signals, and the second cell Represents the value of the one control signal.
  • SW1-SW3 are 3 channel enable switch signals
  • the first cell occupies the first 2 bits of 3 bits
  • the second cell occupies the last one of 3 bits Bit.
  • the position of the control signal in the control message is fixed, compared with the coding methods shown in Table 2 and Figure 5, the position of the control signal in the control message fixed.
  • the encoding methods shown in Table 2 and FIG. 5 can transmit only the changed control signals. When the number of control signals is large, the control message is short.
  • the length of the cell may be bits, bytes, double bytes, etc., which is not limited in this application.
  • ECC error checking and correction
  • a preamble may also be included at the beginning of the control message, which is the preamble Used to indicate that control messages are used to transmit control signals, not data signals.
  • a serial data interface that transmits in-phase quadrature (IQ) data is used to transmit the control signal.
  • IQ data a 32-bit all 1 (or all 0) can be defined as the preamble If the second chip receives consecutive 32-bit all ones, it is regarded as the preamble of the control message.
  • IQ data cannot contain all-ones of 32 bits (that is, 0xFFFF_FFFF). This method does not occupy a fixed bandwidth for transmitting data signals.
  • This application does not limit the specific value of the preamble, for example, it can also be 0xFFFF_FFFE.
  • the encoding method that does not use the preamble since there is no need to distinguish between the data signal and the control signal, it is suitable for the scenario where the control signal is transmitted through the dedicated data interface.
  • the coding method using the preamble it is applicable to the scenario of mixed transmission of data signals and control signals.
  • the first chip sends a control message to the second chip through the serial data interface.
  • the second chip receives the control message from the first chip through the serial data interface.
  • the control message may be sent periodically or triggered by an event (for example, when the control signal changes, or when error correction is required and retransmission is required), this application is not limited.
  • the second chip decodes the control message to obtain N control signals, and performs operations according to the N control signals.
  • the manner in which the second chip decodes the control message is the reverse operation of the manner in which the first chip encodes the control message.
  • the control signal 001 is obtained, then the second chip disables channel 2 and channel 3, and enables channel 1.
  • the electronic device and the method for transmitting control signals between chips use a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced. The number of pins used for transmitting control signals between chips is reduced.
  • control signal Since the control signal is transmitted through the serial interface, there will be a transmission delay between the successive control signals. For applications that require high real-time performance or require precise timing, they may not meet the demand. Therefore, the effective time of the control signal can be indicated in the control message.
  • the method for transmitting control signals between chips further includes:
  • the first chip sends a timing pulse to the second chip through the timing line.
  • the timing pulse is used for time synchronization between the first timer 111 of the first chip 11 and the second timer 121 of the second chip 12.
  • the first chip 11 serves as a control chip, and the first timer 111 inside it can start counting first.
  • the first timer 111 restarts counting.
  • send a timing pulse to the second timer 121 of the second chip 12 through the timing line.
  • the timer 121 of the second chip 12 restarts counting according to the timing pulse, and the first timer 111 and the second timer 121 restart counting at the same time each time. Therefore, the first timer 111 of the first chip 11 and The time of the second timer 121 of the second chip 12 is synchronized.
  • the control message sent by the first chip to the second chip may further include a count value of the first timer, and the count value is used to indicate the effective time of the control signal in the control message.
  • the first timer 111 of the first chip 11 and the second timer 121 of the second chip 12 achieve time synchronization, the first timer 111 and the second timer 121 increase the same count value, and the obtained time is the same .
  • the second chip adds the count value and the agreed delay effective time to obtain the effective time of the control signal in the control message.
  • step S105 the first chip sends a timing pulse to the second chip at a fixed cycle, which is not directly related to steps S101-S104.
  • Embodiments of the present application also provide a computer-readable storage medium that stores one or more programs.
  • the one or more programs include instructions, which, when executed by a computer, cause the computer to perform the operations in FIGS. 3 and 6.
  • Related methods include instructions, which, when executed by a computer, cause the computer to perform the operations in FIGS. 3 and 6.
  • An embodiment of the present application also provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute the related methods in FIGS. 3 and 6.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division, and in actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in 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 may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers and data centers that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

The present application discloses an electronic device and an inter-chip control signal transmission method, which relate to the field of inter-chip data transmission and are used for reducing the number of pins for transmitting control signals between chips. An electronic device comprises: a first chip and a second chip, the first chip being a control chip, and the second chip being a controlled chip; a serial data interface is connected between the first chip and the second chip; the first chip is used to acquire N control signals, encode the N control signals to obtain a control message, and send the control message to the second chip by means of the serial data interface, N being a positive integer; and the second chip is used to receive the control message by means of the serial data interface, decode the control message to obtain the N control signals, and execute an operation according to the N control signals.

Description

电子设备和片间控制信号传输方法Electronic equipment and control signal transmission method between slices 技术领域Technical field
本申请涉及片间数据传输领域,尤其涉及一种电子设备和片间控制信号传输方法。The present application relates to the field of data transmission between slices, in particular to an electronic device and a method for transmitting control signals between slices.
背景技术Background technique
在通信系统中,芯片之间通常要传输控制信号。其中,一部分控制信号可以通过专用的控制总线来传输,这些控制信号遵循控制总线的协议,实现协议规定的控制功能。另一部分控制信号则不能通过专用的控制总线来传输,因为这些控制信号遵循厂商自定义的协议,实现厂商的特定的控制功能。In communication systems, control signals are usually transmitted between chips. Among them, some control signals can be transmitted through a dedicated control bus. These control signals follow the protocol of the control bus and realize the control functions specified in the protocol. The other part of the control signal cannot be transmitted through the dedicated control bus, because these control signals follow the manufacturer's custom protocol to implement the manufacturer's specific control functions.
对于不能通过专用的控制总线传输的自定义的控制信号,需要设计单独的总线进行传输,如果控制信号的种类较多,则会占用芯片较多的输入输出(input output,IO)管脚,导致板级布线复杂以及增加芯片面积。For custom control signals that cannot be transmitted through a dedicated control bus, a separate bus needs to be designed for transmission. If there are many types of control signals, more input and output (IO) pins of the chip will be occupied, resulting in Board-level wiring is complex and increases chip area.
发明内容Summary of the invention
本申请实施例提供一种电子设备和片间控制信号传输方法,用于降低芯片间传输控制信号的管脚的数目。Embodiments of the present application provide an electronic device and a method for transmitting control signals between chips, which are used to reduce the number of pins for transmitting control signals between chips.
为达到上述目的,本申请的实施例采用如下技术方案:To achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
第一方面,提供了一种电子设备,包括:第一芯片和第二芯片,所述第一芯片为控制芯片,所述第二芯片为受控芯片;所述第一芯片与所述第二芯片之间连接有串行数据接口;所述第一芯片用于:获取N个控制信号;对所述N个控制信号进行编码得到控制消息;通过所述串行数据接口向所述第二芯片发送所述控制消息,其中,N为正整数;所述第二芯片用于:通过所述串行数据接口从所述第一芯片接收所述控制消息;对所述控制消息进行解编码得到所述N个控制信号;根据所述N个控制信号执行操作。本申请实施例提供的电子设备,通过采用串行数据接口传输N个控制信号,使得第一芯片和第二芯片之间传输控制信号的管脚的数目可以大大减少,降低了芯片间用于传输控制信号的管脚的数目。In a first aspect, an electronic device is provided, including: a first chip and a second chip, the first chip is a control chip, the second chip is a controlled chip; the first chip and the second chip A serial data interface is connected between the chips; the first chip is used to: obtain N control signals; encode the N control signals to obtain control messages; and pass the serial data interface to the second chip Sending the control message, where N is a positive integer; the second chip is used to: receive the control message from the first chip through the serial data interface; decode the control message to obtain The N control signals; perform operations according to the N control signals. The electronic device provided by the embodiment of the present application uses a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced, and the transmission between chips is reduced. The number of control signal pins.
在一种可能的实施方式中,所述第一芯片与所述第二芯片之间还连接有定时线,所述第一芯片还用于:通过所述定时线向所述第二芯片发送定时脉冲,所述定时脉冲用于所述第一芯片的第一定时器和所述第二芯片的第二定时器进行时间同步;所述控制消息中还包括所述第一定时器的计数值,其中,所述第一定时器的计数值用于指示所述控制消息中控制信号的生效时间。该实施方式可以实现对控制信号生效时间的精确控制。In a possible implementation manner, a timing line is further connected between the first chip and the second chip, and the first chip is further used to: send timing to the second chip through the timing line Pulse, the timing pulse is used for time synchronization between the first timer of the first chip and the second timer of the second chip; the control message also includes a count value of the first timer, The count value of the first timer is used to indicate the effective time of the control signal in the control message. This embodiment can achieve precise control of the effective time of the control signal.
在一种可能的实施方式中,所述控制消息包括N个信元,所述N个控制信号中的每一个控制信号占用所述N个信元中的一个信元。该实施方式提供了控制消息中N个控制信号的一种可能携带方式。In a possible implementation manner, the control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells. This embodiment provides a possible way of carrying N control signals in the control message.
在一种可能的实施方式中,所述控制消息包括第一信元和第二信元,所述第一信元表示所述N个控制信号中一个控制信号的类型,所述第二信元表示所述一个控制信 号的数值。该实施方式提供了控制消息中N个控制信号的另一种可能携带方式。In a possible implementation manner, the control message includes a first cell and a second cell, the first cell represents a type of one of the N control signals, and the second cell Represents the value of the one control signal. This embodiment provides another possible way of carrying N control signals in the control message.
在一种可能的实施方式中,所述控制消息的起始位置还包括前导码,所述前导码用于指示所述控制消息用于传输控制信号。该实施方式可以区分控制信号和数据信号。In a possible implementation manner, the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal. This embodiment can distinguish between control signals and data signals.
在一种可能的实施方式中,所述控制消息的结束位置还包括错误检查和纠正ECC校验。该实施方式可以对控制消息进行校验和纠错。In a possible implementation manner, the end position of the control message further includes error checking and correction ECC check. This embodiment can check and correct the control message.
第二方面,提供了一种片间控制信号传输方法,包括:第一芯片获取N个控制信号,其中,N为正整数;所述第一芯片对所述N个控制信号进行编码得到控制消息;所述第一芯片通过串行数据接口向第二芯片发送所述控制消息;所述第二芯片通过所述串行数据接口所述第一芯片接收所述控制消息;所述第二芯片对所述控制消息进行解编码得到所述N个控制信号;所述第二芯片根据所述N个控制信号执行操作。本申请实施例提供的片间控制信号传输方法,通过采用串行数据接口传输N个控制信号,使得第一芯片和第二芯片之间传输控制信号的管脚的数目可以大大减少,降低了芯片间用于传输控制信号的管脚的数目。In a second aspect, an inter-chip control signal transmission method is provided, which includes: a first chip obtains N control signals, where N is a positive integer; and the first chip encodes the N control signals to obtain a control message The first chip sends the control message to the second chip through the serial data interface; the second chip receives the control message through the first chip through the serial data interface; the second chip pair The control message is decoded to obtain the N control signals; the second chip performs operations according to the N control signals. The inter-chip control signal transmission method provided by the embodiment of the present application uses a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced, reducing the chip The number of pins used to transmit control signals.
在一种可能的实施方式中,所述方法还包括:所述第一芯片通过定时线向所述第二芯片发送定时脉冲,所述定时脉冲用于所述第一芯片的第一定时器和所述第二芯片的第二定时器进行时间同步;所述控制消息中还包括所述第一定时器的计数值,其中,所述第一定时器的计数值用于指示所述控制消息中控制信号的生效时间。该实施方式可以实现对控制信号生效时间的精确控制。In a possible implementation manner, the method further includes: the first chip sends a timing pulse to the second chip through a timing line, and the timing pulse is used for the first timer of the first chip and The second timer of the second chip performs time synchronization; the control message further includes a count value of the first timer, wherein the count value of the first timer is used to indicate the control message The effective time of the control signal. This embodiment can achieve precise control of the effective time of the control signal.
在一种可能的实施方式中,所述控制消息包括N个信元,所述N个控制信号中的每一个控制信号占用所述N个信元中的一个信元。该实施方式提供了控制消息中N个控制信号的一种可能携带方式。In a possible implementation manner, the control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells. This embodiment provides a possible way of carrying N control signals in the control message.
在一种可能的实施方式中,所述控制消息包括第一信元和第二信元,所述第一信元表示所述N个控制信号中一个控制信号的类型,所述第二信元表示所述一个控制信号的数值。该实施方式提供了控制消息中N个控制信号的另一种可能携带方式。In a possible implementation manner, the control message includes a first cell and a second cell, the first cell represents a type of one of the N control signals, and the second cell Represents the value of the one control signal. This embodiment provides another possible way of carrying N control signals in the control message.
在一种可能的实施方式中,所述控制消息的起始位置还包括前导码,所述前导码用于指示所述控制消息用于传输控制信号。该实施方式可以区分控制信号和数据信号。In a possible implementation manner, the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal. This embodiment can distinguish between control signals and data signals.
在一种可能的实施方式中,所述控制消息的结束位置还包括错误检查和纠正ECC校验。该实施方式可以对控制消息进行校验和纠错。In a possible implementation manner, the end position of the control message further includes error checking and correction ECC check. This embodiment can check and correct the control message.
第三方面,提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被计算机执行时使所述计算机执行如第二方面所述的片间控制信号传输方法。According to a third aspect, there is provided a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computer causes the computer to execute as described in the second aspect The transmission method of control signal between chips.
第四方面,提供了一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得计算机执行如第二方面所述的片间控制信号传输方法。According to a fourth aspect, there is provided a computer program product containing instructions, which when executed on a computer, causes the computer to execute the method for transmitting control signals between chips as described in the second aspect.
第三方面至第四方面的技术效果可以参照第一方面和第二方面的各种可能实施方式所述内容。For the technical effects of the third aspect to the fourth aspect, reference may be made to the content described in various possible implementation manners of the first aspect and the second aspect.
附图说明BRIEF DESCRIPTION
图1为本申请实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of this application;
图2为本申请实施例提供的一种电子设备的片上系统的结构示意图;2 is a schematic structural diagram of a system-on-chip of an electronic device according to an embodiment of the present application;
图3为本申请实施例提供的一种片间控制信号传输方法的流程示意图一;3 is a first schematic flowchart of a method for transmitting an inter-chip control signal according to an embodiment of the present application;
图4为本申请实施例提供的一种控制信号编码方式的示意图一;4 is a schematic diagram 1 of a control signal encoding method provided by an embodiment of the present application;
图5为本申请实施例提供的一种控制信号编码方式的示意图二;5 is a second schematic diagram of a control signal encoding method provided by an embodiment of the present application;
图6为本申请实施例提供的一种片间控制信号传输方法的流程示意图二。6 is a second schematic flowchart of a method for transmitting an inter-chip control signal according to an embodiment of the present application.
具体实施方式detailed description
本申请实施例提供了一种电子设备,该电子设备可以为网络设备、终端设备等设备。网络设备可以包括例如,基站、接入管理功能(access management function,AMF)网元、会话管理功能(session management function,SMF)网元等。终端设备可以包括例如手机、可穿戴电子设备(例如智能手表等)、平板电脑、台式电脑、虚拟现实装置、增强现实装置等。An embodiment of the present application provides an electronic device. The electronic device may be a network device, a terminal device, or the like. The network device may include, for example, a base station, an access management function (access management function, AMF) network element, a session management function (session management function, SMF) network element, and so on. Terminal devices may include, for example, mobile phones, wearable electronic devices (such as smart watches, etc.), tablet computers, desktop computers, virtual reality devices, augmented reality devices, and so on.
如图1所示,电子设备100可以包括片上系统101,通信线路102和存储器103。As shown in FIG. 1, the electronic device 100 may include a system on chip 101, a communication line 102 and a memory 103.
其中,存储器103用于存储执行本申请方案的计算机执行指令(可以称之为应用程序代码),并由片上系统101来控制执行。Among them, the memory 103 is used to store computer execution instructions (which may be called application program codes) for executing the solution of the present application, and the execution is controlled by the system on chip 101.
片上系统101用于执行存储器103中存储的计算机执行指令,从而实现本申请下述实施例中各网元或设备的步骤或动作。The system-on-chip 101 is used to execute computer-executed instructions stored in the memory 103, so as to implement steps or actions of each network element or device in the following embodiments of the present application.
通信线路102,用于在上述片上系统101与存储器103之间传输信息。The communication line 102 is used to transfer information between the system on chip 101 and the memory 103.
可选地,电子设备100还包括至少一个通信接口104,用于与其他设备或通信网络通信。Optionally, the electronic device 100 further includes at least one communication interface 104 for communicating with other devices or communication networks.
其中,通信网络可以是以太网,无线接入网(radio access network,RAN),或无线局域网(wireless local area networks,WLAN),等。Among them, the communication network may be Ethernet, wireless access network (radio access network, RAN), or wireless local area network (wireless local area networks, WLAN), etc.
例如,通信接口104可以采用有线或无线的通信技术与其他设备或通信网络通信。具体地,可以为收发器一类的装置,不予限制。For example, the communication interface 104 may use wired or wireless communication technology to communicate with other devices or communication networks. Specifically, it may be a device such as a transceiver, which is not limited.
通信线路102,还用于至少一个通信接口104,片上系统101以及存储器103之间传输信息。The communication line 102 is also used to transfer information between at least one communication interface 104, the system-on-chip 101 and the memory 103.
存储器103可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 103 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), or other types that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable-read-only memory (EEPROM), read-only compact disc (compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store the desired program code in the form of instructions or data structures and can be used by a computer Access to any other media, but not limited to this.
存储器103可以是独立存在,通过通信线路102与片上系统101相连接。The memory 103 may exist independently, and is connected to the system-on-chip 101 through the communication line 102.
存储器103也可以和片上系统101集成在一起。The memory 103 may also be integrated with the system-on-chip 101.
如图2所示,片上系统101可以包括第一芯片11和第二芯片12。第一芯片11可以为数字中频(digital intermediate frequency,DIF)芯片、中央处理器(central processing unit,CPU)、微处理器、特定应用集成电路(application-specific integrated circuit,ASIC)等控制芯片,或一个或多个用于控制本申请方案程序执行的集成电路。第二芯片12可以为模数/数模(analog to digital/digital to analog,AD/DA)转换芯片等受控芯片。As shown in FIG. 2, the system-on-chip 101 may include a first chip 11 and a second chip 12. The first chip 11 may be a digital intermediate frequency (DIF) chip, a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC) and other control chips, or One or more integrated circuits for controlling the execution of the program procedures of the present application. The second chip 12 may be a controlled chip such as an analog-to-digital/digital-to-analog (AD/DA) conversion chip.
第一芯片11与第二芯片12之间连接有串行数据接口。第一芯片11通过串行数据接口向第二芯片12发送控制消息。本申请不限定串行数据接口的具体物理形态。例如,串行数据接口可以为204X-串行器/解串器(serializer/deserializer,SERDES)接口,该接口通常用于传输数据信号,在此可以利用其部分带宽(例如一个数据块)传输控制信号,即数据信号和控制信号混合传输。或者,串行数据接口可以为专用数据接口,例如通用输入输出(general purpose input output,GPIO)接口,GPIO接口包括至少一根数据线和一根时钟线,时钟线用于传输时钟信号,数据线用于传输控制信号。A serial data interface is connected between the first chip 11 and the second chip 12. The first chip 11 sends a control message to the second chip 12 through the serial data interface. This application does not limit the specific physical form of the serial data interface. For example, the serial data interface may be a 204X-serializer/deserializer (SERDES) interface, which is usually used to transmit data signals, where part of its bandwidth (for example, a data block) may be used for transmission control Signals, that is, data signals and control signals are mixed and transmitted. Or, the serial data interface may be a dedicated data interface, such as a general purpose output (GPIO) interface. The GPIO interface includes at least one data line and a clock line. The clock line is used to transmit clock signals and data lines. Used to transmit control signals.
第一芯片11将并行的多个控制信号通过串行数据接口发送给第二芯片12,以此减少第一芯片11和第二芯片12之间传输控制信号的管脚的数目。The first chip 11 sends a plurality of parallel control signals to the second chip 12 through a serial data interface, thereby reducing the number of pins for transmitting control signals between the first chip 11 and the second chip 12.
示例性的,对于第一芯片11为DIF芯片,第二芯片12为AD/DA转换芯片来说,控制信号可以为N个通道使能开关信号,一个通道使能开关信号的高低电平用于控制第二芯片12的N个通道中一个通道的开关状态,在现有技术中则需要第一芯片11和第二芯片12各自占用N个管脚来传输N个通道使能开关信号。经过本申请实施例提供的方案优化后,由于采用串行数据接口传输控制信号,最多占用两个管脚,第一芯片11和第二芯片12之间传输控制信号的管脚的数目可以大大减少,并且控制信号越多,效果越明显。Exemplarily, for the first chip 11 to be a DIF chip and the second chip 12 to be an AD/DA conversion chip, the control signal may be N channel enable switch signals, and the high and low levels of one channel enable switch signal are used To control the switching state of one channel among the N channels of the second chip 12, in the prior art, it is required that the first chip 11 and the second chip 12 each occupy N pins to transmit N channel enable switching signals. After optimizing the solution provided by the embodiment of the present application, since the serial data interface is used to transmit the control signal, up to two pins are occupied, the number of pins for transmitting the control signal between the first chip 11 and the second chip 12 can be greatly reduced , And the more control signals, the more obvious the effect.
本申请实施例提供了一种片间控制信号传输方法,如图3中所示,该方法包括:An embodiment of the present application provides an inter-chip control signal transmission method. As shown in FIG. 3, the method includes:
S101、第一芯片获取N个控制信号。S101. The first chip obtains N control signals.
其中,N为正整数。Among them, N is a positive integer.
示例性的,假设SW1-SWn为N个通道使能开关信号,通道使能开关信号为低电平(值为0)表示禁用对应的通道,通道使能开关信号为高电平(值为1)表示使能对应的通道。如果第i个通道有数据需要接收或发送时,第一芯片设置第i个通道使能开关信号为1,使第二芯片的第i个通道可用于接收或发送数据,第一芯片设置剩余N-1个通道使能开关信号为0,第二芯片的剩余N-1个通道禁用以节省功耗。Exemplarily, assume that SW1-SWn are N channel enable switch signals. The channel enable switch signal is low (value 0) means that the corresponding channel is disabled, and the channel enable switch signal is high level (value 1 ) Indicates that the corresponding channel is enabled. If there is data in the i-th channel that needs to be received or sent, the first chip sets the i-th channel enable switch signal to 1, so that the i-th channel of the second chip can be used to receive or send data, and the first chip sets the remaining N The -1 channel enable switch signal is 0, and the remaining N-1 channels of the second chip are disabled to save power consumption.
S102、第一芯片对N个控制信号进行编码得到控制消息。S102. The first chip encodes N control signals to obtain a control message.
在一种可能的实施方式中,控制消息包括N个信元,N个控制信号中的每一个控制信号占用N个信元中的一个信元。N个信元可以按照N个控制信号的顺序排列,或者采用其他顺序排列,本申请不作限定。In a possible implementation manner, the control message includes N cells, and each of the N control signals occupies one of the N cells. The N cells may be arranged in the order of N control signals, or in other orders, which is not limited in this application.
示例性的,如表1和图4所示,假设SW1-SW3为3个通道使能开关信号,每个通道使能开关信号只有0或1两个状态,所以每个控制信号只占用一个比特的信元,传输SW1-SW3这3个通道使能开关信号共需要3比特。Exemplarily, as shown in Table 1 and FIG. 4, assume that SW1-SW3 are three channel enable switch signals, each channel enable switch signal has only two states of 0 or 1, so each control signal occupies only one bit In the cell, three bits of SW1-SW3 are needed to transmit the switch enable signal.
表1Table 1
二进制值Binary value 十进制值Decimal value 3个通道使能开关信号的含义The meaning of 3 channels enable switch signal
000000 00 SW3(0)、SW2(0)、SW1(0)SW3(0), SW2(0), SW1(0)
001001 11 SW3(0)、SW2(0)、SW1(1)SW3(0), SW2(0), SW1(1)
010010 22 SW3(0)、SW2(1)、SW1(0)SW3(0), SW2(1), SW1(0)
011011 33 SW3(0)、SW2(1)、SW1(1)SW3(0), SW2(1), SW1(1)
100100 44 SW3(1)、SW2(0)、SW1(0)SW3(1), SW2(0), SW1(0)
101101 55 SW3(1)、SW2(0)、SW1(1)SW3(1), SW2(0), SW1(1)
110110 66 SW3(1)、SW2(1)、SW1(0)SW3(1), SW2(1), SW1(0)
111111 77 SW3(1)、SW2(1)、SW1(1)SW3(1), SW2(1), SW1(1)
在另一种可能的实施方式中,控制消息包括第一信元和第二信元,第一信元表示所述N个控制信号中N个控制信号中一个控制信号的类型,第二信元表示所述一个控制信号的数值。In another possible implementation manner, the control message includes a first cell and a second cell, where the first cell represents the type of one of the N control signals among the N control signals, and the second cell Represents the value of the one control signal.
示例性的,如表2和图5所示,假设SW1-SW3为3个通道使能开关信号,第一信元占用3比特中前2个比特,第二信元占用3比特中的最后一个比特。Exemplarily, as shown in Table 2 and FIG. 5, assume that SW1-SW3 are 3 channel enable switch signals, the first cell occupies the first 2 bits of 3 bits, and the second cell occupies the last one of 3 bits Bit.
表2Table 2
二进制编码Binary code 十进制值Decimal value N个通道使能开关信号含义N channel enable switch signal meaning
00(0)00(0) 00 SW1(0)SW1(0)
00(1)00(1) 11 SW1(1)SW1(1)
01(0)01(0) 22 SW2(0)SW2(0)
01(1)01(1) 33 SW2(1)SW2(1)
10(0)10(0) 44 SW3(0)SW3(0)
10(1)10(1) 55 SW3(1)SW3(1)
表1和图4中所示的编码方式,控制信号在控制消息中的位置是固定,与之相比,表2和图5中所示的编码方式,控制信号在控制消息中的位置可以不固定。并且表2和图5中所示的编码方式,可以只传输发生改变的控制信号,当控制信号数目较多时,控制消息较短。In the coding methods shown in Table 1 and Figure 4, the position of the control signal in the control message is fixed, compared with the coding methods shown in Table 2 and Figure 5, the position of the control signal in the control message fixed. In addition, the encoding methods shown in Table 2 and FIG. 5 can transmit only the changed control signals. When the number of control signals is large, the control message is short.
需要说明的是,根据控制信号的不同,信元的长度可以为比特、字节、双字节等,本申请不作限定。It should be noted that, according to different control signals, the length of the cell may be bits, bytes, double bytes, etc., which is not limited in this application.
可选的,由于采用高速通道传输可能产生误码,而控制信号的可靠性要求又很高,所以可以采用错误检查和纠正(error correcting code,ECC)来校验和纠错。如图4或5所示,在控制消息的结束位置还包括ECC校验,用于对控制消息中的控制信号进行校验和纠错。如果第一帧校验错误且不能纠错,可以靠下一帧纠错。Optionally, because high-speed channel transmission may generate error codes, and the reliability requirements of the control signal are very high, error checking and correction (ECC) can be used to check and correct errors. As shown in FIG. 4 or 5, the end position of the control message also includes an ECC check, which is used to check and correct the control signal in the control message. If the first frame is erroneous and cannot be corrected, the next frame can be used for error correction.
可选的,对于采用传输数据信号的串行数据接口来传输控制信号的场景,为了防止与数据信号混淆,如图5所示,在控制消息的起始位置还可以包括前导码,该前导码用于指示控制消息用于传输控制信号,而非数据信号。Optionally, for a scenario where a serial data interface for transmitting data signals is used to transmit control signals, in order to prevent confusion with data signals, as shown in FIG. 5, a preamble may also be included at the beginning of the control message, which is the preamble Used to indicate that control messages are used to transmit control signals, not data signals.
示例性的,假设采用传输同相正交(in-phase quadrature,IQ)数据的串行数据接口来传输控制信号,根据IQ数据的特性,可以定义32比特的全1(或全0)作为前导码,如果第二芯片接收到连续的32比特的全1即认为是控制消息的前导码。但是要求IQ数据不能出现32比特的全1(即0xFFFF_FFFF)。这种方式不会占用传输数据信号的固定带宽。本申请不限定前导码的具体数值,例如也可以为0xFFFF_FFFE。Exemplarily, suppose that a serial data interface that transmits in-phase quadrature (IQ) data is used to transmit the control signal. According to the characteristics of IQ data, a 32-bit all 1 (or all 0) can be defined as the preamble If the second chip receives consecutive 32-bit all ones, it is regarded as the preamble of the control message. However, it is required that IQ data cannot contain all-ones of 32 bits (that is, 0xFFFF_FFFF). This method does not occupy a fixed bandwidth for transmitting data signals. This application does not limit the specific value of the preamble, for example, it can also be 0xFFFF_FFFE.
对于不采用前导码的编码方式,由于不需要区分数据信号和控制信号,因此适用于通过专用数据接口传输控制信号的场景。对于采用前导码的编码方式,适用于数据信号和控制信号混合传输的场景。For the encoding method that does not use the preamble, since there is no need to distinguish between the data signal and the control signal, it is suitable for the scenario where the control signal is transmitted through the dedicated data interface. For the coding method using the preamble, it is applicable to the scenario of mixed transmission of data signals and control signals.
S103、第一芯片通过串行数据接口向第二芯片发送控制消息。S103. The first chip sends a control message to the second chip through the serial data interface.
相应地,第二芯片通过串行数据接口从第一芯片接收控制消息。Correspondingly, the second chip receives the control message from the first chip through the serial data interface.
控制消息可以周期性发送或由事件触发发送(例如当控制信号发生改变时,或者, 无法纠错需要重传时),本申请不作限定。The control message may be sent periodically or triggered by an event (for example, when the control signal changes, or when error correction is required and retransmission is required), this application is not limited.
S104、第二芯片对控制消息进行解码得到N个控制信号,并根据N个控制信号执行操作。S104. The second chip decodes the control message to obtain N control signals, and performs operations according to the N control signals.
第二芯片对控制消息解码的方式为第一芯片对控制消息编码的方式的逆操作。The manner in which the second chip decodes the control message is the reverse operation of the manner in which the first chip encodes the control message.
示例性的,假设按照表1中所示编码方式进行编码,得到控制信号001,则第二芯片禁用通道2和通道3,使能通道1。Exemplarily, assuming that encoding is performed according to the encoding manner shown in Table 1, the control signal 001 is obtained, then the second chip disables channel 2 and channel 3, and enables channel 1.
本申请实施例提供的电子设备和片间控制信号传输方法,通过采用串行数据接口传输N个控制信号,使得第一芯片和第二芯片之间传输控制信号的管脚的数目可以大大减少,降低了芯片间用于传输控制信号的管脚的数目。The electronic device and the method for transmitting control signals between chips provided by the embodiments of the present application use a serial data interface to transmit N control signals, so that the number of pins for transmitting control signals between the first chip and the second chip can be greatly reduced. The number of pins used for transmitting control signals between chips is reduced.
由于通过串行接口传输控制信号,先后传输的控制信号之间会有传输延迟,对于实时性要求高或者需要精确定时的应用,可能无法满足需求。因此可以在控制消息中指示控制信号的生效时间。Since the control signal is transmitted through the serial interface, there will be a transmission delay between the successive control signals. For applications that require high real-time performance or require precise timing, they may not meet the demand. Therefore, the effective time of the control signal can be indicated in the control message.
如图6所示,该片间控制信号传输方法还包括:As shown in FIG. 6, the method for transmitting control signals between chips further includes:
S105、第一芯片通过定时线向第二芯片发送定时脉冲。S105. The first chip sends a timing pulse to the second chip through the timing line.
该定时脉冲用于第一芯片11的第一定时器111和第二芯片12的第二定时器121进行时间同步。如图2所示,第一芯片11作为控制芯片,其内部的第一定时器111可以先启动计数,当第一定时器111的计数值达到一定计数门限时,第一定时器111重新开始计数并通过定时线向第二芯片12的第二定时器121发送定时脉冲。第二芯片12的定时器121根据定时脉冲重新开始计数,第一定时器111和第二定时器121每次重新开始计数经过的时间相同,因此实现了第一芯片11的第一定时器111与第二芯片12的第二定时器121的时间同步。The timing pulse is used for time synchronization between the first timer 111 of the first chip 11 and the second timer 121 of the second chip 12. As shown in FIG. 2, the first chip 11 serves as a control chip, and the first timer 111 inside it can start counting first. When the count value of the first timer 111 reaches a certain counting threshold, the first timer 111 restarts counting. And send a timing pulse to the second timer 121 of the second chip 12 through the timing line. The timer 121 of the second chip 12 restarts counting according to the timing pulse, and the first timer 111 and the second timer 121 restart counting at the same time each time. Therefore, the first timer 111 of the first chip 11 and The time of the second timer 121 of the second chip 12 is synchronized.
在第一芯片向第二芯片发送的控制消息中还可以包括第一定时器的计数值,该计数值用于指示控制消息中控制信号的生效时间。The control message sent by the first chip to the second chip may further include a count value of the first timer, and the count value is used to indicate the effective time of the control signal in the control message.
由于第一芯片11的第一定时器111与第二芯片12的第二定时器121实现了时间同步,所以第一定时器111和第二定时器121增加相同计数值,得到的时间是相同的。第二芯片将该计数值以及约定的延迟生效时间相加,即可以得到本控制消息中的控制信号的生效时间。Since the first timer 111 of the first chip 11 and the second timer 121 of the second chip 12 achieve time synchronization, the first timer 111 and the second timer 121 increase the same count value, and the obtained time is the same . The second chip adds the count value and the agreed delay effective time to obtain the effective time of the control signal in the control message.
需要说明的是,在步骤S105中,第一芯片按固定周期向第二芯片发送定时脉冲,与步骤S101-S104并无直接关系。It should be noted that, in step S105, the first chip sends a timing pulse to the second chip at a fixed cycle, which is not directly related to steps S101-S104.
本申请实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被计算机执行时使所述计算机执行图3、6中的相关方法。Embodiments of the present application also provide a computer-readable storage medium that stores one or more programs. The one or more programs include instructions, which, when executed by a computer, cause the computer to perform the operations in FIGS. 3 and 6. Related methods.
本申请实施例还提供了一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得所述计算机执行图3、6中的相关方法。An embodiment of the present application also provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute the related methods in FIGS. 3 and 6.
本申请提供的计算机存储介质、计算机程序产品均用于执行上文所述的方法,因此,其所能达到的有益效果可参考上文所提供的实施方式中的有益效果,此处不再赘述。The computer storage media and computer program products provided in this application are used to perform the method described above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the embodiments provided above, which will not be repeated here. .
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present application, the size of the sequence numbers of the above processes does not mean that the execution order is sequential, and the execution order of each process should be determined by its function and inherent logic, and should not correspond to the embodiments of the present application The implementation process constitutes no limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Persons of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division, and in actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in 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 may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers and data centers that can be integrated with the medium. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

  1. 一种电子设备,其特征在于,包括:第一芯片和第二芯片,所述第一芯片为控制芯片,所述第二芯片为受控芯片;所述第一芯片与所述第二芯片之间连接有串行数据接口;An electronic device, comprising: a first chip and a second chip, the first chip is a control chip, the second chip is a controlled chip; and the first chip and the second chip There is a serial data interface between;
    所述第一芯片用于:获取N个控制信号;对所述N个控制信号进行编码得到控制消息;通过所述串行数据接口向所述第二芯片发送所述控制消息,其中,N为正整数;The first chip is used to: obtain N control signals; encode the N control signals to obtain a control message; send the control message to the second chip through the serial data interface, where N is Positive integer
    所述第二芯片用于:通过所述串行数据接口从所述第一芯片接收所述控制消息;对所述控制消息进行解编码得到所述N个控制信号;根据所述N个控制信号执行操作。The second chip is used to: receive the control message from the first chip through the serial data interface; decode the control message to obtain the N control signals; according to the N control signals Perform the operation.
  2. 根据权利要求1所述的电子设备,其特征在于,所述第一芯片与所述第二芯片之间还连接有定时线,所述第一芯片还用于:The electronic device according to claim 1, wherein a timing line is further connected between the first chip and the second chip, and the first chip is further used to:
    通过所述定时线向所述第二芯片发送定时脉冲,所述定时脉冲用于所述第一芯片的第一定时器和所述第二芯片的第二定时器进行时间同步;Sending a timing pulse to the second chip through the timing line, the timing pulse being used for time synchronization of the first timer of the first chip and the second timer of the second chip;
    所述控制消息中还包括所述第一定时器的计数值,其中,所述第一定时器的计数值用于指示所述控制消息中控制信号的生效时间。The control message further includes a count value of the first timer, where the count value of the first timer is used to indicate the effective time of the control signal in the control message.
  3. 根据权利要求1或2所述的电子设备,其特征在于,所述控制消息包括N个信元,所述N个控制信号中的每一个控制信号占用所述N个信元中的一个信元。The electronic device according to claim 1 or 2, wherein the control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells .
  4. 根据权利要求1或2所述的电子设备,其特征在于,所述控制消息包括第一信元和第二信元,所述第一信元表示所述N个控制信号中一个控制信号的类型,所述第二信元表示所述一个控制信号的数值。The electronic device according to claim 1 or 2, wherein the control message includes a first cell and a second cell, and the first cell represents the type of one of the N control signals , The second cell represents the value of the one control signal.
  5. 根据权利要求1-4任一项所述的电子设备,其特征在于,所述控制消息的起始位置还包括前导码,所述前导码用于指示所述控制消息用于传输控制信号。The electronic device according to any one of claims 1 to 4, wherein the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal.
  6. 根据权利要求1-5任一项所述的电子设备,其特征在于,所述控制消息的结束位置还包括错误检查和纠正ECC校验。The electronic device according to any one of claims 1 to 5, wherein the end position of the control message further includes error checking and correction ECC check.
  7. 一种片间控制信号传输方法,其特征在于,包括:An inter-chip control signal transmission method, characterized in that it includes:
    第一芯片获取N个控制信号,其中,N为正整数;The first chip obtains N control signals, where N is a positive integer;
    所述第一芯片对所述N个控制信号进行编码得到控制消息;The first chip encodes the N control signals to obtain a control message;
    所述第一芯片通过串行数据接口向第二芯片发送所述控制消息;The first chip sends the control message to the second chip through a serial data interface;
    所述第二芯片通过所述串行数据接口所述第一芯片接收所述控制消息;The second chip receives the control message through the first chip through the serial data interface;
    所述第二芯片对所述控制消息进行解编码得到所述N个控制信号;The second chip decodes the control message to obtain the N control signals;
    所述第二芯片根据所述N个控制信号执行操作。The second chip performs operations according to the N control signals.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    所述第一芯片通过定时线向所述第二芯片发送定时脉冲,所述定时脉冲用于所述第一芯片的第一定时器和所述第二芯片的第二定时器进行时间同步;The first chip sends a timing pulse to the second chip through a timing line, and the timing pulse is used for time synchronization of the first timer of the first chip and the second timer of the second chip;
    所述控制消息中还包括所述第一定时器的计数值,其中,所述第一定时器的计数值用于指示所述控制消息中控制信号的生效时间。The control message further includes a count value of the first timer, where the count value of the first timer is used to indicate the effective time of the control signal in the control message.
  9. 根据权利要求7或8所述的方法,其特征在于,所述控制消息包括N个信元,所述N个控制信号中的每一个控制信号占用所述N个信元中的一个信元。The method according to claim 7 or 8, wherein the control message includes N cells, and each control signal of the N control signals occupies one cell of the N cells.
  10. 根据权利要求7或8所述的方法,其特征在于,所述控制消息包括第一信元和第二信元,所述第一信元表示所述N个控制信号中一个控制信号的类型,所述第二 信元表示所述一个控制信号的数值。The method according to claim 7 or 8, wherein the control message includes a first cell and a second cell, the first cell represents a type of one of the N control signals, The second cell represents the value of the one control signal.
  11. 根据权利要求7-10任一项所述的方法,其特征在于,所述控制消息的起始位置还包括前导码,所述前导码用于指示所述控制消息用于传输控制信号。The method according to any one of claims 7-10, wherein the start position of the control message further includes a preamble, and the preamble is used to indicate that the control message is used to transmit a control signal.
  12. 根据权利要求7-11任一项所述的方法,其特征在于,所述控制消息的结束位置还包括错误检查和纠正ECC校验。The method according to any one of claims 7-11, wherein the end position of the control message further includes error checking and correction ECC check.
  13. 一种存储一个或多个程序的计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被计算机执行时使所述计算机执行如权利要求7-12任一项所述的片间控制信号传输方法。A computer-readable storage medium storing one or more programs, characterized in that the one or more programs include instructions, which when executed by a computer causes the computer to execute any one of claims 7-12 Item-to-chip control signal transmission method.
  14. 一种包含指令的计算机程序产品,其特征在于,当所述指令在计算机上运行时,使得所述计算机执行如权利要求7-12任一项所述的片间控制信号传输方法。A computer program product containing instructions, characterized in that, when the instructions run on a computer, the computer is caused to execute the method for transmitting control signals between chips according to any one of claims 7-12.
PCT/CN2018/125019 2018-12-28 2018-12-28 Electronic device and inter-chip control signal transmission method WO2020133261A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/125019 WO2020133261A1 (en) 2018-12-28 2018-12-28 Electronic device and inter-chip control signal transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/125019 WO2020133261A1 (en) 2018-12-28 2018-12-28 Electronic device and inter-chip control signal transmission method

Publications (1)

Publication Number Publication Date
WO2020133261A1 true WO2020133261A1 (en) 2020-07-02

Family

ID=71126757

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125019 WO2020133261A1 (en) 2018-12-28 2018-12-28 Electronic device and inter-chip control signal transmission method

Country Status (1)

Country Link
WO (1) WO2020133261A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466185A (en) * 2002-06-18 2004-01-07 华为技术有限公司 Method for realizing high speed celf transmission
CN102736597A (en) * 2012-06-13 2012-10-17 东莞广营电子科技有限公司 System for controlling serial servos
CN104217489A (en) * 2014-09-25 2014-12-17 苏州保瑟佳货币检测科技有限公司 Multi-path magnetic head signal output device, magnetic signal detection equipment and method
US20160373198A1 (en) * 2015-06-22 2016-12-22 Ricoh Company, Ltd. Serial communication device and serial communication method
CN106652427A (en) * 2016-12-14 2017-05-10 南京长峰航天电子科技有限公司 Serial control system of electronic array

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466185A (en) * 2002-06-18 2004-01-07 华为技术有限公司 Method for realizing high speed celf transmission
CN102736597A (en) * 2012-06-13 2012-10-17 东莞广营电子科技有限公司 System for controlling serial servos
CN104217489A (en) * 2014-09-25 2014-12-17 苏州保瑟佳货币检测科技有限公司 Multi-path magnetic head signal output device, magnetic signal detection equipment and method
US20160373198A1 (en) * 2015-06-22 2016-12-22 Ricoh Company, Ltd. Serial communication device and serial communication method
CN106652427A (en) * 2016-12-14 2017-05-10 南京长峰航天电子科技有限公司 Serial control system of electronic array

Similar Documents

Publication Publication Date Title
US11075652B2 (en) Polar code transmission method and apparatus
US9965435B2 (en) Communication low-speed and high-speed parallel bit streams over a high-speed serial bus
KR20200017520A (en) Polar Code Encoding Method and Device
US10374897B2 (en) Technologies for autonegotiating 10G and 1G serial communications over copper cable
EP3664544B1 (en) Method, apparatus and device for determining size of transmission block
US20160099795A1 (en) Technologies for exchanging host loss and forward error correction capabilities on a 25g ethernet link
US10979076B2 (en) Encoding method, encoding apparatus, and communications apparatus
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
US20200068543A1 (en) Data Transmission Method And Device
WO2020133261A1 (en) Electronic device and inter-chip control signal transmission method
US11070309B2 (en) Bandwidth coding for channel bonding access
WO2020114335A1 (en) Rate negotiation method, and device for same
US20160330741A1 (en) Control channel in wlan ofdma
EP3910854A1 (en) Data transmission method, terminal and network side device
US20220030609A1 (en) Communication method and apparatus
US11277154B2 (en) Polar code-based interleaving method and communication apparatus
US10277720B2 (en) Bandwidth coding for channel bonding access
WO2021088071A1 (en) Method and apparatus for determining position occupied by resource, terminal device, and storage medium
KR20210063011A (en) OR-network Bus Encoding Apparatus and Method for Low-Pover Two-Burst Data Transfer
WO2018202151A1 (en) Communication method and communication device
CN112188446A (en) Synchronization signal sending method, terminal, device and storage medium
EP4283893A1 (en) Data processing method, device, and data transmission system
US20190007244A1 (en) Reception device, reception method, and communication system
WO2024001874A1 (en) Mode negotiation method and apparatus, device, system, and computer readable storage medium
CN114124858B (en) Control method and control device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18944335

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18944335

Country of ref document: EP

Kind code of ref document: A1