Method, device and system for acquiring network data
A network data and acquisition method technology, applied in the field of browser page data filtering, can solve problems such as difficult function expansion, waste of resources, complex implementation and update, etc., to facilitate update and function expansion, reduce a large number of repeated codes, and reduce resources the effect of consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] This embodiment will be described from the perspective of a device for obtaining network data. Specifically, the device for obtaining network data may be integrated in a server, such as an application server.
[0032] A method for acquiring network data, comprising: regularly acquiring a configuration file; loading a corresponding dynamic library file according to the configuration file, and calling a corresponding plug-in function; obtaining parameters related to the plug-in function from the configuration file; according to the parameter Execute the plug-in function to obtain network data.
[0033] Such as Figure 1b As shown, the specific flow of the network data acquisition method may be as follows:
[0034] 101. Obtain configuration files regularly.
[0035] For example, specifically, an acquisition period may be set, and then the configuration file may be acquired periodically according to the period. Wherein, the period can be set according to actual applicati...
Embodiment 2
[0082] According to the method described in Embodiment 1, an example will be given below for further detailed description.
[0083] In this embodiment, it will be described by taking that the network data is specifically electronic reading material information, and the device for obtaining the network data is integrated in a server as an example.
[0084] Such as figure 2 As shown, a method for obtaining network data, the specific process may be as follows:
[0085] 201. When the server determines that the current operating environment meets the preset condition, load the configuration file.
[0086] Wherein, the current running environment may include running time information, and / or state information of each software and hardware, etc., and the preset condition may be set according to actual application requirements.
[0087]Optionally, in order to save the signaling process and improve processing efficiency, when loading the configuration file, it can also be judged whet...
Embodiment 3
[0129] In order to better implement the above method, the embodiment of the present invention also provides a network data acquisition device, such as Figure 3a As shown, the network data acquisition device includes a file acquisition unit 301, a call unit, a parameter acquisition unit 303 and an execution unit 304, as follows:
[0130] (1) file acquisition unit 301;
[0131] The file acquisition unit 301 is configured to periodically acquire configuration files.
[0132] For example, specifically, an acquisition period may be set, and then the configuration file may be acquired periodically according to the period. Wherein, the cycle can be set according to the actual application requirements.
[0133] Wherein, the format of the configuration file may be determined according to actual application requirements, for example, an xml format may be used.
[0134] Among them, when obtaining the configuration file, the configuration file can be obtained from other devices, or th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


