[go: up one dir, main page]

CN115168690B - Data query method and device based on browser plug-in, electronic equipment and medium - Google Patents

Data query method and device based on browser plug-in, electronic equipment and medium Download PDF

Info

Publication number
CN115168690B
CN115168690B CN202211081799.2A CN202211081799A CN115168690B CN 115168690 B CN115168690 B CN 115168690B CN 202211081799 A CN202211081799 A CN 202211081799A CN 115168690 B CN115168690 B CN 115168690B
Authority
CN
China
Prior art keywords
data
query
browser plug
interface
configuration information
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.)
Active
Application number
CN202211081799.2A
Other languages
Chinese (zh)
Other versions
CN115168690A (en
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.)
Shenzhen Mingyuan Cloud Technology Co Ltd
Original Assignee
Shenzhen Mingyuan Cloud Technology Co Ltd
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 Shenzhen Mingyuan Cloud Technology Co Ltd filed Critical Shenzhen Mingyuan Cloud Technology Co Ltd
Priority to CN202211081799.2A priority Critical patent/CN115168690B/en
Publication of CN115168690A publication Critical patent/CN115168690A/en
Application granted granted Critical
Publication of CN115168690B publication Critical patent/CN115168690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a browser plug-in based data query method, a browser plug-in based data query device, electronic equipment and a medium, wherein the browser plug-in based data query method comprises the following steps: when receiving a query keyword input by a user through an integrated unified query entry, carrying out concurrent control on each data site according to the query keyword to generate a corresponding response message, wherein the integrated unified query entry is constructed based on a browser plug-in and configuration information of each data site; and converting the response message into standardized result data, and visually displaying the standardized result data. The method and the device solve the technical problem that the efficiency of inquiring the data in a plurality of data sites is low.

Description

Data query method and device based on browser plug-in, electronic equipment and medium
Technical Field
The present application relates to the field of information technologies, and in particular, to a method and an apparatus for querying data based on a browser plug-in, an electronic device, and a medium.
Background
With the continuous development of information technology, more and more enterprises develop their own information-based construction, and at present, enterprises usually adopt an internal Web application system to perform internal management of the enterprise, and the main way is to establish various internal document libraries of the enterprise, such as: the method is characterized in that a common interface document, a log library, a knowledge base, a shared document library and the like are used for facilitating internal personnel to conveniently and quickly inquire the required target data, but for internal personnel needing various data documents, such as technical consultants or developers, the inquiry method needs to repeatedly jump and inquire at a plurality of data sites, so that time and energy are consumed, various data required by the internal personnel are difficult to find at one time, and the technical problem that the efficiency of inquiring the data in the plurality of data sites is low is caused.
Disclosure of Invention
The present application mainly aims to provide a method, an apparatus, an electronic device and a medium for querying data based on a browser plug-in, and aims to solve the technical problem in the prior art that the efficiency of querying data in each data site is low.
In order to achieve the above object, the present application provides a data query method based on a browser plug-in, which is applied to a browser client, and the data query method based on the browser plug-in includes:
when receiving a query keyword input by a user through an integrated unified query entry, carrying out concurrent control on each data site according to the query keyword to generate a corresponding response message, wherein the integrated unified query entry is constructed based on a browser plug-in and configuration information of each data site;
and converting the response message into standardized result data, and visually displaying the standardized result data.
Optionally, before the step of performing concurrent control on each document site according to the query keyword and generating a corresponding response message when receiving the query keyword input by the user through the integrated unified query entry, the method further includes:
acquiring configuration information of each data site added by a user through a visual configuration interface through the browser plug-in;
and constructing the integrated unified query entry according to the configuration information.
Optionally, the configuration information at least includes one of a website address, a website access manner, and website authentication information, and the step of obtaining, through the browser plug-in, the configuration information of each website added by the user through the visual configuration interface includes:
acquiring a data site address added by a user through the visual configuration interface;
acquiring a data site access mode added by a user through the visual configuration interface;
and acquiring the authentication information of the data site added by the user through the visual configuration interface.
Optionally, the step of constructing the integrated unified query entry according to the configuration information includes:
according to the configuration information, verifying the data sites corresponding to the configuration information in sequence;
if the verification of each data site fails, pushing visual reminding information, wherein the visual reminding information is used for reminding a user to input configuration information again;
otherwise, integrating the query entries of the data sites to generate the integrated unified query entry.
Optionally, the response packet includes a cache query result corresponding to each of the document sites, and the step of concurrently controlling each of the document sites according to the query keyword to generate the corresponding response packet includes:
performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
judging whether there are data sites which are not inquired, if yes, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
and aggregating the cache query results into the response message.
Optionally, the step of converting the response packet into standardized result data and visually displaying the standardized result data includes:
performing data format conversion on the response message to generate standard result data;
marking the query keywords in the standard result data to generate the standardized result data;
acquiring an interface display requirement, and performing interface rendering on standardized data in a corresponding window interface according to the interface display requirement to generate a visual query result;
and when an interface adjusting instruction is received, performing real-time interface rendering on standardized result data in a window interface corresponding to the interface adjusting instruction to generate a real-time changing visual query result.
Optionally, after the step of converting the response packet into standardized result data and visually displaying the standardized result data, the method includes:
when a link click signal in the visual query result is received, calling configuration information of a data site corresponding to the link click signal, and logging in the data site;
and when the login is successful, jumping to the data site pointed by the link click signal.
The present application further provides a data query device based on a browser plug-in, where the data query device based on the browser plug-in is applied to a data query device based on the browser plug-in, and the data query device based on the browser plug-in includes:
the query response module is used for carrying out concurrency control on all data sites according to query keywords when query keywords input by a user through an integrated unified query entry are received, and generating corresponding response messages, wherein the integrated unified query entry is constructed on the basis of the browser plug-in and the configuration information of all the data sites;
and the data display module is used for converting the response message into standardized result data and visually displaying the standardized result data.
Optionally, the query response module is further configured to:
acquiring configuration information of each data site added by a user through a visual configuration interface through the browser plug-in;
and constructing the integrated unified query entry according to the configuration information.
Optionally, the query response module is further configured to:
acquiring a data site address added by a user through the visual configuration interface;
acquiring a data site access mode added by a user through the visual configuration interface;
and acquiring the authentication information of the data site added by the user through the visual configuration interface.
Optionally, the query response module is further configured to:
according to the configuration information, verifying the data sites corresponding to the configuration information in sequence;
if the verification of each data site fails, pushing visual reminding information, wherein the visual reminding information is used for reminding a user to input configuration information again;
otherwise, integrating the query entries of the data sites to generate the integrated unified query entry.
Optionally, the data presentation module is further configured to:
performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
judging whether the data sites which are not inquired exist, if so, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
and aggregating each cache query result into the response message.
Optionally, the data presentation module is further configured to:
performing data format conversion on the response message to generate standard result data;
marking the query keywords in the standard result data to generate the standardized result data;
acquiring an interface display requirement, and performing interface rendering on standardized data in a corresponding window interface according to the interface display requirement to generate a visual query result;
and when an interface adjusting instruction is received, performing real-time interface rendering on standardized result data in a window interface corresponding to the interface adjusting instruction to generate a real-time changing visual query result.
Optionally, the data presentation module is further configured to:
when a link click signal in the visual query result is received, calling configuration information of a data site corresponding to the link click signal, and logging in the data site;
and when the login is successful, jumping to the data site pointed by the link click signal.
The present application further provides an electronic device, the electronic device is an entity device, the electronic device includes: the browser plug-in based material query method comprises a memory, a processor and a program of the browser plug-in based material query method, wherein the program of the browser plug-in based material query method can realize the steps of the browser plug-in based material query method when being executed by the processor.
The application also provides a computer readable storage medium, the computer readable storage medium stores a program for implementing the browser plug-in based data query method, and the program for implementing the browser plug-in based data query method realizes the steps of the browser plug-in based data query method when being executed by a processor.
The present application also provides a computer program product comprising a computer program, which when executed by a processor implements the steps of the above browser plug-in based data query method.
The application provides a data inquiry method, device, electronic equipment and medium based on browser plug-in, at first when receiving the user through integrating the inquiry keyword of unified inquiry entry input, according to the inquiry keyword carries out concurrency control to each data website, generates corresponding response message, wherein, it constructs based on browser plug-in and each configuration information of data website to integrate unified inquiry entry, will through the browser client side response message converts standardized result data into, will at last standardized result data is rendered, generates visual data inquiry result, and this application passes through browser plug-in and constructs integration unified inquiry entry carries out the data inquiry to a plurality of data websites, high-efficiently, conveniently acquires required data, has overcome the technical defect that jumps repeatedly and inquire at a plurality of data websites among the prior art, has improved the efficiency of carrying out the data inquiry in a plurality of data websites.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flowchart illustrating a first embodiment of a browser plug-in based data query method according to the present application;
FIG. 2 is a diagram illustrating website configuration information in a first embodiment of a browser plug-in based data query method according to the present application;
FIG. 3 is a schematic flowchart illustrating a process of concurrently controlling a plurality of document sites to be queried according to a first embodiment of the document querying method based on a browser plug-in of the present application;
fig. 4 is a schematic flowchart illustrating a process of performing data conversion and processing on a response packet in the first embodiment of the browser plug-in based data query method according to the present application;
FIG. 5 is a diagram illustrating an embodiment of a browser plug-in based document querying device;
fig. 6 is a schematic device structure diagram of a hardware operating environment related to a browser plug-in based data query method in an embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments of the present application are described in detail below with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
With the continuous development of information technology, more and more enterprises develop their own information-based construction, and at present, enterprises usually adopt an internal Web application system to perform internal management of the enterprise, and the main way is to establish various internal document libraries of the enterprise, such as: the method is convenient for insiders to conveniently and quickly inquire the required target data, but for the insiders needing various data documents, such as technical consultants or developers, the inquiring mode needs to repeatedly skip and inquire at a plurality of data sites, which is very time-consuming and energy-consuming, and difficult to find various data required by the insiders at one time, so that the technical problem that the efficiency of inquiring data in a plurality of data sites is low exists in the prior art.
The embodiment of the present application provides a browser plug-in based data query method, which is applied to a browser client, and in a first embodiment of the browser plug-in based data query method of the present application, referring to fig. 1, the browser plug-in based data query method includes:
step S10, when receiving a query keyword input by a user through an integrated unified query entry, carrying out concurrent control on each data site according to the query keyword to generate a corresponding response message, wherein the integrated unified query entry is constructed based on configuration information of a browser plug-in and each data site;
and S20, converting the response message into standardized result data, and displaying the standardized result data in a visualized manner.
In this embodiment, it should be noted that the integrated unified query entry may be a distributed integrated unified query entry, is used for performing data interaction between a user and a server, and is carried on a browser client; each data site can be various data document libraries in an enterprise, such as a public interface document, a log library, a knowledge base, a shared document library and the like; the response message may be original data matched in each of the data sites according to the query keyword; the standardized result data is the related data which has uniform format and is convenient to browse and has the query key words.
As an example, steps S10 to S20 include: when receiving a query keyword input by a user through an integrated unified query entry, carrying out concurrency control on each data site according to the query keyword, matching data containing the keyword in each data site, and generating a cache query result corresponding to each data site; aggregating the cache query results to generate a response message; carrying out standardized processing on the response message through a browser client to generate result data with a uniform format; highlighting and labeling the query key words in the result data through a browser client to generate standardized result data; and acquiring current interface information, rendering query result data corresponding to the current interface information, and drawing to generate a visual data query result.
When receiving a query keyword input by a user through an integrated unified query entry, performing concurrency control on each data site according to the query keyword, and generating a corresponding response message, the method further comprises the following steps:
step A10, acquiring configuration information of each data site added by a user through a visual configuration interface through the browser plug-in;
and A20, constructing the integrated unified query entry according to the configuration information.
In this embodiment, it should be noted that the configuration information includes a site address, a site access method, and site authentication information, where the site authentication information includes a site authentication method and a site authentication key, and is used for authenticating and logging in a site, and when a user clicks a link of a target site, the user can automatically jump to the target site without manually inputting authentication information, so as to improve work efficiency.
As an example, steps a10 to a20 include: constructing a visual configuration interface for acquiring configuration information of each data site based on a browser plug-in; and when configuration information input by a user through the visual configuration interface is received, constructing the integrated unified query entry based on the browser plug-in and the configuration information, wherein the integrated unified query entry is used for receiving keywords related to data query at each data site.
The configuration information at least includes one of a website address, a website access mode, and website authentication information, and the step of obtaining the configuration information of each website added by the user through the visual configuration interface through the browser plug-in includes:
a11, acquiring a data site address added by a user through a visual configuration interface;
step A12, acquiring a data site access mode added by a user through the visual configuration interface;
and A13, acquiring the authentication information of the data site added by the user through the visual configuration interface.
In this embodiment, it should be noted that the website authentication information includes a website authentication manner and a corresponding website authentication key, for example, referring to fig. 2, where the website authentication manner may include Http Basic Auth (Http Basic identity verification), token Auth (Token authentication), cookie-Session Auth (Cookie Session authentication), json web Token (Json network authentication), and the like, and is used for matching authentication mechanisms of various websites of an enterprise.
As an example, steps a11 to a13 include: constructing a visual configuration interface through a browser plug-in, wherein the visual configuration interface is used for receiving configuration information of each data site input by a user; acquiring a data site address added by a user through the visual configuration interface; acquiring a data site access mode added by a user through a visual configuration interface; and acquiring the authentication information of the data site added by the user through the visual configuration interface, wherein the authentication information of the data site comprises a data site authentication mode and a data site authentication key.
Wherein, the step of constructing the integrated unified query entry according to the configuration information comprises:
step A21, according to each configuration information, sequentially verifying the data sites corresponding to each configuration information;
step A22, if the verification of each data site fails, pushing visual reminding information, wherein the visual reminding information is used for reminding a user to input configuration information again;
step A23, otherwise, integrating the query entries of the data sites to generate the integrated unified query entry.
In this embodiment, it should be noted that the verification process is a process of performing authentication login on the corresponding data site according to the configuration information, if the authentication login fails, it indicates that the configuration information is incorrect, and if all the data sites fail to be verified, there is no available data site, and the configuration information needs to be modified or re-input, so as to ensure that the subsequent query process is performed normally.
As an example, steps a21 to a23 include: verifying the data site corresponding to the configuration information according to the configuration information; if the verification fails, verifying the next data site; when the verification of each data site fails, pushing a visual popup prompt to a user, wherein the visual popup prompt is used for prompting the user to check each configuration information or input the configuration information again; and if the verified data sites exist, extracting query entries of the data sites, and integrating the query entries into the integrated uniform query entry, wherein the integrated uniform query entry is used for receiving query keywords input by a user.
The step of generating a response message includes the following steps:
s11, performing concurrent control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
step S12, judging whether there are any data sites which are not inquired, if yes, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
and step S13, aggregating the cache query results into the response message.
In this embodiment, it should be noted that, in the concurrency control process, because the browser can only process a certain number of XHR (XML Http Request) requests in general, for example, referring to fig. 3, in general, the browser needs to perform concurrency control on the data sites in batches until all the data sites are queried completely, because the browser can only process a maximum of 5 XHR requests at the same time.
As an example, steps S11 to S13 include: acquiring each data site list, and performing concurrency control on a preset number of data site lists according to the query key words to generate corresponding cache query results; judging whether the number of the data sites which are not inquired is not less than the preset number, if the number of the data sites which are not inquired is 0, ending the concurrency control process; if the number of the data stations which are not queried is more than 1 and less than the preset number, all the data stations which are not queried are subjected to concurrent control to generate corresponding cache query results; if the number of the data sites not queried is not less than the preset number, the step S11 is executed again: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result; and when the query is finished, aggregating the corresponding cache query results generated by each data site to generate a response message.
Wherein, the step of converting the response message into standardized result data and visually displaying the standardized result data comprises:
step S21, performing data format conversion on the response message through a browser client to generate standard result data;
step S22, marking the query key words in the standard result data to generate the standardized result data;
s23, acquiring an interface display requirement, and performing interface rendering on the standardized data in the corresponding window interface according to the interface display requirement to generate a visual query result;
and S24, when an interface adjusting instruction is received, performing real-time interface rendering on standardized result data in a window interface corresponding to the interface adjusting instruction to generate a real-time changing visual query result.
In this embodiment, it should be noted that the normative result data is normative data in a uniform format, so that an inquirer can browse the result data intuitively, and the mark may be a highlight mark for enabling the inquirer to visually check the correlation degree between each result data and the inquiry keyword. Referring to fig. 4, the data conversion and marking process is completed in the plug-in layer, and finally, standardized result data is output, the interface display requirement may be input through a cursor, and the position of the cursor is an interface where the relevant result data needs to be displayed; in the embodiment, the interface is rendered and displayed according to the input interface display requirement and the interface adjusting instruction, so that loading on demand is realized, and the problem of low loading speed caused by low configuration or low performance of a computer of a user is solved; the interface adjusting instruction can be a cursor sliding instruction, and when the cursor slides to a certain direction, the interface to be displayed also sends changes in real time.
As one example, steps S21 to S24 include: uniformly converting the data format of the response message based on a distributed browser client to generate standard result data with uniform format; retrieving the query key words in the standard result data, extracting the query key words, highlighting the query key words, and generating standardized data with highlighted query key words; when cursor position information is received, rendering standardized result data in a corresponding window interface according to the cursor position information, and drawing to generate a visual query result; and when cursor position movement information is received, rendering the standardized result data in the corresponding window interface according to the cursor position movement information, and drawing to generate a visual query result.
Wherein, after the step of converting the response message into standardized result data and visually displaying the standardized result data, the method comprises the following steps:
step B10, when a link click signal in the visual query result is received, calling configuration information of a data site corresponding to the link click signal, and logging in the data site;
and B20, jumping to the data site pointed by the link click signal when the login is successful.
In this embodiment, it should be noted that the link click signal may be an action signal of a link in the visual data query result clicked by a cursor, and when a user needs to click a corresponding link to perform further query while browsing the visual query result, the user completes automatic login according to corresponding configuration information in the browser plug-in, so that a secondary login process of the user is avoided, and the query efficiency of the user is improved.
As an example, steps B10 to B20 include: when a link click signal input by a user is received, calling configuration information of the data site pointed by the link, and logging in the data site pointed by the link according to the configuration information of the data site, wherein the configuration information comprises an authentication mode and an authentication key, and after the data site passes the authentication, jumping to a page corresponding to the data site, rendering an interface, and drawing to generate a corresponding visual query result.
The embodiment of the application provides a data query method based on browser plug-in, firstly when receiving a query keyword input by a user through an integrated unified query entry, according to the query keyword performs concurrent control on each data site, and generates a corresponding response message, wherein the integrated unified query entry is constructed based on configuration information of the browser plug-in and each data site, the response message is converted into standardized result data through a browser client, and finally the standardized result data is rendered to generate a visual data query result.
Example two
The embodiment of the present application further provides a data query device based on a browser plug-in, where the data query device based on the browser plug-in is applied to a data query device based on the browser plug-in, and the data query device based on the browser plug-in includes:
the query response module is used for carrying out concurrency control on all data sites according to query keywords when query keywords input by a user through an integrated unified query entry are received, and generating corresponding response messages, wherein the integrated unified query entry is constructed on the basis of the browser plug-in and the configuration information of all the data sites;
and the data display module is used for converting the response message into standardized result data and visually displaying the standardized result data.
Optionally, the query response module is further configured to:
acquiring configuration information of each data site added by a user through a visual configuration interface through the browser plug-in;
and constructing the integrated unified query entry according to the configuration information.
Optionally, the query response module is further configured to:
acquiring a data site address added by a user through the visual configuration interface;
acquiring a data site access mode added by a user through the visual configuration interface;
and acquiring the authentication information of the data site added by the user through the visual configuration interface.
Optionally, the query response module is further configured to:
according to the configuration information, verifying the data sites corresponding to the configuration information in sequence;
if the verification of each data site fails, pushing visual reminding information, wherein the visual reminding information is used for reminding a user to input configuration information again;
otherwise, integrating the query entries of the data sites to generate the integrated unified query entry.
Optionally, the data presentation module is further configured to:
performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
judging whether the data sites which are not inquired exist, if so, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
and aggregating the cache query results into the response message.
Optionally, the data presentation module is further configured to:
performing data format conversion on the response message to generate standard result data;
marking the query keywords in the standard result data to generate the standardized result data;
acquiring an interface display requirement, and performing interface rendering on standardized data in a corresponding window interface according to the interface display requirement to generate a visual query result;
and when an interface adjusting instruction is received, performing real-time interface rendering on standardized result data in a window interface corresponding to the interface adjusting instruction to generate a real-time changing visual query result.
Optionally, the data presentation module is further configured to:
when a link click signal in the visual query result is received, calling configuration information of a data site corresponding to the link click signal, and logging in the data site;
and when the login is successful, jumping to the data site pointed by the link click signal.
According to the data query device based on the browser plug-in, the data query method based on the browser plug-in the embodiment is adopted, and the technical problem that the efficiency of data query in each data site is low is solved. Compared with the prior art, the beneficial effects of the browser plug-in based data query device provided by the embodiment of the application are the same as the beneficial effects of the browser plug-in based data query method provided by the embodiment, and other technical features of the browser plug-in based data query device are the same as those disclosed in the method of the previous embodiment, which are not repeated herein.
EXAMPLE III
An embodiment of the present application provides an electronic device, and the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for querying the data based on the browser plug-in according to the first embodiment.
Referring now to FIG. 6, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, etc.; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic device provided by the application adopts the data query method based on the browser plug-in the embodiment, and the technical problem that the efficiency of data query in a plurality of data sites is low is solved. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present application are the same as the beneficial effects of the browser plug-in based data query method provided by the first embodiment, and other technical features of the electronic device are the same as those disclosed in the method of the previous embodiment, which are not described herein again.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Example four
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for executing the method for browser plug-in based material query in the first embodiment.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be separate and not incorporated into the electronic device.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to: when receiving a query keyword input by a user through an integrated unified query entry, carrying out concurrent control on each data site according to the query keyword to generate a corresponding response message, wherein the integrated unified query entry is constructed based on a browser plug-in and configuration information of each data site; and converting the response message into standardized result data, and visually displaying the standardized result data.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer readable storage medium provided by the application stores computer readable program instructions for executing the browser plug-in based data query method, and solves the technical problem of browser plug-in based data query. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present application are the same as the beneficial effects of the browser plug-in based data query method provided by the above embodiment, and are not described herein again.
EXAMPLE five
The present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above-mentioned browser plug-in based data query method.
The computer program product solves the technical problem of data query based on the browser plug-in. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as those of the browser plug-in based data query method provided by the above embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent processes, which are directly or indirectly applied to other related technical fields, and which are not limited by the present application, are also included in the scope of the present application.

Claims (9)

1. A data query method based on a browser plug-in is characterized in that the method is applied to a browser client, and comprises the following steps:
when a query keyword input by a user through an integrated unified query entry is received, carrying out concurrency control on all data sites according to the query keyword to generate a corresponding response message, wherein the integrated unified query entry is constructed on the basis of a browser plug-in and configuration information of all the data sites;
converting the response message into standardized result data, and visually displaying the standardized result data, wherein the standardized result data contain query keywords which are highlighted;
the step of generating a response message includes the following steps:
performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
judging whether the data sites which are not inquired exist, if so, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
and aggregating the cache query results into the response message.
2. The method for querying information based on browser plug-in of claim 1, wherein before the step of concurrently controlling each website according to the query keyword and generating the corresponding response message when receiving the query keyword inputted by the user through the integrated unified query entry, the method further comprises:
acquiring configuration information of each data site added by a user through a visual configuration interface through the browser plug-in;
and constructing the integrated unified query entry according to the configuration information.
3. The method as claimed in claim 2, wherein the configuration information at least includes one of a website address, a website access method and website authentication information, and the step of obtaining the configuration information of each website added by the user through the visual configuration interface via the browser plug-in comprises:
acquiring a data site address added by a user through the visual configuration interface;
acquiring a data site access mode added by a user through the visual configuration interface;
and acquiring the authentication information of the data site added by the user through the visual configuration interface.
4. The browser plug-in based material query method of claim 2, wherein the step of constructing the integrated unified query entry according to the configuration information comprises:
according to the configuration information, verifying the data sites corresponding to the configuration information in sequence;
if the verification of each data site fails, pushing visual reminding information, wherein the visual reminding information is used for reminding a user to input configuration information again;
otherwise, integrating the query entries of the data sites to generate the integrated unified query entry.
5. The method for querying materials based on browser plug-in of claim 1, wherein the step of converting the response message into standardized result data and visually displaying the standardized result data comprises:
performing data format conversion on the response message to generate standard result data;
marking the query keywords in the standard result data to generate the standardized result data;
acquiring an interface display requirement, and performing interface rendering on standardized data in a corresponding window interface according to the interface display requirement to generate a visual query result;
and when an interface adjusting instruction is received, performing real-time interface rendering on standardized result data in a window interface corresponding to the interface adjusting instruction to generate a real-time changing visual query result.
6. The browser plug-in based material query method of claim 1, wherein after the step of converting the response message into standardized result data and visually displaying the standardized result data, comprising:
when a link click signal in the visual query result is received, calling configuration information of a data site corresponding to the link click signal, and logging in the data site;
and when the login is successful, jumping to the data site pointed by the link click signal.
7. A browser plug-in based material inquiry device is characterized in that the browser plug-in based material inquiry device comprises:
the query response module is used for carrying out concurrency control on all data sites according to the query keywords and generating corresponding response messages when query keywords input by a user through the integrated unified query entry are received, wherein the integrated unified query entry is constructed based on the browser plug-in and the configuration information of all the data sites;
the data display module is used for converting the response message into standardized result data and visually displaying the standardized result data, wherein the standardized result data contains query keywords which are highlighted; the step of generating a response message includes the following steps: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result;
judging whether the data sites which are not inquired exist, if so, returning to the execution step: performing concurrency control on a preset number of data sites according to the query keyword to generate a corresponding cache query result; and aggregating the cache query results into the response message.
8. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the browser plug-in based profile query method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein a program for implementing a browser plug-in based data query method is stored on the computer-readable storage medium, and the program for implementing the browser plug-in based data query method is executed by a processor to implement the steps of the browser plug-in based data query method according to any one of claims 1 to 6.
CN202211081799.2A 2022-09-06 2022-09-06 Data query method and device based on browser plug-in, electronic equipment and medium Active CN115168690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211081799.2A CN115168690B (en) 2022-09-06 2022-09-06 Data query method and device based on browser plug-in, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211081799.2A CN115168690B (en) 2022-09-06 2022-09-06 Data query method and device based on browser plug-in, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN115168690A CN115168690A (en) 2022-10-11
CN115168690B true CN115168690B (en) 2022-12-27

Family

ID=83482202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211081799.2A Active CN115168690B (en) 2022-09-06 2022-09-06 Data query method and device based on browser plug-in, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115168690B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601526A (en) * 2003-09-23 2005-03-30 国际商业机器公司 Method and appts for searching within a computer network
CN1604078A (en) * 2004-08-02 2005-04-06 魏新成 Search operation method based on single-purpose search key
CN1633092A (en) * 2004-11-25 2005-06-29 武汉大学 Distributed GIS Spatial Information Integration Device and Method Based on Mobile Agent and GML
CN1755677A (en) * 2004-09-27 2006-04-05 微软公司 System and method for scoping searches using index keys
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN103279495A (en) * 2013-05-06 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for confirming site information template corresponding to target object
CN103440139A (en) * 2013-09-11 2013-12-11 北京邮电大学 Acquisition method and tool facing microblog IDs (identitiesy) of mainstream microblog websites
CN103810204A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Information search method and information search device
CN104008135A (en) * 2014-05-07 2014-08-27 南京邮电大学 Multi-source heterogeneous database fusion system and data query method thereof
CN104683391A (en) * 2013-11-27 2015-06-03 上海墨芋电子科技有限公司 Workflow view structure of uncertain data sources in cloud computing environment for new technology
CN105426431A (en) * 2015-11-02 2016-03-23 国云科技股份有限公司 A Search System Oriented to Distributed Resource Sites and Its Implementation Method
CN106886540A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and the device for data search
CN107437158A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 Data query method and apparatus based on browser plug-in
CN109154969A (en) * 2016-06-13 2019-01-04 弗霍斯公司 The system and method for secure storage for the user information in user profile
CN109815283A (en) * 2018-12-18 2019-05-28 中科曙光南京研究院有限公司 A kind of heterogeneous data source visual inquiry method
CN112947900A (en) * 2020-01-17 2021-06-11 深圳市明源云科技有限公司 Web application development method and device, server and development terminal
CN114461485A (en) * 2021-12-22 2022-05-10 有半岛(北京)信息科技有限公司 Resource loading monitoring method, device, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564206B1 (en) * 1998-10-05 2003-05-13 Canon Kabushiki Kaisha Information search apparatus and method, and storage medium
US8108404B2 (en) * 2005-10-14 2012-01-31 Research In Motion Limited URL document viewing through a plug-in application for a mobile browser on a wireless device
US8332430B2 (en) * 2006-03-01 2012-12-11 Oracle International Corporation Secure search performance improvement
CN101021855B (en) * 2006-10-11 2010-04-07 北京新岸线网络技术有限公司 Video searching system based on content
CN101841442B (en) * 2010-02-08 2011-11-16 电子科技大学 Method for detecting network anomaly in name-address separated network
CN103873369B (en) * 2012-12-17 2017-02-08 中国科学院沈阳自动化研究所 Gateway and method for supporting interaction of heterogeneous network
CN104376046A (en) * 2014-10-24 2015-02-25 北京奇虎科技有限公司 Browsing method based on query result provided by search engine and browser client-side
CN105138568B (en) * 2015-07-24 2019-07-05 百度在线网络技术(北京)有限公司 Search result shows method, apparatus and search engine
US11790008B2 (en) * 2019-09-12 2023-10-17 Business Objects Software Ltd. Persisted queries and batch streaming
CN111209289B (en) * 2019-12-25 2021-01-15 中科驭数(北京)科技有限公司 Database access method and device
CN111522836B (en) * 2020-04-22 2023-10-10 杭州海康威视系统技术有限公司 Data query method and device, electronic equipment and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601526A (en) * 2003-09-23 2005-03-30 国际商业机器公司 Method and appts for searching within a computer network
CN1604078A (en) * 2004-08-02 2005-04-06 魏新成 Search operation method based on single-purpose search key
CN1755677A (en) * 2004-09-27 2006-04-05 微软公司 System and method for scoping searches using index keys
CN1633092A (en) * 2004-11-25 2005-06-29 武汉大学 Distributed GIS Spatial Information Integration Device and Method Based on Mobile Agent and GML
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN103810204A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Information search method and information search device
CN103279495A (en) * 2013-05-06 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for confirming site information template corresponding to target object
CN103440139A (en) * 2013-09-11 2013-12-11 北京邮电大学 Acquisition method and tool facing microblog IDs (identitiesy) of mainstream microblog websites
CN104683391A (en) * 2013-11-27 2015-06-03 上海墨芋电子科技有限公司 Workflow view structure of uncertain data sources in cloud computing environment for new technology
CN104008135A (en) * 2014-05-07 2014-08-27 南京邮电大学 Multi-source heterogeneous database fusion system and data query method thereof
CN105426431A (en) * 2015-11-02 2016-03-23 国云科技股份有限公司 A Search System Oriented to Distributed Resource Sites and Its Implementation Method
CN106886540A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and the device for data search
CN107437158A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 Data query method and apparatus based on browser plug-in
CN109154969A (en) * 2016-06-13 2019-01-04 弗霍斯公司 The system and method for secure storage for the user information in user profile
CN109815283A (en) * 2018-12-18 2019-05-28 中科曙光南京研究院有限公司 A kind of heterogeneous data source visual inquiry method
CN112947900A (en) * 2020-01-17 2021-06-11 深圳市明源云科技有限公司 Web application development method and device, server and development terminal
CN114461485A (en) * 2021-12-22 2022-05-10 有半岛(北京)信息科技有限公司 Resource loading monitoring method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115168690A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN112036824A (en) Business approval method, system, storage medium and electronic equipment
CN110866193B (en) Feedback method, device, equipment and storage medium based on online document comments
US20240012641A1 (en) Model construction method and apparatus, and medium and electronic device
US20150106723A1 (en) Tools for locating, curating, editing, and using content of an online library
JP2021103506A (en) Method and device for generating information
CN112684968A (en) Page display method and device, electronic equipment and computer readable medium
CN110097397B (en) Feedback-based information pushing method and device and electronic equipment
CN109408754B (en) Webpage operation data processing method and device, electronic equipment and storage medium
KR20160040462A (en) Live tiles without application-code execution
CN110619100B (en) Method and apparatus for acquiring data
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN114036439A (en) Website construction method, device, medium and electronic equipment
US20240054137A1 (en) Stack trace search
CN109902726B (en) Resume information processing method and device
KR102151322B1 (en) Information push method and device
CN112083982B (en) Information processing method and device
CN115168690B (en) Data query method and device based on browser plug-in, electronic equipment and medium
CN112882948A (en) Stability testing method, device and system for application and storage medium
CN114979048B (en) Identity verification method, system, electronic device and medium based on instant messaging
US20240248945A1 (en) Information display method and apparatus, terminal, and storage medium
CN116303612A (en) Buried point information query method and device, medium and electronic equipment
CN113282285B (en) Code writing method, device, electronic equipment and storage medium
CN115951879A (en) Template code generation method, device, system, medium and electronic device
CN115170268B (en) Financial product generation method and device, electronic equipment and readable storage medium
CN115237816B (en) System function verification method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant