CN109783532A - Food/pharmaceutical analysis method and system based on micro services framework - Google Patents

Food/pharmaceutical analysis method and system based on micro services framework Download PDF

Info

Publication number
CN109783532A
CN109783532A CN201811519584.8A CN201811519584A CN109783532A CN 109783532 A CN109783532 A CN 109783532A CN 201811519584 A CN201811519584 A CN 201811519584A CN 109783532 A CN109783532 A CN 109783532A
Authority
CN
China
Prior art keywords
data
food
component
micro services
dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811519584.8A
Other languages
Chinese (zh)
Inventor
刘芬
林文辉
赖新明
王芳
王志刚
孙科武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811519584.8A priority Critical patent/CN109783532A/en
Publication of CN109783532A publication Critical patent/CN109783532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This disclosure relates to which a kind of food/pharmaceutical analysis method and system based on micro services framework, belongs to food and drug data analysis technical field.Wherein, which comprises generate request of data according to the retrieval project and analysis dimension project of offer;Meet the search terms purpose data according to analysis dimension acquisition;Collected data are carried out result data, and the output result data is calculated according to the statistic algorithm of setting.The disclosure not only reflects the quality safety overview of food and drug from multiple dimensions, but also can help the distribution situation of food/pharmaceutical security fields personnel overall understanding data.The disclosure uses the framework of micro services, so that front and back end decouples, realizes concurrent development, automatic test and independent deployment, not only improves development efficiency, enhance code maintainability, and can preferably cope with front end demand complicated and changeable.

Description

Food/pharmaceutical analysis method and system based on micro services framework
Technical field
This disclosure relates to food and drug data analysis technical field, and in particular, to a kind of based on micro services framework Food/pharmaceutical analysis method and system.
Background technique
The quality safety of food and drug and everyone life and health are closely bound up.However, food is dangerous with drug Accident happens occasionally, and seriously compromises the physical and mental health of people, thus relevant departments, as food, Drug Administration mechanism, food, Pharmaceutical producing enterprise, consumers' association etc., it is more from production to the feedback etc. of sale, circulation, post-consumption person in food and drug A link has accumulated a large amount of data.For example, the detection qualification rate of certain food or drug, Food poisoning cases, some food Or sham publicity of drug etc., it further include the illegal activities and its corresponding punishment, personation medicine of some enterprise in the data of accumulation The information such as related data, the deceptive information website of product.
Although the quality safety about food and drug has saved the data of magnanimity, however, people can not pass through One direct channel understands the related data of some interested food or drug, it may be necessary in very multiple and different data System searching information, then inquiry from these data systems according to obtaining information independent, manual analysis, or will look into The data ask, which are input manually into analysis system, to be analyzed, heavy workload, and is easy to appear data missing inspection, corrupt data etc. and is asked Topic.
It is most of that query service is only provided for providing the data system of food or drug related data, offer point Analysis service or simple Analysis Service, inquiry be only capable of provided by fixation queried for items inquire certain in terms of data, And it can not fully understand that some food or drug are full in the safe condition in some period and the focus of consumer and consumer Meaning degree.
Summary of the invention
Purpose of this disclosure is to provide a kind of food/pharmaceutical analysis methods and system based on micro services framework, for helping Food and drug safety field personnel are helped to understand the safe condition of food or drug from multiple dimensions.
To achieve the goals above, the disclosure provides a kind of food/pharmaceutical analysis method based on micro services framework and includes:
Request of data is generated according to the retrieval project and analysis dimension project of offer;
Meet the search terms purpose data according to analysis dimension acquisition;
Collected data are carried out result data is calculated according to the statistic algorithm of setting, and
Export the result data.
Optionally, the retrieval project includes one of product item, time range and territorial scope or a variety of.
Optionally, the product item includes one of product category, adopted name and product name or a variety of.
Optionally, the time range includes multiple time granularities, and the territorial scope includes multiple geographic area granularities Or multiple administrative region granularities.
Optionally, the analysis dimension includes qualification rate, sitotoxismus, sham publicity and product, administrative penalty, complains and lift Report, product recall and heat search one or more of word.
Optionally, the analysis method further include: when exporting the result data, with the output of visual exhibition method The result data.
Optionally, when exporting the result data with visual exhibition method, institute is exported according to preset displaying granularity State result data, wherein the displaying granularity is time granularity and/or region granularity.
Optionally, described to show that granularity be preset in the retrieval project and analysis dimension project of offer.
Optionally, when acquisition meets the search terms purpose data, database is inquired to obtain symbol by Restful API Close analysis dimension and search terms purpose data.
The disclosure additionally provides a kind of food/pharmaceutical analysis system based on micro services framework, comprising:
Front end services component, provides user interface, for providing a variety of retrieval projects and analysis dimension, inputs according to user Retrieval project and analysis dimension generate request of data, and the request of data is sent to corresponding back-end services component, it is defeated The result data returned out according to the request of data;With
Multiple back-end services components are respectively configured to provide and are applicable in a kind of result data for analyzing dimension;Receiving data When request, meet the search terms purpose data according to analysis dimension acquisition, and according to the statistic algorithm of setting to collected Data carry out that result data is calculated, and the result data is returned to the front end services component.
Optionally, the front end services component includes:
Functional unit, for providing the component applied to interface of different function;With
Interface assembly for writing the page according to content of pages, and adds corresponding routing address for the page.
Optionally, the functional unit includes:
Multiple page basic functional components, for realizing the different basic functions in the page;
Items component is retrieved, for providing product item, time range and territorial scope;
Dimension component is analyzed, for providing multiple analysis dimensions;
Granularity component is shown, for providing the time granularity used when result data output and/or region granularity;With
Multiple output precisions are respectively used to export result data according to preset displaying granularity.
Optionally, the functional unit is the general purpose module that code can reuse.
Optionally, the back-end services component is by calling Restful API acquisition to meet the data of the request of data.
Optionally, the back-end services component include qualification rate serviced component, sitotoxismus serviced component, sham publicity and Service of goods component, administrative penalty serviced component, complaints and denunciation serviced component, product recall serviced component and heat search word service group One or more of part.
Through the above technical solutions, the disclosure is from the secure data multi-source of food/pharmaceutical, higher-dimension, polynary, multi-level, more The fundamental characteristics such as space-time, interrelated set out, and the quality safety overview of food/pharmaceutical is not only reflected from multiple dimensions, but also Food/pharmaceutical security fields personnel can be helped to fully understand the distribution situation of data, seek the implication relation between data, promotion is recognized Know and analysis ability, the science and validity of raising food and drug safety supervision realize that fast and accurate orientation problem is looked forward to Industry, problem food and drug, building enterprise's blacklist, address risk library, high-risk food and drug variety library etc..In addition, this public affairs The exploitation framework of micro services realizes concurrent development, automatic test and independent deployment, not only so that front and back end decouples Development efficiency is improved, enhances code maintainability, and can preferably cope with front end demand complicated and changeable.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of food/pharmaceutical analysis method process based on micro services framework that the disclosure provides;
Fig. 2 is a kind of functional block diagram for food/pharmaceutical analysis system based on micro services framework that the disclosure provides;
Fig. 3 is the system principle frame diagram of one embodiment of the disclosure;
System structure diagram when Fig. 4 is the user query sitotoxismus situation of one Application Example of the disclosure;With
Processing flow schematic diagram when Fig. 5 is the user query sitotoxismus situation of one Application Example of the disclosure.
Description of symbols
1,1a-front end services component 10a-user interface
11-11 12-interface assemblies of functional unit
111-page basic functional components
112-retrieval items components
113-analysis dimension components
114-show granularity component
115-visualization output precisions
2-back-end services assembly sets
211,211a-qualification rate serviced components
212,212a-sitotoxismus serviced components
213-sham publicities and service of goods component
214-administrative penalty serviced components
215-complaints and denunciation serviced components
216-product recall serviced components
217,217a-heat search word serviced component
3-data memory modules
A-gateway layer
B-service layer
C-Data Persistence Layer
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
As shown in Figure 1, for a kind of food/pharmaceutical analysis method flow chart based on micro services framework that the disclosure provides, The method specifically includes:
Step S1 generates request of data according to the retrieval project and analysis dimension of offer.The retrieval project includes product Project, time range and territorial scope etc., wherein the product item can be product category, be also possible to product common name Title or product name are respectively used to determine the target product of this time analysis.The time range includes the initial time of observation period And deadline, the precision of time range can be determined using different time granularities, such as year, season, the moon can be used As time granularity.The territorial scope provides the different administrative region granularities or North China, east such as x province, the city x, the area x, the county x The different geographic regions granularity such as backlands area, East China is to determine the territorial scope where target product.The analysis dimension mentions Dimensional characteristics relevant to food or drug safety have been supplied, such as: qualification rate, sitotoxismus, sham publicity and product, administrative service It penalizes, complaints and denunciation, product recall and heat search word etc..By choosing one or more of dimensional characteristics, it will be appreciated that food Or the safe condition of drug in this regard.In the disclosure, the analysis dimension can be increased at any time according to actual needs Subtract.
Step S2 meets the search terms purpose data according to analysis dimension acquisition.According to the production in the request of data Category not, time range, territorial scope and analysis dimension, related data is acquired from database.For example, using Hadoop's Tool for Data Warehouse Hive realizes storage, quickly access and the inquiry to food and drug mass data.
Step S3 carries out collected data result data is calculated according to the statistic algorithm of dimension set.For Different dimensions sets different statistics, calculation method, is described as follows in conjunction with several dimensions that the disclosure provides:
(1) qualification rate dimension
Based on the design of qualification rate dimension, needs to inquire from database and examine detection data, from inspection detection data Summarize examining report result respectively for qualified and underproof sum, qualification rate is calculated using formula (1-1).
Other than providing qualification rate, this dimension can also be calculated based on time range and corresponding qualification rate in certain time In range, the year-on-year or sequential growth rate of qualification rate.
For example, the time range in request of data is in June, -2016 in June, 2015.By summarizing in the observation period for mesh The return on qualification sum and deficiency report sum for marking product category, are calculated qualification rate monthly, are calculated using formula (1-2) Sequential growth rate calculates year-on-year growth rate using formula (1-3).
Sequential growth rate (%)=(current period qualification rate/last issue qualification rate -1) × 100%;(1-2)
Year-on-year growth rate (%)=(current period qualification rate/same period last year qualification rate -1) × 100%;(1-3)
Wherein, if calculated value is positive value (+), claim growth rate;If calculated value is negative value (-), claim rate of descent.Root According to different time granularities, the current period can be this month or current season, and the current period in this example refers to this month.
(2) sitotoxismus dimension
The data of acquisition include: poisoning reason (such as: microbes, chemically, toxic animals and plants, unknown cause), poisoning Place and Poisoning Number.The ring of Poisoning Number under different poisoning reasons or different poisoning places is calculated according to collected data Than, year-on-year growth rate.
Two above dimension reflects the inspection inspection of certain food of somewhere or drug within certain period from different perspectives It surveys as a result, the security status of food/pharmaceutical can be helped to understand;On the other hand, the year-on-year or sequential growth rate body of these features The variation tendency for having showed food/pharmaceutical testing result is conducive to regulatory agency's close examination and examines detection project, method and standard formulation Validity and reasonability.In addition, when selection different product classification, different analysis dimensions and different geographical range or different time When range, the food or drug of available corresponding product classification pass through in different geographical or security status in different time periods Sequence to result data can protrude the high-risk areas etc. for needing food/pharmaceutical classification, the safety problem paid close attention to take place frequently, And then it formulates targetedly improvement, guide measure.
(3) sham publicity and product dimension
The data that the sham publicity and product dimension acquire include: fake products, deceptive information website, break the law on a serious scale enterprise Industry etc..For the data of fake products, obtain requesting according to type, such as drug, medical instrument, health food Classifying Sum Time range, the total quantity in territorial scope;About deceptive information website and the enterprise that breaks the law on a serious scale, the time in request is counted Total quantity in range, territorial scope.
(4) administrative penalty dimension and complaints and denunciation dimension and product recall dimension
For these three dimensions, it is based on complaints and denunciation data and public sentiment data, is counted respectively and objective food or drug Sum of the relevant corresponding event of type in the time range and territorial scope of request, and respective year-on-year, ring is calculated than increasing Long rate.By the analysis to these three dimension datas, it can analyze out the hot issue of consumer's complaint, help to find the problem High-incidence food and drug variety, building enterprise's blacklist, the higher food of risk class and drug class library etc..
(5) heat searches word dimension
It acquires heat relevant to the product category in request and searches word, disappear convenient for understanding in different regions, different time sections Content and customer satisfaction that expense person most pays close attention to etc..
Step S4 exports result data.Wherein, the disclosure exports the result data with visual exhibition method.Institute Stating visual exhibition method includes one or more in curve graph, histogram, pie chart, geographic area figure, stacking figure and line chart A static map or Dynamic Graph.According to dimensional characteristics, the disclosure, which is that different dimension settings is suitable, visualizes mode, example Such as, it for the sequential growth rate in qualification rate dimension, exports in the form of a graph, for sham publicity and product dimension, with The form of geographic area figure exports.It, can be according to the time granularity and/or ground shown in granularity also, when exporting result data Domain granularity shows precision the data of visualized graphs are arranged.For example, the unit of time shaft can when curve graph uses time shaft To be arranged according to the time granularity of offer.When curve graph uses geographic area figure, can province or city or county data are provided Precision.Wherein, in one embodiment, the displaying granularity can be not provided with displaying grain in user by user setting When spending, for the displaying granularity of each exhibition method setting default.
The disclosure gets same based food or drug different dimensional by designing analysis dimension appropriate from data warehouse The data of degree can get up the analyzing and associating of originally isolated single dimension.By visual output form, show that multidimensional is taken out The multiattribute data feature of image information, in concentrated expression each department, each period, the safe shape of different food products and drug variety The focus and customer satisfaction of condition and consumer can help food and drug safety field personnel's multi-angle to understand and eat The distribution situation of product and drug data seeks the implication relation between data, promotes cognition and analysis ability, improves food and drug The science and validity of security control.
As shown in Fig. 2, a kind of principle frame of the food/pharmaceutical analysis system based on micro services framework provided for the disclosure Figure, the system comprises: front end services component 1 and back-end services assembly set 2, wherein the front end services component 1 provides use Family interface, for providing a variety of retrieval projects and analysis dimension, the retrieval project provided according to user and analysis dimension generate number It is exported according to request, and by the result data returned according to the request of data according to corresponding data mode.Each rear end clothes Business component provides a kind of result data for analyzing dimension, when a back-end services component receives request of data, according to analysis Dimension acquisition meets the search terms purpose data, and collected data are calculated according to the statistical method of setting Result data, and the result data is returned into the front end services component.In addition, further including data memory module in rear end 3, for storing the result data of food relevant to drug basic data and back-end services component.
Specifically, the front end services component 1 includes functional unit 11 and interface assembly 12.Wherein, the functional unit 11 components applied to interface including different function, such as multiple page basic functional components 111, such as: menu button, screen Button, page-turning button etc. are rolled/drawn for realizing the component of the different basic functions in the page;For providing product class Not, the retrieval items component 112 of time range and territorial scope, such as input frame, multiselect menu, calendar;It is multiple for providing The analysis dimension component 113 of dimension, such as multiselect menu are analyzed, a variety of analysis dimensions are equipped in the multiselect menu, are such as closed Lattice rate, sitotoxismus, sham publicity and product, administrative penalty, complaints and denunciation, product recall and heat search word etc..Pass through modification institute Component is stated, more analysis dimensions can be increased;For providing the displaying of the specific displaying granularity used when result data output Granularity component 114;Multiple output precisions 115 for exporting result data with visual data mode, in the present embodiment In, each output precision 115 be a kind of visualization output precision, such as cake chart component, histogram component, map components, Curve graph component etc..The visualization output precision that the disclosure provides can be intuitively in a manner of figure, cardon etc. by result data It is presented to the user, and the setting by showing granularity, the graph data of different accuracy is provided.
Various functional units 11 above-mentioned are the general purpose module that code can reuse.Component has independence, and passes through Independent assortment can synthesize New Parent.When not needing some component or needing to modify to some component, can directly delete, Replacement is modified without influencing other assemblies function.
The interface assembly 12 writes the page according to content of pages, and adds corresponding routing address for the page, can To realize that directly carrying out the page using the routing in front end page component in the case where multi-page quickly navigates.
In the back-end services assembly set 2 include it is multiple can self-existent serviced component, such as qualification rate serviced component 211, sitotoxismus serviced component 212, sham publicity and service of goods component 213, administrative penalty serviced component 214, complaint are lifted Report serviced component 215, product recall serviced component 216 and heat search word serviced component 217 etc., can also be according to the demand of front end And increase corresponding serviced component.
The analysis dimension that each serviced component can be handled according to it inquires database, the data inquired are counted, It calculates, obtained result data is returned into front end services component 1, front end services component 1 is corresponding according to current results data Dimension calls corresponding output precision 115, according to preset displaying granularity, the exhibition in a manner of visual by the result data Show to user.
The system application micro services framework, front and back end separation, front end services component are absorbed in user interface and visualization It shows, back-end services component provides the service such as reading data, analysis and calculating, has achieved the purpose that front and back end decouples.Front end and The equal modularization in rear end, can concurrent development, automatic test and independent deployment, both improve development efficiency, enhance code Maintainability also can preferably cope with front end demand complicated and changeable.
As shown in figure 3, being the system framework figure of one embodiment of the disclosure.It logically divides, the present embodiment includes three altogether Layer: gateway layer A, service layer B and Data Persistence Layer C.Gateway layer A has load balance ability to cope with high concurrent amount, has power Control ability is limited to provide secure access.Service layer B includes the component of all external offer services, specifically includes front end services group Part 1a and each back-end services component.Front end services component 1a and back-end services component are run in a manner of stand-alone assembly, are used Family is taken by http protocol access front end services component 1a with the user interface of offer or by Restful API Access rear end Business component.Each back-end services component is independent for one, provides a kind of serviced component of dimension, such as: qualification rate service Component 211a, sitotoxismus serviced component 212a, heat search word serviced component 217a etc..It is preserved in Data Persistence Layer C various Data, such as the data memory module that Distributed File System Data library, transaction database and the disclosure as shown in Figure 2 provide 3 (not shown in FIG. 3), for storing the basic data and result data of each serviced component.
When user accesses the serviced component of service layer, the user's request issued carries out safety, permission etc. in gateway layer A Certification.After certification passes through, it is forwarded on corresponding serviced component according to request intention.
As shown in figure 4, the system for a user when inquiring some sitotoxismus situation in some period, some region Structure chart, as shown in figure 5, for the processing flow schematic diagram of the request of data proposed to the user.In conjunction with Fig. 4 and Fig. 5, specifically It is bright as follows:
Step S1a, when user files a request, gateway layer A carries out safety and purview certification to the request of the user.
Step S2a, by Restful API Calls front end services component 1a, passes through after permission, safety certification Http communication agreement forward end serviced component 1a sends user's request.
After step S3a, front end services component 1a receive user's request, user interface 10a is provided for the user. The user interface 10a includes the menu button realized by basic functional components 111, screen scroll/dilatory button, page-turning button Deng;By the menu or input frame, the calendar of input time range and offer of the offer product category that retrieval items component 112 is realized The menu of territorial scope selection and the selection menu for showing granularity;The multiple analysis dimensions provided by analysis dimension component 113 Select menu etc..
Step S4a, user provide product category, the time range of inquiry, territorial scope and analysis dimension, can also provide It shows granularity, such as selects time granularity for the displaying granularity of the moon.Wherein, in the present embodiment, the analysis of user's selection Dimension is sitotoxismus.
Product category, the time range of inquiry and the region model that step S5a, front end services component 1a are determined according to user It encloses, analyze the specific request of data of dimension generation.And according to the analysis dimension of selection, the request of data is communicated by Http Agreement, which is sent in back-end services component, provides the serviced component of correspondence analysis dimension.In the present embodiment, since user selects Sitotoxismus analyzes dimension, and the request of data is sent to sitotoxismus serviced component 212a by front end services component 1a.
Step S6a, back-end services component, instant food poisoning serviced component 212a pass through after receiving the request of data Restful API inquires the Distributed File System Data library in Data Persistence Layer, obtains poisoning reason, poisoning place and poisoning Number, and the ring ratio of Poisoning Number under different poisoning reasons or different poisoning places, on year-on-year basis is calculated according to collected data Growth rate.
Result data is sent to front end services component 1a by step S7a, back-end services component.In the present embodiment, food Poisoning serviced component 212a by the ring ratio of Poisoning Number under obtained different poisoning reasons or different poisoning places, increase by a year-on-year basis Data are sent to front end services component 1a to rate as a result.
Some output precision in step S8a, front end services component 1a, such as curve graph component, it is preset according to user It shows granularity, result data is edited, result data is showed into user in a manner of curve graph.
In the present embodiment, front end services component 1a realizes the modularization of content presentation, the code of various assemblies using Vue It can reuse, also, the page and the corresponding routing of addition are write to realize that the page adds process by interface assembly, wherein route Name, rule provide in Vue.js, directly carry out page switching using front end routing in the case where multi-page.
Assembling, rendering and interaction logic of the page etc. are responsible for by front end services component 1a, and the acquisition of data is responsible in rear end And statistical analysis realizes concurrent development, the automation of front and back end and its respective component to achieve the purpose that front and back end decouples Test and independent deployment, not only improve development efficiency, enhance code maintainability, but also it is more preferably to cope with complexity The front end demand of change.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned Detail in embodiment can carry out the technical solution of the disclosure a variety of in the range of the technology design of the disclosure Simple variant, these simple variants belong to the protection scope of the disclosure.For example, according to different criteria for classifying designing users circle Component in face, or the calendar for being used to retrieve items component 112 is replaced with to the window etc. for needing user to fill in manually.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way or split, such as can be by 214 He of administrative penalty serviced component Complaints and denunciation serviced component 215 is combined into a component, or sham publicity and service of goods component 213 are split as deceptive information clothes Business component, false service of goods component etc..In order to avoid unnecessary repetition, the disclosure to various combinations of possible ways no longer It explains separately.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (15)

1. a kind of food/pharmaceutical analysis method based on micro services framework characterized by comprising
Request of data is generated according to the retrieval project and analysis dimension of offer;
Meet the search terms purpose data according to analysis dimension acquisition;
Collected data are carried out result data is calculated according to the statistic algorithm of setting, and
Export the result data.
2. the food/pharmaceutical analysis method according to claim 1 based on micro services framework, which is characterized in that described Retrieval project includes one of product item, time range and territorial scope or a variety of.
3. the food/pharmaceutical analysis method according to claim 2 based on micro services framework, which is characterized in that the production Product project includes one of product category, adopted name and product name or a variety of.
4. the food/pharmaceutical analysis method according to claim 2 based on micro services framework, which is characterized in that when described Between range include multiple time granularities, the territorial scope includes multiple geographic area granularities or multiple administrative region granularities.
5. the food/pharmaceutical analysis method according to claim 1 based on micro services framework, which is characterized in that described point Analysing dimension includes that qualification rate, sitotoxismus, sham publicity and product, administrative penalty, complaints and denunciation, product recall and heat are searched in word One or more.
6. the food/pharmaceutical analysis method according to claim 1 based on micro services framework, which is characterized in that exporting When the result data, the result data is exported with visual exhibition method.
7. the food/pharmaceutical analysis method according to claim 6 based on micro services framework, which is characterized in that with visual When the exhibition method of change exports the result data, the result data is exported according to preset displaying granularity, wherein the exhibition Show that granularity is time granularity and/or region granularity.
8. the food/pharmaceutical analysis method according to claim 7 based on micro services framework, which is characterized in that the exhibition Show that granularity can be preset in the retrieval project and analysis dimension of offer.
9. the food/pharmaceutical analysis method according to claim 1 based on micro services framework, which is characterized in that acquisition symbol When closing the search terms purpose data, database is inquired by Restful API and meets analysis dimension and retrieval project to obtain Data.
10. a kind of food/pharmaceutical analysis system based on micro services framework characterized by comprising
Front end services component, provides user interface, for providing a variety of retrieval projects and analysis dimension, the inspection inputted according to user Rope project and analysis dimension generate request of data, and the request of data is sent to corresponding back-end services component, export root The result data returned according to the request of data;With
Multiple back-end services components are respectively configured to provide and are applicable in a kind of result data for analyzing dimension;Back-end services component is connecing When receiving request of data, meet the search terms purpose data according to analysis dimension acquisition, and according to the statistic algorithm pair of setting Collected data carry out that result data is calculated, and the result data is returned to the front end services component.
11. the food/pharmaceutical analysis system according to claim 10 based on micro services framework, which is characterized in that described Front end services component includes:
Functional unit, for providing different function, component applied to user interface;With
Interface assembly for writing the page according to content of pages, and adds corresponding routing address for the page.
12. the food/pharmaceutical analysis system according to claim 11 based on micro services framework, which is characterized in that described Functional unit includes:
Multiple page basic functional components, for realizing basic function different in the page;
Items component is retrieved, for providing product item, time range and territorial scope;
Dimension component is analyzed, for providing multiple analysis dimensions;
Granularity component is shown, for providing the time granularity used when result data output and/or region granularity;With
Multiple output precisions are respectively used to export result data according to preset displaying granularity.
13. the food/pharmaceutical analysis system according to claim 11 or 12 based on micro services framework, which is characterized in that The functional unit is the general purpose module that code can reuse.
14. the food/pharmaceutical analysis system according to claim 10 based on micro services framework, which is characterized in that described Back-end services component is by calling Restful API acquisition to meet the data of the request of data.
15. the food/pharmaceutical analysis system according to claim 10 based on micro services framework, which is characterized in that described Back-end services component includes qualification rate serviced component, sitotoxismus serviced component, sham publicity and service of goods component, administrative service Serviced component, complaints and denunciation serviced component, product recall serviced component and heat is penalized to search one or more of word serviced component.
CN201811519584.8A 2018-12-12 2018-12-12 Food/pharmaceutical analysis method and system based on micro services framework Pending CN109783532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811519584.8A CN109783532A (en) 2018-12-12 2018-12-12 Food/pharmaceutical analysis method and system based on micro services framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811519584.8A CN109783532A (en) 2018-12-12 2018-12-12 Food/pharmaceutical analysis method and system based on micro services framework

Publications (1)

Publication Number Publication Date
CN109783532A true CN109783532A (en) 2019-05-21

Family

ID=66496883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811519584.8A Pending CN109783532A (en) 2018-12-12 2018-12-12 Food/pharmaceutical analysis method and system based on micro services framework

Country Status (1)

Country Link
CN (1) CN109783532A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569333A (en) * 2019-09-11 2019-12-13 南京岳智信息技术有限公司 Method for identifying false drugs by using drug text advertisements
CN111062732A (en) * 2019-12-24 2020-04-24 中科金审(北京)科技有限公司 Method, device, equipment and storage medium for inquiring fake bearing production address

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3123382A1 (en) * 2014-03-24 2017-02-01 Life Technologies Corporation Methods and systems for knowledge discovery using biological data
CN107273439A (en) * 2017-05-25 2017-10-20 李海磊 A kind of smart machine data visualization method and system
AU2017272252A1 (en) * 2016-06-08 2018-01-04 Accenture Global Solutions Limited Resource evaluation for complex task execution
CN107767191A (en) * 2017-12-05 2018-03-06 广东技术师范学院 A kind of method based on medical big data prediction medicine sales trend
CN108228874A (en) * 2018-01-18 2018-06-29 北京邮电大学 World knowledge collection of illustrative plates visualization device and method based on artificial intelligence technology
CN108280191A (en) * 2018-01-25 2018-07-13 北京工商大学 The comparison visual analysis method and system of more areas MRL standards

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3123382A1 (en) * 2014-03-24 2017-02-01 Life Technologies Corporation Methods and systems for knowledge discovery using biological data
AU2017272252A1 (en) * 2016-06-08 2018-01-04 Accenture Global Solutions Limited Resource evaluation for complex task execution
CN107273439A (en) * 2017-05-25 2017-10-20 李海磊 A kind of smart machine data visualization method and system
CN107767191A (en) * 2017-12-05 2018-03-06 广东技术师范学院 A kind of method based on medical big data prediction medicine sales trend
CN108228874A (en) * 2018-01-18 2018-06-29 北京邮电大学 World knowledge collection of illustrative plates visualization device and method based on artificial intelligence technology
CN108280191A (en) * 2018-01-25 2018-07-13 北京工商大学 The comparison visual analysis method and system of more areas MRL standards

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
翁史烈: "《城市固废综合利用基地与能源互联网》", 31 August 2018 *
赵妍: "《面向大数据的挖掘方法研究》", 31 July 2016 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569333A (en) * 2019-09-11 2019-12-13 南京岳智信息技术有限公司 Method for identifying false drugs by using drug text advertisements
CN111062732A (en) * 2019-12-24 2020-04-24 中科金审(北京)科技有限公司 Method, device, equipment and storage medium for inquiring fake bearing production address

Similar Documents

Publication Publication Date Title
Chernoff et al. COVID-19 and Implications for Automation
US10915548B2 (en) Method of online tracing pesticide residues and visualizing warning on basis of high resolution mass spectrum, internet and geographic information
Bourke et al. Institutions and the map of science: matching university departments and fields of research
US20170075896A1 (en) System and method for analyzing popularity of one or more user defined topics among the big data
Liu et al. A text cube approach to human, social and cultural behavior in the twitter stream
de Moya-Anegon et al. Domain analysis and information retrieval through the construction of heliocentric maps based on ISI-JCR category cocitation
CN111026801A (en) Method and system for assisting operation quick decision-making work of insurance type e-commerce
CN109783532A (en) Food/pharmaceutical analysis method and system based on micro services framework
Kaasa Culture, religion and productivity: Evidence from European regions
US10719561B2 (en) System and method for analyzing popularity of one or more user defined topics among the big data
Fletcher et al. Package ‘psychometric’
Shi et al. Data science and productivity: A bibliometric review of data science applications and approaches in productivity evaluations
Nyamela et al. Frequency-dependent real-time effects of uncertainty in the United States: evidence from daily data
CN115759394A (en) Recommendation method, device, equipment and storage medium for traditional Chinese medicine decoction piece manufacturers
CN110442794B (en) Construction method of analyst portrait system
Kalugin et al. Development of an information and analytical system for modeling the demographic situation in the Russian Federation
Dodd A system of operationally defined concepts for sociology
Moreno et al. Analysis of productivity, efficiency, and their explanatory factors in the fast fashion sector: New evidence from the international environment
JPH09282307A (en) Commodity sales trend analysis method and system therefor
Hirschmeier et al. Information Quality Needs throughout the Purchase Process.
Targetti et al. Assessing the costs of measuring biodiversity: methodological and empirical issues
Moon et al. Top health trends: An information visualization tool for awareness of local health trends.
Zemnickis et al. A Little Bird Told Me: Discovering KPIs from Twitter Data
Maier Convention hotel food and beverage operating efficiency profile
Katmada et al. An Extensible Framework for Interactive Real-Time Visualizations of Large-Scale Heterogeneous Multimedia Information from Online Sources

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication