CN111125579A - Webpage information processing method and device, storage medium and electronic equipment - Google Patents

Webpage information processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111125579A
CN111125579A CN201911212057.7A CN201911212057A CN111125579A CN 111125579 A CN111125579 A CN 111125579A CN 201911212057 A CN201911212057 A CN 201911212057A CN 111125579 A CN111125579 A CN 111125579A
Authority
CN
China
Prior art keywords
main body
webpage
request
dimension
webpage main
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.)
Granted
Application number
CN201911212057.7A
Other languages
Chinese (zh)
Other versions
CN111125579B (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.)
Beijing Jindi Technology Co Ltd
Original Assignee
Beijing Jindi 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 Beijing Jindi Technology Co Ltd filed Critical Beijing Jindi Technology Co Ltd
Priority to CN201911212057.7A priority Critical patent/CN111125579B/en
Publication of CN111125579A publication Critical patent/CN111125579A/en
Application granted granted Critical
Publication of CN111125579B publication Critical patent/CN111125579B/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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

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

Abstract

The embodiment of the disclosure discloses a webpage information processing method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving a webpage main body acquisition request; determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request; determining whether to call cache information corresponding to the webpage main body acquisition request based on a call cache identifier corresponding to the webpage main body acquisition request; if the cache information corresponding to the webpage main body obtaining request is determined to be called, the summarizing information corresponding to the webpage main body obtaining request is obtained from the cache unit based on the interface identifier corresponding to the webpage main body obtaining request, and the webpage is generated and returned based on the summarizing information corresponding to the webpage main body obtaining request. The embodiment of the disclosure can reduce the time for the cache unit to process the webpage request, thereby shortening the waiting time of the user and improving the user experience.

Description

Webpage information processing method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to data processing technologies, and in particular, to a method and an apparatus for processing web page information, a storage medium, and an electronic device.
Background
With the continuous development of internet technology, the application of the internet is more and more extensive, and users can inquire and browse the contents concerned by themselves through the network.
In the process of implementing the present disclosure, the inventors found through research that: in practical applications, when a user accesses a webpage of a large company, the related information related to the webpage is various and the data size is huge, and the data requiring access needs to be returned for a long time, so that the waiting time of the user is too long, and the user experience is affected.
Disclosure of Invention
The present disclosure is proposed to solve the above technical problems. The embodiment of the disclosure provides a webpage information processing method and device, a storage medium and an electronic device.
According to an aspect of the embodiments of the present disclosure, there is provided a method for processing web page information, including:
receiving a webpage main body acquisition request;
determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request;
determining whether to call cache information corresponding to the webpage main body acquisition request based on a call cache identifier corresponding to the webpage main body acquisition request;
if the cache information corresponding to the webpage main body obtaining request is determined to be called, the summary information corresponding to the webpage main body obtaining request is obtained from a cache unit based on the interface identifier corresponding to the webpage main body obtaining request, and a webpage is generated and returned based on the summary information corresponding to the webpage main body obtaining request.
Optionally, in each method embodiment of the present disclosure, if it is determined that cache information corresponding to the webpage main body obtaining request is not called, obtaining summary information corresponding to the webpage main body obtaining request from a database based on a main body identifier corresponding to the webpage main body obtaining request, generating a webpage based on the summary information corresponding to the webpage main body obtaining request, and returning the webpage; the summary information includes at least one dimension information corresponding to the webpage main body acquisition request.
Optionally, in the foregoing method embodiments of the present disclosure, the request for acquiring a webpage main body includes: the webpage enterprise obtains the request and/or the webpage nature person obtains the request.
Optionally, in the foregoing method embodiments of the present disclosure, before the receiving the web page request information, the method further includes: and generating the webpage main body acquisition request needing to call the cache.
Optionally, in each method embodiment of the present disclosure, the generating the webpage main body obtaining request that needs to invoke the cache includes:
determining a dimension request identifier corresponding to the webpage main body acquisition request based on a main body identifier corresponding to the webpage main body acquisition request;
determining dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the cache unit;
the dimension information corresponding to the webpage main body obtaining request with data is collected, a dimension existence list corresponding to the webpage main body obtaining request is obtained, and the dimension existence list corresponding to the webpage main body obtaining request is cached in the caching unit.
Optionally, in each method embodiment of the present disclosure, the acquiring summary information corresponding to the webpage main body obtaining request from a database based on the main body identifier corresponding to the webpage main body obtaining request, and generating a webpage and returning the webpage based on the summary information corresponding to the webpage main body obtaining request includes:
determining a dimension request identifier corresponding to the webpage main body acquisition request based on a main body identifier corresponding to the webpage main body acquisition request;
determining dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the database;
and summarizing the dimension information corresponding to the webpage main body acquisition request in the database, acquiring summarized information corresponding to the webpage main body acquisition request and returning the summarized information.
Optionally, in each method embodiment of the present disclosure, the aggregating the dimension information corresponding to the webpage main body obtaining request in the database, obtaining and returning aggregated information corresponding to the webpage main body obtaining request includes:
summarizing the dimension information corresponding to the webpage main body acquisition request with data, and acquiring a dimension existence list corresponding to the webpage main body acquisition request;
and returning the summary information corresponding to the webpage main body acquisition request in the database based on the dimension existence list corresponding to the webpage main body acquisition request.
Optionally, in each method embodiment of the present disclosure, if it is determined to call the cache information corresponding to the webpage main body obtaining request, obtaining summary information corresponding to the webpage main body obtaining request from a cache unit based on an interface identifier corresponding to the webpage main body obtaining request, generating a webpage based on the summary information corresponding to the webpage main body obtaining request, and returning the webpage includes:
obtaining a dimension existence list corresponding to the cached webpage main body obtaining request from the caching unit;
and summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning after summarizing the information corresponding to the webpage main body acquisition request is obtained.
Optionally, in each of the method embodiments of the present disclosure, the method further includes:
and updating the dimension information corresponding to the webpage main body acquisition request in the database and the cache unit based on a preset time interval.
Optionally, in each of the method embodiments of the present disclosure, the method further includes:
and if the dimension information corresponding to the webpage main body acquisition request in the database changes, changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request.
Optionally, in each method embodiment of the present disclosure, the generating a webpage and returning based on the summary information corresponding to the webpage main body obtaining request includes:
rendering the webpage based on the summary information corresponding to the webpage main body acquisition request to obtain a rendered page corresponding to the webpage main body acquisition request;
and displaying the rendered page corresponding to the webpage main body acquisition request to a user.
Optionally, in each method embodiment of the present disclosure, the summary information includes at least one dimension information corresponding to the webpage main body obtaining request;
the dimension information corresponding to the webpage enterprise acquisition request comprises any one or more of the following items: marketing dimension information, company background dimension information, judicial risk dimension information, management risk dimension information, company development dimension information, business status dimension information, intellectual property dimension information, and historical dimension information;
the dimension information corresponding to the webpage natural person acquisition request comprises any one or more of the following items: risk dimension information, equity dimension information, business role dimension information, all company dimension information, actual control authority dimension information, once-incumbent dimension information, boss relationship dimension information, and partner dimension information.
Optionally, in each method embodiment of the present disclosure, the cache unit caches information cached based on a preset rule;
the preset rules include: if the number of the dimension information corresponding to the webpage main body request is larger than a preset number, or the score corresponding to the webpage main body request is larger than a preset score, or the change frequency of the dimension information corresponding to the webpage main body acquisition request is larger than a preset frequency, the calling cache identifier information corresponding to the webpage main body acquisition request is configured as a calling cache, otherwise, the calling cache is not called.
According to another aspect of the embodiments of the present disclosure, there is provided a web page information processing apparatus including:
the receiving module is used for receiving a webpage main body acquisition request;
a first determining module, configured to determine, based on the webpage main body obtaining request, a main body identifier corresponding to the webpage main body obtaining request and a call cache identifier corresponding to the webpage main body obtaining request;
a second determining module, configured to determine whether to call cache information corresponding to the webpage main body obtaining request based on a call cache identifier corresponding to the webpage main body obtaining request;
and the first returning module is used for acquiring summary information corresponding to the webpage main body acquisition request from a cache unit based on the interface identifier corresponding to the webpage main body acquisition request if the cache information corresponding to the webpage main body acquisition request is determined to be called, and generating a webpage based on the summary information corresponding to the webpage main body acquisition request and returning the webpage.
Optionally, in each of the above apparatus embodiments of the present disclosure, the method further includes: a second returning module, configured to, if it is determined that cache information corresponding to the webpage main body obtaining request is not called, obtain summary information corresponding to the webpage main body obtaining request from a database based on a main body identifier corresponding to the webpage main body obtaining request, generate a webpage based on the summary information corresponding to the webpage main body obtaining request, and return the webpage; the summary information includes at least one dimension information corresponding to the webpage main body acquisition request.
Optionally, in each apparatus embodiment of the present disclosure, the request for acquiring a webpage main body includes: the webpage enterprise obtains the request and/or the webpage nature person obtains the request.
Optionally, in the above apparatus embodiments of the present disclosure, before the receiving module, the method further includes: and the generating module is used for generating the webpage main body obtaining request needing to call the cache.
Optionally, in each of the apparatus embodiments of the present disclosure, the generating module includes:
a first determining unit, configured to determine, based on a body identifier corresponding to the webpage body obtaining request, a dimension request identifier corresponding to the webpage body obtaining request;
the second determining unit is used for determining the dimension information corresponding to the webpage main body obtaining request based on the mapping relation between the dimension request identifier corresponding to the webpage main body obtaining request and the dimension identifier in the cache unit;
the first summarizing unit is used for summarizing the dimension information corresponding to the webpage main body acquiring request with data, acquiring a dimension existence list corresponding to the webpage main body acquiring request, and caching the dimension existence list corresponding to the webpage main body acquiring request in the caching unit.
Optionally, in each of the above apparatus embodiments of the present disclosure, the second returning module includes:
a third determining unit, configured to determine, based on a body identifier corresponding to the webpage body obtaining request, a dimension request identifier corresponding to the webpage body obtaining request;
a fourth determining unit, configured to determine, based on a mapping relationship between a dimension request identifier corresponding to the webpage main body acquisition request and a dimension identifier in the database, dimension information corresponding to the webpage main body acquisition request;
and the second obtaining unit is used for summarizing the dimension information corresponding to the webpage main body obtaining request in the database, obtaining webpage summarizing information corresponding to the webpage main body obtaining request and returning the webpage summarizing information corresponding to the webpage main body obtaining request to the user.
Optionally, in each apparatus embodiment of the present disclosure, the second obtaining unit is specifically configured to:
summarizing the dimension information corresponding to the webpage main body acquisition request with data, and acquiring a dimension existence list corresponding to the webpage main body acquisition request;
and returning the summary information corresponding to the webpage main body acquisition request in the database based on the dimension existence list corresponding to the webpage main body acquisition request.
Optionally, in each of the apparatus embodiments of the present disclosure, the first returning module further includes:
a third obtaining unit, configured to obtain, from the caching unit, a cached dimension existence list corresponding to the webpage main body obtaining request;
and the second summarizing unit is used for summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning the summarized information corresponding to the webpage main body acquisition request.
Optionally, in each of the above apparatus embodiments of the present disclosure, the method further includes:
and the updating module is used for updating the database and the dimension information corresponding to the webpage main body acquisition request in the cache unit based on a preset time interval.
Optionally, in each of the above apparatus embodiments of the present disclosure, the method further includes:
and the changing module is used for changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request if the dimension information corresponding to the webpage main body acquisition request in the database changes.
Optionally, in each of the above apparatus embodiments of the present disclosure, after the first returning module and the second returning module, the method further includes:
the rendering module is used for rendering the webpage based on the summary information corresponding to the webpage main body acquisition request to obtain a rendered page corresponding to the webpage main body acquisition request;
and the display module is used for displaying the rendered page corresponding to the webpage main body obtaining request to a user.
Optionally, in each apparatus embodiment of the present disclosure, the summary information includes at least one dimension information corresponding to the webpage main body obtaining request;
the dimension information corresponding to the webpage main body acquisition request comprises any one or more of the following items: marketing dimension information, company background dimension information, judicial risk dimension information, management risk dimension information, company development dimension information, business status dimension information, intellectual property dimension information, and historical dimension information;
the dimension information corresponding to the webpage natural person request information comprises any one or more of the following items: risk dimension information, equity dimension information, business role dimension information, all company dimension information, actual control authority dimension information, once-incumbent dimension information, boss relationship dimension information, and partner dimension information.
Optionally, in each of the apparatus embodiments of the present disclosure, the cache unit caches information cached based on a preset rule;
the preset rules include: if the number of the dimension information corresponding to the webpage main body obtaining request is larger than a preset number, or the enterprise score corresponding to the webpage main body obtaining request is larger than a preset score, or the change frequency of the dimension information corresponding to the webpage main body obtaining request is larger than a preset frequency, the calling cache identifier information corresponding to the webpage main body obtaining request is configured to be a calling cache, otherwise, the calling cache is not called.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the web page information processing method according to any one of the embodiments.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instruction from the memory, and execute the instruction to implement the method for processing the web page information according to any of the embodiments.
Based on the method and the device for processing the webpage information, the storage medium and the electronic equipment provided by the embodiment of the disclosure, a webpage main body acquisition request is received; determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request; determining whether to call cache information corresponding to the webpage main body acquisition request based on a call cache identifier corresponding to the webpage main body acquisition request; if the cache information corresponding to the webpage main body obtaining request is determined to be called, the summarizing information corresponding to the webpage main body obtaining request is obtained from the cache unit based on the interface identifier corresponding to the webpage main body obtaining request, and the webpage is generated and returned based on the summarizing information corresponding to the webpage main body obtaining request. The embodiment of the disclosure can reduce the time for the cache unit to process the webpage request, thereby shortening the waiting time of the user and improving the user experience.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart illustrating a method for processing web page information according to an exemplary embodiment of the disclosure.
Fig. 2 is a schematic flowchart of a webpage body obtaining request received in a webpage information processing method according to another exemplary embodiment of the present disclosure.
Fig. 3 is a schematic flowchart of not invoking cache information corresponding to a webpage main body acquisition request in yet another exemplary embodiment of the present disclosure.
Fig. 4 is a schematic flowchart of returning summarized information corresponding to a webpage main body acquiring request in a database in another exemplary embodiment of the present disclosure.
Fig. 5 is a schematic flowchart illustrating a process of calling a webpage body to obtain cache information corresponding to a request in yet another exemplary embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a web page information processing apparatus according to an exemplary embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a web page information processing apparatus according to another exemplary embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of a web page information processing apparatus according to still another exemplary embodiment of the present disclosure.
Fig. 9 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the embodiments of the present disclosure and not all embodiments of the present disclosure, with the understanding that the present disclosure is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one element from another, and are not intended to imply any particular technical meaning, nor is the necessary logical order between them.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Fig. 1 is a flowchart illustrating a method for processing web page information according to an exemplary embodiment of the disclosure. The embodiment can be applied to an electronic device, as shown in fig. 1, and includes the following steps:
step 102, receiving a webpage main body obtaining request.
The web page request in the embodiments of the present disclosure may include: the webpage enterprise obtains the request and/or the webpage nature person obtains the request.
The webpage main body obtaining request may include: the web page enterprise acquisition request and/or the web page natural person acquisition request may be, for example: a large enterprise with huge related data volume-a cross-country company ABC, or an individual household with small related data volume-an oral clinic a, the webpage natural person request may be: the natural person X, the web enterprise acquisition request and the web natural person acquisition request may be: company ABC across the country and natural person X.
And 104, determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request.
The body identifier corresponding to the webpage body obtaining request is used for representing an interface mark of storage information in a database or a cache unit corresponding to the webpage body obtaining request, and at least one dimension request identifier may be configured correspondingly, for example, the body identifier of the cross-country enterprise ABC may be ABCkey, and the dimension request identifier corresponding to the dimension information of the cross-country enterprise ABC on the market may be ABCcourtkey. The cache identifier corresponding to the webpage body obtaining request is used for indicating whether to call the enterprise information or the natural person information cached corresponding to the keyword, for example, if the call cache identifier corresponding to the cross-country company ABC is 1, the cache information of the cross-country company ABC is called by the back end; if the cache identifier corresponding to the oral clinic a is 0, the back end does not call the cache information of the oral clinic a.
And step 106, determining whether to call cache information corresponding to the webpage main body obtaining request or not based on the calling cache identifier corresponding to the webpage main body obtaining request.
The cache information is used to indicate information about an enterprise or information about a natural person stored in the memory, for example, marketing information and business situation information of a cross-country company ABC.
And step 108, if the cache information corresponding to the webpage main body obtaining request is determined to be called, obtaining summary information corresponding to the webpage main body obtaining request from the cache unit based on the interface identifier corresponding to the webpage main body obtaining request, generating a webpage based on the summary information corresponding to the webpage main body obtaining request, and returning.
The summary information in the embodiments of the present disclosure may include: the webpage main body acquires at least one dimension information corresponding to the request.
The cache unit caches information cached based on preset rules.
The webpage summary information corresponding to the webpage main body acquisition request is used for representing at least one dimension information of the enterprise or at least one dimension information of the natural person after the summary, and the dimension information corresponding to the webpage main body acquisition request may include any one or more of the following items: the dimension information corresponding to the natural person information request can include any one or more of the following items: risk dimension information, equity dimension information, business role dimension information, all company dimension information, actual control authority dimension information, once-incumbent dimension information, boss relationship dimension information, and partner dimension information. In addition, the dimension information corresponding to the webpage main body acquisition request may further include entry information, for example, the listing dimension information may include an entry: stock quotes, stock control, marketing announcements, dividend situations, and stock allocation situations, the dimension information corresponding to the natural person request may also include entry information, for example, the risk dimension information may include entries: business exceptions, court announcements, land mortgages, and change information.
The preset rules may include: if the number of the dimension information corresponding to the webpage main body request is larger than the preset number, or the score corresponding to the webpage main body request is larger than the preset score, or the change frequency of the dimension information corresponding to the webpage main body acquisition request is larger than the preset frequency, the calling cache identifier information corresponding to the webpage main body acquisition request is configured to be a calling cache, otherwise, the calling cache is not called. The preset number is used for representing the number of preset dimension information, which can be 2, the preset score is used for representing a preset score, which can be 70, and the corresponding score requested by the webpage main body is used for representing the score obtained by weighting the scale of an enterprise, the number of staff, the annual operating income and the like or the influence factors of the legal relationship, the shareholder relationship, the social influence and the like of natural people. For example, when enterprise X corresponds to an enterprise score of 80, enterprise X requests that the corresponding call cache identifier information be configured as a call cache. The change frequency of the dimension information corresponding to the webpage main body acquisition request is used for representing the change frequency of the dimension information of enterprises or natural people.
In a specific example, if cache information corresponding to the cross-country company ABC needs to be called, the server directly reads at least one piece of dimension information corresponding to the cross-country company ABC cached in the cache unit, summarizes the at least one piece of dimension information corresponding to the cross-country company ABC cached in the cache unit, generates a webpage from the obtained summary information corresponding to the cross-country company ABC, and returns the webpage to the user.
And S110, if the cache information corresponding to the webpage main body obtaining request is determined not to be called, obtaining summary information corresponding to the webpage main body obtaining request from the database based on the main body identifier corresponding to the webpage main body obtaining request, generating a webpage based on the summary information corresponding to the webpage main body obtaining request, and returning.
The method for processing the webpage information provided by the embodiment of the disclosure receives a webpage request; judging whether to call cache information corresponding to the webpage main body acquisition request or not based on calling cache identifier information corresponding to the webpage main body acquisition request; if the cache information corresponding to the webpage main body obtaining request is not called, returning webpage summary information corresponding to the webpage main body obtaining request in the database to the user based on the dimension request identifier corresponding to the webpage main body obtaining request; and if the cache information corresponding to the webpage main body acquisition request is called, returning webpage summary information corresponding to the webpage main body acquisition request cached in the cache unit to the user based on the dimension request identifier corresponding to the webpage main body acquisition request. The embodiment of the disclosure can reduce the time for the cache unit to process the webpage request, thereby shortening the waiting time of the user and improving the user experience.
In some optional implementations, before step S102, the foregoing embodiment may include: if the number of the dimension information corresponding to the webpage main body obtaining request and the number of the dimension information corresponding to the natural person request are larger than the preset number, or the enterprise score corresponding to the webpage main body obtaining request and the natural person score corresponding to the natural person request are larger than the preset score, the calling cache identifier information corresponding to the webpage main body obtaining request is configured to be a calling cache, otherwise, the calling cache is not called.
The preset number is used for representing the number of preset dimension information, which can be 2, the preset score is used for representing a preset score, which can be 70, the natural person score is used for representing a score obtained by weighting influence factors such as the relationship between a legal person, the relationship between a shareholder and social influence of a natural person, and the enterprise score is used for representing a score obtained by weighting influence factors such as the scale of an enterprise, the number of staff and annual operating income. For example, when enterprise X corresponds to an enterprise score of 80, enterprise X requests that the corresponding call cache identifier information be configured as a call cache. According to the embodiment of the disclosure, by setting the preset score and the preset number, the reading mode of the enterprise information or the natural person information with excessive data volume is configured to call the cache, so that the time for processing the webpage request by the cache unit can be reduced.
Fig. 2 is a schematic flowchart of a web page information processing method according to another exemplary embodiment of the present disclosure, and as shown in fig. 2, on the basis of the embodiment shown in fig. 1, step S102 may include, before step S: generating the webpage main body acquiring request needing to call the cache, wherein the step specifically comprises the following steps:
step 202, determining a dimension request identifier corresponding to the webpage main body obtaining request based on the main body identifier corresponding to the webpage main body obtaining request.
The dimension identifier corresponding to the webpage body obtaining request is used for representing a symbol for identifying dimension information corresponding to an enterprise or a natural person, for example, the dimension identifier of listed dimension information corresponding to a cross-country company ABC may be ABCcourtkey. The dimension identifier of the risk dimension information corresponding to the natural person X may be Xr iskkey.
Step 204, determining the dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the cache unit.
For example, dimension request identifier abcmanagengetkey and dimension state identifier abcmanagengetkey corresponding to business state information in the cross-country company ABC information are obtained, business state dimension information corresponding to the cross-country company ABC information is determined based on a mapping relationship between the dimension request identifier and each dimension identifier, and listed dimension information, company background dimension information, judicial risk dimension information, business risk dimension information, company development dimension information, intellectual property dimension information, and historical dimension information corresponding to the cross-country company ABC information can also be obtained by the same method.
And S206, summarizing the dimension information corresponding to the webpage main body acquisition request with the data, acquiring a dimension existence list corresponding to the webpage main body acquisition request, and caching the dimension existence list corresponding to the webpage main body acquisition request in a caching unit.
The dimension existence list is used for showing a list for storing the corresponding relation between each dimension identifier and each dimension information. For example, the dimension existence list corresponding to the natural person a request shown in table 1, the dimension identifier Ari skkey of the risk dimension information of the natural person a corresponds to more than 5 items of the person to be performed with loss of credit, the dimension identifier Astockrightkey of the stock right dimension information of the natural person a corresponds to more than 10 items of the stock right quality, and the dimension identifier abusinesserlekey of the business role dimension information of the natural person a corresponds to 20 items of the person to be stocked. The number of dimensions is used to indicate the number of dimension identifiers in the dimension existence list, and for example, the number of dimensions in table 1 is 3.
TABLE 1
Ariskkey Person to be performed after losing credit 5+
Astockrightkey Capital investment of 10+
Abusinessrolekey Do act as stockholder 20
According to the embodiment of the disclosure, the mapping relation between the dimension request identifier and the dimension identifier is set, and the dimension information related to the webpage request is in one-to-one correspondence, so that the loss of the dimension information can be avoided, and in addition, the efficiency of webpage information processing is improved.
Fig. 3 is a flowchart illustrating a method for processing web page information according to another exemplary embodiment of the present disclosure, and as shown in fig. 3, on the basis of the embodiment shown in fig. 1, the step S110 may include the following steps:
s302, based on the main body identifier corresponding to the webpage main body obtaining request, determining the dimension request identifier corresponding to the webpage main body obtaining request.
S304, determining the dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the database.
And S306, summarizing the dimension information corresponding to the webpage main body acquisition request in the database, acquiring summarized information corresponding to the webpage main body acquisition request and returning.
In a specific example, a dimension identifier corresponding to a natural person B request is obtained, dimension information corresponding to the natural person B request is determined based on a mapping relationship between the dimension request identifier corresponding to the natural person B request and the dimension identifier, the dimension information corresponding to the natural person B request in a database is summarized, summarized information corresponding to the natural person B request is obtained, and the summarized information corresponding to the natural person B request is returned to a user. According to the embodiment of the disclosure, the dimension information of the stored data is summarized through the dimension existence list, so that the waste of the cache space is avoided, and the processing speed of the webpage main body request is improved.
Fig. 4 is a flowchart illustrating a method for processing web page information according to another exemplary embodiment of the present disclosure, and as shown in fig. 4, on the basis of the above embodiment shown in fig. 3, step S306 may include the following steps:
s402, summarizing the dimension information corresponding to the webpage main body acquisition request with the data, and acquiring a dimension existence list corresponding to the webpage main body acquisition request.
For example, the dental clinic C only has relevant data of company background dimension information, and therefore, the dental clinic C which collects the data requests the corresponding company background dimension information, and obtains a dimension existence list corresponding to the company background dimension information request.
S404, based on the dimension existence list corresponding to the webpage main body obtaining request, the summary information corresponding to the webpage main body obtaining request in the database is returned.
For example, based on the list of the corresponding dimension existence requested by the dental clinic C, the dimension information corresponding to the request of the dental clinic C in the database is summarized to obtain the summary information, and then the summary information is returned.
According to the embodiment of the disclosure, the dimension return identifier directly reads the webpage request related to a small amount of dimension information from the database, so that the dimension information can be returned uniformly, and the processing speed of the webpage request is improved.
Fig. 5 is a flowchart illustrating a method for processing web page information according to another exemplary embodiment of the present disclosure, and as shown in fig. 5, on the basis of the above embodiment shown in fig. 1, step S108 may include the following steps:
s502, obtaining a dimension existence list corresponding to the cached webpage main body obtaining request from the caching unit.
And S504, summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning after the summarized information corresponding to the webpage main body acquisition request is obtained.
In a specific example, a dimension existence list corresponding to a cached enterprise D request is acquired from a caching unit, and then, based on listed dimension information, company background dimension information, judicial risk dimension information, business risk dimension information, company development dimension information, and business status dimension information in the dimension existence list corresponding to the enterprise D request, the dimension information in the dimension existence list corresponding to the web page enterprise D acquisition request is summarized, and summarized information corresponding to the web page enterprise D acquisition request is acquired and returned.
According to the embodiment of the disclosure, the webpage requests related to more dimension information are directly read from the cache unit, so that webpage summary information can be quickly returned, and the processing speed of the webpage requests is improved.
In some optional implementations, the method for processing web page information provided by the embodiment of the present disclosure may further include: and updating the webpage main body in the database and the cache unit to acquire the dimension information corresponding to the request and the dimension information corresponding to the natural person request based on a preset time interval.
The preset time interval can be 12 hours, 24 hours, 36 hours and the like, and the synchronization of the returned data at two sides is ensured by updating the dimension information cached in the database and the cache unit at regular time, so that the consistency of the webpage display content accessed by the user through two states and the accuracy of the webpage request are ensured.
In some optional implementations, the method for processing web page information provided by the embodiment of the present disclosure may further include: and if the dimension information corresponding to the webpage main body acquisition request in the database changes, changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request. The dimensional information may be replaced, added or reduced. For example, when the dimension information corresponding to some companies needs to be changed, the acquired new dimension information is replaced with the old dimension information. When a company needs to add new dimension information, the new dimension information of the new dimension identifier is added in the dimension information existence list to replace the old dimension information.
In some optional implementations, in the method for processing web page information provided by the foregoing embodiments of the present disclosure, generating a web page and returning, based on summary information corresponding to the web page main body obtaining request, includes: rendering the webpage based on the summary information corresponding to the webpage main body acquisition request to obtain a rendered page corresponding to the webpage main body acquisition request; and displaying the rendered page corresponding to the webpage main body acquisition request to the user.
Any kind of web page information processing method provided by the embodiments of the present disclosure may be executed by any suitable device with data processing capability, including but not limited to: terminal equipment, a server and the like. Alternatively, any of the web page information processing methods provided by the embodiments of the present disclosure may be executed by a processor, for example, the processor may execute any of the web page information processing methods mentioned in the embodiments of the present disclosure by calling a corresponding instruction stored in a memory. And will not be described in detail below.
Fig. 6 is a schematic structural diagram of a web page information processing apparatus according to an exemplary embodiment of the present disclosure. The web page information processing apparatus may be disposed in an electronic device such as a terminal device and a server, and executes the web page information processing method according to any of the above embodiments of the disclosure, as shown in fig. 6, the embodiment includes:
the receiving module 602 is configured to receive a webpage main body obtaining request.
The first determining module 604 is configured to determine, based on the webpage main body obtaining request, a main body identifier corresponding to the webpage main body obtaining request and a call cache identifier corresponding to the webpage main body obtaining request.
A second determining module 606, configured to determine whether to invoke the cache information corresponding to the webpage main body obtaining request based on the invocation cache identifier corresponding to the webpage main body obtaining request.
A first returning module 608, configured to, if it is determined that the cache information corresponding to the webpage main body obtaining request is called, obtain summary information corresponding to the webpage main body obtaining request from a cache unit based on the interface identifier corresponding to the webpage main body obtaining request, generate a webpage based on the summary information corresponding to the webpage main body obtaining request, and return the webpage.
A second returning module 610, configured to, if it is determined that the cache information corresponding to the webpage main body obtaining request is not called, obtain summary information corresponding to the webpage main body obtaining request from a database based on the main body identifier corresponding to the webpage main body obtaining request, generate a webpage based on the summary information corresponding to the webpage main body obtaining request, and return the webpage.
The processing device for the webpage information provided by the embodiment of the disclosure receives a webpage main body acquisition request; determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request; determining whether to call cache information corresponding to the webpage main body acquisition request based on a call cache identifier corresponding to the webpage main body acquisition request; if the cache information corresponding to the webpage main body obtaining request is determined to be called, the summarizing information corresponding to the webpage main body obtaining request is obtained from the cache unit based on the interface identifier corresponding to the webpage main body obtaining request, and the webpage is generated and returned based on the summarizing information corresponding to the webpage main body obtaining request. The embodiment of the disclosure can reduce the time for the cache unit to process the webpage request, thereby shortening the waiting time of the user and improving the user experience.
In some embodiments, the webpage body obtaining request includes: the webpage enterprise obtains the request and/or the webpage nature person obtains the request.
Fig. 7 is a schematic structural diagram of a web page information processing apparatus according to another exemplary embodiment of the present disclosure. As shown in fig. 7, on the basis of the embodiment shown in fig. 6, before the receiving module 602, the method may further include: the generating module 601 is configured to generate the webpage main body obtaining request that needs to call the cache.
In some embodiments, the generating module includes:
the first determining unit is used for determining a dimension request identifier corresponding to the webpage main body obtaining request based on a main body identifier corresponding to the webpage main body obtaining request.
And the second determining unit is used for determining the dimension information corresponding to the webpage main body obtaining request based on the mapping relation between the dimension request identifier corresponding to the webpage main body obtaining request and the dimension identifier in the cache unit.
The first summarizing unit is used for summarizing the dimension information corresponding to the webpage main body acquiring request with data, acquiring a dimension existence list corresponding to the webpage main body acquiring request, and caching the dimension existence list corresponding to the webpage main body acquiring request in the caching unit.
In some embodiments, the second return module comprises:
and the third determining unit is used for determining the dimension request identifier corresponding to the webpage main body obtaining request based on the main body identifier corresponding to the webpage main body obtaining request.
And the fourth determining unit is used for determining the dimension information corresponding to the webpage main body obtaining request based on the mapping relation between the dimension request identifier corresponding to the webpage main body obtaining request and the dimension identifier in the database.
And the second obtaining unit is used for summarizing the dimension information corresponding to the webpage main body obtaining request in the database, obtaining webpage summarizing information corresponding to the webpage main body obtaining request and returning the webpage summarizing information corresponding to the webpage main body obtaining request to the user.
In some embodiments, the second obtaining unit is specifically configured to:
and summarizing the dimension information corresponding to the webpage main body acquisition request with the data to obtain a dimension existence list corresponding to the webpage main body acquisition request.
And returning the summary information corresponding to the webpage main body acquisition request in the database based on the dimension existence list corresponding to the webpage main body acquisition request.
In some embodiments, the first return module further comprises:
and a third obtaining unit, configured to obtain, from the caching unit, a cached dimension existence list corresponding to the webpage main body obtaining request.
And the second summarizing unit is used for summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning the summarized information corresponding to the webpage main body acquisition request.
In some embodiments, the method further comprises:
and the updating module is used for updating the database and the dimension information corresponding to the webpage main body acquisition request in the cache unit based on a preset time interval.
In some embodiments, the method further comprises:
and the changing module is used for changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request if the dimension information corresponding to the webpage main body acquisition request in the database changes.
Fig. 8 is a schematic structural diagram of a web page information processing apparatus according to another exemplary embodiment of the present disclosure. As shown in figure 8 of the drawings,
on the basis of the embodiment shown in fig. 6, in the above device embodiments of the present disclosure, after the first returning module 606 and the second returning module 608, the method further includes:
optionally, in each of the above apparatus embodiments of the present disclosure, after the first returning module and the second returning module, the method may further include:
the rendering module 609 is configured to render the webpage based on the summary information corresponding to the webpage main body obtaining request, so as to obtain a rendered page corresponding to the webpage main body obtaining request.
A displaying module 610, configured to display the rendered page corresponding to the webpage main body obtaining request to a user.
In some embodiments, the summary information includes at least one dimension information corresponding to the webpage main body obtaining request.
The dimension information corresponding to the webpage main body obtaining request may include any one or more of the following items: marketing dimension information, company background dimension information, judicial risk dimension information, business risk dimension information, company development dimension information, business status dimension information, intellectual property dimension information, and historical dimension information.
The dimension information corresponding to the webpage natural person request can comprise any one or more of the following items: risk dimension information, equity dimension information, business role dimension information, all company dimension information, actual control authority dimension information, once-incumbent dimension information, boss relationship dimension information, and partner dimension information.
In some embodiments, the caching unit caches information cached based on a preset rule.
The preset rule may include: if the number of the dimension information corresponding to the webpage main body obtaining request is larger than a preset number, or the enterprise score corresponding to the webpage main body obtaining request is larger than a preset score, or the change frequency of the dimension information corresponding to the webpage main body obtaining request is larger than a preset frequency, the calling cache identifier information corresponding to the webpage main body obtaining request is configured to be a calling cache, otherwise, the calling cache is not called.
Next, an electronic apparatus according to an embodiment of the present disclosure is described with reference to fig. 9. The electronic device may be either or both of the first device 100 and the second device 200, or a stand-alone device separate from them that may communicate with the first device and the second device to receive the collected input signals therefrom.
FIG. 9 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure.
As shown in fig. 9, the electronic device 900 includes one or more processors 901 and memory 902.
The processor 901 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 902 to perform desired functions.
Memory 902 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 901 to implement the web page information processing methods of the various embodiments of the present disclosure described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 900 may further include: an input device 903 and an output device 904, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
For example, when the electronic device is the first device 100 or the second device 200, the input device 903 may be a microphone or a microphone array as described above for capturing an input signal of a sound source. When the electronic device is a stand-alone device, the input means 903 may be a communication network connector for receiving the collected input signals from the first device 100 and the second device 200.
The input device 903 may also include, for example, a keyboard, a mouse, and the like.
The output device 904 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 904 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device 900 relevant to the present disclosure are shown in fig. 9, omitting components such as buses, input/output interfaces, and the like. In addition, electronic device 900 may include any other suitable components depending on the particular application.
In addition to the above-described methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method for processing web page information according to various embodiments of the present disclosure described in the above-mentioned "exemplary methods" section of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method for processing web page information according to various embodiments of the present disclosure described in the above section "exemplary method" of the present specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium may include: an electrical connection having one or more wires, a portable disk, 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.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (25)

1. A method for processing web page information is characterized by comprising the following steps:
receiving a webpage main body acquisition request;
determining a main body identifier corresponding to the webpage main body acquisition request and a calling cache identifier corresponding to the webpage main body acquisition request based on the webpage main body acquisition request;
determining whether to call cache information corresponding to the webpage main body acquisition request based on a call cache identifier corresponding to the webpage main body acquisition request;
if the cache information corresponding to the webpage main body obtaining request is determined to be called, the summary information corresponding to the webpage main body obtaining request is obtained from a cache unit based on the main body identifier corresponding to the webpage main body obtaining request, and a webpage is generated and returned based on the summary information corresponding to the webpage main body obtaining request.
2. The method according to claim 1, wherein if it is determined that the cache information corresponding to the webpage main body obtaining request is not called, the summary information corresponding to the webpage main body obtaining request is obtained from a database based on the main body identifier corresponding to the webpage main body obtaining request, and a webpage is generated and returned based on the summary information corresponding to the webpage main body obtaining request.
3. The method according to claim 1 or 2, wherein the web page main body obtaining request comprises: the webpage enterprise obtains the request and/or the webpage nature person obtains the request.
4. The method according to any one of claims 1-3, wherein before receiving the web page request information, further comprising: and generating the webpage main body acquisition request needing to call the cache.
5. The method of claim 4, wherein the generating the webpage body obtaining request that requires invoking the cache comprises:
determining a dimension request identifier corresponding to the webpage main body acquisition request based on a main body identifier corresponding to the webpage main body acquisition request;
determining dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the cache unit;
the dimension information corresponding to the webpage main body obtaining request with data is collected, a dimension existence list corresponding to the webpage main body obtaining request is obtained, and the dimension existence list corresponding to the webpage main body obtaining request is cached in the caching unit.
6. The method according to claim 3, wherein the acquiring summary information corresponding to the web page main body acquiring request from a database based on the main body identifier corresponding to the web page main body acquiring request, and generating and returning a web page based on the summary information corresponding to the web page main body acquiring request comprises:
determining a dimension request identifier corresponding to the webpage main body acquisition request based on a main body identifier corresponding to the webpage main body acquisition request;
determining dimension information corresponding to the webpage main body acquisition request based on the mapping relation between the dimension request identifier corresponding to the webpage main body acquisition request and the dimension identifier in the database;
and summarizing the dimension information corresponding to the webpage main body acquisition request in the database, acquiring summarized information corresponding to the webpage main body acquisition request and returning the summarized information.
7. The method according to claim 6, wherein the aggregating the dimension information corresponding to the web page main body obtaining request in the database, obtaining and returning aggregated information corresponding to the web page main body obtaining request comprises:
summarizing the dimension information corresponding to the webpage main body acquisition request with data, and acquiring a dimension existence list corresponding to the webpage main body acquisition request;
and returning the summary information corresponding to the webpage main body acquisition request in the database based on the dimension existence list corresponding to the webpage main body acquisition request.
8. The method according to any one of claims 1 to 7, wherein if it is determined to invoke the cache information corresponding to the webpage main body obtaining request, obtaining summary information corresponding to the webpage main body obtaining request from a cache unit based on a main body identifier corresponding to the webpage main body obtaining request, and generating and returning a webpage based on the summary information corresponding to the webpage main body obtaining request, includes:
obtaining a dimension existence list corresponding to the cached webpage main body obtaining request from the caching unit;
and summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning after summarizing the information corresponding to the webpage main body acquisition request is obtained.
9. The method of any of claims 1-8, further comprising:
and updating the dimension information corresponding to the webpage main body acquisition request in the database and the cache unit based on a preset time interval.
10. The method of any of claims 1-9, further comprising:
and if the dimension information corresponding to the webpage main body acquisition request in the database changes, changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request.
11. The method according to any one of claims 1 to 10, wherein the generating and returning a web page based on the summary information corresponding to the web page main body acquisition request comprises:
rendering the webpage based on the summary information corresponding to the webpage main body acquisition request to obtain a rendered page corresponding to the webpage main body acquisition request;
and displaying the rendered page corresponding to the webpage main body acquisition request to a user.
12. The method according to any one of claims 1 to 11, wherein the summary information includes at least one dimension information corresponding to the web page main body acquisition request;
the dimension information corresponding to the webpage enterprise acquisition request comprises any one or more of the following items: marketing dimension information, company background dimension information, judicial risk dimension information, management risk dimension information, company development dimension information, business status dimension information, intellectual property dimension information, and historical dimension information;
the dimension information corresponding to the webpage natural person acquisition request comprises any one or more of the following items: risk dimension information, equity dimension information, business role dimension information, all company dimension information, actual control authority dimension information, once-incumbent dimension information, boss relationship dimension information, and partner dimension information.
13. The method according to any one of claims 1 to 12, wherein the cache unit has cached information based on a preset rule;
the preset rules include: if the number of the dimension information corresponding to the webpage main body request is larger than a preset number, or the score corresponding to the webpage main body request is larger than a preset score, or the change frequency of the dimension information corresponding to the webpage main body acquisition request is larger than a preset frequency, the calling cache identifier information corresponding to the webpage main body acquisition request is configured as a calling cache, otherwise, the calling cache is not called.
14. A web page information processing apparatus characterized by comprising:
the receiving module is used for receiving a webpage main body acquisition request;
a first determining module, configured to determine, based on the webpage main body obtaining request, a main body identifier corresponding to the webpage main body obtaining request and a call cache identifier corresponding to the webpage main body obtaining request;
a second determining module, configured to determine whether to call cache information corresponding to the webpage main body obtaining request based on a call cache identifier corresponding to the webpage main body obtaining request;
and the first returning module is used for acquiring summary information corresponding to the webpage main body acquisition request from a cache unit based on the interface identifier corresponding to the webpage main body acquisition request if the cache information corresponding to the webpage main body acquisition request is determined to be called, and generating a webpage based on the summary information corresponding to the webpage main body acquisition request and returning the webpage.
15. The apparatus of claim 14, further comprising: and the second returning module is used for acquiring summary information corresponding to the webpage main body acquisition request from a database based on the main body identifier corresponding to the webpage main body acquisition request if the cache information corresponding to the webpage main body acquisition request is determined not to be called, and generating a webpage and returning the webpage based on the summary information corresponding to the webpage main body acquisition request.
16. The apparatus according to claim 14 or 15, characterized in that before the receiving module, it further comprises: and the generating module is used for generating the webpage main body obtaining request needing to call the cache.
17. The apparatus of claim 16, wherein the generating module comprises:
a first determining unit, configured to determine, based on a body identifier corresponding to the webpage body obtaining request, a dimension request identifier corresponding to the webpage body obtaining request;
the second determining unit is used for determining the dimension information corresponding to the webpage main body obtaining request based on the mapping relation between the dimension request identifier corresponding to the webpage main body obtaining request and the dimension identifier in the cache unit;
the first summarizing unit is used for summarizing the dimension information corresponding to the webpage main body acquiring request with data, acquiring a dimension existence list corresponding to the webpage main body acquiring request, and caching the dimension existence list corresponding to the webpage main body acquiring request in the caching unit.
18. The apparatus of claim 15, wherein the second return module comprises:
a third determining unit, configured to determine, based on a body identifier corresponding to the webpage body obtaining request, a dimension request identifier corresponding to the webpage body obtaining request;
a fourth determining unit, configured to determine, based on a mapping relationship between a dimension request identifier corresponding to the webpage main body acquisition request and a dimension identifier in the database, dimension information corresponding to the webpage main body acquisition request;
and the second obtaining unit is used for summarizing the dimension information corresponding to the webpage main body obtaining request in the database, obtaining webpage summarizing information corresponding to the webpage main body obtaining request and returning the webpage summarizing information corresponding to the webpage main body obtaining request to the user.
19. The apparatus according to claim 18, wherein the second obtaining unit is specifically configured to:
summarizing the dimension information corresponding to the webpage main body acquisition request with data, and acquiring a dimension existence list corresponding to the webpage main body acquisition request;
and returning the summary information corresponding to the webpage main body acquisition request in the database based on the dimension existence list corresponding to the webpage main body acquisition request.
20. The apparatus of any of claims 14-19, wherein the first return module further comprises:
a third obtaining unit, configured to obtain, from the caching unit, a cached dimension existence list corresponding to the webpage main body obtaining request;
and the second summarizing unit is used for summarizing the dimension information in the dimension storage list corresponding to the webpage main body acquisition request, and returning the summarized information corresponding to the webpage main body acquisition request.
21. The apparatus of any of claims 14-20, further comprising:
and the updating module is used for updating the database and the dimension information corresponding to the webpage main body acquisition request in the cache unit based on a preset time interval.
22. The apparatus of any of claims 14-21, further comprising:
and the changing module is used for changing the dimension request identifier and the dimension identifier corresponding to the webpage main body acquisition request if the dimension information corresponding to the webpage main body acquisition request in the database changes.
23. The apparatus of any of claims 14-22, wherein the first return module and the second return module are followed by further comprising:
the rendering module is used for rendering the webpage based on the summary information corresponding to the webpage main body acquisition request to obtain a rendered page corresponding to the webpage main body acquisition request;
and the display module is used for displaying the rendered page corresponding to the webpage main body obtaining request to a user.
24. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the web page information processing method of any one of claims 1 to 13.
25. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the webpage information processing method of any one of the claims 1 to 13.
CN201911212057.7A 2019-11-28 2019-11-28 Webpage information processing method and device, storage medium and electronic equipment Active CN111125579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911212057.7A CN111125579B (en) 2019-11-28 2019-11-28 Webpage information processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911212057.7A CN111125579B (en) 2019-11-28 2019-11-28 Webpage information processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111125579A true CN111125579A (en) 2020-05-08
CN111125579B CN111125579B (en) 2021-04-02

Family

ID=70497129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911212057.7A Active CN111125579B (en) 2019-11-28 2019-11-28 Webpage information processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111125579B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113901125A (en) * 2021-09-17 2022-01-07 盐城金堤科技有限公司 Data display method and device, storage medium and electronic equipment
CN114510241A (en) * 2022-01-28 2022-05-17 北京金堤科技有限公司 Page rendering method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020147749A1 (en) * 2001-04-06 2002-10-10 Ortiz C. Enrique Mobile presentation system
CN1731396A (en) * 2005-08-23 2006-02-08 萧学文 System and method for implementing network resource search by mobile terminal
CN105847853A (en) * 2016-04-01 2016-08-10 深圳市创云方网络科技有限公司 Video content distribution method and device
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
CN110032582A (en) * 2019-03-07 2019-07-19 阿里巴巴集团控股有限公司 A kind of data processing method, device, equipment and system
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020147749A1 (en) * 2001-04-06 2002-10-10 Ortiz C. Enrique Mobile presentation system
CN1731396A (en) * 2005-08-23 2006-02-08 萧学文 System and method for implementing network resource search by mobile terminal
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
CN105847853A (en) * 2016-04-01 2016-08-10 深圳市创云方网络科技有限公司 Video content distribution method and device
CN110032582A (en) * 2019-03-07 2019-07-19 阿里巴巴集团控股有限公司 A kind of data processing method, device, equipment and system
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
艾利克斯·洪木尔等: "《云计算架构设计模式》", 31 December 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113901125A (en) * 2021-09-17 2022-01-07 盐城金堤科技有限公司 Data display method and device, storage medium and electronic equipment
CN114510241A (en) * 2022-01-28 2022-05-17 北京金堤科技有限公司 Page rendering method and device

Also Published As

Publication number Publication date
CN111125579B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CA3089044C (en) Cost optimized dynamic resource allocation in a cloud infrastructure
RU2408074C2 (en) Method, system and apparatus for providing access to workbook models through remote function calls
CA2927580C (en) Method and system for document data extraction template management
CN108572963A (en) Information acquisition method and device
CN110706093A (en) Accounting processing method and device
US20210240784A1 (en) Method, apparatus and storage medium for searching blockchain data
CN110990420A (en) Data query method and device
CN110689268B (en) Method and device for extracting indexes
CN111125579B (en) Webpage information processing method and device, storage medium and electronic equipment
US9298780B1 (en) Method and system for managing user contributed data extraction templates using weighted ranking score analysis
US11061934B1 (en) Method and system for characterizing time series
CN108564462A (en) Acquisition methods, terminal device and the medium of collage-credit data
US9330402B2 (en) Method and system for providing a payroll preparation platform with user contribution-based plug-ins
JP2010020745A (en) Method of outputting reputation index and reputation index output device
CN109271564A (en) Declaration form querying method and equipment
US11308063B2 (en) Data structure to array conversion
CN115421922A (en) Current limiting method, device, equipment, medium and product of distributed system
CN113989058A (en) Service generation method and device
US20230153357A1 (en) Method of processing an observation information, electronic device and storage medium
CN115545639B (en) Financial business processing method, device, electronic equipment and storage medium
US9230022B1 (en) Customizable result sets for application program interfaces
US20190050878A1 (en) System and method for domain name valuation
CN114880678A (en) Authority management method, device, equipment and storage medium
CN113918630A (en) Data synchronization method and device, computer equipment and storage medium
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and 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