Abstract:
The present application discloses a data processing method and apparatus for performing protocol parsing in the cloud. A specific implementation of the method includes: acquiring a slave station data reading rule table that is configured by a user in the cloud; downloading the slave station data reading rule table to a gateway in a slave station; receiving slave station data that is associated with the slave station and that is read by the gateway according to the slave station data reading rule table; parsing the slave station data according to a parsing table in the cloud preset by the user; and processing the parsed slave station data. This implementation implements the processing of data of different communication protocols in the cloud.
Abstract:
An automatic control system and method of chillers for a data center are provided. The control system includes: a plurality of servers; a plurality of first temperature sensors, mounted at air inlets of the plurality of servers, respectively, and configured to detect temperatures at the air inlets of the plurality of servers in a real-time manner, respectively; a controller, configured to receive detected temperatures sent by the plurality of first temperature sensors, calculate an average temperature in the data center according to the detected temperatures, and generate a control instruction according to the average temperature in the data center; and an air conditioner, configured to receive the control instruction sent by the controller, and adjust a working mode of the air conditioner according to the control instruction.
Abstract:
The application discloses a distributed method and apparatus for processing streaming data. A specific implementation of the method comprises: encapsulating received streaming data as a first resilient distributed dataset; performing a grouping operation of the first resilient distributed dataset based on time windows, the grouping operation comprising: assigning each data element in the first resilient distributed dataset into a group corresponding to the time window to which a recorded timestamp of the data element belongs, and forming second resilient distributed datasets, each of the second resilient distributed datasets comprising a limited number of data elements and corresponding to the time window; encapsulating the second resilient distributed datasets as a nested dataset comprising a plurality of the second resilient distributed datasets; passing, using a predefined traversal operator, each of the second resilient distributed datasets in the nested dataset successively to a batch operator defined in a finite dataset to perform distributed data processing. This implementation achieves the reuse of the operator in the resilient distributed dataset.
Abstract:
The present application discloses a website monitoring method and device. A specific embodiment of the method comprises the following steps: receiving monitoring information of websites to be monitored from the allocation server, the monitoring information transmitted to the plurality of monitoring servers after the allocation server parses a website monitoring request for the websites to be monitored transmitted from the terminal, and the monitoring information comprising monitoring cycles and monitoring types; allocating, according to a preset allocation algorithm, different monitoring execution times for the websites to be monitored; determining priorities of the websites to be monitored based on lengths of the monitoring cycles; and selecting, based on the priorities, a worker thread from a pre-created thread pool to allow the selected worker thread to periodically monitor the websites to be monitored at the monitoring execution times. According to the embodiment, inherent resources of each monitoring server are sufficiently utilized and the failure rate and the error rate of website monitoring are reduced.
Abstract:
The present disclosure provides a method and apparatus for processing promotional information, an apparatus and a non-volatile computer storage medium. In one aspect, in embodiments of the present disclosure, it is feasible to obtain video information to be played; thereby obtain position information of promotional information included by the video information in the video information; and thereby, according to the position information of promotional information in the video information, not display the promotional information upon playing the video information. Hence, technical solutions provided embodiments of the present disclosure may not display the promotional information in the played video information, and thereby may eliminate adverse influence exerted by inserting promotional information upon playing the video information in the prior art.
Abstract:
A method and a device for checking health of a link are disclosed in the present disclosure. The method includes: receiving and saving control information generated by a keep-alive program; performing a matching on a message received according to the control information, processing the message if the matching is successful, and sending a processed message to the server to be checked; and determining that the link is healthy if a response message is received from the server to be checked, and determining that the link is unhealthy if no response message r is received from the server to be checked. With embodiments of the present disclosure, control information generated by the keep-alive program is received and saved, a matching is performed on a received message according to the control information, and the message is processed if the matching is successful, and then the processed message is sent to a server to be checked, such that whether a link corresponding to the server to be checked is healthy is checked. The above procedure is in accordance with the procedure of accessing the LVS, and thus the problem of traffic loss or mistakenly rejecting the server may be solved and the accuracy of checking health may be improved.
Abstract:
The present invention provides a method and apparatus for invoking a service in a mobile terminal, wherein the method comprises steps of: determining, for an application being running, one or more service requested by the application by querying a service information library; invoking the one or more service in order to be provided to the application. Compared with the prior art, the present invention enhances user experience and improves application development efficiency through cooperation between applications.
Abstract:
The present invention proposes a pushing method based on location information, comprising: recording a plurality of areas passed by a user; obtaining a resident area of the user according to the frequencies at which the user uses an electronic map in the plurality of areas, and pushing, when it is judged that the user enters a new area from the resident area, point of interest information in the new area to the user according to the point of interest information about the user in the resident area. The method in the embodiments of the present invention fully exploits the interests of a user and performs personalized customization, may better meet and inspire the needs of the user, and is widely applicable and easy to expand. The present invention also discloses a pushing system and server based on location information.
Abstract:
Provided are a location-based positioning method and system. The method comprises the following steps. A positioning request is received from a terminal and a location and a moving trajectory of the terminal are determined. A predicted trajectory is calculated according to the moving trajectory and road network information. A positioning request is received from the terminal at a position correction point, and a moving direction and a moving speed of the terminal is received in accordance with a location of the position correction point and the predicted trajectory. A next location of the terminal in the determined moving direction is determined based on the predicted trajectory.
Abstract:
The present invention proposes a pushing method based on location information, comprising: recording a plurality of areas passed by a user; obtaining a resident area of the user according to the frequencies at which the user uses an electronic map in the plurality of areas, and pushing, when it is judged that the user enters a new area from the resident area, point of interest information in the new area to the user according to the point of interest information about the user in the resident area. The method in the embodiments of the present invention fully exploits the interests of a user and performs personalized customization, may better meet and inspire the needs of the user, and is widely applicable and easy to expand. The present invention also discloses a pushing system and server based on location information.