-
公开(公告)号:US10764369B2
公开(公告)日:2020-09-01
申请号:US15890817
申请日:2018-02-07
Inventor: Tianyu Wang
IPC: H04L29/08
Abstract: Data may be stored in a distributed server cluster which includes a plurality of nodes. A specific implementation of a method for storing data in the distributed server cluster comprises: receiving a data write request, the data write request comprising to-be-written data; broadcasting the data write request to each of groups in the server cluster, the each of the groups comprising at least one node, and at least one of the groups comprising at least two nodes; and sending a notification message of successful writing to a client sending the data write request, in response to receiving a confirmation message fed back from more than a half of the groups.
-
公开(公告)号:US10250515B2
公开(公告)日:2019-04-02
申请号:US15281328
申请日:2016-09-30
Inventor: Tianyu Wang
IPC: H04L12/805 , H04L29/06 , H04L12/861 , H04L12/26 , H04L12/801
Abstract: The present application discloses a method and device for forwarding a data message. A specific embodiment of the method comprises: receiving the data message and reading a data context length value of a first row in the data message; determining whether the data context length value is less than or equal to a maximum segment size in a single transmission according to a transmission control protocol; reading data from the data message in segments in response to the data context length value being less than or equal to the maximum segment size in the single transmission according to the transmission control protocol; reading data from the data message in rows in response to the data context length value being greater than the maximum segment size in the single transmission according to the transmission control protocol; and storing the read data in a user buffer, and sending the data in the user buffer to a terminal if the data in the user buffer exceeds a preset capacity threshold. According to this embodiment, the data messages can be quickly and efficiently forwarded.
-
公开(公告)号:US10177970B2
公开(公告)日:2019-01-08
申请号:US15281234
申请日:2016-09-30
Inventor: Tianyu Wang
IPC: G06F9/50 , G06F21/00 , H04L12/24 , H04L12/26 , H04L29/08 , H04W40/00 , H04L12/877 , H04L12/911
Abstract: The present application discloses a method and apparatus for controlling a database connection. A specific embodiment of the method comprises: receiving an access request for a database sent by a terminal; determining whether a database connection pool comprises an idle database connection for the database; reusing the idle database connection to connect the terminal with the database if the database connection pool comprises the idle database connection for the database; and establishing a new database connection, in order to connect the terminal with the database by utilizing the new database connection if the database connection pool comprises no idle database connections. This embodiment effectively utilizes fewer database connections to support database access requests.
-
4.
公开(公告)号:US11108817B2
公开(公告)日:2021-08-31
申请号:US16156997
申请日:2018-10-10
Inventor: Hui Chen , Qiang Huang , Tianyu Wang , Zhaoyi Liu
IPC: H04L29/06 , G06F16/2455
Abstract: A method for detecting SQL injection interception is provided. The method includes: detecting a received SQL instruction according to a SQL syntax tree rule to determine that the received SQL instruction is a malicious instruction; and analyzing the received SQL instruction by using an analysis model to determine that the received SQL instruction is a potentially malicious instruction, in a case that the received SQL instruction is not determined to be a malicious instruction according to the SQL syntax tree rule. The method can combine the online detection and the offline analysis to intercept the invading malicious SQL commands, and can also find and supplement the loopholes of the rules through offline analysis.
-
5.
公开(公告)号:US20190306191A1
公开(公告)日:2019-10-03
申请号:US16156997
申请日:2018-10-10
Inventor: Hui Chen , Qiang Huang , Tianyu Wang , Zhaoyi Liu
IPC: H04L29/06
Abstract: A method for detecting SQL injection interception is provided. The method includes: detecting a received SQL instruction according to a SQL syntax tree rule to determine that the received SQL instruction is a malicious instruction; and analyzing the received SQL instruction by using an analysis model to determine that the received SQL instruction is a potentially malicious instruction, in a case that the received SQL instruction is not determined to be a malicious instruction according to the SQL syntax tree rule. The method can combine the online detection and the offline analysis to intercept the invading malicious SQL commands, and can also find and supplement the loopholes of the rules through offline analysis.
-
公开(公告)号:US20170346753A1
公开(公告)日:2017-11-30
申请号:US15281328
申请日:2016-09-30
Inventor: Tianyu Wang
IPC: H04L12/805 , H04L12/26 , H04L12/801 , H04L12/861
CPC classification number: H04L47/36 , H04L43/16 , H04L47/193 , H04L49/9005 , H04L49/9094
Abstract: The present application discloses a method and device for forwarding a data message. A specific embodiment of the method comprises: receiving the data message and reading a data context length value of a first row in the data message; determining whether the data context length value is less than or equal to a maximum segment size in a single transmission according to a transmission control protocol; reading data from the data message in segments in response to the data context length value being less than or equal to the maximum segment size in the single transmission according to the transmission control protocol; reading data from the data message in rows in response to the data context length value being greater than the maximum segment size in the single transmission according to the transmission control protocol; and storing the read data in a user buffer, and sending the data in the user buffer to a terminal if the data in the user buffer exceeds a preset capacity threshold. According to this embodiment, the data messages can be quickly and efficiently forwarded.
-
公开(公告)号:US20170331674A1
公开(公告)日:2017-11-16
申请号:US15281234
申请日:2016-09-30
Inventor: Tianyu Wang
CPC classification number: H04L41/069 , G06F9/5033 , G06F9/5083 , G06F21/00 , H04L41/0654 , H04L43/12 , H04L47/525 , H04L47/70 , H04L67/1002 , H04W40/00
Abstract: The present application discloses a method and apparatus for controlling a database connection. A specific embodiment of the method comprises: receiving an access request for a database sent by a terminal; determining whether a database connection pool comprises an idle database connection for the database; reusing the idle database connection to connect the terminal with the database if the database connection pool comprises the idle database connection for the database; and establishing a new database connection, in order to connect the terminal with the database by utilizing the new database connection if the database connection pool comprises no idle database connections. This embodiment effectively utilizes fewer database connections to support database access requests.
-
-
-
-
-
-