-
公开(公告)号:US20200296500A1
公开(公告)日:2020-09-17
申请号:US16062764
申请日:2015-12-17
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Liang WANG
IPC: H04R1/10 , G10K11/178
Abstract: An ambient sound processing method provided includes determining a time-frequency spectrum of an ambient sound in preset duration. A matching scenario is determined from at least one preset scenario according to the time-frequency spectrum of the ambient sound in the preset duration, where a time-frequency spectrum of the matching scenario matches the time-frequency spectrum of the ambient sound in the preset duration. Operation information corresponding to the matching scenario is determined as the operation information to be executed, and an operation is performed according to the operation information to be executed and a subsequently received ambient sound, and an operated signal is determined. The operated signal is mixed to obtain a mixed signal, and the mixed signal is transmitted to a headset, where the mixed signal includes at least an audio signal played by user equipment of a user.
-
公开(公告)号:US20200236201A1
公开(公告)日:2020-07-23
申请号:US16839973
申请日:2020-04-03
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Liang WANG , Xiaoping FAN , Xu ZHANG
Abstract: A method includes extracting packet information of a data packet to be transmitted through a Transmission Control Protocol (TCP) connection. If the packet information does not match information in a first data flow table, a first compliance detection is performed on the data packet. A state machine of the TCP connection is obtained if the first compliance detection is successful. The method also includes recording the packet information in the first data flow table, recording a connection status of the TCP connection in a first connection tracking table, and sending the data packet to a receiving end of the TCP connection. If the packet information matches the information in the first data flow table, a second compliance detection is performed on the data packet and, if the second compliance detection fails, the connection status of the TCP connection is adjusted and the data packet is discarded.
-