CN108549728B - Page display method and system and big data platform - Google Patents

Page display method and system and big data platform Download PDF

Info

Publication number
CN108549728B
CN108549728B CN201810416519.6A CN201810416519A CN108549728B CN 108549728 B CN108549728 B CN 108549728B CN 201810416519 A CN201810416519 A CN 201810416519A CN 108549728 B CN108549728 B CN 108549728B
Authority
CN
China
Prior art keywords
page
target
micro page
micro
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810416519.6A
Other languages
Chinese (zh)
Other versions
CN108549728A (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.)
Enn China Gas Investment Co ltd
Original Assignee
Enn China Gas Investment 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 Enn China Gas Investment Co ltd filed Critical Enn China Gas Investment Co ltd
Priority to CN201810416519.6A priority Critical patent/CN108549728B/en
Publication of CN108549728A publication Critical patent/CN108549728A/en
Application granted granted Critical
Publication of CN108549728B publication Critical patent/CN108549728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a page display method, a device and a system, and the method applied to a service platform comprises the steps of establishing at least one window on a page main body of the service platform; for any target window, sending a corresponding target service requirement comprising at least one idiom used by the service platform to the big data platform; receiving a target micro page returned by the big data platform, wherein the target micro page is displayed with data display of data content corresponding to a target service requirement, and is obtained according to a preset micro page determined by preset standard words after each inertial word is converted into a corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same; and adaptively displaying the target micro page in the target window. And each service platform only provides input and displays results, and the big data platform analyzes and processes the results, so that the display modes, the index names and the like are unified. The scheme enables the data display of the data content to be uniform by each service platform.

Description

Page display method and system and big data platform
Technical Field
The invention relates to the technical field of computers, in particular to a page display method, device and system.
Background
Each user can display the page of the data content based on the service platform of the user.
At present, a user can request data from a big data platform through a service platform, and process corresponding data returned by the big data platform on the service platform as required, for example, processing the data into a histogram, and then performing page display.
Therefore, the data display of the data content by each service platform is not uniform, so that the user experience is poor.
Disclosure of Invention
The invention provides a page display method, a page display device and a page display system, which enable data display of data contents to be uniform by all service platforms.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a page display method, which is applied to a service platform, and at least one window is created on a page main body of the service platform; further comprising:
for any target window in the at least one window, sending a target service requirement corresponding to the target window to an external big data platform, wherein the target service requirement comprises at least one idiom used by the service platform;
receiving a target micro page returned by the big data platform, wherein the target micro page is displayed with data display of data content corresponding to the target business requirement, the target micro page is obtained according to a preset micro page determined by a preset standard word after each inertial word is converted into the corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same;
and adaptively displaying the target micro page in the target window.
Further, the creating at least one window on a page body of the service platform includes: creating at least one window on a page main body of the service platform based on any technical means of entering a LOAD method b.html page in AJAX, using html tags of < iframe src ═ b.html' width ═ height ═ and </iframe >, and using iframe elements to create an inline frame containing another document.
In a second aspect, the invention provides a page display method, which is applied to a big data platform and is used for collecting the used words of each service platform aiming at each standard word aiming at least one preset standard word; storing at least one micro page, wherein each micro page corresponds to at least one standard word; further comprising:
s1: when a target service requirement which is sent by an external target service platform and comprises at least one used word is received, converting each used word in the at least one used word into a corresponding standard word according to the pre-collected used words used by the target service platform aiming at each standard word;
s2: judging whether at least one target micro page exists in the at least one micro page, wherein the converted at least one standard word comprises each standard word corresponding to the target micro page, and if so, executing S3;
s3: obtaining a target micro page according to the target micro page, wherein the target micro page displays data display of data content corresponding to the target business requirement, and the data display rule of the target micro page is the same as that of the target micro page;
s4: and feeding back the target micro page to the target service platform.
Further, any one of the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the S3, including:
a1: judging whether a first target micro page exists in the at least one target micro page, wherein the first target micro page is a micro page example, and except each standard word corresponding to the first target micro page, the remaining at least one standard word in the converted at least one standard word is completely consistent with at least one keyword corresponding to the first target micro page, if so, determining that the first target micro page is a target micro page, executing S4 and ending the current process, otherwise, executing A2;
a2: acquiring preset data content corresponding to the target service requirement from a local resource pool;
a3: and judging whether a second target micro page exists in the at least one target micro page, wherein the second target micro page is a micro page template, if so, displaying the data display of the preset data content in the second target micro page according to the data display rule corresponding to the second target micro page to obtain a target micro page, and executing S4, otherwise, replacing the data content displayed in any target micro page with the preset data content to obtain the target micro page, and executing S4.
In a third aspect, the present invention provides a service platform, including:
the creating unit is used for creating at least one window on a page main body of the service platform;
the request unit is used for sending a target service requirement corresponding to any one of the at least one window to an external big data platform, wherein the target service requirement comprises at least one idiom used by the service platform;
the receiving unit is used for receiving a target micro page returned by the big data platform, wherein the target micro page displays data display of data content corresponding to the target business requirement, the target micro page is obtained according to a preset micro page determined by a preset standard word after each inertial word is converted into the corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same;
and the processing unit is used for displaying the target micro page in the target window in a self-adaptive manner.
The creating unit is specifically configured to create at least one window on a page body of the service platform based on any one of a technical means of entering a LOAD method b.html page in AJAX, using html tags < iframe src ═ b.html "width ═ height ═ and >, and using iframe elements to create an inline frame containing another document.
In a fourth aspect, the present invention provides a big data platform, comprising:
the collection unit is used for collecting the used words used by each service platform for each standard word aiming at least one preset standard word;
the storage unit is used for storing at least one micro page, and each micro page corresponds to at least one standard word;
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for converting each inertial word in at least one inertial word into a corresponding standard word according to a pre-collected inertial word used by a target service platform aiming at each standard word when receiving a target service requirement which comprises at least one inertial word and is sent by an external target service platform;
the second processing unit is used for judging whether at least one target micro page exists in the at least one micro page, the converted at least one standard word comprises each standard word corresponding to the target micro page, and if yes, the third processing unit is triggered;
the third processing unit is configured to obtain a target micro page according to the target micro page, where a data presentation of data content corresponding to the target business requirement is presented in the target micro page, and a data presentation rule of the target micro page is the same as that of the target micro page;
and the feedback unit is used for feeding the target micro page back to the target service platform.
Further, any one of the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the third processing unit includes: the device comprises a first processing subunit, a second processing subunit and a third processing subunit;
the first processing subunit is configured to determine whether a first-purpose micro page exists in the at least one purpose micro page, where the first-purpose micro page is a micro page example, and except for each standard word corresponding to the first-purpose micro page, at least one remaining standard word in the at least one converted standard word is completely consistent with at least one keyword corresponding to the first-purpose micro page, if yes, determine that the first-purpose micro page is a target micro page, trigger the feedback unit and end, and otherwise, trigger the second processing subunit;
the second processing subunit is configured to acquire preset data content corresponding to the target service requirement from a local resource pool;
the third processing subunit is configured to determine whether a second target micro page exists in the at least one target micro page, where the second target micro page is a micro page template, if so, display a data display of the preset data content in the second target micro page according to a data display rule corresponding to the second target micro page, so as to obtain a target micro page, and trigger the feedback unit, and otherwise, replace the data content displayed in any one of the target micro pages with the preset data content, so as to obtain a target micro page, and trigger the feedback unit.
Further, the first processing unit is further configured to, when a target service requirement including at least one used word sent by an external target service platform is received, determine whether a verification request carried in the target service requirement meets a preset access validity verification rule, and if so, execute the conversion of each used word in the at least one used word into a corresponding standard word respectively.
In a fifth aspect, the present invention provides a page display system, including:
at least one service platform as described in any one of the above, and a big data platform as described in any one of the above.
The invention provides a page display method, a device and a system, and the method applied to a service platform comprises the steps of establishing at least one window on a page main body of the service platform; for any target window, sending a corresponding target service requirement comprising at least one idiom used by the service platform to the big data platform; receiving a target micro page returned by the big data platform, wherein the target micro page is displayed with data display of data content corresponding to a target service requirement, and is obtained according to a preset micro page determined by preset standard words after each inertial word is converted into a corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same; and adaptively displaying the target micro page in the target window. And each service platform only provides input and displays results, and the big data platform analyzes and processes the results, so that the display modes, the index names and the like are unified. The invention enables the data display of the data content to be uniform by each service platform.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a page display method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another page displaying method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another page displaying method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a service platform according to an embodiment of the present invention;
FIG. 5 is a diagram of a big data platform according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another big data platform provided by an embodiment of the invention;
fig. 7 is a schematic diagram of a page display system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a page display method, which is applied to a service platform, and may include the following steps:
step 101: at least one window is created on a page body of the business platform.
Step 102: and for any target window in the at least one window, sending a target service requirement corresponding to the target window to an external big data platform, wherein the target service requirement comprises at least one idiom used by the service platform.
Step 103: and receiving a target micro page returned by the big data platform, wherein the target micro page displays data display of data content corresponding to the target business requirement, the target micro page is obtained according to a preset micro page determined by a preset standard word after each inertial word is converted into the corresponding preset standard word, and the data display rule of the preset micro page is the same as that of the target micro page.
Step 104: and adaptively displaying the target micro page in the target window.
The embodiment of the invention provides a page display method, which is applied to a service platform and is used for creating at least one window on a page main body of the service platform; for any target window, sending a corresponding target service requirement comprising at least one idiom used by the service platform to the big data platform; receiving a target micro page returned by the big data platform, wherein the target micro page is displayed with data display of data content corresponding to a target service requirement, and is obtained according to a preset micro page determined by preset standard words after each inertial word is converted into a corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same; and adaptively displaying the target micro page in the target window. Each service platform only needs to provide input and display results, analysis is not needed, all analysis is completed by the big data platform, so that the display modes are unified, the index names and the like are unified, and the condition that the same characteristic is displayed by different names or different modes in different service platforms does not occur. Therefore, the embodiment of the invention enables the data display of the data content to be uniform by each service platform.
When the data returned by the big data platform are respectively displayed by each service platform as required, for example, when some service platforms display the data through a histogram, and other service platforms display the data through a pie chart, the data display has great randomness, which causes non-uniform style, inconsistent data processing and processing processes, and poor user experience. For this reason, in the embodiment of the present invention, data presentation may be performed based on a micro page.
In order to be able to display a micro page sent by a big data platform on a page body, a window for displaying the micro page may be first created on the page body, or a local area is reserved on the page body, and the local area is used for displaying the micro page.
For example, since the sales volume of natural gas is displayed through a histogram, the display effect is better, so the big data platform can preset a micro page a, and the data display rule of the micro page a is as follows: through the bar chart demonstration, the 2 standard words that this little page A corresponds are: natural gas, sales volume.
Suppose that the service requirement 1 sent by the service platform 1 is '17-year Beijing gas sales volume', and the service requirement 2 sent by the service platform 2 is '2017 Shanghai natural gas sales volume'. Wherein, for expressing the standard word of "2017", the conventional word used by the service platform 1 is "17 years", and the conventional word used by the service platform 2 is "2017"; for the expression of the standard word "natural gas", the common word used by the service platform 1 is "gas"; to express the standard word "sales volume", the common word used by the service platform 2 is "sales volume".
After the conventional words are converted into the corresponding standard words, it can be known that the service platform 1 requests the sale amount of the Beijing natural gas in 2017, the service platform 2 requests the sale amount of the Shanghai natural gas in 2017, and both the sale amounts are the sale amounts of the natural gas, so that in the step 103, the determined preset micro page can be the micro page A. Therefore, the micro page 1 returned to the service platform 1 can be generated according to the micro page A, the micro page 2 returned to the service platform 2 can be generated according to the micro page A, and the data display rules of the micro page 1 and the micro page 2 are consistent with those of the micro page A.
For example, when the micro page a is a micro page template, the data content corresponding to the sale amount of the Beijing natural gas in 2017 can be filled into the micro page a to obtain the micro page 1, and the data content corresponding to the sale amount of the Shanghai natural gas in 2017 can be filled into the micro page a to obtain the micro page 2.
In this way, for the target micro pages returned to the service platform 1 and the service platform 2 by the big data platform, although the displayed data contents in the two target micro pages are different, one corresponds to beijing and the other corresponds to shanghai, the data display rules of the two target micro pages are both consistent with the micro page a, namely, the data are displayed through the histogram.
Therefore, based on the cooperation of each service platform and the big data platform, the data display style of each service platform end is uniform, the data processing and processing processes are consistent, and the improvement of user experience is facilitated.
In an embodiment of the present invention, to illustrate a possible implementation manner of creating a window on a page, the creating at least one window on a page body of the service platform includes: creating at least one window on a page main body of the service platform based on any technical means of entering a LOAD method b.html page in AJAX, using html tags of < iframe src ═ b.html' width ═ height ═ and </iframe >, and using iframe elements to create an inline frame containing another document.
In the embodiment of the invention, a micro-page window can be developed at one end of a service platform, different service platforms call micro-page services according to service requirements, and micro-pages are loaded, so that pluggable and flexible calling are realized, front-end development is faster, simpler and more uniform, all developers can quickly start, all devices can be adapted, and all projects are applicable.
Based on the above, as shown in fig. 2, another page display method provided in the embodiment of the present invention is applied to a big data platform, and may include the following steps:
step 201: and aiming at least one preset standard word, collecting the used words used by each service platform aiming at each standard word.
Step 202: and storing at least one micro page, wherein each micro page corresponds to at least one standard word.
Step 203: when a target service requirement which is sent by an external target service platform and comprises at least one used word is received, each used word in the at least one used word is respectively converted into a corresponding standard word according to the pre-collected used words used by the target service platform aiming at each standard word.
Step 204: and judging whether at least one target micro page exists in the at least one micro page, wherein the converted at least one standard word comprises each standard word corresponding to the target micro page, and if so, executing step 205.
Step 205: and obtaining a target micro page according to the target micro page, wherein the target micro page displays the data display of the data content corresponding to the target business requirement, and the data display rule of the target micro page is the same as that of the target micro page.
Step 206: and feeding back the target micro page to the target service platform.
In the embodiment of the invention, the micro page can be repeatedly used after once development, each project is a resource creator and a beneficiary of the micro page open platform, development time is saved for developers, development cost is saved for the projects, and immeasurable economic benefit is brought to companies.
Since the idiomatic words used by the service platforms aiming at the same standard word are easy to be different, the big data platform can collect the idiomatic words used by the service platforms aiming at the standard words aiming at each standard word in advance. For example, the content collected by a big data platform can be as shown in table 1 below.
TABLE 1
Service platform 1 Service platform 2 ……
2017 17 years old 2017 ……
Beijing Beijing Beijing ……
Shanghai province Shanghai province Shanghai province ……
Natural gas Gas combustion Natural gas ……
Sales volume Sales volume Amount of sales ……
…… …… …… ……
The directory list of each micro page stored in the big data platform, corresponding to step 202 above, can be as shown in table 2 below.
TABLE 2
Figure GDA0003217196710000101
In the embodiment of the invention, on the basis of the micro-page template, the specific data content is displayed based on the corresponding data display rule, and then a micro-page example of the micro-page template can be generated. Thus, the data presentation rule based on which the data is presented in the micro-page instance may be the data presentation rule corresponding to the micro-page instance.
For example, currently, the service requirement 1 sent by the service platform 1 is received: beijing gas sales in 17 years. The analysis can show that the business requirement 1 comprises 4 commonly used words which are 17 years, Beijing, fuel gas and sales volume respectively. According to the used words used by each standard word, the service platform 1 recorded in the table 1 performs conversion from the used words to the standard words to obtain 4 corresponding standard words, which are 2017, Beijing, natural gas and sales volume respectively.
Based on table 2, it is determined that there is a target micro page, and the target micro page may be one of the micro pages 001, 002, and 003. Therefore, the target micro page can be obtained according to the determined target micro page, and meanwhile, the data display rule of the target micro page is ensured to be the same as that of the target micro page.
In an embodiment of the present invention, to illustrate a possible implementation manner of generating a target micro page according to a destination micro page, any micro page in the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the step 205 includes:
a1: judging whether a first target micro page exists in the at least one target micro page, wherein the first target micro page is a micro page example, and except each standard word corresponding to the first target micro page, the remaining at least one standard word in the converted at least one standard word is completely consistent with at least one keyword corresponding to the first target micro page, if so, determining that the first target micro page is a target micro page, executing a step 206 and ending the current process, otherwise, executing A2;
a2: acquiring preset data content corresponding to the target service requirement from a local resource pool;
a3: and judging whether a second target micro page exists in the at least one target micro page, wherein the second target micro page is a micro page template, if so, displaying the data display of the preset data content in the second target micro page according to a data display rule corresponding to the second target micro page to obtain a target micro page, and executing the step 206, otherwise, replacing the data content displayed in any target micro page with the preset data content to obtain the target micro page, and executing the step 206.
For example, assume that the target traffic demand is: the sale amount of Beijing gas in 17 years can be converted into 4 standard words: in 2017, Beijing, natural gas and sales volume, and judging that 3 micro pages exist: micro page 001, micro page 002, micro page 003. Judging that a first target micro page exists: the micro page 002. The micro page 002 is an example of a micro page, the corresponding keywords include "2017", "beijing", and the corresponding standard words include "natural gas" and "sales volume", so that the micro page 002 can be determined as the target micro page.
For example, assume that the target traffic demand is: the Shanghai gas sales volume in 17 years can be converted into 4 standard words: in 2017, Shanghai, natural gas and sales volume, and judging that 3 micro pages exist: micro page 001, micro page 002, micro page 003. Judging that the first-purpose micro page does not exist, but the second-purpose micro page exists: the micro page 002. Therefore, the acquired preset data content can be filled into the micro-page template of the micro-page 002, and the target micro-page can be obtained.
For example, assume that the target traffic demand is: 2017 Guangzhou gas sales, 4 standard words can be obtained by conversion: 2017, Guangzhou, natural gas and sales volume, and judges that 2 micro pages exist: micro-page 006, micro-page 007. By judgment, the first-purpose micro page does not exist, and the second-purpose micro page does not exist, so that the data content displayed in the micro page 006 or the micro page 007 can be replaced by the acquired preset data content to obtain the target micro page.
As shown in fig. 3, an embodiment of the present invention provides another page display method, which specifically includes the following steps:
step 301: and the big data platform collects the used words used by each service platform for each standard word aiming at the N standard words.
It is assumed that the collected content can be as shown in table 1 above.
Step 302: the big data platform stores n micro-pages, each micro-page corresponds to at least one standard word, each micro-page is a micro-page template or a micro-page example, the micro-page template corresponds to a data display rule, a data display with data content is displayed in the micro-page example, and the micro-page example corresponds to at least one keyword.
It is assumed that the directory of stored micro pages may be as shown in table 2 above.
Step 303: the service platform X creates 3 windows on the current page body, namely a window A, a window B and a window C.
Step 304: and the service platform X sends a service requirement C corresponding to the window C to the big data platform, wherein the service requirement C comprises X commonly used words used by the service platform X.
Suppose that the business requirement C is 2017 guangzhou gas sales, which includes 4 idioms used by the business platform X: 2017. guangzhou, gas, sales.
Step 305: when the big data platform receives a service demand C sent by the service platform X, each inertial word included in the service demand C is respectively converted into a corresponding standard word according to the pre-collected inertial words used by the service platform X aiming at each standard word.
For example, the corresponding 4 standard words can be obtained through conversion: 2017, Guangzhou, natural gas, sales.
Step 306: and the big data platform judges whether at least one target micro page exists in the n micro pages, the x standard words obtained through conversion comprise each standard word corresponding to the target micro page, if yes, step 307 is executed, and if not, exception handling is executed and the current process is ended.
By judgment, 2 target micro pages exist: micro-page 006, micro-page 007.
In the embodiment of the invention, when the target micro page is judged not to exist, exception handling, such as alarm reminding, can be executed so as to manually check whether the business requirement C is abnormal, if no exception exists, the micro page corresponding to the business requirement C is temporarily generated and the newly generated micro page is stored.
Step 307: the big data platform judges whether a first-purpose micro page exists in at least one purpose micro page, the first-purpose micro page is a micro page example, besides each standard word corresponding to the first-purpose micro page, the rest at least one standard word in the converted at least one standard word is completely consistent with at least one keyword corresponding to the first-purpose micro page, if yes, the first-purpose micro page is determined to be a target micro page, step 310 is executed, and if not, step 308 is executed.
It is judged that 2 standard words of the 4 standard words are left, except for the 2 standard words of the natural gas and the sales, the 2 standard words of the '2017 year' and the 'Guangzhou' state. Although the micro page 006 and the micro page 007 are both examples of micro pages, neither of the micro page 006 and the micro page 007 corresponds to the standard word "guangzhou", so that neither of the micro page 006 and the micro page 007 is the first-purpose micro page.
Step 308: and the big data platform acquires the data content C corresponding to the service requirement C from the local resource pool.
Step 309: and the big data platform judges whether a second-purpose micro page exists in at least one target micro page, the second-purpose micro page is a micro page template, if so, the data display of the data content C is displayed in the second-purpose micro page according to a data display rule corresponding to the second-purpose micro page so as to obtain a target micro page, and the step 310 is executed, otherwise, the data content displayed in any target micro page is replaced by the data content C so as to obtain the target micro page, and the step 310 is executed.
It is determined that the second destination micro page is not present because micro page 006 and micro page 007 are both micro page instances. As such, the data content presented in the micro page 006 or the micro page 007 may be replaced with the data content C to obtain the target micro page.
Step 310: and the big data platform feeds the target micro page back to the service platform X.
Step 311: and the service platform X adaptively displays the target micro page returned by the big data platform in the window C of the current page body.
In the embodiment of the invention, the micro page can be repeatedly used after being developed once, has strong self-adaptive capacity and can adapt to different page spaces. After the development of one micro page is completed, on the page of the service platform, the code needing to display the same part can be unnecessary to be developed, only a part of display space of the micro page needs to be left on the whole page, and then the micro page is introduced in a link mode. And the micro page has good expansibility and fault tolerance, different logic processing can be carried out on different input parameters, different data are returned for display, and thus, a complete page can be formed by assembling a plurality of micro pages.
As shown in fig. 4, an embodiment of the present invention provides a service platform, including:
a creating unit 401, configured to create at least one window on a page body of the service platform;
a requesting unit 402, configured to send, to any target window in the at least one window, a target service requirement corresponding to the target window to an external big data platform, where the target service requirement includes at least one idiom used by the service platform;
a receiving unit 403, configured to receive a target micro page returned by the big data platform, where a data display of data content corresponding to the target service requirement is displayed in the target micro page, and the target micro page is obtained according to a preset micro page determined by a preset standard word after each inertial word is converted into the corresponding preset standard word, where data display rules of the preset micro page and the target micro page are the same;
a processing unit 404, configured to adaptively display the target micro page in the target window.
In an embodiment of the present invention, the creating unit 401 is specifically configured to create at least one window on a page body of the service platform based on any one of technical means of entering a LOAD method b.html page in AJAX, creating an inline frame containing another document with an html tag < iframe src ═ b.html, "width ═ height ═ and iframe >, and creating an inline frame with an iframe element.
As shown in fig. 5, an embodiment of the present invention provides a big data platform, including:
a collecting unit 501, configured to collect, for at least one preset standard word, an idiom word used by each service platform for each standard word;
a storage unit 502, configured to store at least one micro page, where each micro page corresponds to at least one standard word;
the first processing unit 503 is configured to, when a target service request including at least one used word sent by an external target service platform is received, respectively convert each used word in the at least one used word into a corresponding standard word according to a pre-collected used word used by the target service platform for each standard word;
the second processing unit 504 is configured to determine whether at least one target micro page exists in the at least one micro page, where the at least one converted standard word includes each standard word corresponding to the target micro page, and if yes, trigger the third processing unit 505;
the third processing unit 505 is configured to obtain a target micro page according to the target micro page, where a data display of data content corresponding to the target business requirement is displayed in the target micro page, and a data display rule of the target micro page is the same as that of the target micro page;
a feedback unit 506, configured to feed back the target micro page to the target service platform.
In an embodiment of the present invention, referring to fig. 6, any one of the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the third processing unit 505 includes: a first processing sub-unit 5051, a second processing sub-unit 5052, a third processing sub-unit 5053;
the first processing sub-unit 5051 is configured to determine whether a first destination micro-page exists in the at least one destination micro-page, where the first destination micro-page is a micro-page example, and except for each standard word corresponding to the first destination micro-page, at least one remaining standard word in the at least one standard word obtained through conversion is completely consistent with at least one keyword corresponding to the first destination micro-page, if yes, it is determined that the first destination micro-page is a destination micro-page, and the feedback unit 506 is triggered and ended, otherwise, the second processing sub-unit 5052 is triggered;
the second processing sub-unit 5052 is configured to obtain preset data content corresponding to the target service requirement from a local resource pool;
the third processing sub-unit 5053 is configured to determine whether a second target micro page exists in the at least one target micro page, where the second target micro page is a micro page template, if so, display a data display of the preset data content in the second target micro page according to a data display rule corresponding to the second target micro page, so as to obtain a target micro page, and trigger the feedback unit 506, otherwise, replace the data content displayed in any one of the target micro pages with the preset data content, so as to obtain a target micro page, and trigger the feedback unit 506.
In an embodiment of the present invention, the first processing unit 503 is further configured to, when a target service request including at least one used word sent by an external target service platform is received, determine whether a verification request carried in the target service request meets a preset access validity verification rule, and if so, execute the step of converting each used word in the at least one used word into a corresponding standard word respectively.
As shown in fig. 7, an embodiment of the present invention provides a page display system, including:
at least one service platform 701 as described in any one of the above, and a big data platform 702 as described in any one of the above.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
In summary, the embodiments of the present invention have at least the following advantages:
1. the embodiment of the invention provides a page display method, which is applied to a service platform and is used for creating at least one window on a page main body of the service platform; for any target window, sending a corresponding target service requirement comprising at least one idiom used by the service platform to the big data platform; receiving a target micro page returned by the big data platform, wherein the target micro page is displayed with data display of data content corresponding to a target service requirement, and is obtained according to a preset micro page determined by preset standard words after each inertial word is converted into a corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same; and adaptively displaying the target micro page in the target window. Each service platform needs to provide input and display results without analysis, and all analysis is completed by the big data platform, so that the display modes are unified, the index names and the like are unified, and the condition that the same characteristic is displayed by different names or different modes in different service platforms does not occur. Therefore, the embodiment of the invention enables the data display of the data content to be uniform by each service platform.
2. In the embodiment of the invention, based on the cooperation of each service platform and the big data platform, the data display style of each service platform end is uniform, and the data processing and processing processes are consistent, thereby being beneficial to improving the user experience.
3. In the embodiment of the invention, a micro-page window can be developed at one end of a service platform, different service platforms call micro-page services according to service requirements, and micro-pages are loaded, so that pluggable and flexible calling are realized, front-end development is faster, simpler and more uniform, all developers can quickly start, all devices can be adapted, and all projects are applicable.
4. In the embodiment of the invention, the micro page can be repeatedly used after once development, each project is a resource creator and a beneficiary of the micro page open platform, development time is saved for developers, development cost is saved for the projects, and immeasurable economic benefit is brought to companies.
5. In the embodiment of the invention, the micro page can be repeatedly used after being developed once, has strong self-adaptive capacity and can adapt to different page spaces. After the development of one micro page is completed, on the page of the service platform, the code needing to display the same part can be unnecessary to be developed, only a part of display space of the micro page needs to be left on the whole page, and then the micro page is introduced in a link mode. And the micro page has good expansibility and fault tolerance, different logic processing can be carried out on different input parameters, different data are returned for display, and thus, a complete page can be formed by assembling a plurality of micro pages.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (4)

1. A page display method is characterized in that the method is applied to a big data platform, aiming at least one preset standard word, the method collects the used words used by each service platform aiming at each standard word; storing at least one micro page, wherein each micro page corresponds to at least one standard word; further comprising:
s1: when a target service requirement which is sent by an external target service platform and comprises at least one used word is received, converting each used word in the at least one used word into a corresponding standard word according to the pre-collected used words used by the target service platform aiming at each standard word;
s2: judging whether at least one target micro page exists in the at least one micro page, wherein the converted at least one standard word comprises each standard word corresponding to the target micro page, and if so, executing S3;
s3: obtaining a target micro page according to the target micro page, wherein the target micro page displays data display of data content corresponding to the target business requirement, and the data display rule of the target micro page is the same as that of the target micro page;
s4: feeding the target micro page back to the target service platform;
any micro page in the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the S3, including:
a1: judging whether a first target micro page exists in the at least one target micro page, wherein the first target micro page is a micro page example, and except each standard word corresponding to the first target micro page, the remaining at least one standard word in the converted at least one standard word is completely consistent with at least one keyword corresponding to the first target micro page, if so, determining that the first target micro page is a target micro page, executing S4 and ending the current process, otherwise, executing A2;
a2: acquiring preset data content corresponding to the target service requirement from a local resource pool;
a3: and judging whether a second target micro page exists in the at least one target micro page, wherein the second target micro page is a micro page template, if so, displaying the data display of the preset data content in the second target micro page according to the data display rule corresponding to the second target micro page to obtain a target micro page, and executing S4, otherwise, replacing the data content displayed in any target micro page with the preset data content to obtain the target micro page, and executing S4.
2. A big data platform, comprising:
the collection unit is used for collecting the used words used by each service platform for each standard word aiming at least one preset standard word;
the storage unit is used for storing at least one micro page, and each micro page corresponds to at least one standard word;
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for converting each inertial word in at least one inertial word into a corresponding standard word according to a pre-collected inertial word used by a target service platform aiming at each standard word when receiving a target service requirement which comprises at least one inertial word and is sent by an external target service platform;
the second processing unit is used for judging whether at least one target micro page exists in the at least one micro page, the converted at least one standard word comprises each standard word corresponding to the target micro page, and if yes, the third processing unit is triggered;
the third processing unit is configured to obtain a target micro page according to the target micro page, where a data presentation of data content corresponding to the target business requirement is presented in the target micro page, and a data presentation rule of the target micro page is the same as that of the target micro page;
the feedback unit is used for feeding the target micro page back to the target service platform;
any micro page in the at least one micro page is: the system comprises a micro page template or a micro page example, wherein the micro page template corresponds to a data display rule, the micro page example displays data display of data content, and the micro page example corresponds to at least one keyword;
the third processing unit includes: the device comprises a first processing subunit, a second processing subunit and a third processing subunit;
the first processing subunit is configured to determine whether a first-purpose micro page exists in the at least one purpose micro page, where the first-purpose micro page is a micro page example, and except for each standard word corresponding to the first-purpose micro page, at least one remaining standard word in the at least one converted standard word is completely consistent with at least one keyword corresponding to the first-purpose micro page, if yes, determine that the first-purpose micro page is a target micro page, trigger the feedback unit and end, and otherwise, trigger the second processing subunit;
the second processing subunit is configured to acquire preset data content corresponding to the target service requirement from a local resource pool;
the third processing subunit is configured to determine whether a second target micro page exists in the at least one target micro page, where the second target micro page is a micro page template, if so, display a data display of the preset data content in the second target micro page according to a data display rule corresponding to the second target micro page, so as to obtain a target micro page, and trigger the feedback unit, and otherwise, replace the data content displayed in any one of the target micro pages with the preset data content, so as to obtain a target micro page, and trigger the feedback unit.
3. The big data platform of claim 2,
the first processing unit is further configured to, when a target service requirement including at least one used word sent by an external target service platform is received, determine whether a verification request carried in the target service requirement meets a preset access validity verification rule, and if so, execute the conversion of each used word in the at least one used word into a corresponding standard word.
4. A page presentation system, comprising:
at least one business platform, and a big data platform according to any of claims 2 to 3;
the service platform comprises:
the creating unit is used for creating at least one window on a page main body of the service platform;
the request unit is used for sending a target service requirement corresponding to any one of the at least one window to an external big data platform, wherein the target service requirement comprises at least one idiom used by the service platform;
the receiving unit is used for receiving a target micro page returned by the big data platform, wherein the target micro page displays data display of data content corresponding to the target business requirement, the target micro page is obtained according to a preset micro page determined by a preset standard word after each inertial word is converted into the corresponding preset standard word, and the data display rules of the preset micro page and the target micro page are the same;
and the processing unit is used for displaying the target micro page in the target window in a self-adaptive manner.
CN201810416519.6A 2018-05-03 2018-05-03 Page display method and system and big data platform Active CN108549728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810416519.6A CN108549728B (en) 2018-05-03 2018-05-03 Page display method and system and big data platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810416519.6A CN108549728B (en) 2018-05-03 2018-05-03 Page display method and system and big data platform

Publications (2)

Publication Number Publication Date
CN108549728A CN108549728A (en) 2018-09-18
CN108549728B true CN108549728B (en) 2021-10-15

Family

ID=63513500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810416519.6A Active CN108549728B (en) 2018-05-03 2018-05-03 Page display method and system and big data platform

Country Status (1)

Country Link
CN (1) CN108549728B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419592A (en) * 2007-10-26 2009-04-29 英业达股份有限公司 System for translating computer executable network new speech and method thereof
JP2009205490A (en) * 2008-02-28 2009-09-10 Seiko Instruments Inc Dictionary search device, dictionary search method, and dictionary search program
CN106571139A (en) * 2016-11-09 2017-04-19 百度在线网络技术(北京)有限公司 Artificial intelligence based voice search result processing method and device
CN107315674A (en) * 2017-07-07 2017-11-03 郑州云海信息技术有限公司 A kind of storing system information display methods and system
CN107908684A (en) * 2017-10-31 2018-04-13 北京金堤科技有限公司 enterprise information searching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419592A (en) * 2007-10-26 2009-04-29 英业达股份有限公司 System for translating computer executable network new speech and method thereof
JP2009205490A (en) * 2008-02-28 2009-09-10 Seiko Instruments Inc Dictionary search device, dictionary search method, and dictionary search program
CN106571139A (en) * 2016-11-09 2017-04-19 百度在线网络技术(北京)有限公司 Artificial intelligence based voice search result processing method and device
CN107315674A (en) * 2017-07-07 2017-11-03 郑州云海信息技术有限公司 A kind of storing system information display methods and system
CN107908684A (en) * 2017-10-31 2018-04-13 北京金堤科技有限公司 enterprise information searching method and device

Also Published As

Publication number Publication date
CN108549728A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN109947789B (en) Method, device, computer equipment and storage medium for processing data of multiple databases
US9299041B2 (en) Obtaining data from unstructured data for a structured data collection
US7769821B2 (en) Systems and methods for enhanced meassage support using a generic client proxy
US9218568B2 (en) Disambiguating data using contextual and historical information
US20070239742A1 (en) Determining data elements in heterogeneous schema definitions for possible mapping
CN112328224B (en) Service interface docking method and device, storage medium and electronic equipment
KR20160021110A (en) Text matching device and method, and text classification device and method
JP5533188B2 (en) Financial data processing apparatus, financial data processing method, and financial data processing program
KR101475335B1 (en) Enhancing an inquiry for a search of a database
US11755663B2 (en) Search activity prediction
US20120239611A1 (en) Xbrl flat table mapping system and method
CN110750969B (en) Report generation method and device
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
CN111737443B (en) Answer text processing method and device and key text determining method
US20140280352A1 (en) Processing semi-structured data
CN112597775A (en) Credit risk prediction method and device
CN114003818A (en) Page recommendation method, device, server and storage medium
JP2019040260A (en) Information processing apparatus and program
CN110955839B (en) Tax declaration method, system and storage medium
CN108549728B (en) Page display method and system and big data platform
JP5585182B2 (en) Financial data processing apparatus, financial data processing method, and financial data processing program
JP2016184330A (en) Approach support system, Approach support method and Approach support program
KR20110110788A (en) Apparatus, method and computer program for supporting data linkage among plurality of applications
CN107977459B (en) Report generation method and device
CN114895997A (en) Task association method and device and electronic equipment

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