User equipment, comprising a processor and a memory that are connected by using a data bus, and at least one communications interface separately connected to the processor and the memory, wherein the processor is configured to: receive, by using the at least one communications interface, information that is about a time resource and/or a frequency resource obtained by contention by a base station eNB in an unlicensed spectrum and is sent by the base station; and the processor is further configured to communicate with the base station eNB according to the information about the time resource and/or the frequency resource and by using the at least one communications interface; wherein the processor is specifically configured to: determine configuration information according to the information about the time resource and/or the frequency resource, wherein the UE performs at least one of the following operations to determine the configuration information according to the information about the time resource and/or the frequency resource: calculating a valid time of the time resource and/or the frequency resource according to a start moment of received physical downlink control channel PDCCH scheduling signaling, or calculating a valid time of the time resource and/or the frequency resource according to a preset time; and/or detecting a primary synchronization signal PSS and/or a secondary synchronization signal SSS on the obtained time resource and/or frequency resource according to the time resource and/or the frequency resource; and/or determining a length of a DRX activation time according to a preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource; and determining, according to the preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource, an operation for a timer corresponding to DRX. receive, by using the at least one communications interface, information that is about a time resource and/or a frequency resource obtained by contention by a base station eNB in an unlicensed spectrum and is sent by the base station; and the processor is further configured to communicate with the base station eNB according to the information about the time resource and/or the frequency resource and by using the at least one communications interface; wherein the processor is specifically configured to: determine configuration information according to the information about the time resource and/or the frequency resource, wherein the UE performs at least one of the following operations to determine the configuration information according to the information about the time resource and/or the frequency resource: calculating a valid time of the time resource and/or the frequency resource according to a start moment of received physical downlink control channel PDCCH scheduling signaling, or calculating a valid time of the time resource and/or the frequency resource according to a preset time; and/or detecting a primary synchronization signal PSS and/or a secondary synchronization signal SSS on the obtained time resource and/or frequency resource according to the time resource and/or the frequency resource; and/or determining a length of a DRX activation time according to a preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource; and determining, according to the preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource, an operation for a timer corresponding to DRX. calculating a valid time of the time resource and/or the frequency resource according to a start moment of received physical downlink control channel PDCCH scheduling signaling, or calculating a valid time of the time resource and/or the frequency resource according to a preset time; and/or detecting a primary synchronization signal PSS and/or a secondary synchronization signal SSS on the obtained time resource and/or frequency resource according to the time resource and/or the frequency resource; and/or determining a length of a DRX activation time according to a preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource; and determining, according to the preset discontinuous reception DRX parameter and the received information about the time resource and/or the frequency resource, an operation for a timer corresponding to DRX.