CN109597955A - A kind of more browser data analysis service platforms based on cloud platform - Google Patents

A kind of more browser data analysis service platforms based on cloud platform Download PDF

Info

Publication number
CN109597955A
CN109597955A CN201811484799.0A CN201811484799A CN109597955A CN 109597955 A CN109597955 A CN 109597955A CN 201811484799 A CN201811484799 A CN 201811484799A CN 109597955 A CN109597955 A CN 109597955A
Authority
CN
China
Prior art keywords
browser
data
client
module
core type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811484799.0A
Other languages
Chinese (zh)
Inventor
钱宝生
徐亮亮
赵晨轶
张宜文
唐稳
刘艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 15 Research Institute
Original Assignee
CETC 15 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 15 Research Institute filed Critical CETC 15 Research Institute
Priority to CN201811484799.0A priority Critical patent/CN109597955A/en
Publication of CN109597955A publication Critical patent/CN109597955A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of more browser data analysis service platforms based on cloud platform, the service platform include: that instruction acquisition module is configured as obtaining the data read information that client issues;Browser matching module is configured as generating data grabber instruction when determining data type information and being stored in service platform, the first browser core type list to mismatch;Data capture module is configured as being instructed according to data grabber, grabs the data to be read being stored in client, and data to be read are sent to data resolution module;Data resolution module is configured as the core type according to the first browser, generates the corresponding parsing data of data to be read, and parsing data are sent to client;Client is configured as calling the first browser, display parsing data according to parsing data.By the technical solution in the application, is conducive to the speed of response for improving browser in cloud platform, reduces the waste of memory source in operation system.

Description

A kind of more browser data analysis service platforms based on cloud platform
Technical field
This application involves the technical fields of cloud platform, in particular to a kind of more browser datas based on cloud platform Analysis service platform.
Background technique
Browser technology refers to can be with display server or the HTML content of file system, and allows user and these files A kind of interactive software technology.Browser is used to text, image and the other information being shown in internet or local area network.These Text or image, can be the hyperlink for connecting other network address, and user can browse various information rapidly and easily.
With the continuous expansion of cloud platform application field, the operation system in cloud platform is usually by different exploitation groups Team builds according to different technology path progress frames, leads to the files classes that the front-end technology of operation system is various and need to handle Type is different, although being usually the kernel software for interacting browser as cloud platform and user, due to operation system During frame is built, the version of the browser used and the difference of kernel cause user to be led in respective client It, can not normal display data when crossing operation system progress reading data.
And in the prior art, it is usually directed to client, by pushing different compatible browser plug-ins, so that user Data to be read can be shown by being installed on the browser of client, browser plug-in follows browser and centainly standardizes Application programming interfaces, by plug-in unit, can be made by oneself for handling specific type file or interacting with client computer local resource Some behaviors of adopted browser adapt to various needs.But during carrying out reading data and display using browser plug-in, Biggish memory source in client is typically taken up when running browser, influences the speed of response of browser and the money of client Source is dispatched, and the data-handling capacity of cloud platform is not used during handling this kind of data, causes certain journey The wasting of resources on degree.
Summary of the invention
The purpose of the application is: being converted, is provided for user clear in client to data to be read using cloud platform The data that device of looking at can be shown reduce the occupancy of memory source in client, improve the speed of response of browser.
The technical solution of the application is: providing a kind of more browser data analysis service platforms based on cloud platform, takes Business platform is connected with an at least client, and at least one first browser is equipped in client, is stored with data to be read, It is characterized in that, service platform, comprising: instruction acquisition module, browser matching module, data capture module and data parsing Module;Instruction acquisition module is configured as obtaining the data read information that client issues, wherein includes in data read information Data type information;Browser matching module be configured as when determine data type information and be stored in it is in service platform, the When the core type list of one browser mismatches, data grabber instruction is generated;Data capture module is configured as according to data Fetching instruction grabs the data to be read being stored in client, and data to be read is sent to data resolution module;Data Parsing module is configured as the core type according to the first browser, generates the corresponding parsing data of data to be read, and will solution Analysis data are sent to client;Client is configured as calling the first browser, display parsing data according to parsing data.
In any of the above-described technical solution, further, browser matching module is additionally configured to when judgement data type When information and core type list match, browser process instruction is generated and sent to client;Client is configured as basis Browser process instruction calls the first browser, parses data to be read.
In any of the above-described technical solution, further, browser matching module generates and sends browser process instruction When, browser matching module is specifically configured to: for any client, when core type number in judgement core type list When amount is equal to, browser resolves instruction is generated and sent;When determining that core type quantity is greater than in core type list, judgement In core type list, the core type that matches with data type information, if with send data read information it is first clear Look at device core type it is identical, if they are the same, generate and send browser resolves instruction, if it is different, browser matching module according to The core type to match with data type information generates and sends browser call instruction, wherein browser process instruction packet Include browser resolves instruction and browser call instruction.
In any of the above-described technical solution, further, service platform, further includes: type judging module and update module; Type judging module is configured as judging whether the core type of the second browser belongs to when client installs the second browser The core type list being stored on service platform, type judging module are additionally configured to update the first browser when client When, judge whether the core type of updated first browser belongs to core type list;Update module, which is configured as working as, to be sentenced It is raw when the core type of fixed second browser or the core type of updated first browser are not belonging to core type list At kernel more new command, core type list is updated.
In any of the above-described technical solution, further, service platform, further includes: data memory module;Data store mould Block is configured as when data resolution module generates parsing data, according to core type list, storing and resolving data.
The beneficial effect of the application is: right by the way that browser matching module is arranged on the service platform based on cloud platform The type of data to be read is matched with the kernel of browser, if can match, the browser in client is called, if cannot Matching, then the data resolution module in utilization service platform generates the parsing data that client browser can be shown, improves The resource utilization of cloud platform reduces the occupancy of client memory source, avoids exploitation compatibility between different types of data The complex work of plug-in unit optimizes in cloud platform client to the analytic ability of data to be read.
In the application, when determining to have the browser that can parse data to be read in client, sent by judgement Whether the core type of the browser of data read information matches with data to be read, if matching, using the browser into The parsing of row data generates browser call instruction if mismatching, and calls corresponding browser to carry out data parsing, improves Service platform calls the accuracy of browser in client.By type judging module and update module, to clear in client Device installation situation of looking at is monitored, and adjusts the core type list in service platform in time, is improved service platform and is carried out client The accuracy that browser calls in holding, and then improve the reliability that client shows data to be read.
Detailed description of the invention
The advantages of above-mentioned and/or additional aspect of the application, will become bright in combining description of the following accompanying drawings to embodiment It shows and is readily appreciated that, in which:
Fig. 1 is showing according to more browser data analysis service platforms based on cloud platform of one embodiment of the application Meaning block diagram.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that the above objects, features, and advantages of the application Mode is applied the application is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, many details are elaborated in order to fully understand the application, still, the application may be used also To be implemented using other than the one described here other modes, therefore, the protection scope of the application is not by described below Specific embodiment limitation.
As shown in Figure 1, present embodiments providing a kind of more browser data analysis service platforms 10 based on cloud platform, take Business platform 10 is connected with an at least client 20, and at least one first browser is equipped in client 20, is stored with and continues Access evidence, service platform 10 includes: instruction acquisition module 11, browser matching module 12, data capture module 13 and data Parsing module 14;Instruction acquisition module 11 is configured as obtaining the data read information that client 20 issues, wherein reading data It include data type information in information;
Specifically, when user accesses operation system by client 20, through client 20 in the form of http request, to Instruction acquisition module 11 sends data read information, includes data type information in data read information, to judge access of continuing According to type be that multi-medium data or document data parse after instruction acquisition module 11 receives data read information The data type information of data to be read, and data type information is sent to browser matching module 12.
In the present embodiment, browser matching module 12 is configured as putting down when judgement data type information and the service of being stored in When in platform 10, the first browser core type list mismatches, data grabber instruction is generated;
Further, browser matching module 12 is additionally configured to when judgement data type information and core type list Timing generates and sends browser process instruction to client 20;Client 20 is configured as being adjusted according to browser process instruction With the first browser, data to be read are parsed.
Specifically, the core type list for the browser installed in each client is stored in service platform 10, when with When client 20 sends data read information in the form of http, browser matching module 12 is arranged according to core type at family Table, judge the first browser in client 20 kernel whether can data to be read in normal reading client 20, when When judgement can not normally be read, i.e., when data type information and core type list mismatch, browser matching module 12 is raw It is instructed at data grabber.When determining normally to read, i.e. data type information and core type list match, browser Browser process instruction is generated and sent to the client 20 with module 12, in order to which client 20 calls the first browser, Parse data to be read.
Further, when browser matching module 12 generates and sends browser process instruction, browser matching module 12 are specifically configured to: for any client 20,
When determining that core type quantity is equal to 1 in core type list, browser resolves instruction is generated and sent;
When determining that core type quantity is greater than 1 in core type list, judge in core type list, with data type The core type that information matches, if it is identical as the core type of the first browser of data read information is sent, if they are the same, Generate and send browser resolves instruction, if it is different, browser matching module 12 according to matching with data type information in Core type generates and sends browser call instruction, wherein browser process instruction includes browser resolves instruction and browser Call instruction.
Specifically, for any client 20, a kind of the first browser (the first browsing of kernel can be only installed thereon Device A), a variety of first browsers (the first browser B and the first browser C) of different kernels can also be installed.
When client 20 is only equipped with the first browser A, user sends number to service platform 10 by the first browser A Instructed according to reading, when browser matching module 12 be matched in kernel list of types the core type of the first browser A with to When reading data match and the corresponding core type quantity of client 20 is equal to 1, it is clear that browser matching module 12 generates first Look at the browser resolves instruction of device A, client 20 is analyzed the instruction according to looking at device, and the first browser A is called to parse data to be read.
When client 20 is equipped with the first browser B and the first browser C, the first browser B and the first browser C's Core type can be stored in the core type list in service platform 10.When user is flat to service by the first browser B Platform 10 sends data read command, at this point, browser matching module 12 can match in the corresponding core type list of client 20 To applicable core type, if the core type is the core type of the first browser B, browser matching module 12 generates the The browser resolves of one browser B instruct, if core type is the core type of the first browser C, browser matching module 12 generate the browser call instruction of the first browser C.
When user opens the link of a http in the first browser B, service platform 10 calls javascript interface Browser type corresponding to the url for currently needing to open is obtained, if browser matching module 12 determines the browser type It is identical as the type of the first browser B, then the url is opened with the first browser B.
If browser matching module 12 determine it is not identical, using url and browser type as ajax required parameter into Row operation, and the configuration information that format is JSON is returned, the address url for currently needing to open is matched in kernel list of types Corresponding browser type (the first browser C), such as: url is "/media/test.flv ", is matched to the configuration of "/* .flv " , that is, parsing browser type is " WT_chromium ", using url and browser type as browser call instruction, client The first browser C is called to parse data to be read according to the browser call instruction in end 20.
Being equipped with Firefox browser (the first browser B) and Chromium browser in setting client 20, (first is clear Look at device C) two kinds of browsers include Firefox browser and Chromium browser in corresponding core type table, on the one hand, Firefox browser cannot support the browsing and broadcasting of the multi-medium datas such as flash, audio-video, and Chromium browser energy It is enough to support these functions well;On the other hand, official document editor's correlation function is realized in office system by way of WPS plug-in unit Can, the plug-in unit based on Firefox browser exploitation that operation system provides can not use in Chromium browser.When with When multi-medium data is opened with Firefox browser in family, service platform 10 is generated according to the url of Firefox browser The browser resolves of Firefox browser instruct, when user opens WPS data with Firefox browser, service platform 10 According to the url of Firefox browser, the browser call instruction of Chromium browser is generated.
In the present embodiment, data capture module 13 is configured as being instructed according to data grabber, and crawl is stored in client Data to be read on 20, and data to be read are sent to data resolution module 14;Data resolution module 14 is configured as root According to the core type of the first browser, the corresponding parsing data of data to be read are generated, and parsing data are sent to client 20;Client 20 is configured as calling the first browser, display parsing data according to parsing data.
Specifically, it sets and the first browser A is installed in client 20, the corresponding data type of data to be read is type D.When the data type D of the core type and data to be read that determine the first browser A in client 20 is mismatched, by clear Device matching module 12 of looking at generates data grabber instruction, and data capture module 13 gradually grabs client according to the size of data of setting Data to be read in end 20, the size of crawl data can be determined according to network upload/downloading rate of cloud platform every time, It can be determined by the data processing rate of service platform.It, will by data resolution module 14 according to the core type of the first browser A The data to be read of crawl are converted to the data type that the first browser A can be shown by type D, generate parsing data, and will The parsing data of generation are sent to client 20, and then show the parsing data received by client 20, realize access of continuing According to display.
Further, service platform 10 further include: type judging module 15 and update module 16;15 quilt of type judging module It is configured to that it is flat to judge whether the core type of the second browser belongs to the service of being stored in when client 20 installs the second browser Core type list on platform 10, type judging module 15 are additionally configured to the judgement when client 20 updates the first browser Whether the core type of updated first browser belongs to core type list;Update module 16 is configured as when judgement second When the core type of the core type of browser or updated first browser is not belonging to core type list, kernel is generated More new command updates core type list.
Specifically, type judging module 15 and update module 16 are set on service platform 10, by type judging module 15 Periodically to client 20 send browser type inquiry instruction, when be equipped in client 20 second browser or first browsing When device is updated, client 20 is when responding browser type inquiry instruction, by the core type of the second browser or first The core type of browser is sent to type judging module 15, and the kernel class of the second browser is judged by type judging module 15 Whether the core type of type or updated first browser is stored in the corresponding core type list of client 20, such as Fruit exists, then shows that the core type of the second browser is identical as the core type of the first browser or updated first The core type of browser does not change, if it does not exist, then generating kernel more new command, and updates core type list, with The parsing of data to be read is carried out convenient for improving service platform 10 according to updated core type list.
Preferably, service platform 10 further include: data memory module 17;Data removing module 17 is configured as when data solution When analysing the generation parsing data of module 14, according to core type list, storing and resolving data.
Specifically, when data resolution module 14 generates parsing data, the parsing data of 17 pairs of data memory module generations It is stored, in order to which user is again turned on the data to be read by client 20, improves the respective rate of service platform 10.
The technical solution for having been described in detail above with reference to the accompanying drawings the application, present applicant proposes a kind of based on the more of cloud platform Browser data analysis service platform, service platform are connected with an at least client, and at least one the is equipped in client One browser is stored with data to be read, which is characterized in that service platform, comprising: instruction acquisition module, browser match mould Block, data capture module and data resolution module;Instruction acquisition module is configured as obtaining the reading data that client issues Information, wherein include data type information in data read information;Browser matching module is configured as when judgement data type When information is in service platform, the first browser core type list mismatch is stored in, data grabber instruction is generated;Number It is configured as being instructed according to data grabber according to handling module, grabs the data to be read being stored in client, and will be to be read Data are sent to data resolution module;Data resolution module is configured as the core type according to the first browser, and generation is continued Access is sent to client according to corresponding parsing data, and by parsing data;Client is configured as being called according to parsing data First browser, display parsing data.By the technical solution in the application, data to be read are turned using cloud platform Change, provides the data that browser can be shown in client for user, reduce the occupancy of memory source in client, improve browsing The speed of response of device.
Step in the application can be sequentially adjusted, combined, and deleted according to actual needs.
Module in the application device can be combined, divided and deleted according to actual needs.
Although disclosing the application in detail with reference to attached drawing, it will be appreciated that, these descriptions are only exemplary, not For limiting the application of the application.The protection scope of the application may include not departing from this Shen by appended claims It please be in the case where protection scope and spirit for various modifications, remodeling and equivalent scheme made by inventing.

Claims (5)

1. a kind of more browser data analysis service platforms based on cloud platform, the service platform (10) are connected at least one Client (20) is equipped at least one first browser on the client (20), is stored with data to be read, and feature exists In the service platform (10), comprising: instruction acquisition module (11), browser matching module (12), data capture module (13) And data resolution module (14);
Described instruction acquisition module (11) is configured as obtaining the data read information of the client (20) sending, wherein institute Stating includes data type information in data read information;
The browser matching module (12) is configured as when the judgement data type information and is stored in the service platform (10) when the core type list of in, described first browser mismatches, data grabber instruction is generated;
The data capture module (13) is configured as being instructed according to the data grabber, and crawl is stored in the client (20) On the data to be read, and the data to be read are sent to the data resolution module (14);
The data resolution module (14) is configured as the core type according to first browser, access of continuing described in generation The client (20) are sent to according to corresponding parsing data, and by the parsing data;
The client (20) is configured as calling first browser according to the parsing data, showing the parsing number According to.
2. more browser data analysis service platforms based on cloud platform as described in claim 1, which is characterized in that
The browser matching module (12) is additionally configured to when the judgement data type information and the core type list When matching, browser process instruction is generated and sent to the client (20);
The client (20) is configured as according to the browser process instruction, calls first browser, described in parsing Data to be read.
3. more browser data analysis service platforms based on cloud platform as claimed in claim 2, which is characterized in that described clear When device matching module (12) of looking at generates and sends the browser process instruction, the browser matching module (12) is specifically matched It is set to:
The client (20) described for any generates when determining that core type quantity is equal to 1 in the core type list And send browser resolves instruction;
When determining that core type quantity described in the core type list is greater than 1, judge in the core type list, with The core type that the data type information matches, if with first browser of the transmission data read information Core type is identical, if they are the same, the browser resolves instruction is generated and sent, if it is different, the browser matching module (12) according to the core type to match with the data type information, browser call instruction is generated and sent,
Wherein, the browser process instruction includes the browser resolves instruction and the browser call instruction.
4. more browser data analysis service platforms based on cloud platform as described in claim 1, which is characterized in that the clothes It is engaged in platform (10), further includes: type judging module (15) and update module (16);
The type judging module (15) is configured as judging described second when the client (20) install the second browser Whether the core type of browser belongs to the core type list being stored on the service platform (10),
The type judging module (15) is additionally configured to when the client (20) update first browser, and judgement is more Whether the core type of first browser after new belongs to the core type list;
The update module (16) is configured as working as the core type for determining second browser or updated described When the core type of first browser is not belonging to the core type list, kernel more new command is generated, is updated in described Core list of types.
5. more browser data analysis service platforms based on cloud platform as described in claim 1, which is characterized in that the clothes It is engaged in platform (10), further includes: data memory module (17);
The data memory module (17) is configured as when the data resolution module (14) generate the parsing data, according to The core type list stores the parsing data.
CN201811484799.0A 2018-12-06 2018-12-06 A kind of more browser data analysis service platforms based on cloud platform Pending CN109597955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811484799.0A CN109597955A (en) 2018-12-06 2018-12-06 A kind of more browser data analysis service platforms based on cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811484799.0A CN109597955A (en) 2018-12-06 2018-12-06 A kind of more browser data analysis service platforms based on cloud platform

Publications (1)

Publication Number Publication Date
CN109597955A true CN109597955A (en) 2019-04-09

Family

ID=65961334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811484799.0A Pending CN109597955A (en) 2018-12-06 2018-12-06 A kind of more browser data analysis service platforms based on cloud platform

Country Status (1)

Country Link
CN (1) CN109597955A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150803A (en) * 2007-10-24 2008-03-26 优视动景(北京)技术服务有限公司 Method for micro-browser to process network data, micro-browser and its server
CN101719093A (en) * 2009-12-09 2010-06-02 上海普元信息技术有限责任公司 System and method for realizing cross-browser Javascript debugging in enterprise Web application system
CN103067423A (en) * 2011-10-20 2013-04-24 腾讯科技(深圳)有限公司 Browser kernel adaption method and browser
CN106331149A (en) * 2016-09-14 2017-01-11 北京知道未来信息技术有限公司 Webpage code adapting method applicable to client environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150803A (en) * 2007-10-24 2008-03-26 优视动景(北京)技术服务有限公司 Method for micro-browser to process network data, micro-browser and its server
CN101719093A (en) * 2009-12-09 2010-06-02 上海普元信息技术有限责任公司 System and method for realizing cross-browser Javascript debugging in enterprise Web application system
CN103067423A (en) * 2011-10-20 2013-04-24 腾讯科技(深圳)有限公司 Browser kernel adaption method and browser
CN106331149A (en) * 2016-09-14 2017-01-11 北京知道未来信息技术有限公司 Webpage code adapting method applicable to client environment

Similar Documents

Publication Publication Date Title
CN105094888B (en) A kind of application plug loading method and device
CN105389222B (en) A kind of methods, devices and systems of dynamic call native interface
CN103150513B (en) The method of the implantation information in interception application program and device
CN107808010A (en) A kind of pop-up page generation method, device, browser and storage medium
US10007532B1 (en) Data infrastructure for cross-platform cross-device API inter-connectivity
CN103235913A (en) System, equipment and method used for identifying and intercepting bundled software
KR20080053293A (en) Initial server-side content rendering for client-script web pages
CN105095367B (en) A kind of acquisition method and device of client data
CN104168250B (en) Business Process Control method and device based on CGI frames
CN105160027B (en) Advertisement data processing method and device
CN110858172A (en) Automatic test code generation method and device
CN102368248B (en) Page downloading control method and system of IE kernel browser
CN105204917B (en) The method and device of loading configuration file in application program launching
CN103607502A (en) Method and apparatus for upgrading applications of mobile device
CN107463657A (en) File operation method and terminal
CN107203470A (en) Page adjustment method and device
CN113268245A (en) Code analysis method, device and storage medium
CN113297086A (en) Test case generation method and device, electronic equipment and storage medium
CN107547591A (en) Upgrade server, set top box, set top box upgrading file delivery method and system
CN103957234A (en) Method for sending download files in browser and browser device
CN107026854B (en) Vulnerability verification method and device
AU2019222873B2 (en) Method and system for providing content
CN106293862B (en) A kind of analysis method and device of expandable mark language XML data
CN109597955A (en) A kind of more browser data analysis service platforms based on cloud platform
CN111209325A (en) Service system interface identification method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20200618

Address after: 100083 No. 211 middle Fourth Ring Road, Haidian District, Beijing

Applicant after: CLP Taiji (Group) Co., Ltd

Address before: 100083 No. 211 middle Fourth Ring Road, Haidian District, Beijing

Applicant before: NO.15 INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY Group Corp.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination