Controller, method and medium for reading RS485 data signal and Wiegand data signal

By designing the logic circuit of the RS485 transceiver and Wiegand interface in the user connector to determine the signal type, the complexity and cost of the RS485 and Wiegand interfaces in the prior art are solved, and communication with lower complexity and more economicality is achieved. system design.

CN115114216BActive Publication Date: 2024-11-01AXIS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210223368.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-03-18
Filing Date
2022-03-09
Publication Date
2024-11-01
Estimated Expiration
2042-03-09

AI Technical Summary

Technical Problem

In the prior art, user connectors need to support both RS485 and Wiegand interfaces, resulting in increased complexity and a switch is required to synchronize signals, increasing the complexity and cost of the system.

Method used

A controller is designed with an RS485 transceiver and a Wiegand interface. The logic circuit determines whether the input signal is RS485 or Wiegand data signal, so as to read and process the signal on a separate output port, avoiding the use of RS485 and RS485 at the same time. The need for Wiegand interfaces and eliminates the need for switchers.

Benefits of technology

This enables lower complexity communication, reduces the cost of user connectors, and simplifies system design, avoiding the physical size and economic burden of multi-interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115114216B_ABST
    Figure CN115114216B_ABST
Patent Text Reader

Abstract

A controller, method and medium for reading RS485 data signals and Wiegand data signals are provided. The controller includes an RS485 transceiver having: two input ports, each of which is connected to a corresponding one of two output ports of a user connector to read a data signal from each of the output ports of the user connector; and an output port for providing an RS485 data signal defined by the data signals read on the two output ports. The controller includes an RS485 interface having an RS485 data port, which is connected to the output port of the RS485 transceiver to receive the RS485 data signal. The controller includes a Wiegand interface having a Wiegand data port and a data-ready port, which is connected to the output port of the RS485 transceiver to receive the RS485 data signal, and the data-ready port is connected to the two input ports via a first logic circuit to determine whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments presented herein relate to methods, controllers, computer programs, and computer program products for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports. Background Art

[0002] For different reasons, some electronic products need to support multiple interfaces and / or protocols to communicate with other electronic products. As a non-limiting illustrative example, some physical access control systems (PACS) need to support communication over an RS485 interface for card readers based on the Open Supervised Device Protocol (OSDP), and support communication over a Wiegand interface for signal transmission of transistor-transistor logic (TTL) signals.

[0003] This can be achieved by having dedicated connectors for all the different interfaces at the electronics. For example, for a PACS, the controller at the electronic access control unit and the user connector at the card reader can have two separate interfaces through which the controller and the user connector can communicate. Figure 1 (a) schematically illustrates a system 100 according to a first example in the form of a block diagram. According to this example, the user connector 300 includes an RS485 interface 310 and a Wiegand interface 320. The controller 200 further includes a corresponding RS485 interface 210 for receiving an RS485 data signal from the RS485 interface 310 and a corresponding Wiegand interface 220 for receiving a Wiegand data signal from the Wiegand interface 320. Therefore, this example requires that the user connector 300 includes two independent interfaces.

[0004] One way to reduce the complexity of the user connector 300 is to replace the RS485 interface 310 and the Wiegand interface 320 with a combined RS485 / Wiegand interface. Figure 1(b) schematically illustrates a system 100 according to a second example in the form of a block diagram. According to this example, the user connector 300 includes only a single interface; the combined RS485 / Wiegand interface 330 is configured to selectively output RS485 data signals or Wiegand data signals. This requires placing a switch 400 between the user connector 300 and the controller 200. When the RS485 data signal is output from the combined RS485 / Wiegand interface 330, the switch enters a position where the RS485 interface 210 at the controller 200 reads the RS485 data signal. When the Wiegand data signal is output from the combined RS485 / Wiegand interface 330, the switch enters a position where the Wiegand interface 220 at the controller 200 reads the Wiegand data signal. Therefore, synchronization between the switch 400 and the combined RS485 / Wiegand interface 330 is required so that the signal output from the combined RS485 / Wiegand interface 330 arrives at the correct interface at the controller 200.

[0005] In view of the above, there remains a need for less complex communications between controllers and user controllers. Summary of the invention

[0006] It is an object of embodiments herein to solve the above mentioned problems by providing a controller, a method, a computer program and a computer program product for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports.

[0007] According to a first aspect, a controller for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports is proposed. The controller includes an RS485 transceiver having: two input ports, each of the two input ports is connected to a corresponding one of the two output ports of the user connector, for reading a data signal from each of the output ports of the user connector; and an output port for providing an RS485 data signal defined by the data signals read on the two output ports. The controller includes an RS485 interface having an RS485 data port, the RS485 data port being connected to the output port of the RS485 transceiver for receiving the RS485 data signal. The controller includes a Wiegand interface having a Wiegand data port and a data-ready port, the Wiegand data port being connected to the output port of the RS485 transceiver for receiving the RS485 data signal, and the data-ready port being connected to the two input ports via a first logic circuit included in the controller for determining whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port.

[0008] According to a second aspect, a method for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports is proposed. The method is performed by a controller. The controller includes an RS485 transceiver, an RS485 interface and a Wiegand interface. The method includes reading a data signal from each of the output ports of the user connector at two input ports of the RS485 transceiver, wherein each of the two input ports is connected to a corresponding one of the two output ports of the user connector. The method includes providing an RS485 data signal defined by the data signal read on the two output ports at the output port of the RS485 transceiver. The method includes receiving the RS485 data signal at the RS485 data port of the RS485 interface. The RS485 data port is connected to the output port of the RS485 transceiver. The method includes receiving the RS485 data signal at the Wiegand data port of the Wiegand interface. The Wiegand data port is connected to the output port of the RS485 transceiver. The method includes determining whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port at the data ready port of the Wiegand interface. The data ready port is connected to the two input ports via a first logic circuit included in the controller.

[0009] According to a third aspect, there is provided a non-transitory computer readable storage medium having stored thereon a computer program for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports, the computer program comprising computer program code which, when run on a controller, causes the controller to perform the method according to the second aspect.

[0010] According to a fourth aspect, there is provided a system comprising a controller according to the first aspect and a user connector.

[0011] Advantageously, with Figure 1 (a) and Figure 1 Compared to the example illustrated in (b) of , these aspects enable less complex communications between the controller and the user controller.

[0012] Advantageously, the proposed controller does not require the user connector to have both Figure 1 (a) illustrates both RS485 and Wiegand interfaces.

[0013] Advantageously, the proposed controller does not require the use of Figure 1 The switch illustrated in (b) is used to synchronize communications from the user connector to the correct interface at the controller.

[0014] Other objectives, features and advantages of the attached embodiments will become apparent from the following detailed disclosure, the attached dependent claims as well as the accompanying drawings.

[0015] In general, unless explicitly defined herein, all terms used in the claims should be interpreted according to their ordinary meaning in the technical field. Unless explicitly stated otherwise, all references to "an / the element, device, component, means, module, step, etc." will be publicly interpreted as referring to at least one instance of the element, device, component, means, module, step, etc. Unless explicitly stated otherwise, the steps of any method disclosed herein are not necessarily performed in the exact order disclosed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The inventive concept will now be described by way of example with reference to the accompanying drawings, in which:

[0017] Figure 1 A system according to an example is schematically illustrated in the form of a block diagram;

[0018] Figure 2 , Figure 3 , Figure 4 and Figure 5 is a block diagram of a system according to an embodiment;

[0019] Figure 6 is a flow chart of a method according to an embodiment;

[0020] Figure 7 is a schematic diagram showing functional units of a controller according to an embodiment;

[0021] Figure 8 An example of a computer program product including a computer-readable storage medium according to an embodiment is shown. DETAILED DESCRIPTION

[0022] The inventive concept will now be described more fully below with reference to the accompanying drawings, in which certain embodiments of the inventive concept are shown. However, the inventive concept may be implemented in a variety of different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure is comprehensive and complete and will fully convey the scope of the inventive concept to those skilled in the art. The same reference numerals refer to the same elements throughout the description. Any steps or features shown in dashed lines should be considered optional.

[0023] As mentioned above, there remains a need for less complex communications between the controller and the user controller.

[0024] Having separate RS485 interfaces 210, 310 and Wiegand interfaces 220, 320 at both the controller 200 and the user connector is expensive because the connectors are expensive and has a negative impact on the physical size of the system.

[0025] The inventors of the embodiments disclosed herein have realized that since the RS485 interface 210 and the Wiegand interface 220 are not typically used at the same time, it may be advantageous to use the same connector pins for both interfaces at the user connector 300. Figure 1 As shown in (b), this currently requires placing the switch 400 between the user connector 300 and the controller 200.

[0026] Therefore, the embodiments disclosed herein relate to a mechanism for reading both RS485 data signals and Wiegand data signals from a user connector 300 having two output ports. In order to obtain such a mechanism, a controller 200, a method executed by the controller 200, and a computer program product including a code in the form of a computer program, for example, are provided, which, when run on the controller 200, causes the controller 200 to perform the method.

[0027] Now refer to Figure 2 and Figure 3 Block diagram of the . Figure 2 and Figure 3 The system 100 including the controller 200 and the user connector 300 is illustrated. The user connector 300 has two output ports. The controller 200 is configured to read both the RS485 data signal and the Wiegand data signal from such a user connector 300. To do so, the first logic circuit 240 is connected to the two input ports A, B at the RS485 transceiver 230 and the data ready port at the Wiegand interface 220. The output from the first logic circuit 240 determines whether the signal from the output port RO of the RS485 transceiver 230 (which is represented as an RS485 data signal) is to be read as a Wiegand data signal at the Wiegand data port WIEGAND DATA.

[0028] Specifically, the controller 200 includes an RS485 transceiver 230. The RS485 transceiver 230 has two input ports A and B. Each of the two input ports A and B is connected to a corresponding one of the two output ports of the user connector 300 for receiving the data from the output port of the user connector 300 (at Figure 3 The RS485 transceiver 230 has an output port RO for providing an RS485 data signal defined by the data signals read on the two output ports.

[0029] The controller 200 further comprises an RS485 interface 210. The RS485 interface 210 has an RS485 data port RS485_RX. The RS485 data port RS485_RX is connected to an output port RO of the RS485 transceiver 230 for receiving an RS485 data signal.

[0030] The controller 200 further includes a Wiegand interface 220. The Wiegand interface 220 has a Wiegand data port WIEGAND DATA connected to the output port RO of the RS485 transceiver 230 for receiving RS485 data signals. The Wiegand interface 220 has a data ready port Data Ready Port The first logic circuit 240 is connected to the two input ports A, B for determining whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port WIEGAND DATA.

[0031] Further details of the controller 200 will now be disclosed.

[0032] The signal output at the two output ports of the user connector 300 can be a Wiegand data signal or an RS485 data signal. The controller 200 is transparent to this, and therefore enables the signal to be read as an RS485 data signal at the RS485 interface 210, and to be read as a Wiegand data signal at the Wiegand interface 220, regardless of whether the signal output at the two output ports of the user connector 300 is a Wiegand data signal or an RS485 data signal.

[0033] This is because Wiegand data signals are all sent using pseudo differential signals, while RS485 data signals are sent using differential signals. This in turn means that when there is no fault or idle, the values ​​at the two output ports of the user connector 300 are always inverted relative to each other to represent binary value 0 or binary value 1 signal transmission (i.e., when the signal output at one of the two output ports of the user connector 300 is low, such as binary value 0, the signal output at the other of the two output ports of the user connector 300 is high, such as binary value 1).

[0034] The output of RS485 transceiver 230 (i.e., the RS485 data signal provided at the output port R0 of RS485 transceiver 230) will therefore correctly represent the data of the Wiegand data signal. However, when the Wiegand data line is idle, both data lines take high values. This is an undefined state in the RS485 specification. This means that if the signals read at the two input ports A and B are all high, the RS485 transceiver 230 will not be able to interpret the signal from the user connector 300. This means that the Wiegand interface 220 cannot decide whether to read data on the Wiegand data port WIEGAND DATA. This problem is solved by using the first logic circuit 240 as described above.

[0035] This means that when the idle state of the values ​​at the two output ports of the user connector 300 is detected by the first logic circuit 240, the RS485 data signal is not read as a Wiegand data signal on the Wiegand data port WIEGAND DATA. This also means that when the first logic circuit 240 does not detect the idle state of the values ​​at the two output ports of the user connector 300, the RS485 data signal will be read as a Wiegand data signal on the Wiegand data port WIEGAND DATA.

[0036] The first logic circuit 240 can have different types or implementations. In some examples, when the values ​​at the two output ports of the user connector 300 are both high, the first logic circuit 240 detects the idle state of the user connector 300. Further, when the values ​​of one or both of the two output ports of the user connector 300 are low, the first logic circuit 240 will not detect the idle state of the values ​​of the two output ports of the user connector 300. This means that the first logic circuit 240 exhibits the function of a logic AND (AND) gate. Therefore, in some embodiments, the first logic circuit 240 is a logic AND circuit. The logic AND circuit can be implemented by a single logic AND gate, two logic NAND (NAND) gates, or three logic NOR (NOR) gates.

[0037] There may be different types or implementations of data ready ports at the Wiegand interface 220. In some embodiments, the data ready port is active low. This means that when data is ready the port When the input of is low (such as binary value 0), the Wiegand interface 220 is configured to prepare to read data (ie, RS485 data signal) on the Wiegand data port WIEGAND DATA as a Wiegand data signal. When the low level is valid, the RS485 data signal will be read as a Wiegand data signal on the Wiegand data port WIEGAND DATA only when the output of the logic AND circuit is low.

[0038] In some aspects, when a fault state is detected, the Wiegand interface 220 does not read data (i.e., RS485 data signal) as a Wiegand data signal on the Wiegand data port WIEGAND DATA. In some aspects, the controller 200 is therefore configured to distinguish whether the RS485 data signal is in a fault state. Specifically, in some embodiments, the Wiegand interface 220 has a fault indicator port connected to two input ports A and B via the second logic circuit 250. To determine whether the RS485 data signal is in a fault state.

[0039] The second logic circuit 250 can have different types or implementations. In this regard, when the values ​​at the two output ports of the user connector 300 are low, the user connector 300 is in a fault state. This means that the second logic circuit 250 exhibits the function of a logic or (OR) gate. Therefore, in some embodiments, the second logic circuit 250 is a logic or circuit. The logic or circuit can be implemented by a single logic or gate, three logic and non-gates, or two logic or non-gates.

[0040] There may be different types or implementations of fault indicator ports at the Wiegand interface 220. In some embodiments, the fault indicator port is active low. This means that when the fault indicator port When the input of is low (e.g., binary value 0), the Wiegand interface 220 is configured not to read the data (i.e., RS485 data signal) on the Wiegand data port WIEGAND DATA as a Wiegand data signal. When the RS485 data signal is in a fault state and the output of the logic OR circuit is low, the RS485 data signal is not read as a Wiegand data signal on the Wiegand data port WIEGAND DATA.

[0041] Table 1 summarizes the and The value of changes with the value of the two input ports A and B. Accordingly, since the data ready port is low level active, so when When the RS485 data signal is read as a Wiegand data signal at the Wiegand data port WIEGAND DATA. is low level active, so when When the RS485 data signal is in a fault state, it means that for the combination: {A=0, B=1} and {A=1, B=0}, the RS485 data signal will be read as a Wiegand data signal at the Wiegand data port WIEGAND DATA.

[0042]

[0043]

[0044] Table 1: and Truth table as A and B vary.

[0045] As mentioned above, the system 100 comprises both the controller 200 and the user connector 300. Different types of such systems 100 may exist.

[0046] In some embodiments, the controller 200 includes, is configured with or is integrated with an electronic access control unit, and the user connector 300 includes, is configured with or is integrated with an electronic card reader for reading information from the user's electronic access card. In this regard, the data signal read from each of the output ports of the user connector 300 can represent a signal from the electronic card reader. The signal from the electronic card reader represents the information read by the electronic card reader from the electronic access card, which is usually a digital code or other types of credentials. According to the controller 200 disclosed herein, the signal is then passed to the RS485 interface 210 and the Wiegand interface 220 as an RS485 data signal (which will be read as a Wiegand data signal at the Wiegand data port WIEGANDDATA of the Wiegand interface 220). Depending on the implementation of the electronic access control unit, the information read from the electronic access card can then be passed to the electronic access control unit from the RS485 interface 210 or the Wiegand interface 220. Then, the electronic access control unit can authorize or deny the user's access based on the presented credentials (optionally in combination with the personal identification number (PIN) provided by the user's input to the electronic access control unit).

[0047] In some embodiments, the controller 200 includes, is configured with or is integrated with a point of sale (POS) terminal (provided as a stand-alone device or provided as a part of another device or a system such as an electronic ticketing system), and the user connector 300 includes, is configured with or is integrated with an electronic card reader for reading information from a credit card or debit card in the form of a smart card of the user. In this regard, the data signal read from each of the output ports of the user connector 300 can represent a signal from the electronic card reader. The signal from the electronic card reader represents the information read by the electronic card reader from a credit card or debit card, which is usually a digital code or other types of vouchers. According to the controller 200 disclosed herein, the signal is then passed to the RS485 interface 210 and the Wiegand interface 220 as an RS485 data signal (which will be read as a Wiegand data signal at the Wiegand data port WIEGAND DATA of the Wiegand interface 220). Depending on the embodiment of the POS unit, the information read from the credit card or debit card can then be passed to the POS terminal from the RS485 interface 210 or the Wiegand interface 220. The POS unit may then authorize or deny a financial transaction requested by the user (such as payment for a service or purchase) based on the presented credentials (possibly in conjunction with a PIN provided to the POS unit by user input).

[0048] In some embodiments, the controller 200 includes, is configured with or is integrated with an automatic teller machine (ATM) terminal (also referred to as a cash machine terminal), and the user connector 300 includes, is configured with or is integrated with an electronic card reader, for reading information from a user's bank card in the form of a smart card. In this regard, the data signal read from each of the output ports of the user connector 300 can represent a signal from the electronic card reader. The signal from the electronic card reader represents the information read from the bank card by the electronic card reader, which is usually a digital code or other types of vouchers. According to the controller 200 disclosed herein, the signal is then passed to the RS485 interface 210 and the Wiegand interface 220 as an RS485 data signal (it will be read as a Wiegand data signal at the Wiegand data port WIEGAND DATA of the Wiegand interface 220). Then, depending on the embodiment of the ATM terminal, the information read from the bank card can then be passed to the ATM terminal from the RS485 interface 210 or the Wiegand interface 220. The ATM terminal may then authorize or deny the service requested by the user (such as a cash withdrawal, cash deposit, funds transfer, or account information inquiry) based on the presented credentials in conjunction with a PIN provided to the ATM terminal by user input.

[0049] Generally speaking, the same controller 200 may be connected to one or more user connectors 300. Additionally or alternatively, the user connector 300 may include one or more installations of a card reader. Figure 4There is schematically illustrated a system 100 comprising a controller 200 having an electronic access control unit, wherein the controller 200 is connected to a single user connector 300 comprising a single Wiegand installation of a card reader. Figure 5 Schematically illustrated is a system 100 comprising a controller 200 with an electronic access control unit, wherein the controller 200 is connected to at least one user connector 300, wherein each of the user connectors 300 comprises a single RS485 installation of a card reader, or wherein a single user connector 300 comprises at least one RS485 installation of a card reader. Figure 4 and Figure 5 In the embodiment, the electronic access control unit may be replaced by a POS terminal or an ATM terminal as described above.

[0050] Figure 6 is a flow chart illustrating an embodiment of a method for reading both RS485 data signals and Wiegand data signals from a user connector 300 having two output ports. The method is performed by the controller 200. The method is advantageously provided as a computer program 320.

[0051] As above Figure 2 and Figure 3 As disclosed, the controller 200 includes an RS485 transceiver 230 , an RS485 interface 210 and a Wiegand interface 220 .

[0052] S102 : Read a data signal from each of the output ports of the user connector 300 in the two input ports A, B of the RS485 transceiver 230 , wherein each of the two input ports A, B is connected to a corresponding one of the two output ports of the user connector 300 .

[0053] S104 : Providing, at the output port RO of the RS485 transceiver 230 , an RS485 data signal defined by the data signals read on the two output ports.

[0054] S106 : Receive the RS485 data signal at the RS485 data port RS485_RX of the RS485 interface 210 . The RS485 data port RS485_RX is connected to the output port RO of the RS485 transceiver 230 .

[0055] S108 : Receive the RS485 data signal at the Wiegand data port WIEGAND DATA of the Wiegand interface 220 . The Wiegand data port WIEGAND DATA is connected to the output port RO of the RS485 transceiver 230 .

[0056] S110: Data ready port on Wiegand interface 220 The RS485 data signal is determined at the WIEGAND DATA port to be read as a Wiegand data signal. The first logic circuit 240 is connected to two input ports A and B.

[0057] Generally speaking, all embodiments, aspects and examples disclosed above with reference to the controller 200 are also applicable to the disclosed method of reading both RS485 data signals and Wiegand data signals from the user connector 300 .

[0058] For completeness of the present disclosure, an overview of some of the embodiments, aspects and examples disclosed above with reference to the controller 200 applied to the disclosed method of reading both RS485 data signals and Wiegand data signals from the user connector 300 will be disclosed next.

[0059] According to the disclosed method, the data ready port Can be active low.

[0060] According to the disclosed method, the first logic circuit 240 may be a logic AND circuit.

[0061] According to the disclosed method, the RS485 data signal can be read as a Wiegand data signal on the Wiegand data port WIEGAND DATA only when the output of the logic AND circuit is low.

[0062] In some embodiments, the method includes using the fault indicator port of the Wiegand interface 220 To determine whether the RS485 data signal is in a fault state, the fault indicator port It is connected to two input ports A, B via a second logic circuit 250 .

[0063] According to the disclosed method, the fault indicator port Can be active low.

[0064] According to the disclosed method, the second logic circuit 250 may be a logic OR circuit.

[0065] In some embodiments, the method includes identifying that the RS485 data signal is in a fault state and not reading the RS485 data signal as a Wiegand data signal on the Wiegand data port WIEGAND DATA when the output from the logic OR circuit is low.

[0066] Figure 7 The components of the controller 200 according to the embodiment are schematically illustrated from the perspective of multiple functional units. The processing circuit 710 uses a computer program product 810 (eg, a computer program product 810) stored in, for example, the form of a storage medium 730 to execute. Figure 8 The processing circuit 710 may be provided by any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), etc., which execute software instructions in the processor 710 (as shown in the figure). The processing circuit 710 may additionally be provided as at least one application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).

[0067] In particular, the processing circuit 710 is configured to cause the controller 200 to perform a set of operations or steps as described above. For example, the storage medium 730 may store the set of operations, and the processing circuit 710 may be configured to obtain the set of operations from the storage medium 730 to cause the controller 200 to perform the set of operations. The set of operations may be provided as a set of executable instructions.

[0068] Therefore, the processing circuit 710 is thus arranged to perform the method disclosed herein. The storage medium 730 may also include permanent storage, which may be, for example, any one or combination of the following: magnetic storage, optical storage, solid-state storage, or even remotely mounted storage. The controller 200 may further include a communication interface 720, which is at least configured to communicate with other entities, functions, nodes, and devices such as user connectors 300. In this way, the communication interface 720 may include one or more transmitters and receivers including analog and digital components. For example, the communication interface 720 may include an RS485 interface 210 and a Wiegand interface 220. In some examples, the communication interface 720 may further include an RS485 transceiver 230, a first logic circuit 240, and / or a second logic circuit 250. The processing circuit 710 controls the general operation of the controller 200, for example, by sending data and control signals to the communication interface 720 and the storage medium 730, by receiving data and reports from the communication interface 720, and by acquiring data and instructions from the storage medium 730. Other components of the controller 200 and related functions are omitted so as not to obscure the concepts presented herein.

[0069] The controller 200 may be provided as a standalone device or as part of at least one other device. Thus, a first portion of the instructions executed by the controller 200 may be executed in a first device, and a second portion of the instructions executed by the controller 200 may be executed in a second device; the embodiments disclosed herein are not limited to any particular number of devices on which the instructions executed by the controller 200 may be executed. Thus, the methods according to the embodiments disclosed herein are suitable for execution by the controller 200 residing in a cloud computing environment. Thus, although Figure 7 A single processing circuit 710 is illustrated in FIG, but the processing circuit 710 may be distributed in multiple devices or nodes. The same applies to Figure 8 Computer program 820.

[0070] Figure 8 An example of a computer program product 810 comprising a computer-readable storage medium 830 is shown. On the computer-readable storage medium 830, a computer program 820 may be stored, which may cause the processing circuit 710 and entities and devices operatively coupled thereto, such as the communication interface 720 and the storage medium 730, to perform methods according to the embodiments described herein. The computer program 820 and / or the computer program product 810 may thus provide means for performing any of the steps disclosed herein.

[0071] exist Figure 8 In the example of , the computer program product 810 is illustrated as an optical disc such as a CD (Compact Disc) or a DVD (Digital Versatile Disc) or a Blu-ray Disc. The computer program product 810 may also be implemented as a memory such as a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or an electrically erasable programmable read-only memory (EEPROM), and more specifically, the computer program product 810 may be implemented in the form of an external memory as a non-volatile storage medium of the device, such as a USB (Universal Serial Bus) memory or a flash memory such as a compact flash. Thus, although the computer program 820 is schematically shown here as a track on the depicted optical disc, the computer program 820 may be stored in any manner suitable for the computer program product 810.

[0072] The inventive concept has mainly been described above with reference to a few embodiments. However, as readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept as defined by the appended patent claims.

Claims

1. A controller for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports, the controller comprising: An RS485 transceiver having: two input ports, each of the two input ports being connected to a corresponding one of the two output ports of the user connector for reading a data signal from each of the output ports of the user connector; and an output port for providing an RS485 data signal defined by the data signals read on the two output ports; An RS485 interface having an RS485 data port, wherein the RS485 data port is connected to the output port of the RS485 transceiver for receiving the RS485 data signal; A Wiegand interface having a Wiegand data port and a data ready port, wherein the Wiegand data port is connected to the output port of the RS485 transceiver for receiving the RS485 data signal, and the data ready port is connected to the two input ports via a first logic circuit included in the controller for determining whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port.

2. The controller according to claim 1, wherein: The data ready port is active low.

3. The controller according to claim 1, wherein: The first logic circuit is a logic AND circuit.

4. The controller according to claim 1, wherein: The data ready port is active low, wherein the first logic circuit is a logic AND circuit, and wherein the RS485 data signal is to be read as the Wiegand data signal on the Wiegand data port only when the output from the logic AND circuit is low.

5. The controller according to claim 1, wherein: The Wiegand interface has a fault indicator port connected to the two input ports via a second logic circuit for determining whether the RS485 data signal is in a fault state.

6. The controller according to claim 5, wherein: The fault indicator port is active low.

7. The controller according to claim 5, wherein: The second logic circuit is a logic OR circuit.

8. The controller according to claim 5, wherein: The fault indicator port is low level active, wherein the second logic circuit is a logic OR circuit, and wherein, when the output from the logic OR circuit is low level, the RS485 data signal is in a fault state and the RS485 data signal is not read as the Wiegand data signal on the Wiegand data port.

9. A system comprising the controller according to claim 1 and the user connector.

10. The system according to claim 9, wherein: The controller is an electronic access control unit.

11. The system according to claim 9, wherein: The user connector is an electronic card reader.

12. The system according to claim 11, wherein: The user connector includes a single Wiegand installation for the card reader.

13. The system according to claim 11, wherein: The user connector includes at least one RS485 installation of the card reader.

14. A method for reading both RS485 data signals and Wiegand data signals from a user connector having two output ports, the method being performed by a controller comprising an RS485 transceiver, an RS485 interface and a Wiegand interface, the method comprising: reading a data signal from each of the output ports of the user connector at two input ports of the RS485 transceiver, wherein each of the two input ports is connected to a corresponding one of the two output ports of the user connector; Providing the RS485 data signal defined by the data signal read on the two output ports at the output port of the RS485 transceiver; Receive the RS485 data signal at the RS485 data port of the RS485 interface, the RS485 data port being connected to the output port of the RS485 transceiver; receiving the RS485 data signal at a Wiegand data port of the Wiegand interface, the Wiegand data port being connected to the output port of the RS485 transceiver; as well as A determination is made at a data ready port of the Wiegand interface whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port, the data ready port being connected to the two input ports via a first logic circuit included in the controller.

15. A computer program product for receiving a signal from a user connector, the computer program product comprising computer code which, when executed on processing circuitry of a controller comprising an RS485 transceiver, an RS485 interface and a Wiegand interface, causes the controller to: reading a data signal from each of the two output ports of the user connector at two input ports of the RS485 transceiver, wherein each of the two input ports is connected to a corresponding one of the two output ports of the user connector; Providing an RS485 data signal defined by the data signal read on the two output ports at the output port of the RS485 transceiver; Receive the RS485 data signal at the RS485 data port of the RS485 interface, the RS485 data port being connected to the output port of the RS485 transceiver; receiving the RS485 data signal at a Wiegand data port of the Wiegand interface, the Wiegand data port being connected to the output port of the RS485 transceiver; and A determination is made at a data ready port of the Wiegand interface whether the RS485 data signal is to be read as a Wiegand data signal on the Wiegand data port, the data ready port being connected to the two input ports via a first logic circuit included in the controller.