Abstract:
An interaction method and application platform for a social network site (SNS) are disclosed. The method includes: receiving a connection instruction of a user, and connecting to the user according to the connection instruction; receiving user information uploaded by the user or acquiring user information locally, and updating the user information to a preset information sharing space; and sharing information and performing anonymous SNS interaction between the current user and at least one other user based on the information sharing space. The present disclosure not only enhances an interaction manner between users, and expands a channel for the users to learn about each other, but also improves a success rate of user matching, and develops user relation chains, thereby generating abundant album resources and users with high quality content from whom high-quality users are extracted to form principally recommended users.
Abstract:
A text classification method includes: obtaining a target text and an associated text corresponding to the target text; performing feature extraction on the target text and the associated text to obtain feature information, the feature information including one or more features; processing the feature information by using an attention mechanism to obtain one or more attention weights respectively corresponding to the one or more features, an attention weight indicating importance of the corresponding feature for the target text and the associated text; and obtaining a class detection result and result interpretation information corresponding to the target text based on the feature information and the one or more attention weights, the class detection result comprising a class distribution probability corresponding to the target text, and the result interpretation information describing impact of the one or more features on the class detection result.
Abstract:
A session message generation method, apparatus and device and storage medium. The method includes: acquiring historical session messages between a session robot and a target user in the current man-machine session process and a session reference information set related to a session topic when it is detected that there is a trigger event in the current man-machine session process; determining a target session role of the session robot at the time of performing a message input operation according to the historical session messages and the session reference information set; and generating a target session message corresponding to the target session role based on the historical session messages and the session reference information set, and outputting the target session message.
Abstract:
Methods and devices for email management are provided. According to email information of emails in an email box, whether an email box contains advertisement emails is determined. The email information at least contains sender addresses of the emails. When the email box contains the advertisement emails, classification data of the advertisement emails are obtained by obtaining the email information of the advertisement emails and classifying the advertisement emails, according to the sender addresses thereof, to form advertisement-email sets with each set containing at least one advertisement email. The at least one advertisement email in a same advertisement-email set has a same sender address. The advertisement emails are displayed according to the classification data thereof. Accordingly, the email managing device includes a determining module, an obtaining module, and a displaying module.
Abstract:
A method for processing session and a device thereof, a server and a storage medium are provided. The method includes: capturing packets sent from a client associated with the session; reconstituting a packet flow of the session from the captured packets based on quintets of the packets, wherein the quintet comprises a source address, a destination address, a source port, a destination port and a protocol number of the packet; extracting a behavior attribute of the client from the packet flow; determining that the behavior attribute of the client is beyond a baseline; and interrupting the session with the client.
Abstract:
An across-application network communication method and device including loading and starting a plug-in module of a local application, and sending, by the plug-in module of the local application, account information of a user to a server of an opposite application; verifying, by a server of the opposite application, the user according to the account information of the user, and when the verification is passed, allowing the plug-in module of the local application to obtain information of the user in the opposite application; and obtaining, by the plug-in module of the local application, the information of the user in the opposite application. The method and device can implement across-application network communication, so as to combine different Internet applications perfectly.
Abstract:
A method and device for detecting a DDoS attack are provided. The method includes: acquiring data messages received by a server in a real-time manner, and parsing each of the data messages received by the server within a preset time period to extract a feature from the data message; obtaining a ratio of the number of data messages in each protocol type to a total number of the data messages based on the extracted feature; determining whether the ratio of the number of data messages in each protocol type to the total number of the data messages conforms to the ratio baseline corresponding to the protocol type; and determining that the DDoS attack occurs in the server in a case that the obtained ratio does not conform to the ratio baseline corresponding to the protocol type.