Wavelength selection method and apparatus

By prioritizing the refresh of pixel drive voltages in local areas of the LCoS display and adjusting the pixel refresh queue priority, the problem that traditional LCoS driving methods cannot meet the fast switching of WSS is solved, and faster port switching is achieved.

CN114153033BActive Publication Date: 2026-03-13HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Traditional liquid crystal over silicon (LCoS) driving methods cannot meet the fast switching requirements of wavelength selective switch (WSS) devices, especially in large-port WSSs, where the increased resolution scale makes it impossible to support faster port switching.

Method used

By prioritizing the refresh of pixel drive voltages in local areas of the LCOS display and adjusting the priority of the pixel refresh queue, rapid updates of local image data are achieved, reducing port switching time.

Benefits of technology

It speeds up port switching for WSS devices, reduces waiting time, and improves switching efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114153033B_ABST
    Figure CN114153033B_ABST
Patent Text Reader

Abstract

This application provides a wavelength selection method and communication device applicable to fields such as optical communication, optical switching, digital central networks, microwave photonics, liquid crystal antennas, optical phased arrays, beamforming, beam scanning, lidar, laser projection, laser television, holographic display, adaptive optics, laser beam shaping, laser processing, ultrafast laser pulse shaping, active laser imaging, optical tomography, and retinal imaging. When a port switch occurs in the WSS device, image data is updated only for the changed local images in the LCOS image at time intervals less than the length of one image frame, and the driving voltages of the pixels on the LCOS display are refreshed according to priority. Compared to refreshing the image data of the entire LCOS image at the frame rate and refreshing the driving voltages of pixels in a fixed order of pixel numbers, port switching of the WSS device can be accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical communication technology, and more specifically, to a method and apparatus for wavelength selection. Background Technology

[0002] Optical networks are continuously evolving towards higher capacity, lower latency, and greater intelligence. Optical switching technologies such as reconfigurable optical add-drop multiplexers (ROADMs) and optical cross-connects (OXCs) not only support current commercial optical networks but are also key technologies for realizing next-generation optical networks. Wavelength selective switches (WSS), as the core device of OXCs, offer crucial fast switching capabilities for enhanced scheduling and protection in complex networks. Current requirements for rerouting time in automatically switched optical networks (ASONs) aim to achieve a protection link switching time of 50ms.

[0003] In a Wireless Stereo System (WSS), liquid crystal on silicon (LCoS) is the core switching engine. Its main function is to programmably implement reflective diffraction gratings with specific phase distributions to deflect the incident light beam to the corresponding exit direction. Traditional LCoS is designed for display applications, with image data refreshed at a frame rate, typically 60Hz. Furthermore, the pixel driving voltages are refreshed in a fixed sequence. This fixed refresh rate driving method does not achieve optimal performance for WSS applications. Especially in large-port WSSs, where LCoS resolution scale will further increase, the current LCoS driving method will be unable to support the faster switching requirements of WSS devices. Summary of the Invention

[0004] This application provides a method and apparatus for wavelength selection, which can accelerate port switching of WSS devices.

[0005] In a first aspect, this application provides a method for selecting wavelengths based on a WSS device, the method comprising:

[0006] Obtain port status information of the WSS device, the port status information including information that the optical signal of the first wavelength of the first input port of the WSS device will be switched from the first output port to the second output port, wherein the WSS device includes N input ports, each input port supports M wavelengths, and N and M are both positive integers;

[0007] The sub-image corresponding to the optical signal of the first wavelength in the LCOS image of the WSS device and the first wavelength in the first input port is updated to the first sub-image. The LCOS image is divided into N×M sub-images, and each sub-image corresponds to a pixel area on the LCOS display screen of the WSS device.

[0008] Based on the first sub-image, refresh the driving voltage of the pixels in a first region on the LCOS display screen, wherein the first region includes a first pixel region on the LCOS display screen corresponding to the first sub-image;

[0009] Refresh the driving voltage of pixels in areas other than the first area on the LCOS display screen.

[0010] In the technical solution of this application, considering that WSS devices often only require switching of a few ports, and that the LCOS image of the WSS device only changes locally, this application prioritizes refreshing the driving voltage of pixels in a specific area (i.e., the first area) of the LCOS display screen when a port switching occurs. Then, it refreshes the driving voltage of pixels in other areas outside this specific area. This specific area at least includes the pixel area on the LCOS display screen corresponding to the light signal of the output port switching wavelength (e.g., the first wavelength of the first input port) among the M wavelengths supported by the switching port. That is, when the output port of the first wavelength of the first input port switches, the driving voltage of pixels in the first pixel area or a local area containing the first pixel area (collectively referred to as the first area) of the LCOS display screen corresponding to the light signal of the first wavelength of the first input port is refreshed first. Then, the driving voltage of pixels in other areas of the LCOS display screen other than the first area is refreshed. Compared to refreshing the driving voltage of pixels on the entire LCOS display screen in a fixed order of pixel numbers, this speeds up port switching.

[0011] It should be noted that, in some implementations, the first region specifically refers to the first pixel region on the LCOS display screen corresponding to the first sub-image of the first wavelength optical signal of the first input port.

[0012] In some other implementations, the range of the first region is larger than the range of the first pixel region. That is, the first region includes the region outside the first pixel region, or in other words, the first region includes not only the pixels within the first pixel region, but also some pixels on the LCOS display that are not within the first pixel region.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, obtaining the port status information of the WSS device includes: receiving a port switching command in the (j-1)th time interval, the port switching command being used to instruct the optical signal of the first wavelength of the first input port to be switched from the first output port to the second output port for output;

[0014] And, updating the sub-image in the LCOS image of the WSS device corresponding to the optical signal of the first wavelength at the first input port to the first sub-image includes:

[0015] In the j-th time interval, the sub-image corresponding to the optical signal of the first wavelength of the first wavelength in the LCOS image is updated to the first sub-image, j≥1, and j is an integer, where a time interval is less than the duration of a frame image.

[0016] In the event of a port switch, the image data of a local portion of the LCOS image changes. During the refresh of this local image data, this application uses a time interval as the refresh granularity (or unit), where each time interval is shorter than the duration of an existing frame. Therefore, compared to refreshing according to the frame rate, the LCOS device has a shorter waiting time to receive port switch commands that may occur at any time, which helps to speed up the port switch process.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0018] According to the port switching command, obtain the port status and port number of the first input port;

[0019] Based on the port status of the first input port, image data of the first sub-image is generated, and based on the port number of the first input port, the first pixel area corresponding to the first sub-image on the LCOS display screen is determined.

[0020] Based on the image data of the first sub-image, determine the first driving voltage that needs to be applied to the pixels in the first pixel region.

[0021] Upon receiving a port switching command, the command carries the status and number of the port to be switched. For any input port of the WSS device, when a light signal of a certain wavelength from that input port is output from different output ports, that light signal of that wavelength from that input port corresponds to different sub-images in the LCOS image. Therefore, if the port switching command instructs the first wavelength light signal from the first input port to be switched from the first output port to the second output port, the local image (i.e., the first sub-image) corresponding to the first wavelength light signal from the first input port in the LCOS image, and the corresponding pixel area of ​​that local image on the LCOS display screen, can be obtained. The updated image data of this local image can be converted into the driving voltage of the pixels in the corresponding pixel area on the LCOS display screen. By applying the driving voltage obtained from the converted updated image data of the local image to the corresponding pixels of the LCOS display screen, the liquid crystal of the LCOS display screen can be driven to operate, thereby realizing port switching.

[0022] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes, before obtaining the port status of the WSS device:

[0023] Generate a pixel refresh queue, the pixel refresh queue including the driving voltages of the corresponding pixels on the LCOS display screen at the N input ports of the WSS device;

[0024] The step of refreshing the driving voltage of pixels in a first region on the LCOS display screen according to the first sub-image includes:

[0025] The driving voltage of the pixels in the first pixel region contained in the pixel refresh queue is updated to the driving voltage that the pixels in the first pixel region need to be loaded, which is determined based on the image data of the first sub-image.

[0026] The driving voltage of the pixel in the first region is obtained from the pixel refresh queue, and the driving voltage is applied to the corresponding pixel in the pixel array of the LCOS display screen.

[0027] Before the WSS device switches ports, the LCOS device generates an initial pixel refresh queue, which includes the driving voltages of the pixels corresponding to the N input ports of the WSS device on the LCOS display screen. The LCOS device refreshes the driving voltages of each pixel on the LCOS display screen according to the correspondence between the driving voltages in the pixel refresh queue and the pixels on the LCOS display screen, thus driving the liquid crystal of the LCOS display screen to operate. When the output port of the first wavelength light signal of the first input port switches, the sub-image corresponding to the first wavelength light signal of the first input port in the LCOS image is updated to a new sub-image, for example, updated to the first sub-image. The LCOS device calculates the driving voltage of the pixels in the first pixel region corresponding to the first sub-image on the LCOS display screen based on the image data of the first sub-image, and updates the driving voltages of the pixels in the first pixel region contained in the pixel refresh queue to the driving voltages calculated based on the image data of the first sub-image. Subsequently, the LCOS device refreshes the driving voltage of the pixels in the first pixel area to the driving voltage calculated based on the image data of the first sub-image, thereby driving the liquid crystal of the pixels in the first pixel area to work, and completing the switching of the input port of the first wavelength light signal of the first input port from the first output port to the second output port.

[0028] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0029] The priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the first input port in the pixel refresh queue is adjusted to be higher than the priority of the pixel number of other pixels. The pixel refresh queue also includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0030] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of pixels in other areas of the LCOS display screen except for the first area, where the first area is the first pixel area.

[0031] To refresh the driving voltages of pixels on the LCOS display according to priority, the LCOS device maintains a pixel refresh queue. For example, the pixel refresh queue includes not only the driving voltages of the pixels corresponding to the N input ports of the WSS device on the LCOS display, but also the pixel numbers of the pixels corresponding to each port of the WSS device on the LCOS display. Each pixel number has a corresponding priority in the pixel refresh queue, and the priority of each pixel number is consistent with the refresh priority of the driving voltage of the pixel corresponding to that pixel number. Alternatively, it can be said that the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to that pixel number. After a port switch occurs, the LCOS device adjusts the priority of some pixel numbers to be higher than the priority of other pixel numbers, and refreshes the driving voltage of the pixels corresponding to each pixel number according to the adjusted priority from high to low, thereby achieving priority-based pixel driving voltage refresh. This refresh method reduces the refresh waiting time.

[0032] Specifically, in this implementation, when the output port of the first wavelength optical signal at the first input port switches, the LCOS device adjusts the priority of the pixel numbers of the pixels in the first pixel region corresponding to the first wavelength optical signal at the first input port on the LCOS display screen, which are included in the pixel refresh queue, to a higher priority than the pixel numbers of other pixels on the LCOS display screen. Then, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the adjusted priority of each pixel number in the pixel refresh queue. Since the pixel numbers of the pixels in the first pixel region are adjusted to the highest, the driving voltage of the pixels in the first pixel region on the LCOS display screen is refreshed preferentially, while pixels outside the first pixel region on the LCOS display screen are refreshed according to the priority of their corresponding pixel numbers in the adjusted pixel refresh queue.

[0033] In addition, the refresh duration of the pixel's driving voltage can be decoupled from the pixel resolution scale, and from the subframe frequency or frame frequency.

[0034] For example, the pixel number and the driving voltage of the corresponding pixel can be stored separately or together. When stored together, each pixel number corresponds one-to-one with the driving voltage of its corresponding pixel; in other words, each pixel number is associated with a driving voltage. This storage method can reduce the complexity of reading data.

[0035] As one implementation, during the process of refreshing the driving voltage of a pixel, for example, according to the priority of the pixel number, for each pixel number read, the driving voltage corresponding to (or associated with) that pixel number is read simultaneously, and the read driving voltage is applied to the pixel at the corresponding address in the pixel array of the LCOS display. According to the priority of each pixel number in the pixel refresh queue, each pixel number and its corresponding driving voltage are read sequentially and refreshed, thus completing the refresh of the driving voltage of each pixel in the pixel array.

[0036] In conjunction with the first aspect, in some implementations of the first aspect, after obtaining the port status information of the WSS device, the method further includes:

[0037] The priority of the pixel number corresponding to the first port in the pixel refresh queue is adjusted to be higher than the priority of the pixel number corresponding to the pixel on the LCOS display screen of other ports of the WSS device. The pixel refresh queue also includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0038] The step of refreshing the driving voltage of pixels in areas other than the first area on the LCOS display screen includes:

[0039] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of the pixels in other areas of the LCOS display screen except for the first area, wherein the first area is the pixel area corresponding to the first port on the LCOS display screen.

[0040] Specifically, in this implementation, when the output port of the first wavelength optical signal of the first input port switches, the LCOS device adjusts the priority of the pixel numbers of the pixels in the pixel region corresponding to the first input port on the LCOS display screen, which is included in the pixel refresh queue, to a higher priority than the pixel numbers of the pixels corresponding to the other (N-1) input ports of the WSS device on the LCOS display screen. The pixel region corresponding to the first input port on the LCOS display screen is defined as the first region. Then, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue. Since the pixel number of the pixels in the first region corresponding to the first input port on the LCOS display screen is adjusted to the highest priority, the driving voltage of the pixels in the first region on the LCOS display screen is refreshed preferentially, while pixels outside the first region on the LCOS display screen are refreshed according to the priority of their corresponding pixel numbers in the adjusted pixel refresh queue.

[0041] It can be observed that, compared to the first pixel area corresponding to the first wavelength of the light signal from the first input port on the LCOS display screen, the first area corresponding to the first input port on the LCOS display screen is relatively larger. The first area includes not only the first pixel area but also the pixel areas corresponding to the other wavelengths of the light signal from the first input port (specifically, the remaining M-1 wavelengths besides the first wavelength) on the LCOS display screen. Prioritizing the refresh of the driving voltage of pixels within the first area, and then refreshing the driving voltage of pixels in other areas outside the first area, reduces waiting time compared to refreshing the entire LCOS display screen in a fixed pixel order, thereby accelerating port switching.

[0042] In conjunction with the first aspect, in some implementations of the first aspect, after obtaining the port status information of the WSS device, the method further includes:

[0043] The priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the N input ports in the pixel refresh queue is adjusted to be higher than the priority of the pixel number of the pixel corresponding to the light signal of other wavelengths of the N input ports. The pixel refresh queue also includes the pixel number of the pixel corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0044] The step of refreshing the driving voltage of pixels in areas other than the first area on the LCOS display screen includes:

[0045] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of the pixels in other areas of the LCOS display screen except for the first area, wherein the first area is the pixel area on the LCOS display screen corresponding to the light signal of the first wavelength of the N input ports.

[0046] Specifically, in this implementation, when the output port of the first wavelength optical signal from the first input port is switched, the LCOS device adjusts the priority of the pixel numbers of the pixels in the pixel region corresponding to the first wavelength optical signals of the N input ports of the WSS device on the LCOS display screen to a higher priority than the pixel numbers of the pixels corresponding to other wavelengths (specifically the remaining M-1 wavelengths) of the N input ports of the WSS device on the LCOS display screen. The pixel region corresponding to the first wavelength optical signals of the N input ports on the LCOS display screen is defined as the first region. Then, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the adjusted priority of each pixel number in the pixel refresh queue. Since the pixel numbers of the pixels in the first region corresponding to the first wavelength optical signals of the N input ports on the LCOS display screen are adjusted to the highest priority, the driving voltage of the pixels in the first region on the LCOS display screen is refreshed preferentially, while pixels outside the first region on the LCOS display screen are refreshed according to the priority of their corresponding pixel numbers in the adjusted pixel refresh queue.

[0047] It can be observed that, compared to the first pixel area corresponding to the first wavelength of the light signal from the first input port on the LCOS display screen, the range of the first area corresponding to the first wavelength of the light signal from the N input ports on the LCOS display screen is relatively larger. The first area includes not only the pixel area corresponding to the first wavelength of the first input port on the LCOS display screen (i.e., the first pixel area), but also the pixel areas corresponding to the first wavelength of the light signals from the other N input ports besides the first input port. Prioritizing the refresh of the driving voltage of the pixels within the first area, and then refreshing the driving voltage of the pixels in other areas outside the first area, reduces waiting time compared to refreshing the entire LCOS display screen in a fixed order of pixel numbers, thereby speeding up port switching.

[0048] In conjunction with the first aspect, in certain implementations of the first aspect, refreshing the driving voltage of pixels in areas other than the first area on the LCOS display screen includes:

[0049] According to the priority of the pixel number in the pixel refresh queue, the driving voltage of the pixels in other areas of the LCOS display screen other than the first area is refreshed. The pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0050] Compared to the three methods described above that adjust the priority of some pixel numbers in the pixel refresh queue and then refresh the driving voltage of the pixels on the LCOS display screen according to the adjusted pixel number priority, as an example, as another implementation, after a port switch occurs, the LCOS device does not adjust the priority of the pixel numbers in the pixel refresh queue. Instead, after obtaining the status information of the switched port, it directly refreshes the pixels on the LCOS display screen. However, during the refresh process, it is necessary to prioritize refreshing the driving voltage of the pixels in the first region, and then refresh the driving voltage of the pixels in other regions outside the first region.

[0051] In conjunction with the first aspect, in some implementations of the first aspect, the pixel corresponding to the first input port on the LCOS display screen includes the pixel within the first pixel region, and the pixel number of the pixel within the first pixel region has a higher priority than the pixel number of the pixel corresponding to the light signal of the first input port at a wavelength other than the first wavelength on the LCOS display screen.

[0052] The driving voltages of the pixels on the LCOS display can be refreshed in the following order:

[0053] Refresh the driving voltage of the pixels in the first pixel area on the LCOS display screen that corresponds to the light signal of the first wavelength of the first input port;

[0054] Refresh the pixels in the corresponding pixel area on the LCOS display screen with light signals of other wavelengths from the first input port;

[0055] Refresh the pixels in the corresponding pixel area on the LCOS display screen of the other input ports of the WSS device besides the first input port.

[0056] In this implementation, after the output port of the first wavelength optical signal of the first input port is switched, the refresh priority of the driving voltage of the pixels in the corresponding pixel area on the LCOS display screen of the switched port is higher than the refresh priority of the driving voltage of the pixels in the corresponding pixel area on the LCOS display screen of other ports. Inside the switched port, the priority of the first wavelength that has been switched is higher than the priority of other wavelengths that have not been switched.

[0057] In conjunction with the first aspect, in some implementations of the first aspect, for an input port that has not been switched, the refresh priority of the driving voltage of the pixel corresponding to the input port is sorted in ascending order of pixel number from high to low.

[0058] For example, as one implementation, the refresh priority of the driving voltage of the pixels corresponding to different ports of the WSS device is arranged in the pixel refresh queue from newest to oldest according to the occurrence time of each port switch. For a port, the initial refresh priority (or the refresh priority of pixels that have not been switched) is arranged in ascending order of pixel number.

[0059] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0060] Obtain the row and column addresses of the pixel numbers of the pixels in the first region in the pixel array of the LCOS display screen.

[0061] The step of obtaining the driving voltage of the pixels in the first region from the pixel refresh queue and applying the driving voltage to the corresponding pixels in the pixel array of the LCOS display includes:

[0062] According to the priority of each pixel number in the adjusted pixel refresh queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0063] Based on the pixel number of the pixel in the first region and the corresponding row address and column address in the pixel array, addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the row address and column address in the pixel array.

[0064] After a port switch occurs, based on the changed local sub-image in the LCOS image, a first region corresponding to that local sub-image on the LCOS display screen is obtained. The row and column addresses of the pixel numbers within this first region in the pixel array of the LCOS display screen can then be obtained. This allows for accurate and prioritized refreshing of the driving voltages of the pixels within the first region, achieving priority-based refreshing of the driving voltages of the pixels on the LCOS display screen. Compared to existing solutions that refresh driving voltages according to a fixed pixel number order (e.g., ascending pixel number order), this reduces waiting time and decouples the pixel driving voltage refresh duration from pixel resolution scale and from subframe frequency or frame rate.

[0065] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0066] Obtain the row address in the pixel array of the LCOS display screen corresponding to the pixel number of the pixel in the first region;

[0067] The step of obtaining the driving voltage of the pixels in the first region from the pixel refresh queue and applying the driving voltage to the corresponding pixels in the pixel array of the LCOS display includes:

[0068] According to the priority of each pixel number in the adjusted pixel refresh queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0069] Based on the row address corresponding to the pixel number of the pixel in the first region in the pixel array, row addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner.

[0070] In this embodiment, during the process of refreshing the driving voltage of pixels on the LCOS display, row addressing is performed, while column addressing is achieved using single-column serial or multi-column parallel shifting. Therefore, during the refresh of the driving voltage, only the row address needs to be transmitted and stored, reducing the overhead of pixel addressing and improving the effective bandwidth utilization.

[0071] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0072] Obtain the column address in the pixel array of the LCOS display screen corresponding to the pixel number of the pixel in the first region;

[0073] The step of obtaining the driving voltage of the pixels in the first region from the pixel refresh queue and applying the driving voltage to the corresponding pixels in the pixel array of the LCOS display includes:

[0074] According to the priority of each pixel number in the adjusted pixel refresh queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0075] Based on the column address corresponding to the pixel number of the pixel in the first region in the pixel array, column addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner.

[0076] In this embodiment, during the process of refreshing the driving voltage of pixels on the LCOS display, column addressing is performed, while row addressing is achieved through single-row serial or multi-row parallel shifting. Therefore, during the refresh of the driving voltage, only column addresses need to be transmitted and stored, reducing the overhead of pixel addresses and improving the effective bandwidth utilization.

[0077] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0078] Without switching the output port of the optical signal at each input port of the WSS device, the driving voltage of the corresponding pixel on the LCOS display screen is refreshed in time intervals according to the priority of each pixel number in the pixel refresh queue, wherein one of the time intervals is less than the duration of one frame of image.

[0079] The pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0080] In this application, if the port of the WSS device does not switch, the LCOS device enters the LCOS image refresh process. Specifically, the refresh granularity is a time interval, where the time interval is shorter than the duration of an existing frame. Compared to refreshing according to the frame rate, the LCOS device has a shorter waiting time to receive port switching commands that may occur at any time, which helps to speed up the port switching process when it occurs subsequently.

[0081] Secondly, this application provides a communication device that has the function of implementing the method in the first aspect or any possible implementation thereof. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above-described function.

[0082] Thirdly, this application provides a WSS device, including the communication device as described in the second aspect or any possible implementation thereof.

[0083] Fourthly, this application provides a communication device including at least one processor coupled to at least one memory, the at least one processor being configured to execute a computer program or instructions stored in the at least one memory, causing the communication device to perform the method as described in the first aspect or any possible implementation thereof.

[0084] Fifthly, this application provides a communication device including a processor and a communication interface, the communication interface being used to receive signals and transmit the received signals to the processor, the processor processing the signals to cause the communication device to perform the method as described in the first aspect or any possible implementation thereof.

[0085] Optionally, the aforementioned communication interface can be an interface circuit, an input / output interface, etc., and the processor can be a processing circuit, a logic circuit, etc.

[0086] Optionally, the communication device described in the fifth aspect may be a chip or an integrated circuit.

[0087] In a sixth aspect, this application provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the method as described in the first aspect or any possible implementation thereof to be performed.

[0088] In a seventh aspect, this application provides a computer program product comprising computer program code that, when run on a computer, causes the method described in the first aspect or any possible implementation thereof to be executed.

[0089] Eighthly, this application provides an optical switching device, including the WSS device as described in the third aspect. Attached Figure Description

[0090] Figure 1 It is an N×N WSS device.

[0091] Figure 2 This is a schematic diagram of the N ports of a WSS device and the wavelength channels they support.

[0092] Figure 3 A flowchart of the wavelength selection method 300 based on a WSS device provided in this application.

[0093] Figure 4 An example of a first area on an LCOS display provided in this application.

[0094] Figure 5 Another example of the first area on the LCOS display provided in this application.

[0095] Figure 6 Another example of the first area on the LCOS display provided in this application.

[0096] Figure 7 A flowchart illustrating the pixel refresh method during port switching provided in this application.

[0097] Figure 8 A timing diagram of the pixel drive voltage refresh of the LCOS circuit module provided in this application.

[0098] Figure 9 An example of an LCOS circuit module provided in this application.

[0099] Figure 10 This is a schematic diagram of the internal implementation of the data processing unit of the LCOS circuit module.

[0100] Figure 11 Another example of the LCOS circuit module provided in this application.

[0101] Figure 12 Another example of the LCOS circuit module provided in this application.

[0102] Figure 13 A schematic block diagram of the communication device provided in this application.

[0103] Figure 14 A schematic structural diagram of the communication device provided in this application. Detailed Implementation

[0104] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0105] The technical solutions of this application can be applied to fields such as optical communication, optical switching, digital central networks, microwave photonics, liquid crystal antennas, optical phased arrays, beamforming, beam scanning, lidar, laser projection, laser television, holographic display, adaptive optics, laser beam shaping, laser processing, ultrafast laser pulse shaping, active laser imaging, optical tomography, and retinal imaging. For example, this technical solution can be used in optical switching devices (or optical switching structures) in these fields, such as the core components of reconfigurable optical add-drop multiplexers (ROADMs) and optical cross-connect (OXC) devices, i.e., WSS devices.

[0106] See Figure 1 , Figure 1 This is an N×N WSS device. For example... Figure 1 (a) is a front view of an N×N WSS device, meaning the WSS device has N input ports and N output ports, enabling all-optical connections between any pair of input and output ports. In other words, for an optical signal of any wavelength from the N input ports, it can be output from any one of the N output ports. It should be understood that... Figure 1 In (a), the number of input ports and output ports are equal, both being N, and this is only for illustrative purposes. In actual implementations, the number of input ports and output ports may not be equal, for example, 1×N, N×M, where N and M are both positive integers, etc.

[0107] Specifically, the main components of the WSS device include: an input port fiber array (101), an output port fiber array (106), beam splitters (102) and (105), and two-stage LCOS (103) and (104). Alternatively, LCOS (103) may be referred to as the first-stage LCOS and LCOS (104) as the second-stage LCOS. For different input ports, the first-stage LCOS can independently deflect the corresponding beam. For different output ports, the second-stage LCOS can independently deflect the corresponding beam.

[0108] To more intuitively illustrate the relationship between the beam deflection angles of the first-stage LCOS and the second-stage LCOS (where the deflection angles are equal), Figure 1 The refraction diagram is used in (a) to illustrate the concept.

[0109] like Figure 1 (b) is a top view of an N×N WSS device. The input port fiber arrays (101) and (106) are stacked. The optical signals transmitted in each input port fiber are wavelength division multiplexed, and each input port can support M wavelength channels. A beam splitter (102) splits the optical signals from each input port according to wavelength, and the corresponding beams are incident on the first-stage LCoS (103). A beam splitter (105) combines the output beams from the second-stage LCoS (104), and the corresponding multi-wavelength optical signals reach the output port. In specific device implementations, the beam splitter (102) and beam splitter (105) can be combined into a single device according to different optical designs, without limitation. For different wavelength channels, the first-stage LCoS (103) and the second-stage LCoS (104) can independently deflect the corresponding beams.

[0110] See Figure 2 , Figure 2 This is a schematic diagram of the N ports of a WSS device and the wavelength channels they support. (Example) Figure 2 Assuming the WSS device has N ports, each supporting M wavelength channels, it will form an N×M beam array. This N×M beam array is the LCOS image of the WSS device, where each beam is called a sub-image. Correspondingly, the LCOS (103) and LCOS (104) of the WSS device are divided into N×M pixel regions to adjust the deflection of the corresponding light beams. Each sub-image in the LCOS image corresponds to a pixel region of the LCOS display screen.

[0111] See Figure 3 , Figure 3 A flowchart of the wavelength selection method 300 based on a WSS device provided in this application.

[0112] Optionally, method 300 can be performed by an LCOS device in the WSS device (e.g., Figure 1 The execution may be performed by 103 or 104 in the LCOS device, or by a chip, integrated circuit, or other device with the corresponding function of the LCOS device described in this application integrated into the LCOS device, without limitation. The following uses the LCOS device as the execution subject for example illustration.

[0113] 310. The LCOS device obtains the port status information of the WSS device.

[0114] The port status information includes information that the optical signal of the first wavelength at the first input port of the WSS device will be switched from the first output port to the second output port.

[0115] Taking a WSS device with N input ports, each supporting M wavelengths, as an example, the port status information of the WSS device is used to indicate whether the optical signal from the input port is being output from the output port. Examples include "Input port n switching," "Input port n connected to output port m," and "Input port n closed, not connected to any output port." It should be understood that input port n refers to any one of the input ports of the WSS device, and output port m refers to any one of the output ports of the WSS device.

[0116] The technical solution of this application does not limit the number of input ports and output ports of the WSS device. For example, the technical solution of this application can be applied to LCOS-based WSS devices, such as N×N WSS devices, N×L WSS devices, and 1×N WSS devices. In this application, it is assumed that the WSS device contains N input ports, each input port supports M wavelengths, and N and M are both positive integers.

[0117] Based on the port status of the WSS device, the LCOS device determines whether a port switch has occurred. If no port switch has occurred, the LCOS device enters the LCOS image refresh process. Specifically, the LCOS image is refreshed on a time interval basis, where each time interval is shorter than the duration of one frame. The LCOS image refresh process will be described in detail below.

[0118] If a port switch occurs in the WSS device, the LCOS device enters the port switching process. In the event of a port switch in the WSS device, the port status information includes information about the port that was switched (hereinafter referred to as the switched port). For example, information about the optical signal of the first wavelength at the first input port being switched from the first output port to the second output port, where the first input port refers to any one of the N input ports, and the first wavelength is any one of the M wavelengths.

[0119] The following example illustrates the technical solution of this application. When multiple ports of the WSS device are switched, the processing of each switched port is the same as the processing of a single port switch.

[0120] For clarity and conciseness, the input port where the port switching occurs will be referred to as the first input port. The first input port can be any one of the N input ports of the WSS device. As mentioned above, each of the N input ports supports M wavelengths; therefore, the first input port also supports M wavelengths. Here, it is assumed that the output port of the first wavelength optical signal from the first input port will be switched from the first output port to the second output port. The first output port and the second output port can be any two different output ports of the WSS device.

[0121] 320. The LCOS device updates the sub-image corresponding to the optical signal of the first wavelength at the first input port in the LCOS image of the WSS device to the first sub-image.

[0122] When the port of the WSS device is switched, the local image corresponding to the switched port in the LCOS image will change. Specifically, for any wavelength of optical signal from any input port of the WSS device, when the optical signal is output from different output ports, the optical signal of that wavelength from that input port will correspond to different sub-images in the LCOS image.

[0123] For example, the wavelength of the m-th input port of the WSS device is λ. K When the optical signal is output from the nth output port, the wavelength of the mth input port is λ. K The optical signal corresponds to a sub-image (e.g., sub-image 1) in the LCOS image. When the wavelength of the m-th input port is λ K When the optical signal is switched to the p-th output port, the wavelength of the m-th input port is λ. K The optical signal will be adjusted into a new sub-image (e.g., sub-image 2) in the LCOS image, where the m-th input port is any one of the input ports of the WSS device, and the n-th and p-th output ports are any two different output ports of the WSS device, λ K Let K be any one of the M wavelengths supported by the m-th input port, where K is a positive integer and K≤M.

[0124] In other words, for any input port of the WSS device, switching any wavelength from one output port to another will cause the local image in the LCOS image corresponding to the optical signal of that wavelength at that input port to be updated to another sub-image. This correspondence can be pre-stored in the LCOS device. When the LCOS device acquires port status information and determines that some ports of the WSS device have switched, the LCOS device updates the sub-image in the LCOS image corresponding to the specific wavelength optical signal of the switched port (i.e., the optical signal of the wavelength switched at the output port) according to the pre-stored correspondence.

[0125] For example, when the optical signal of the first wavelength at the first input port needs to be switched from the first output port to the second output port, the LCOS device updates the local image in the LCOS image of the WSS device corresponding to the optical signal of the first wavelength at the first input port. The updated local image is called the first sub-image.

[0126] 330. The LCOS device refreshes the driving voltage of pixels in a first region on the LCOS display screen according to the first sub-image, wherein the first region includes a first pixel region on the LCOS display screen corresponding to the first sub-image.

[0127] As mentioned above, the first sub-image refers to the local image in the LCOS image that corresponds to the optical signal of the first wavelength at the first input port.

[0128] Furthermore, for clarity and conciseness, the driving voltage required to be applied to the pixels in the pixel area corresponding to the first sub-image on the LCOS display screen (hereinafter referred to as the first pixel area) when the first wavelength optical signal of the first input port is output from the second output port is referred to as the first driving voltage.

[0129] It should be noted that the driving voltage of each pixel in the first pixel region is called the first driving voltage. However, the first driving voltage of different pixels in the first pixel region can be different.

[0130] like Figure 2 As shown, the pixel regions corresponding to the first-level LCOS and the second-level LCOS of the WSS device are each divided into N×M regions. Correspondingly, the LCOS image is divided into N×M sub-images, each sub-image corresponding to a pixel region on the LCOS display screen. The pixel region corresponding to the first sub-image on the LCOS display screen is called the first pixel region.

[0131] Based on the principle of LCOS beam deflection, when the light signal of the first wavelength at the first input port is switched from the first output port to the second output port, the driving voltage of the pixels in the first pixel region will also change accordingly. Based on the image data of the first sub-image, the driving voltage required for the pixels in the first sub-pixel region, i.e., the first driving voltage, can be calculated when the light signal of the first wavelength at the first input port is output from the second output port.

[0132] In different embodiments of this application, the first region in step 330 refers to different pixel regions on the LCOS display screen.

[0133] For example, in one implementation, the first region refers to the pixel region on the LCOS display screen corresponding to the light signal of the first wavelength of the first input port, that is, the first pixel region in this article.

[0134] In another implementation, the first region refers to the pixel area on the LCOS display screen corresponding to the first input port. In this case, the range of the first region is larger than the range of the first pixel area.

[0135] In another implementation, the first region refers to the pixel region on the LCOS display screen corresponding to the optical signal of the first wavelength at the N input ports of the WSS device. In this case, the range of the first region is larger than the range of the first pixel region.

[0136] It should be understood that the range of the first region is greater than the range of the first pixel region, meaning that the number of pixels contained in the first region is greater than the number of pixels in the first pixel region.

[0137] The different implementation methods described above will be explained in detail below.

[0138] 340. The LCOS device refreshes the driving voltage of pixels in areas other than the first area on the LCOS display screen.

[0139] The LCOS device first refreshes the driving voltage of the pixels in the first region of the LCOS display screen, and then refreshes the driving voltage of the pixels in other regions of the LCOS display screen other than the first region.

[0140] Combining steps 330 and 340, after the WSS device performs a port switch, the LCOS device first refreshes the driving voltage of the pixels in the first area on the LCOS display screen, and then refreshes the driving voltage of the pixels in other areas outside the first area, thus completing the refresh of the driving voltage of the pixels on the LCOS display screen.

[0141] The following sections will explain the refresh process of the driving voltage of pixels on the LCOS display screen for several different situations in the first region mentioned above.

[0142] In this application, after a port switch occurs, the driving voltage of the pixels on the LCOS display is refreshed according to priority.

[0143] To refresh the driving voltages of pixels on the LCOS display according to priority, the LCOS device maintains a pixel refresh queue. For example, as one implementation, before a port switch occurs in the WSS device, the LCOS device generates an initial pixel refresh queue, which includes the driving voltages of the pixels corresponding to the N input ports of the WSS device on the LCOS display. The LCOS device refreshes the driving voltages of each pixel on the LCOS display according to the correspondence between the driving voltages in the pixel refresh queue and the pixels on the LCOS display, thereby driving the liquid crystal of the LCOS display to operate.

[0144] When the output port of the first wavelength optical signal at the first input port is switched, the sub-image corresponding to the first wavelength optical signal at the first input port in the LCOS image is updated to a new sub-image, which is the first sub-image. The LCOS device calculates the driving voltage (denoted as the first driving voltage) of the pixels in the first pixel region corresponding to the first sub-image on the LCOS display screen based on the image data of the first sub-image, and updates the driving voltage of the pixels in the first pixel region contained in the pixel refresh queue to the driving voltage calculated based on the image data of the first sub-image, that is, updates it to the first driving voltage. Then, the LCOS device drives the liquid crystal of the pixels in the first pixel region to operate by refreshing the driving voltage of the pixels in the first pixel region to the driving voltage calculated based on the image data of the first sub-image.

[0145] Optionally, the pixel refresh queue includes, in addition to the driving voltages of the pixels corresponding to the N input ports of the WSS device on the LCOS display screen, the pixel number of the pixel corresponding to each port of the WSS device on the LCOS display screen. Each pixel number has a corresponding priority in the pixel refresh queue, and the priority of each pixel number is consistent with the refresh priority of the driving voltage of the pixel corresponding to that pixel number. Alternatively, it can be said that the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to that pixel number.

[0146] After a port switch occurs, the LCOS device adjusts the priority of some pixel numbers to be higher than that of other pixel numbers, and refreshes the driving voltage of the corresponding pixel number according to the adjusted priority from high to low, thereby realizing the refreshing of the driving voltage of the pixel according to the priority.

[0147] (1) The first region is the first pixel region.

[0148] In this implementation, when the output port of the first wavelength optical signal at the first input port switches, the LCOS device adjusts the priority of the pixel numbers of the pixels in the first pixel region corresponding to the first wavelength optical signal at the first input port on the LCOS display screen, which are contained in the pixel refresh queue, to a higher priority than the pixel numbers of other pixels on the LCOS display screen. Then, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the adjusted priority of each pixel number in the pixel refresh queue.

[0149] Since the pixel number of the pixels in the first pixel area is adjusted to the highest, the driving voltage of the pixels in the first pixel area on the LCOS display is refreshed first, while the pixels outside the first pixel area on the LCOS display are refreshed according to the priority of the corresponding pixel number in the adjusted pixel refresh queue.

[0150] See Figure 4 , Figure 4 An example of a first area on an LCOS display provided in this application. Figure 4 The WSS device includes 5 input ports, each supporting 7 wavelengths. Assuming the output port of the 5th wavelength optical signal from the 3rd input port of the WSS device switches, the LCOS device can prioritize refreshing the area on the LCOS display screen corresponding to the 5th wavelength optical signal from the 3rd input port (e.g.,...). Figure 4 The first pixel region in the algorithm refreshes the driving voltage of the pixels in the first pixel region, and then refreshes the driving voltage of the pixels in other regions. Specifically, the refresh order of the driving voltage of the pixels in other regions depends on the priority of each pixel number in the adjusted pixel refresh queue, which will not be elaborated further.

[0151] In this implementation, the first region is the first pixel region. Specifically, the first region is the region composed of pixels in corresponding columns of multiple rows corresponding to the first input port in the pixel array, where the corresponding columns are multiple columns in the multiple rows that correspond to the first wavelength.

[0152] This method of refreshing the driving voltage of pixels on an LCOS display can be explained in detail below. Figures 9-10 The addressing scheme provided in the code is implemented.

[0153] (2) The first region is the pixel region on the LCOS display screen corresponding to the first input port.

[0154] In this implementation, when the output port of the first wavelength optical signal from the first input port switches, the LCOS device adjusts the priority of the pixel numbers of the pixels in the pixel region corresponding to the first input port on the LCOS display screen, which is included in the pixel refresh queue, to a higher priority than the pixel numbers of the other (N-1) input ports of the WSS device corresponding to the pixels on the LCOS display screen. The pixel region corresponding to the first input port on the LCOS display screen is defined as the first region, that is, the pixel region corresponding to the M wavelengths of the optical signal from the first input port on the LCOS display screen. Then, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the adjusted priority of each pixel number in the pixel refresh queue.

[0155] Since the pixel number of the pixel in the first area corresponding to the first input port on the LCOS display is adjusted to the highest, the driving voltage of the pixel in the first area on the LCOS display is refreshed first, while the pixels outside the first area on the LCOS display are refreshed according to the priority of the corresponding pixel number in the adjusted pixel refresh queue.

[0156] See Figure 5 , Figure 5 Another example of the first area on the LCOS display provided in this application. For example... Figure 5 The WSS device includes 5 input ports, each supporting 7 wavelengths. Assuming the output port of the 5th wavelength optical signal from the 3rd input port of the WSS device switches, the LCOS device can prioritize refreshing the area on the LCOS display screen corresponding to the 3rd input port (e.g., ...). Figure 5 The first region (in the pixel queue) is refreshed first, followed by the pixel driving voltages of the other regions. Specifically, the refresh order of the driving voltages of the pixels in the other regions depends on the priority of each pixel number in the adjusted pixel refresh queue, which will not be elaborated further.

[0157] In this implementation, the range of the first region is larger than the range of the first pixel region. Specifically, the first region is the area composed of all pixels in multiple rows corresponding to the pixel array of the first input port on the LCOS display screen.

[0158] This method of refreshing the driving voltage of pixels on an LCOS display can be explained in detail below. Figure 11 The addressing scheme provided in the code is implemented.

[0159] (3) The first region is the pixel region on the LCOS display screen corresponding to the optical signal of the first wavelength of the N input ports of the WSS device.

[0160] In this implementation, when the output port of the first wavelength optical signal of the first input port is switched, the LCOS device adjusts the priority of the pixel number of the pixel in the pixel area corresponding to the first wavelength optical signal of the N input ports of the WSS device on the LCOS display screen to be higher than the priority of the pixel number of the other wavelengths (specifically the remaining M-1 wavelengths) optical signals of the N input ports of the WSS device on the LCOS display screen. The sum of the pixel areas corresponding to the first wavelength optical signal of each of the N input ports on the LCOS display screen is defined as the first area.

[0161] Subsequently, the LCOS device refreshes the driving voltage of the pixels on the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue. Since the pixel number of the pixels in the first region corresponding to the first wavelength of the optical signal of the N input ports on the LCOS display screen is adjusted to the highest, the driving voltage of the pixels in the first region on the LCOS display screen is refreshed first, while the pixels outside the first region on the LCOS display screen are refreshed according to the priority of the corresponding pixel number in the adjusted pixel refresh queue.

[0162] See Figure 6 , Figure 6 Another example of the first area on the LCOS display provided in this application. Figure 6 The WSS device includes 5 input ports, each supporting 7 wavelengths. Assuming the output port of the 5th wavelength optical signal from the 3rd input port of the WSS device switches, the LCOS device can prioritize refreshing the area on the LCOS display screen corresponding to the 5th wavelength of each input port (e.g., ...). Figure 6 The first region (in the pixel queue) is refreshed first, followed by the pixel driving voltages of the other regions. Specifically, the refresh order of the driving voltages of the pixels in the other regions depends on the priority of each pixel number in the adjusted pixel refresh queue, which will not be elaborated further.

[0163] In this implementation, the range of the first region is larger than the range of the first pixel region. Specifically, the first region is the area composed of all the pixels in multiple columns corresponding to the first wavelength optical signal of all input ports (i.e., N input ports) of the WSS device in the pixel array of the LCOS display screen.

[0164] This method of refreshing the driving voltage of pixels on an LCOS display can be explained in detail below. Figure 12The addressing scheme provided in the code is implemented.

[0165] It can be seen that in the first refresh method, the first region is actually the first pixel region, that is, the pixel region corresponding to the first wavelength light signal of the first input port on the LCOS display screen.

[0166] In both the (2nd) and (3rd) refresh methods, the first region is larger than the first pixel region.

[0167] Specifically, in the second refresh method, the first region includes not only the first pixel region, but also the pixel regions on the LCOS display screen corresponding to the light signals of other wavelengths (specifically, the remaining M-1 wavelengths other than the first wavelength) of the first input port.

[0168] In the (3) refresh method, the first region includes not only the first pixel region, but also the pixel regions on the LCOS display screen corresponding to the first wavelength light signals of the other input ports of the WSS device, excluding the first input port.

[0169] In the above-mentioned refresh methods (2) and (3), the driving voltage of the pixels in the first region is refreshed first, and then the driving voltage of the pixels in other regions outside the first region is refreshed. Compared with refreshing the entire LCOS display screen in a fixed order of pixel numbers, the waiting time can be reduced and the port switching can be accelerated.

[0170] Alternatively, LCOS devices can also use refresh methods other than the three refresh methods mentioned above.

[0171] For example, the LCOS device prioritizes refreshing the driving voltage of the pixels in the first pixel region. After refreshing the driving voltage of the pixels in the first pixel region, it refreshes the driving voltage of the pixels in the corresponding pixel regions of the other (M-1) wavelength light signals from the first input port on the LCOS display screen. That is, the refresh priority of the driving voltage of the pixels in the first pixel region corresponding to the first wavelength light signal that has changed at the first input port on the LCOS display screen is higher than the refresh priority of the driving voltage of the pixels in the corresponding pixel regions of the other wavelength light signals that have not changed at the first input port on the LCOS display screen.

[0172] Furthermore, after the LCOS device refreshes the driving voltage of the pixels in the corresponding pixel areas of the first wavelength and other wavelength light signals at the first input port on the LCOS display screen, it refreshes the driving voltage of the pixels in the corresponding pixel areas of the other N-1) input ports on the LCOS display screen.

[0173] For example, as a refresh method, after the LCOS device refreshes the first pixel area corresponding to the first wavelength of the first input port, it then refreshes the pixel areas corresponding to other wavelengths of light signals from the first input port on the LCOS display screen. After refreshing all pixel areas corresponding to the first input port on the LCOS display screen, the pixel areas corresponding to other input ports of the WSS device besides the first input port on the LCOS display screen are then refreshed.

[0174] For example, an LCOS display screen is divided into 50 pixel regions, numbered sequentially from 1 to 50. According to existing methods, refresh is performed in ascending order of pixel region numbers, starting from pixel region number 1 and ending at pixel region number 50. Within each pixel region, refresh is performed in ascending order of pixel numbers. In one embodiment provided in this application, it is assumed that the pixel regions corresponding to the first input port include pixel regions numbered 21-25, where the first pixel region is pixel region number 23. After the LCOS device starts refreshing, it first refreshes the driving voltage of the pixels in pixel region number 23, and then sequentially refreshes the driving voltage of the pixels in pixel regions numbered 21, 22, 24, and 25. Afterward, the LCOS device continues refreshing from the next pixel region numbered after 25, i.e., pixel region number 26. Within each pixel region, the LCOS device can refresh in ascending order of pixel numbers.

[0175] For example, an LCOS display is divided into 50 pixel regions, numbered sequentially from 1 to 50. Assume the first input port corresponds to pixel regions 21-25 on the LCOS display, where the first pixel region is pixel region 23. After starting refresh, the LCOS device first refreshes the driving voltage of the pixels in pixel region 23, then sequentially refreshes the driving voltage of the pixels in pixel regions 21, 22, 24, and 25. Afterward, the LCOS device returns to pixel region 1 and continues refreshing sequentially. After refreshing the driving voltage of the pixels in pixel region 20, it skips pixel regions 21-25 and refreshes the driving voltage of the pixels in pixel region 26. After refreshing the driving voltage of the pixels in pixel region 26, it continues to sequentially refresh the driving voltage of pixel region 27, and then the pixels in pixel regions after 27. Within each pixel region, the LCOS device can refresh in ascending order of pixel number.

[0176] from Figure 3As can be seen from the illustrated process, in this application, when the port of the WSS device is switched, the driving voltage of the pixel corresponding to the switched port on the LCOS display has a higher refresh priority than the driving voltage of the pixel corresponding to the port that has not been switched on the LCOS display. In other words, the LCOS device prioritizes refreshing the driving voltage of the pixels in the pixel area corresponding to the switched port. Compared to refreshing the driving voltage of the pixels on the LCOS display in a fixed order of pixel numbers (e.g., refreshing in ascending order of pixel numbers on the LCOS display), this facilitates faster port switching.

[0177] See Figure 7 , Figure 7 A flowchart illustrating the method for refreshing pixel voltage during port switching provided in this application.

[0178] 401. Start the WSS device.

[0179] 402. The LCOS device determines whether it has received a port switching command.

[0180] If the LCOS device does not receive a port switching command, proceed to step 406 to begin the LCOS image refresh process. If the LCOS device receives a port switching command, execute step 403 to begin the port switching process. These will be explained separately below.

[0181] It should be noted that, in this application, "frame" refers to a single image, the smallest unit in the field of image processing. A frame is a still image; consecutive frames form animation, such as television images. Frame rate refers to the number of frames or images displayed per second.

[0182] (1) The refresh process of LCOS image.

[0183] Typically, image refresh is done in frames at a frequency of 60Hz. However, in the embodiments of this application, during the refresh process of an LCOS image, a frame is divided into smaller units for refresh, wherein these smaller units are referred to as "time intervals" in this application.

[0184] Specifically, the LCOS device refreshes the LCOS image in units of a "time interval".

[0185] It is understood that, relative to a "frame," the duration of a "time interval" is shorter than the duration of a frame. Therefore, a time interval in the embodiment can also be called a "subframe." That is, a frame will be divided into multiple subframes for refreshing. The refreshing process refreshes the driving voltage of the pixels on the LCOS display screen according to a certain pixel numbering order.

[0186] For example, the LCOS device refreshes the driving voltage of pixels on the LCOS display screen according to a pixel refresh queue. As one implementation, the pixel refresh queue includes the pixel numbers of the pixels corresponding to each input port of the WSS device on the LCOS display screen. The priority of each pixel number in the pixel refresh queue corresponds to the refresh priority of the driving voltage of the pixel corresponding to that pixel number. That is, the priority of a pixel number in the pixel refresh queue represents the refresh priority of the driving voltage of the pixel corresponding to that pixel number relative to the driving voltages of other pixels on the LCOS display screen.

[0187] Alternatively, as one implementation, the pixel refresh queue in this document may only include the pixel numbers of the pixels on the LCOS display. That is, the pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports of the WSS device on the LCOS display, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to that pixel number.

[0188] The LCOS device refreshes the driving voltage of pixels on the LCOS display screen according to the priority of each pixel in the pixel refresh queue. For this pixel refresh queue, the initial order of pixel numbers is ascending. If no port switching has ever occurred, the LCOS device refreshes the pixels sequentially in ascending order of pixel numbers. If a port switching has occurred, the pixel corresponding to the switched port on the LCOS display screen has a higher refresh priority than other pixels. In this case, the refresh priority of the driving voltage of each pixel corresponding to a pixel number in the pixel refresh queue is arranged according to the pixel number of the pixel region corresponding to the switched port and the pixel numbers of the pixels in the other pixel regions (i.e., those corresponding to ports that have not switched), where the pixel number of the pixel region corresponding to the switched port has a relatively higher priority.

[0189] For example, suppose that the priority of pixel numbers at the front of the pixel refresh queue is higher than the priority of pixel numbers at the back, and the priority decreases sequentially from the front to the back. Then, in the pixel refresh queue, the pixel numbers of pixels in the pixel region corresponding to the port that has been switched are located at the front of the pixel refresh queue, and the pixel numbers of pixels in the pixel region corresponding to the port that has not been switched are located after the pixel numbers of pixels in the pixel region corresponding to the switched port.

[0190] For example, if the output port of the first wavelength optical signal of the m-th input port out of the N input ports of the WSS device is switched, the LCOS device can first adjust the priority of the pixel number corresponding to the first wavelength optical signal of the m-th input port in the pixel refresh queue to a higher priority than the pixel numbers of other pixels. Then, according to the adjusted priority of each pixel number in the pixel refresh queue, the driving voltage of each pixel on the LCOS display screen is refreshed.

[0191] For example, suppose the WSS device includes 10 input ports, each input port supports 50 wavelengths, the pixel array size is 2000×1000, and the pixel refresh queue includes 100 pixels, wherein each wavelength of each input port corresponds to a pixel sub-block of size 200×20 in the pixel array.

[0192] The pixel refresh queue is sorted in ascending order according to the pixel numbers of the pixels corresponding to the 10 input ports. From the head to the tail of the queue, the priority of the pixel numbers decreases sequentially.

[0193] Assuming the output port of the fifth wavelength optical signal from the third input port switches, the priority of the pixel number corresponding to the fifth wavelength optical signal from the third input port on the LCOS display screen is adjusted to be higher than the priority of the pixel numbers of other pixels on the LCOS display screen. That is, the pixel numbers in the range of 416001 to 420000 are moved to the front of the pixel refresh queue, indicating that the priority of pixel numbers in this range is higher than the priority of other pixel numbers. During the process of refreshing the pixel driving voltage, the driving voltage of pixels with pixel numbers 416001 to 420000 on the LCOS display screen is refreshed first, followed by pixels with pixel numbers 1-416000 and pixels with pixel numbers 420001-2000000.

[0194] Alternatively, as another example, the LCOS device may not adjust the priority position of the pixel number of the pixel corresponding to the switching port in the pixel refresh queue. Instead, after determining the range of pixel numbers corresponding to the switching port on the LCOS display, it may directly refresh the driving voltage of the pixel corresponding to the switching port on the LCOS display, and then refresh the driving voltage of other pixels.

[0195] Furthermore, within the switching port, the driving voltage of the pixels in the corresponding pixel area on the LCOS display screen for the switched wavelength light signal has a higher refresh priority than the driving voltage of the pixels in the corresponding pixel area on the LCOS display screen for the unswitched wavelength light signal.

[0196] For example, if the first input port supports a total of M wavelengths, and the output port of the first wavelength is switched, then during the process of refreshing the driving voltage of the pixels in the pixel area corresponding to the first input port, the driving voltage of the pixels in the pixel area (i.e., the first pixel area) corresponding to the first wavelength of the first input port is refreshed first, and then the driving voltage of the pixels in the pixel areas corresponding to the light signals of the other (M-1) wavelengths of the first input port is refreshed.

[0197] 406. The LCOS device calculates or queries the driving voltage of the pixel corresponding to the port.

[0198] 407. The driving voltage for refreshing pixels in LCOS devices.

[0199] Step 406: First, calculate or query the driving voltage of the pixel corresponding to the port. If the cached image data changes, the driving voltage of the pixels within the pixel region corresponding to the changed image data needs to be recalculated. If the cached image data has not changed, the driving voltage of the pixel can be directly queried, and the pixel driving voltage is refreshed in step 407.

[0200] 408. The LCOS device calculates or queries the driving voltage of pixels in other parts.

[0201] 409. The LCOS device refreshes the driving voltage of other pixels.

[0202] Step 408: First, the LCOS device calculates or queries the driving voltage of the pixel corresponding to the port. If the image data cached by the LCOS device changes, the driving voltage of the pixels within the pixel region corresponding to the changed image data needs to be recalculated. If the image data cached by the LCOS device has not changed, the LCOS device can directly query the pixel's driving voltage and refresh the pixel's driving voltage in step 409.

[0203] 410. Subframe refresh complete.

[0204] After the subframe refresh is complete, proceed to step 411 to determine whether the frame refresh is complete.

[0205] 411. The LCOS device determines whether frame refresh is complete.

[0206] If not, return to step 402 to determine if a port switching command has been received. If yes, proceed to step 412 to complete image display and connect the port. After the port is connected, return to step 402 again, and repeat this cycle.

[0207] 412. Display LCOS image, port connected.

[0208] (2) Port switching process.

[0209] In step 402 above, the LCOS device determines whether it has received a port switching command. If so, it proceeds to step 403 to enter the port switching process.

[0210] 403. The LCOS device obtains the status and number of the port to be switched based on the port switching command.

[0211] For example, the port switching command is used to instruct the wavelength of input port a to be λ. n The optical signal is switched to output port b for output.

[0212] 404. When the computing port of the LCOS device is switched, the updated image data of the local image corresponding to the switched port in the LCOS image.

[0213] It should be noted that when the port is switched, only a part of the LCOS image changes. Step 404 only calculates the image data of the changed part, and no longer calculates the image data of the entire LCOS image.

[0214] 405. The LCOS device stores the updated image data of the local image into the LCOS cache.

[0215] Subsequently, based on the updated (i.e., changed) image data of the local image and the pixel refresh queue, the LCOS device executes step 406 and subsequent steps to complete the frame refresh process and the display of the LCOS image. Finally, the port is turned on, that is, the port switching is completed, and the wavelength of input port a is λ. n The optical signal is switched to output port b for output.

[0216] To achieve a fast WSS and its refresh process, improvements are needed to the existing LCOS and its circuit modules. For example... Figure 8 , Figure 8 A timing diagram of the pixel drive voltage refresh of the LCOS circuit module provided in this application.

[0217] from Figure 8 It can be seen that the technical solution of this application adopts two different driving methods.

[0218] One driving method is to refresh the image data of local images according to time intervals (or subframes), where each time interval is shorter than the duration of a single image frame. In WSS applications, sudden port switching requirements often arise, and usually only a few ports need to be switched. Therefore, only the local image corresponding to the switched port in the LCOS image changes. For any sudden changes in the local image, assuming they occur at time interval (j-1), the image data of the changed local image is processed at time interval j to refresh the image data.

[0219] Another driving method is to refresh the pixel driving voltage according to priority, rather than according to the fixed order of pixel numbers. Specifically, for the local image corresponding to the port that is being switched, after its image data is updated, the updated image data of that local image is converted into a voltage signal. During the process of refreshing the pixel driving voltage, the driving voltage of the pixels within the corresponding pixel area of ​​that local image on the LCOS display is refreshed first, and then the driving voltage of the pixels in other pixel areas is refreshed. For example... Figure 8 When the driving voltage of the pixels within the pixel region corresponding to the local image is refreshed, the liquid crystal corresponding to that pixel region begins to respond. The response time of the liquid crystal depends on the change in the applied voltage (or electric field).

[0220] Taking a pixel within the corresponding pixel region of this local image as an example, assuming the pixel number is k, then the corresponding switching time t SW As shown in equation (1):

[0221] t SW,k =T subFRM,i -T UPD +k×t PIX +t LC,k (1)

[0222] Among them, T subFRM,i The start time of the current subframe i is given by the frame duration t. subFRM For T subFRM,i –T subFRM,i-1 And, the number of pixels corresponding to the image data of the local image is N. a ×M a .

[0223] Correspondingly, the longest switching time is shown in equation (2):

[0224] t SW-MAX =t SubFRM +N a ×M a ×t PIX +t LC-MAX (2)

[0225] For example, assume the frame rate is 60Hz, i.e., the frame duration is t. FRM It is approximately 15ms. If a frame is divided into 3 subframes, then the duration of each subframe is t. SubFRM The time is approximately 5ms. The number of pixels corresponding to the image data of the local image is N. a =200, M a =10, the time t for one pixel to complete voltage refresh. PIX =2.5ns, the maximum duration t of the liquid crystal response LC-MAX =10ms, then the calculated longest switching time t SW-MAX It takes about 15ms.

[0226] The LCOS circuit module provided in this application is described below.

[0227] See Figure 9 , Figure 9 An example of the LCOS circuit module provided in this application. Figure 9 The LCOS circuit module includes the following units: a port status control unit (501), a local image data generation unit (502), a data buffer unit (503), a block address lookup table (504), a data processing unit (505), a row addressing unit (506), a voltage driving unit (507), a column addressing unit (508), and a pixel array unit (509). The pixel array unit (509) contains multiple rows and columns of pixels, for example... Figure 9 The pixels shown are (510). Optionally, these units can be uniformly integrated on a single silicon chip or discretely implemented on multiple silicon chips or board-level circuits.

[0228] It should be understood that the function of the LCOS circuit module is to convert the image data corresponding to the switched port output by the port status control unit (501) into the driving voltage of the pixel (510) in the pixel array unit (509), thereby driving the liquid crystal of the LCOS display screen to work.

[0229] For the sake of brevity, the port that is switched will be referred to as the switched port below.

[0230] During the operation of the WSS device, when the port status control unit (501) receives an instruction to switch certain ports, it transmits the port status of the switched port to the local image data generation unit (502) and the port number of the switched port to the block address lookup table (504). The local image data generation unit (502) generates updated image data of the local image corresponding to the switched port based on the port status and transmits it to the data cache unit (503). The block address lookup table (504) retrieves the pixel number corresponding to the updated image data of the local image based on the port number of the switched port and transmits it to the data cache unit (503).

[0231] Furthermore, the data processing unit (505) extracts the updated image data and its pixel number of the local image from the data cache unit (503) in time intervals and performs data processing.

[0232] For example, the internal modules of the data processing unit (505) are as follows: Figure 10 As shown, Figure 10 This is a schematic diagram of the internal implementation of the data processing unit of the LCOS circuit module.

[0233] like Figure 10 The data processing unit (505) mainly includes a timing control unit (511), a voltage conversion module (512), and a pixel refresh queue (513). The front end of the pixel refresh queue is the voltage signal data converted from the updated image data of the local image and its corresponding pixel number, and the back end is the voltage signal data converted from other image data that changed in the previous frame and its corresponding pixel number. Specifically, the pixel refresh queue is arranged from latest to oldest according to the occurrence time of port switching, wherein pixels corresponding to the same port are arranged in ascending order of pixel number.

[0234] The voltage conversion module (512) converts the image data into a voltage signal and adds it to the pixel refresh queue (513). The timing control unit (511) controls the voltage conversion module (512) and the pixel refresh queue (513) to output the voltage signal and address signal corresponding to each pixel according to the subframe frequency.

[0235] Further, the data processing unit (505) transmits the row address and column address corresponding to the pixel number in the pixel array unit (509) to the row addressing unit (506) and column addressing unit (508) respectively for addressing and enabling writing. The data transmission unit (505) transmits the corresponding voltage signal to the voltage driving unit (507), which then loads the voltage signal into the corresponding pixel (510) in the pixel array unit (509), thereby completing the refresh of the driving voltage of each pixel.

[0236] It can be seen that, Figure 9 During the process of refreshing the driving voltage of the pixels, the LCOS circuit module obtains the row and column addresses of the changed local image in the pixel array of the LCOS display. Therefore, the LCOS circuit module can accurately determine which pixels need to be refreshed first by addressing in the pixel array.

[0237] The following is about Figure 9 The process of refreshing the pixel's driving voltage is illustrated with an example.

[0238] For example, assuming the pixel array unit (509) contains 2000×1000 pixels, the WSS device has N=10 ports, and each port supports M=50 wavelength channels, then each wavelength of light signal corresponds to a pixel area composed of 200×20 pixels in the pixel array unit (509) of the LCOS display. Figure 2 The pixel numbers of each pixel are arranged in ascending order from bottom left to right. For pixel array unit (509), the row numbers are arranged in ascending order from bottom to top, and the column numbers are arranged in ascending order from left to right.

[0239] After the LCOS circuit module starts, the initial pixel refresh queue (513) is arranged in ascending order of pixel number. The LCOS circuit module calculates or queries the driving voltage of the pixel according to the subframe frequency and refreshes it. In addition, it monitors whether a port switching command is received according to the subframe frequency.

[0240] When the port status control unit (501) receives a port switching command, for example, a switch between the 3rd input port and the 5th wavelength output port of the WSS device, it waits for the previous subframe to complete. Upon entering the current subframe, the port switching command is detected, and the current subframe is refreshed. First, the corresponding local image in the LCOS image is calculated, and the image data of this local image is loaded into the LCoS buffer, such as... Figure 6 The data buffer unit (503) then sorts the pixel refresh queue according to priority. Since the output port of the fifth wavelength optical signal from the third input port switches, the pixels in the corresponding pixel region (pixel numbers from 416001 to 420000) of the image data of the fifth wavelength optical signal from the third input port are arranged at the front of the pixel refresh queue, and at the back according to pixel numbers from 1 to 416000 and pixel numbers from 420001 to 2000000. The driving voltage of each pixel is calculated or queried according to the order set in this pixel refresh queue, and then refreshed.

[0241] It should be understood that the WSS device includes 10 input ports, each supporting 50 wavelengths, and the pixel array unit (509) contains 2000×1000 pixels. According to the correspondence between the LCOS image and the pixel array unit (509), each input port corresponds to 200 rows in the pixel array unit (509), and each wavelength of optical signal corresponds to 20 columns in the pixel array unit (509). It should also be understood that the input ports can correspond to columns in the pixel array unit (709), and each wavelength of optical signal can correspond to rows in the pixel array unit (709); this application does not limit this.

[0242] As in the example above, if the output port of the optical signal of the fifth wavelength at the third input port is switched, according to... Figure 3 In step 340, the first method of refreshing the driving voltage of the pixel (1) involves the LCOS device preferentially refreshing the pixel region (i.e., the first pixel region) corresponding to the fifth wavelength optical signal at the third input port in the pixel array unit (509). Specifically, the first pixel region is the area composed of the pixels in rows 401-600, columns 81-100, in the pixel array unit (509). In this example, the first pixel region and the first region are the same.

[0243] It can be seen that refreshing local image data at subframe frequency reduces waiting time and computational load compared to refreshing global image data at frame frequency in existing schemes. Furthermore, refreshing pixel driving voltages according to priority reduces waiting time compared to refreshing pixel driving voltages in a fixed order in existing schemes, thereby enabling rapid port switching in the WSS device.

[0244] Meanwhile, the technical solution of this application can also decouple the refresh duration of the pixel driving voltage from the pixel resolution scale and from the subframe frequency or frame frequency.

[0245] See Figure 11 , Figure 11 Another example of the LCOS circuit module provided in this application. For example... Figure 11 The LCOS circuit module includes the following units: a port status control unit (601), a local image data generation unit (602), a data buffer unit (603), a block address lookup table (604), a data processing unit (605), a row addressing unit (606), a voltage driving unit (607), a column shifting unit (608), and a pixel array unit (609) for the LCOS display screen. The pixel array unit (609) contains multiple rows and columns of pixels, for example... Figure 11 The pixels (610) in the chip. Optionally, these units can be uniformly integrated on a single silicon chip or discretely implemented on multiple silicon chips or board-level circuits.

[0246] During the operation of the WSS device, when the port status control unit (601) receives an instruction to switch one or more ports, it transmits the port status of the switched port to the local image data generation unit (602) and the port number of the switched port to the block address lookup table (604). The local image data generation unit (602) generates image data of the local image corresponding to the switched port based on the port status and transmits it to the data buffer unit (603). The block address lookup table (604) retrieves the pixel number corresponding to the local image data based on the port number of the switched port and transmits it to the data buffer unit (603).

[0247] The data processing unit (603) extracts the image data and pixel number of the local image from the data buffer unit (603) according to the subframe frequency, and performs data processing.

[0248] The data processing unit (603) includes a pixel refresh queue. The front end of the pixel refresh queue contains voltage signal data converted from the image data of the local image and its corresponding row number. The back end of the pixel refresh queue contains voltage signal data converted from other image data that changed in the previous frame and its corresponding row number. Specifically, the pixel refresh queue is arranged from newest to oldest according to the time of port switching. Within the same row, the refresh is performed in ascending order of pixel number.

[0249] The data processing unit (603) transmits the row address corresponding to the row number to the row addressing unit (606) and transmits the synchronization signal to the column shifting unit (608) to perform single-column serial or multi-column parallel shift enable writing. At the same time, the data processing unit (606) transmits the corresponding voltage signal to the voltage driving unit (607), which loads the voltage signal into the corresponding pixel (610) in the pixel array unit (609), thereby completing the refresh of the driving voltage of each pixel.

[0250] and Figure 9 The LCOS circuit module accurately acquires the row and column addresses corresponding to the changed local image in the pixel array of the LCOS display screen, which are different. Figure 11 In this process, the LCOS circuit module only obtains the row address of the pixel corresponding to the changed local image in the pixel array. Therefore, during the refresh of the driving voltage, the LCOS circuit module combines row addressing with single-column serial or multi-column parallel methods to prioritize refreshing the driving voltage of the pixel corresponding to the changed local image in the pixel array.

[0251] For example, if the changed local image corresponds to row 5 in the pixel array, the LCOS circuit module will refresh the voltage starting from the first column of row 5 and continuing until the last column of row 5. When refreshing columns, the LCOS circuit module can refresh column by column or several columns in parallel, depending on the specific requirements. Figure 11 The synchronization signal control is shown in the figure.

[0252] The following is about Figure 11 The process of refreshing the pixel's driving voltage is illustrated with an example.

[0253] For example, assuming the pixel array unit (509) contains 2000×1000 pixels, the WSS device has N=10 ports, and each port supports M=50 wavelength channels, then each wavelength of optical signal corresponds to a pixel area composed of 200×20 pixels in the pixel array unit (509). Figure 2 The pixel numbers of each pixel are arranged in ascending order from the bottom left to the top right.

[0254] After the LCOS circuit module starts up, the initial pixel refresh queue is arranged in ascending order of pixel number. The LCOS circuit module calculates or queries the pixel driving voltage according to the subframe frequency and refreshes the pixel accordingly. Furthermore, it monitors for port switching commands received according to the subframe frequency.

[0255] When the port status control unit (601) receives a port switching command, for example, a switch of the output port of the fifth wavelength of the third input port of the WSS device, it waits for the previous subframe to complete. Upon entering the current subframe, if the port switching command is detected, the current subframe is refreshed. First, the local image that has changed in the LCOS image is calculated, and the image data of this local image is loaded into the LCoS buffer, for example... Figure 7 The data buffer unit (603) then sorts the pixel refresh queue according to priority. Specifically, the row containing the pixel region corresponding to the fifth wavelength of the third input port in the pixel array unit (row numbers from row 401 to row 600) is arranged at the front of the pixel refresh queue, while the back row is arranged according to row numbers 1-400 and row numbers 601-2000. Afterwards, the data processing unit (603) calculates or queries the driving voltage of the pixel and refreshes it according to the row order set in the pixel refresh queue. Within the same row, pixel refreshes are performed in ascending order of pixel number.

[0256] It should be understood that the WSS device includes 10 input ports, each supporting 50 wavelengths, and the pixel array unit (609) contains 2000×1000 pixels. According to the correspondence between the LCOS image and the pixel array unit (609), each input port corresponds to 200 rows in the pixel array unit (609), and each wavelength of optical signal corresponds to 20 columns in the pixel array unit (609). It should also be understood that the input ports can correspond to columns in the pixel array unit (709), and each wavelength of optical signal can correspond to rows in the pixel array unit (709); this application does not limit this.

[0257] For example, if the output port of the optical signal of the fifth wavelength of the third input port is switched, according to Figure 3 In step 340, the second method of refreshing the driving voltage of the pixel is used. The LCOS device preferentially refreshes the pixel region (i.e., the first region) corresponding to the third input port in the pixel array unit (509). In this example, the first region is the pixel region composed of all pixels in rows 401-600 of the pixel array unit (509). It can be seen that the first region includes not only the pixels in the first pixel region, but also the pixels in other columns of rows 401-600 of the pixel array unit (609). The first pixel region is the element of column 81-100 of rows 401-600 of the pixel array unit (609). In this embodiment, the range of the first region is larger than the range of the first pixel region.

[0258] As can be seen, during the refresh process of the pixel's driving voltage, row addressing is performed, while column addressing is achieved through single-column serial or multi-column parallel shifting. Therefore, the pixel address transmitted by the data transmission unit is only the row address, reducing the overhead of pixel addressing and improving the effective bandwidth utilization.

[0259] In particular, since the number of wavelengths is often greater than the number of ports, when the wavelength direction of the WSS device is along the row direction, it can generally achieve less latency compared to the column direction.

[0260] See Figure 12 , Figure 12 Another example of the LCOS circuit module provided in this application. For example... Figure 12The LCOS circuit module includes the following units: a port status control unit (701), a local image data generation unit (702), a data buffer unit (703), a block address lookup table (704), a data processing unit (705), a row scanning unit (706), a voltage driving unit (707), a column addressing unit (708), and a pixel array unit (709) for the LCOS display screen. The pixel array unit (709) contains multiple rows and columns of pixels, for example... Figure 12 The pixels shown are (710). Optionally, these units can be uniformly integrated on a single silicon chip or discretely implemented on multiple silicon chips or board-level circuits.

[0261] The function of this LCOS circuit module is to convert the image data corresponding to the switched port output by the port status control unit (701) into the driving voltage of the pixel (710) in the pixel array unit (709), thereby driving the liquid crystal of the LCOS display screen to work. The port status in the port status control unit (701) changes at any time.

[0262] In the above process, when the port status control unit (701) receives an instruction to switch the status of one or more ports, the port status control unit (701) transmits the status of the switched port to the local image data generation unit (702) and transmits the port number of the switched port to the block address lookup table (704). The local image data generation unit (702) generates local image data according to the status of the switched port and transmits it to the data cache unit (703). The block address lookup table (704) queries the column address where the local image data is located according to the number of the switched port and transmits it to the data cache unit (703).

[0263] According to the subframe frequency, the data processing unit (705) extracts local image data and its pixel number from the data buffer unit (703) and performs data processing. The data processing unit (705) includes a pixel refresh queue. The front end of the pixel refresh queue contains voltage signal data converted from the local image data and its corresponding column number. The back end of the pixel refresh queue contains voltage signal data converted from other image data that changed in the previous frame and its corresponding column number. Specifically, the pixel refresh queue is arranged from newest to oldest according to the port switching occurrence time, wherein the pixel numbers of pixels corresponding to the same port in the same column are arranged in ascending order.

[0264] The data processing unit (705) transmits the data to the column addressing unit (708) according to the column number, and transmits the synchronization signal to the row scanning unit (706) to perform row-by-row scanning and enable writing. At the same time, the data processing unit (705) transmits the corresponding voltage signal to the voltage driving unit (707), which loads the voltage signal into the corresponding pixel in the pixel array unit (709), thereby completing the refresh of the driving voltage of each pixel.

[0265] It should be understood that the WSS device includes 10 input ports, each supporting 50 wavelengths, and the pixel array unit (709) contains 2000×1000 pixels. According to the correspondence between the LCOS image and the pixel array unit (709), each input port corresponds to 200 rows in the pixel array unit (709), and each wavelength of optical signal corresponds to 20 columns in the pixel array unit (709). It should be understood that the input ports can also correspond to columns in the pixel array unit (709), and each wavelength of optical signal can also correspond to rows in the pixel array unit (709); this application does not limit this.

[0266] For example, if the output port of the optical signal of the fifth wavelength of the third input port is switched, according to step... Figure 3 In step 340, the third refresh method is to refresh the driving voltage of the pixels in the pixel region (i.e., the first region) corresponding to the optical signal of the fifth wavelength of the 10 input ports of the WSS device. The first region is the pixel region composed of all the pixels in columns 81-100 of the pixel array unit (709).

[0267] In this example, the first region includes not only the pixels within the first pixel region of the pixel array unit (709), but also the pixels in columns 81-100 of the other rows of the pixel array unit (709). The first pixel region comprises the elements in columns 81-100 of rows 401-600 of the pixel array unit (709). In this embodiment, the range of the first region is larger than the range of the first pixel region.

[0268] and Figure 9 The LCOS circuit module accurately acquires the row and column addresses corresponding to the changed local image in the pixel array of the LCOS display screen, which are different. Figure 12 In this process, the LCOS circuit module only obtains the column address of the pixel corresponding to the changed local image in the pixel array. Therefore, during the refresh of the driving voltage, the LCOS circuit module combines column addressing with single-row serial or multi-row parallel methods to prioritize refreshing the driving voltage of the pixel corresponding to the changed local image in the pixel array.

[0269] For example, if the changed local image corresponds to column address 9 in the pixel array, the LCOS circuit module will refresh the voltage starting from the first row of column 9 and continuing until the last row of column 9. During the refresh process, the LCOS circuit module can refresh row by row or several rows in parallel, which can be determined by... Figure 9 The synchronization signal control is shown in the figure.

[0270] Optionally, the above Figures 9-12 In any of the LCOS circuit modules shown, all its units can be integrated onto a single chip, or some units can be located on one (or more) circuit boards, while other units are partially located on a single chip. For example, using... Figure 9 For example, units numbered 506-510 are located on a chip, while other units are located on a circuit board, etc. This article discusses... Figures 9-12 The specific implementation of the circuit modules shown in the diagram, whether in software or hardware, is not limited in any way.

[0271] The method for selecting wavelength provided in this application has been described in detail above. The communication device provided in this application is described below.

[0272] See Figure 13 , Figure 13 A schematic block diagram of the communication device provided in this application. Figure 13 As shown, the communication device 1000 includes a communication interface 1100 and a processing unit 1200.

[0273] The communication interface 1100 is used to obtain port status information of the WSS device. The port status information includes information that the optical signal of the first wavelength of the first input port will be switched from the first output port to the second output port. The WSS device includes N input ports, each input port supports M wavelengths, and N and M are both positive integers.

[0274] Processing unit 1200 is used for:

[0275] The sub-image corresponding to the optical signal of the first wavelength in the LCOS image of the WSS device and the first wavelength in the first input port is updated to the first sub-image. The LCOS image is divided into N×M sub-images, and each sub-image corresponds to a pixel area on the LCOS display screen of the WSS device.

[0276] Based on the first sub-image, refresh the driving voltage of the pixels in the first region on the LCOS display screen, wherein the first region includes the first pixel region on the LCOS display screen corresponding to the first sub-image;

[0277] Refresh the driving voltage of pixels in areas other than the first area on the LCOS display screen.

[0278] Optionally, as an embodiment, the communication interface 1100 is used for:

[0279] During the (j-1)th time interval, a port switching command is received, the port switching command being used to instruct the optical signal of the first wavelength of the first input port to be switched from the first output port to the second output port;

[0280] And, the processing unit 1200 is specifically used for:

[0281] In the j-th time interval, the sub-image corresponding to the optical signal of the first wavelength of the first wavelength in the LCOS image is updated to the first sub-image, j≥1, and j is an integer, wherein one of the time intervals is less than the duration of one frame of image.

[0282] Optionally, as an embodiment, the processing unit 1200 is used for:

[0283] According to the port switching command, obtain the port status and port number of the first input port;

[0284] Based on the port status of the first input port, image data of the first sub-image is generated, and based on the port number of the first input port, the first pixel area corresponding to the first sub-image on the LCOS display screen is determined.

[0285] Based on the image data of the first sub-image, determine the driving voltage that needs to be applied to the pixels in the first pixel region.

[0286] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0287] Generate a pixel refresh queue, the pixel refresh queue including the driving voltages of the corresponding pixels on the LCOS display screen at the N input ports of the WSS device;

[0288] And, the processing unit 1200 is specifically used for:

[0289] The driving voltage of the pixels in the first pixel region contained in the pixel refresh queue is updated to the driving voltage that the pixels in the first pixel region need to be loaded, which is determined based on the image data of the first sub-image.

[0290] The driving voltage of the pixel in the first region is obtained from the pixel refresh queue, and the driving voltage is applied to the corresponding pixel in the pixel array of the LCOS display screen.

[0291] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0292] The priority of the pixel number corresponding to the first wavelength of the optical signal at the first input port in the pixel refresh queue is adjusted to be higher than the priority of the pixel numbers of other pixels.

[0293] The pixel refresh queue also includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0294] The processing unit 1200 is specifically used for:

[0295] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of pixels in other areas of the LCOS display screen except for the first area, where the first area is the first pixel area.

[0296] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0297] The priority of the pixel number corresponding to the first port in the pixel refresh queue is adjusted to be higher than the priority of the pixel number corresponding to the pixel on the LCOS display screen of other ports of the WSS device. The pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0298] The processing unit 1200 is specifically used for:

[0299] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of the pixels in other areas of the LCOS display screen except for the first area, wherein the first area is the pixel area corresponding to the first port on the LCOS display screen.

[0300] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0301] The priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the N input ports in the pixel refresh queue is adjusted to be higher than the priority of the pixel number of the pixel corresponding to the light signal of other wavelengths of the N input ports. The pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen. The priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0302] The processing unit 1200 is specifically used for:

[0303] According to the priority of each pixel number in the adjusted pixel refresh queue, refresh the driving voltage of the pixels in other areas of the LCOS display screen except for the first area, wherein the first area is the pixel area on the LCOS display screen corresponding to the light signal of the first wavelength of the N input ports.

[0304] Optionally, as an embodiment, the pixel corresponding to the first input port on the LCOS display screen includes the pixel in the first pixel area, and the refresh priority of the driving voltage of the pixel in the first pixel area is higher than the refresh priority of the driving voltage of the pixel corresponding to the light signal of other wavelengths other than the first wavelength of the first input port on the LCOS display screen.

[0305] The processing unit 1200 is specifically used for:

[0306] Refresh the pixels in the corresponding pixel area on the LCOS display screen with the light signal of other wavelengths from the first input port;

[0307] Refresh the pixels in the corresponding pixel area on the LCOS display screen of the other input ports of the WSS device besides the first input port.

[0308] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0309] Obtain the row and column addresses of the pixel numbers of the pixels in the first region in the pixel array of the LCOS display screen.

[0310] The processing unit 1200 is specifically used for:

[0311] According to the priority of each pixel number in the adjusted pixel refresh queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0312] Based on the pixel number of the pixel in the first region and the corresponding row address and column address in the pixel array, addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the row address and column address in the pixel array.

[0313] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0314] Obtain the row address in the pixel array of the LCOS display screen corresponding to the pixel number of the pixel in the first region;

[0315] The processing unit 1200 is specifically used for:

[0316] According to the priority of each pixel number in the adjusted pixel refresh queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0317] Based on the row address corresponding to the pixel number of the pixel in the first region in the pixel array, row addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner.

[0318] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0319] Obtain the column address in the pixel array of the LCOS display screen corresponding to the pixel number of the pixel in the first region;

[0320] The processing unit 1200 is specifically used for:

[0321] According to the priority of each pixel number in the adjusted pixel queue, the driving voltage corresponding to the pixel number of the pixel in the first region is obtained from the pixel refresh queue;

[0322] Based on the column address corresponding to the pixel number of the pixel in the first region in the pixel array, column addressing is performed in the pixel array, and the driving voltage corresponding to the pixel number of the pixel in the first region is applied to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner.

[0323] Optionally, as an embodiment, the processing unit 1200 is further configured to:

[0324] When the output port of the optical signal at each input port of the WSS device has not been switched, the driving voltage of the corresponding pixel on the LCOS display screen is refreshed in units of time intervals according to the priority of each pixel number in the pixel refresh queue, wherein one of the time intervals is less than the duration of one frame of image.

[0325] The pixel refresh queue includes the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

[0326] In the above implementations, the communication interface 1100 may include an input interface and an output interface. The input interface is used to implement the input (or receiving) function, and the output interface is used to implement the output (or sending) function. This is not limited here.

[0327] Optionally, the communication interface 1100 can also be an interface circuit. For example, the receiving circuit may include an input circuit and an output circuit.

[0328] Optionally, as an example, the communication device 1000 may be the LCOS device in the method embodiment, or a chip, integrated circuit, component or module in the LCOS device that implements the above-mentioned LCOS functions.

[0329] In each example, the processing unit 1200 is used to perform processing and / or operations implemented internally by the LCOS device, other than the sending and receiving actions.

[0330] For example, the processing unit 1200 is used to execute Figure 3 Steps 320-340 in the text Figure 7 Steps 402-412 in the above, or, execute as follows: Figure 9 The port status control unit (501), local image data generation unit (502), and data processing unit (505) perform operations and / or processes, or perform operations such as... Figure 11 The operations and / or processes performed by the port status control unit (601), the local image data generation unit (602), and the data processing unit (605), or, as performed by... Figure 12 The operations and / or processes performed by the port status control unit (701), the local image data generation unit (702), and the data processing unit (705), etc.

[0331] Optionally, the processing unit 1200 can be a processing device. The functions of the processing device can be implemented in hardware or by executing corresponding software. For example, the processing device may include at least one processor and at least one memory, wherein the at least one memory is used to store a computer program, and the at least one processor reads and executes the computer program stored in the at least one memory, causing the communication device 1000 to perform the operations and / or processes performed by the LCOS device in the various method embodiments.

[0332] Alternatively, the processing device may consist only of a processor, with memory for storing computer programs located outside the processing device. The processor is connected to the memory via circuitry / wires to read and execute the computer programs stored in the memory.

[0333] In some examples, the processing device may also be a chip or integrated circuit. For example, the processing device includes processing circuitry / logic circuitry and interface circuitry, the interface circuitry being used to receive signals and / or data and transmit the signals and / or data to the processing circuitry, the processing circuitry processing the signals and / or data to implement the various functions of the LCOS device in the various method embodiments.

[0334] See Figure 14 , Figure 14 A schematic structural diagram of the communication device provided in this application. Figure 14 The communication device 10 includes one or more processors 11, one or more memories 12, and one or more communication interfaces 13. The processor 11 is used to control the communication interface 13 to send and receive signals, the memory 12 is used to store computer programs, and the processor 11 is used to call and run the computer programs from the memory 12 so that the communication device 10 performs the processing and / or operations performed by the LCOS device in the various method embodiments of this application.

[0335] For example, processor 11 may have Figure 13 The processing unit 1200 has the functions of the communication interface 13. Figure 13 The communication interface 1100 has the following functions. Specifically, the processor 11 can be used to execute... Figures 1-12 The processing or operation performed internally by the LCOS device is executed via communication interface 13. Figures 1-12 The transmitting and / or receiving actions performed by the LCOS device.

[0336] Furthermore, memory 12 can be used to implement storage functions; for example, memory 12 has the following characteristics: Figure 9 The data cache unit (503) and block address lookup table (504) in the middle have corresponding functions, or have the following functions: Figure 9 The pixel refresh queue (513) shown in the figure has the function of, or has the function of, as shown in the figure. Figure 11 The data cache unit (603) and block address lookup table (604) in the middle have corresponding functions, or have the following functions: Figure 12 The data cache unit (703) and the corresponding functions of the block address lookup table (704) are included.

[0337] Optionally, the memory and processor in the above device embodiments can be physically independent units, or the memory can be integrated with the processor, which is not limited herein.

[0338] In addition, this application also provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform operations and / or processes performed by the LCOS device in the various method embodiments of this application.

[0339] In addition, this application also provides a computer program product, which includes computer program code or instructions. When the computer program code or instructions are run on a computer, the operations and / or processes performed by the LCOS device in the various method embodiments of this application are executed.

[0340] Furthermore, this application also provides a chip including a processor, a memory for storing a computer program disposed independently of the chip, the processor being used to execute the computer program stored in the memory, causing an LCOS device on which the chip is mounted to perform operations and / or processes performed by the LCOS device in any of the method embodiments.

[0341] Furthermore, the chip may also include a communication interface. The communication interface may be an input / output interface or an interface circuit, etc. Furthermore, the chip may also include the memory.

[0342] In addition, this application also provides a communication device (e.g., a chip) including a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals so that operations and / or processes performed by an LCOS device in any method embodiment are executed.

[0343] Furthermore, this application also provides a communication device including at least one processor coupled to at least one memory, the at least one processor being configured to execute a computer program or instructions stored in the at least one memory, such that operations and / or processes performed by an LCOS device in any method embodiment are executed.

[0344] In addition, this application also provides an LCOS device that implements the functions of the LCOS devices in the various embodiments of this application.

[0345] This application also provides a WSS device, including the LCOS device in various embodiments of this application.

[0346] This application also provides an optical switching device, including the above-described WSS device.

[0347] The processor in this application embodiment can be an integrated circuit chip with the ability to process signals. In implementation, each step of the above method embodiment can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this application embodiment can be directly implemented by a hardware encoding processor, or by a combination of hardware and software modules in the encoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0348] The memory in this application embodiment can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0349] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art 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.

[0350] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0351] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, and the division of units is only a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between apparatuses or units may be electrical, mechanical, or other forms.

[0352] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units. That is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0353] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0354] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. Therefore, the protection scope of this application should be determined by the scope of the claims.

Claims

1. A method of wavelength selection, characterized by, The method comprises: obtaining port state information of a wavelength selective switch (WSS) device, the port state information including information that a first wavelength of an optical signal of a first input port of the WSS device is to be switched from a first output port to a second output port, wherein the WSS device comprises N input ports, each of which supports M wavelengths, and N and M are positive integers; updating a sub-image corresponding to the first wavelength of the optical signal of the first input port in a liquid crystal on silicon (LCOS) image of the WSS device to a first sub-image, wherein the LCOS image is divided into N*M sub-images, and each sub-image corresponds to a pixel region on an LCOS display screen of the WSS device; refreshing a driving voltage of a pixel in a first region on the LCOS display screen according to the first sub-image, wherein the first region includes a first pixel region on the LCOS display screen corresponding to the first sub-image; refreshing a driving voltage of a pixel in a region other than the first region on the LCOS display screen.

2. The method of claim 1, wherein, The method further comprises: receiving a port switching command in a (j-1)-th time interval, the port switching command being used to indicate that the first wavelength of the optical signal of the first input port is to be switched from the first output port to the second output port; and the updating of the sub-image corresponding to the first wavelength of the optical signal of the first input port in the LCOS image of the WSS device to the first sub-image comprises: updating the sub-image corresponding to the first wavelength of the optical signal of the first input port in the LCOS image to the first sub-image in a j-th time interval, j≥1 and j is an integer, wherein one time interval is less than the duration of one frame of image.

3. The method of claim 2, wherein, The method further comprises: obtaining a port state and a port number of the first input port according to the port switching command; generating image data of the first sub-image according to the port state of the first input port, and determining the first pixel region on the LCOS display screen corresponding to the first sub-image according to the port number of the first input port; determining a driving voltage to be loaded by a pixel in the first pixel region according to the image data of the first sub-image.

4. The method of claim 3, wherein, Before the obtaining of the port state of the WSS device, the method further comprises: generating a pixel refresh queue, the pixel refresh queue including a driving voltage of a pixel on the LCOS display screen corresponding to the N input ports of the WSS device; the refreshing of the driving voltage of the pixel in the first region on the LCOS display screen according to the first sub-image comprises: updating the driving voltage of the pixel in the first pixel region included in the pixel refresh queue to the driving voltage to be loaded by the pixel in the first pixel region determined according to the image data of the first sub-image; obtaining the driving voltage of the pixel in the first region from the pixel refresh queue, and loading the driving voltage to a corresponding pixel in a pixel array of the LCOS display screen.

5. The method of claim 4, wherein, After obtaining the port state information of the WSS device, the method further comprises: adjusting the priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the first input port in the pixel refresh queue to be higher than the priority of the pixel number of other pixels, wherein the pixel refresh queue further comprises the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number; the step of refreshing the driving voltage of the pixel in the other area of the LCOS display screen except the first area comprises: refreshing the driving voltage of the pixel in the other area of the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first area is the first pixel area.

6. The method of claim 4, wherein, After obtaining the port state information of the WSS device, the method further comprises: adjusting the priority of the pixel number of the pixel corresponding to the first input port in the pixel refresh queue to be higher than the priority of the pixel number of the pixel corresponding to the other port of the WSS device on the LCOS display screen, wherein the pixel refresh queue comprises the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number; the step of refreshing the driving voltage of the pixel in the other area of the LCOS display screen except the first area comprises: refreshing the driving voltage of the pixel in the other area of the LCOS display screen except the first area according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first area is the pixel area corresponding to the first input port on the LCOS display screen.

7. The method of claim 4, wherein, After obtaining the port state information of the WSS device, the method further comprises: adjusting the priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the N input ports in the pixel refresh queue to be higher than the priority of the pixel number of the pixel corresponding to the other wavelength of the light signal of the N input ports, wherein the pixel refresh queue comprises the pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue is used to indicate the refresh priority of the driving voltage of the pixel corresponding to the pixel number; the step of refreshing the driving voltage of the pixel in the other area of the LCOS display screen except the first area comprises: refreshing the driving voltage of the pixel in the other area of the LCOS display screen except the first area according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first area is the pixel area corresponding to the first wavelength of the light signal of the N input ports on the LCOS display screen.

8. The method of claim 5, wherein, the method further comprises: acquiring a row address and a column address corresponding to a pixel number of a pixel in the first region in a pixel array of the LCOS display screen; acquiring a driving voltage of the pixel in the first region from the pixel refreshing queue and loading the driving voltage to a corresponding pixel in the pixel array of the LCOS display screen, comprising: acquiring the driving voltage corresponding to the pixel number of the pixel in the first region from the pixel refreshing queue according to the priority of the pixel number in the adjusted pixel refreshing queue; addressing in the pixel array according to the row address and the column address corresponding to the pixel number of the pixel in the first region in the pixel array, and loading the driving voltage corresponding to the pixel number of the pixel in the first region to the pixel corresponding to the row address and the column address in the pixel array.

9. The method of claim 6, wherein, The method further comprises: acquiring a row address corresponding to a pixel number of a pixel in the first region in a pixel array of the LCOS display screen; acquiring a driving voltage of the pixel in the first region from the pixel refreshing queue and loading the driving voltage to a corresponding pixel in the pixel array of the LCOS display screen, comprising: acquiring the driving voltage corresponding to the pixel number of the pixel in the first region from the pixel refreshing queue according to the priority of the pixel number in the adjusted pixel refreshing queue; addressing in the pixel array according to the row address corresponding to the pixel number of the pixel in the first region in the pixel array, and loading the driving voltage corresponding to the pixel number of the pixel in the first region to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner.

10. The method of claim 7, wherein, The method further comprises: acquiring a column address corresponding to a pixel number of a pixel in the first region in a pixel array of the LCOS display screen; acquiring a driving voltage of the pixel in the first region from the pixel refreshing queue and loading the driving voltage to a corresponding pixel in the pixel array of the LCOS display screen, comprising: acquiring the driving voltage corresponding to the pixel number of the pixel in the first region from the pixel array according to the priority of the pixel number in the adjusted pixel queue; addressing in the pixel array according to the column address corresponding to the pixel number of the pixel in the first region in the pixel array, and loading the driving voltage corresponding to the pixel number of the pixel in the first region to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner.

11. The method of claim 1, wherein, The method further comprises: in a case where no switching of an output port of an optical signal of each input port of the WSS device occurs, refreshing a driving voltage of a pixel corresponding to a pixel number in a pixel refreshing queue on the LCOS display screen in a time interval according to a priority of the pixel number, wherein one time interval is less than a time length of one frame of image. The pixel refresh queue comprises pixel numbers of pixels corresponding to the N input ports on the LCOS display screen, and a priority of each pixel number in the pixel refresh queue corresponds to a refresh priority of a driving voltage of a pixel corresponding to the pixel number.

12. A communications device, characterized by The application comprises: a communication interface configured to acquire port state information of a WSS device, the port state information comprising information that a first wavelength optical signal of a first input port of the WSS device needs to be switched from a first output port to a second output port, wherein the WSS device comprises N input ports, and each input port supports M wavelengths, and N and M are positive integers; a processing unit configured to update a sub-image corresponding to the first wavelength optical signal of the first input port in an LCOS image of the WSS device to a first sub-image, wherein the LCOS image is divided into N*M sub-images, and each sub-image corresponds to a pixel region on an LCOS display screen of the WSS device; the processing unit is further configured to refresh driving voltages of pixels in a first region on the LCOS display screen according to the first sub-image, wherein the first region comprises a first pixel region on the LCOS display screen corresponding to the first sub-image; and refresh driving voltages of pixels in other pixel regions on the LCOS display screen except the first region.

13. The communication apparatus according to claim 12, wherein The communication interface is specifically configured to: receive a port switching command in a j-1 time interval, the port switching command being used to indicate that the first wavelength optical signal of the first input port is switched from the first output port to the second output port for output; and the processing unit is further configured to: update the sub-image corresponding to the first wavelength optical signal of the first input port in the LCOS image to the first sub-image in a j time interval, j≥1, and j is an integer, wherein one time interval is less than the time length of one frame of image.

14. The communication apparatus according to claim 13, wherein The processing unit is further configured to: acquire a port state and a port number of the first input port according to the port switching command; generate image data of the first sub-image according to the port state of the first input port, and determine the first pixel region on the LCOS display screen corresponding to the first sub-image according to the port number of the first input port; and determine driving voltages required to be loaded by pixels in the first pixel region according to the image data of the first sub-image.

15. The communication apparatus according to claim 14, wherein The processing unit is further configured to: generate a pixel refresh queue, the pixel refresh queue comprising driving voltages of pixels corresponding to the N input ports of the WSS device on the LCOS display screen; and the processing unit is specifically configured to: update the driving voltages of the pixels in the first pixel region contained in the pixel refresh queue to the driving voltages required to be loaded by the pixels in the first pixel region determined according to the image data of the first sub-image. obtain the driving voltage of the pixel in the first region from the pixel refresh queue, and load the driving voltage to the corresponding pixel in the pixel array of the LCOS display screen.

16. The communication apparatus according to claim 15, wherein The processing unit is further configured to: adjust the priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the first input port in the pixel refresh queue to be higher than the priority of the pixel number of other pixels, The pixel refresh queue further comprises pixel numbers of pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue indicates the refresh priority of the driving voltage of the pixel corresponding to the pixel number. The processing unit is specifically configured to: refresh the driving voltage of the pixel in the other region outside the first region on the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first region is the first pixel region.

17. The communication apparatus according to claim 15, wherein The processing unit is further configured to: adjust the priority of the pixel number of the pixel corresponding to the first input port in the pixel refresh queue to be higher than the priority of the pixel number of the pixel corresponding to the other port of the WSS device on the LCOS display screen, wherein the pixel refresh queue further comprises pixel numbers of pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue indicates the refresh priority of the driving voltage of the pixel corresponding to the pixel number. The processing unit is specifically configured to: refresh the driving voltage of the pixel in the other region outside the first region on the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first region is the pixel region corresponding to the first input port on the LCOS display screen.

18. The communication apparatus according to claim 15, wherein The processing unit is further configured to: adjust the priority of the pixel number of the pixel corresponding to the first wavelength of the light signal of the N input ports in the pixel refresh queue to be higher than the priority of the pixel number of the pixel corresponding to the light signal of other wavelengths of the N input ports, wherein the pixel refresh queue further comprises pixel numbers of pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refresh queue indicates the refresh priority of the driving voltage of the pixel corresponding to the pixel number. The processing unit is specifically configured to: refresh the driving voltage of the pixel in the other region outside the first region on the LCOS display screen according to the priority of each pixel number in the adjusted pixel refresh queue, wherein the first region is the pixel region corresponding to the light signal of the first wavelength of the N input ports on the LCOS display screen.

19. The communication apparatus according to claim 16, wherein The processing unit is further configured to: obtain the row address and the column address of the pixel number of the pixel in the first region in the pixel array of the LCOS display screen, and The processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the row address and the column address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the row address and the column address in the pixel array.

20. The communication apparatus according to claim 17, wherein The processing unit is further configured to: obtain a row address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the row address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner.

21. The communication apparatus according to claim 18, wherein The processing unit is further configured to: obtain a column address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the column address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner.

22. The communication apparatus according to claim 12, wherein The processing unit is further configured to: in a case where no switching of the output port of the optical signal of each input port of the WSS device occurs, refresh the driving voltage of the pixel corresponding to the pixel in the pixel refreshing queue on the LCOS display screen in a time interval, wherein one time interval is less than the time length of one frame of image; wherein the pixel refreshing queue includes pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refreshing queue indicates the refresh priority of the driving voltage of the pixel corresponding to the pixel number.

23. A communications device, characterized by The processing unit is further configured to: obtain a row address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the row address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner. The processing unit is further configured to: obtain a column address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the column address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner. The processing unit is further configured to: in a case where no switching of the output port of the optical signal of each input port of the WSS device occurs, refresh the driving voltage of the pixel corresponding to the pixel in the pixel refreshing queue on the LCOS display screen in a time interval, wherein one time interval is less than the time length of one frame of image; wherein the pixel refreshing queue includes pixel numbers of the pixels corresponding to the N input ports on the LCOS display screen, and the priority of each pixel number in the pixel refreshing queue indicates the refresh priority of the driving voltage of the pixel corresponding to the pixel number. The processing unit is further configured to: obtain a row address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the row address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the row address in the pixel array in a single-column serial or multi-column parallel manner. The processing unit is further configured to: obtain a column address corresponding to the pixel number of the pixel in the first region in the pixel array of the LCOS display screen; and the processing unit is specifically configured to: According to the priority of each pixel number in the adjusted pixel refreshing queue, a driving voltage corresponding to a pixel number of a pixel in the first region is obtained from the pixel refreshing queue; According to the column address corresponding to the pixel number of the pixel in the first region in the pixel array, the pixel array is addressed, and the driving voltage corresponding to the pixel number of the pixel in the first region is loaded to the pixel corresponding to the column address in the pixel array in a single-row serial or multi-row parallel manner.

24. A computer-readable storage medium, characterized in that, The computer readable storage medium has stored therein computer instructions which, when run on a computer, implement the method of any one of claims 1-11.

25. A WSS device, characterized by, The communication device of any one of claims 12-22.

Citation Information

Patent Citations

  • Method for increasing switching speed of LCOS wavelength selection switch

    CN104485076A

  • Multi-port TBWSS based on LCOSs

    CN104777557A