CN106846126A - A kind of electric business website order transaction data visualization method - Google Patents

A kind of electric business website order transaction data visualization method Download PDF

Info

Publication number
CN106846126A
CN106846126A CN201710123040.9A CN201710123040A CN106846126A CN 106846126 A CN106846126 A CN 106846126A CN 201710123040 A CN201710123040 A CN 201710123040A CN 106846126 A CN106846126 A CN 106846126A
Authority
CN
China
Prior art keywords
electric business
business website
order transaction
transaction data
browser plug
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
CN201710123040.9A
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.)
Beijing Shi Jie Technology Co Ltd Como
Original Assignee
Beijing Shi Jie Technology Co Ltd Como
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shi Jie Technology Co Ltd Como filed Critical Beijing Shi Jie Technology Co Ltd Como
Priority to CN201710123040.9A priority Critical patent/CN106846126A/en
Publication of CN106846126A publication Critical patent/CN106846126A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of electric business website order transaction data visualization method, it is related to technical field of data processing.The method, by the mode of browser plug-in, realizes while browse electric business website, it is possible to view relevant statistics on the page of electric business website, without switching system, realizes the effect of " visible i.e. gained ".

Description

A kind of electric business website order transaction data visualization method
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of electric business website order transaction data visualization side Method.
Background technology
At present, when counting and generating the data of electric business website, typically using independent statistical form system, i.e. datagram Table system and electric business website are separate states, it is impossible to be intuitively associated with electric business website.When user browses electric business website, , it is necessary to be toggled between reporting system and electric business website system, vice versa when needing the data for checking certain commodity, and And, the querying condition in reporting system needs to manually enter or select, so, this reporting system for electric business website separate It is not easy to the use of user.
The content of the invention
It is an object of the invention to provide a kind of electric business website order transaction data visualization method, so as to solve existing skill Foregoing problems present in art.
To achieve these goals, the technical solution adopted by the present invention is as follows:
A kind of electric business website order transaction data visualization method, comprises the following steps:
S1, the number that browser plug-in embedding browser, the browser plug-in are passed through into JSON forms with background server According to carrying out data interaction;
S2, the page of the electric business website is embedded in by the way of Iframe by the display page of the browser plug-in;
S3, in the electric business website page, user clicks on the browser plug-in, and the background server is browsed to described The display page of device plug-in unit sends order transaction data.
Preferably, in S2, it is the electric business website embedded by the browser plug-in to set document.domain Domain name.
Preferably, in S2, using the PostMessage modes of HTHL5, cross-domain access and data interaction is realized.
Preferably, by the way of Guava local caches and Redis cachings are combined, platform server is enterprising in the rear Row data storage.
The beneficial effects of the invention are as follows:A kind of electric business website order transaction data visualization side provided in an embodiment of the present invention Method, by the mode of browser plug-in, realizes while browse electric business website, it is possible to checked on the page of electric business website To relevant statistics, the effect of " visible i.e. gained " without switching system, is realized.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of background server data storage;
Fig. 2 is the electric business website page schematic diagram that browser plug-in is not used;
Fig. 3 is the electric business website page schematic diagram for using browser plug-in.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing, the present invention is entered Row is further described.It should be appreciated that specific embodiment described herein is only used to explain the present invention, it is not used to Limit the present invention.
A kind of electric business website order transaction data visualization method is the embodiment of the invention provides, is comprised the following steps:
S1, the number that browser plug-in embedding browser, the browser plug-in are passed through into JSON forms with background server According to carrying out data interaction;
S2, the page of the electric business website is embedded in by the way of Iframe by the display page of the browser plug-in;
S3, in the electric business website page, user clicks on the browser plug-in, and the background server is browsed to described The display page of device plug-in unit sends order transaction data.
In the method, it has been related to foreground browser plug-in and background server two parts, at present in addition to IE browser, Other most of browsers support developing plug pattern, and background server is designed with B/S frameworks, by JSON forms Data carry out data interaction with foreground browser plug-in.
In order to by the seamless embedded car shopping mall website of the display page of plug-in unit, in the above method, be incited somebody to action by the way of Iframe The display page insertion car trader city page of browser plug-in, while provide that option is opened and closed, so both will not be to car trader city Parent page is interfered, and flexibly control content can be represented again.
In actual use, after plug-in unit is arranged on browser by user, when the electric business website specified is browsed to, i.e., Inquiry displaying plug-in unit can be emerged on website, while for specific region (such as:The commodity of certain rule), can occur For the data inquiry module in the region, then, without selection or input inquiry condition by hand, it is only necessary to which point opens the inquiry in plug-in unit Module, browser plug-in will initiate inquiry request to background server, and background server will return to the data of certain format It is presented on the display page of plug-in unit, then inquiry data can be seen on Website page, without being switched to data statistics system.
In embodiments of the present invention, in S2, it is embedded by the browser plug-in that can set document.domain The electric business website domain name..
In the above method, as a result of the mode of IFrame, so the data of cross-window will necessarily be related in the page Interaction, for the window under same domain name, can use set document.domain embedded by the browser plug-in The mode of the domain name of the electric business website realizes the cross-window data transfer of front page layout.
For example, for car shopping mall website, its domain name is " autohome.com.cn ", then in use, can use Be embedded into the display page of browser plug-in on the page of the website by the method for the embodiment of the present invention, during implementation, Document.domain can be set for " autohome.com.cn ", so as to realize the cross-window of browser plug-in front page layout Data transfer.
In embodiments of the present invention, in S2, cross-domain access can be realized using the PostMessage modes of HTHL5 And data interaction.
In the case of cross-domain (such as:Electric business website domain name is autohome.com.cn, and the access domain of browser plug-in Entitled autohome.com.net), can be using the PostMessage modes of HTHL5 come number cross-domain in compatible front page layout According to interaction.
In the embodiment of the present invention, can be by the way of Guava local caches and Redis be cached to combining, in the rear Data storage is carried out on platform server.
The above method, can lift the performance of data query.
For example, on the background server in car trader city, employing the local JVM cachings of Guava and Redis distributed caching phases The mode of cooperation, the storage of data is carried out according to the dimension of " brand+car system+vehicle+SKU+ regions+time ".Its specific implementation Process, may refer to Fig. 1, wherein, browser plug-in is used for display data;Backstage web services are used for control of authority and extract number According to;Redis improves query performance for data cached, and the data of caching mainly include:Permissions data and real-time traffic data; ERP is used to manage and configure the access rights of user;DB is used for persistent storage data, including:Access privilege list with And the data of order transaction etc..
Use method provided in an embodiment of the present invention, in that context it may be convenient to order transaction number is shown on the electric business website page According to.As shown in Fig. 2 the electric business website homepage for browser plug-in is not used, as shown in figure 3, being to use the electricity of browser plug-in Business's website homepage.Comparison diagram 2 and Fig. 3 understand, by way of by browser plug-in, it is possible to achieve browse the same of electric business website When view relevant statistics, without switching system, realize the effect of " visible i.e. gained ".
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:The embodiment of the present invention is carried A kind of electric business website order transaction data visualization method for supplying, by the mode of browser plug-in, realizes and browses electric business net While station, it is possible to view relevant statistics on the page of electric business website, without switching system, realize " visible I.e. gained " effect.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art should be understood that the sequential of the method and step that above-described embodiment is provided can be entered according to actual conditions Row accommodation, is concurrently carried out also dependent on actual conditions.
All or part of step in the method that above-described embodiment is related to can be instructed by program correlation hardware come Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side All or part of step described in method.The computer equipment, for example:Personal computer, server, the network equipment, intelligent sliding Dynamic terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.;Described storage medium, for example:RAM、 ROM, magnetic disc, tape, CD, flash memory, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage Deng.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, commodity or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange Except also there is other identical element in the process including the key element, method, commodity or equipment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (4)

1. a kind of electric business website order transaction data visualization method, it is characterised in that comprise the following steps:
S1, by browser plug-in embedding browser, the browser plug-in is entered with background server by the data of JSON forms Row data interaction;
S2, the page of the electric business website is embedded in by the way of Iframe by the display page of the browser plug-in;
S3, in the electric business website page, user clicks on the browser plug-in, and the background server is inserted to the browser The display page of part sends order transaction data.
2. electric business website order transaction data visualization method according to claim 1, it is characterised in that in S2, if Put the domain name that document.domain is the electric business website embedded by the browser plug-in.
3. electric business website order transaction data visualization method according to claim 1, it is characterised in that in S2, adopt With the PostMessage modes of HTHL5, cross-domain access and data interaction is realized.
4. electric business website order transaction data visualization method according to claim 1, it is characterised in that use Guava The mode that local cache and Redis cachings are combined, carries out data storage on platform server in the rear.
CN201710123040.9A 2017-03-03 2017-03-03 A kind of electric business website order transaction data visualization method Pending CN106846126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710123040.9A CN106846126A (en) 2017-03-03 2017-03-03 A kind of electric business website order transaction data visualization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710123040.9A CN106846126A (en) 2017-03-03 2017-03-03 A kind of electric business website order transaction data visualization method

Publications (1)

Publication Number Publication Date
CN106846126A true CN106846126A (en) 2017-06-13

Family

ID=59138694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710123040.9A Pending CN106846126A (en) 2017-03-03 2017-03-03 A kind of electric business website order transaction data visualization method

Country Status (1)

Country Link
CN (1) CN106846126A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN102045273A (en) * 2010-12-28 2011-05-04 位涛 Method for subscribing Internet information to social network through page attention
CN105069113A (en) * 2015-08-11 2015-11-18 北京京东尚科信息技术有限公司 Data flow real-time visualization method and data flow real-time visualization system
CN105512139A (en) * 2014-09-26 2016-04-20 阿里巴巴集团控股有限公司 Method and device for implementing data visualization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN102045273A (en) * 2010-12-28 2011-05-04 位涛 Method for subscribing Internet information to social network through page attention
CN105512139A (en) * 2014-09-26 2016-04-20 阿里巴巴集团控股有限公司 Method and device for implementing data visualization
CN105069113A (en) * 2015-08-11 2015-11-18 北京京东尚科信息技术有限公司 Data flow real-time visualization method and data flow real-time visualization system

Similar Documents

Publication Publication Date Title
CN101997927B (en) A kind of method and system of WEB platform data caching
US8898161B2 (en) Methods and systems for searching, selecting, and displaying content
CN104395884B (en) The data storage layer grade extended for Web page application program and browser
CN106649349A (en) Method, device and system for data caching, applicable to game application
US10817145B1 (en) System and method for seamlessly integrating an iframe into a webpage
KR20140012664A (en) Method for rearranging web page
CN104052809B (en) A kind of flow-dividing control method and apparatus of website test
CN106462454A (en) Activity continuation between electronic devices
CN103353886A (en) Method and system for previewing webpage
CN102868719A (en) Network access method and server based on cache
CN104462455A (en) Method and device for displaying and processing network data
CN106598972A (en) Information display method and device as well as intelligent terminal
CN101807193A (en) Browsing method used for mobile communication equipment terminal
CN107590145A (en) A kind for the treatment of method and apparatus of page static resource
WO2017131873A1 (en) Ads management in a browser application
CN101777065A (en) Multi-page browser for mobile communication equipment terminals and application method thereof
CN103631829A (en) Method and device for responding to webpage access request
CN103455547B (en) A kind of method and device for webpage loading
CN106126683A (en) Page display method and terminal unit
CN103617043B (en) A kind of method and system uploaded with picture web data
CN106547806A (en) Page loading method and device
CN102171992B (en) Content obtaining method based on http and client
CN106846126A (en) A kind of electric business website order transaction data visualization method
CN106294515A (en) Promotion message treating method and apparatus
CN107241638A (en) The method for configuring navigation bar

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

Application publication date: 20170613