WO2016095733A1 - 网络数据的展示处理方法和装置 - Google Patents

网络数据的展示处理方法和装置 Download PDF

Info

Publication number
WO2016095733A1
WO2016095733A1 PCT/CN2015/096759 CN2015096759W WO2016095733A1 WO 2016095733 A1 WO2016095733 A1 WO 2016095733A1 CN 2015096759 W CN2015096759 W CN 2015096759W WO 2016095733 A1 WO2016095733 A1 WO 2016095733A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
page
index identifier
query
index
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.)
Ceased
Application number
PCT/CN2015/096759
Other languages
English (en)
French (fr)
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 Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to RU2017124972A priority Critical patent/RU2679729C2/ru
Priority to US15/536,768 priority patent/US10831853B2/en
Priority to JP2017531361A priority patent/JP6484907B2/ja
Publication of WO2016095733A1 publication Critical patent/WO2016095733A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of network data processing technologies, and in particular, to a method and an apparatus for displaying and processing network data.
  • the web application for the foreground and the background will inevitably involve the display of various data lists, such as product list, search list, order list, sales statistics list, etc. Etc.
  • these seemingly simple data lists may have a collection of data (the fields may also be referred to as list headers), and the backend server needs to associate many data tables for joint queries.
  • the processing speed can be received when the amount of data access is small, but once the concurrent access volume climbs, a serious processing bottleneck is formed, which directly leads to a slow response of the webpage, and the card and the browser refuse to respond.
  • the current existing technical solutions are mainly processed by means of data caching in a background server.
  • FIG. 1 is a process flow diagram of a prior art solution.
  • the main content of the prior art includes: the background server reads the database in advance, caches the data in the database in the memory of the background server, and receives the data list request sent from the foreground, and the memory from the background server. Query data in the cached data to improve query speed.
  • the main object of the present invention is to provide a method and apparatus for displaying network data to reduce hardware cost and improve data response speed.
  • a method for displaying and processing network data comprising:
  • a query request is sent to the background data unit to query the detailed data corresponding to each index identifier, and the detailed data of the query is respectively displayed in the data corresponding to the index identifier. In the list location.
  • the method further comprises:
  • the method further comprises:
  • the index identifiers are respectively sent to the background data unit to query the detailed data corresponding to the index identifiers, and the detailed data of the query is respectively displayed in the data list location of the corresponding index identifier.
  • the method further includes: buffering the displayed data list frame, after receiving the page turning request of the current page, on the current page Maintaining the cached data list frame, obtaining an index identifier of each piece of data of the new page, respectively querying the corresponding detailed data according to the index identifiers of the pieces of data, and displaying the detailed data of the query in the corresponding index identifier respectively In the data list location.
  • the obtaining an index identifier of each piece of data of a new page Specifically include:
  • the page number of the new page is calculated locally in the terminal, and an index identifier query request carrying the page number of the new page is sent to the background, and the background query code of the new page is used by the background to query the index of each piece of data of the new page; and the query result returned by the background is received.
  • a display processing device for network data comprising:
  • a first loading module configured to: after receiving a page display request of the network data, acquire a data list frame code of the corresponding page and an index identifier of each piece of data; and display the data list on the current page according to the data list frame code frame;
  • the second loading module is configured to send a query request to the background data unit according to the index identifier of each piece of data in an asynchronous manner, to respectively query the detailed data corresponding to each index identifier, and separately query the detailed data. Displayed in the data list location of the corresponding index identifier.
  • the apparatus further comprises:
  • a detailed data caching module configured to cache the detailed data and the corresponding index identifier displayed on the terminal locality
  • a third loading module configured to: after receiving the page display request of the same network data again, acquire a data list frame code of the corresponding page and an index identifier of each piece of data; according to the data list frame code, display the current page a data list framework that triggers a fourth loading module;
  • the fourth loading module is configured to separately query corresponding detailed data from the terminal according to the index identifiers of the pieces of data, and display the detailed data locally queried from the terminal in the data list position of the corresponding index identifier.
  • the apparatus further comprises:
  • a detailed data caching module configured to cache the detailed data and the corresponding index identifier displayed on the terminal locality
  • a fifth loading module configured to acquire a data list frame code of the corresponding page and an index identifier of each piece of data after receiving the page display request of the network data; a list frame code, displaying the data list frame on the current page, triggering a sixth loading module;
  • the sixth loading module is configured to separately query corresponding detailed data from the terminal according to the index identifiers of the pieces of data, and display the detailed data locally queried from the terminal in the data list position corresponding to the index identifier; If the index identifier of the corresponding detailed data is not queried locally, the query request is sent to the background data unit to query the detailed data corresponding to the index identifier, and the detailed data of the query is respectively displayed in the data list location of the corresponding index identifier. in.
  • the apparatus further comprises:
  • a framework cache module configured to cache the displayed data list frame
  • the new page loads the first module, and after receiving the page turning request of the current page, keeps the cached data list frame on the current page, and obtains an index identifier of each piece of data of the new page;
  • the new page loads the second module, and is configured to separately query the corresponding detailed data according to the index identifiers of the pieces of data, and display the detailed data of the query in the data list position of the corresponding index identifier.
  • the new page loading module is further configured to: after receiving the page turning request of the current page, calculate a page number of the new page locally in the terminal, and send the page number carrying the new page to the background.
  • the index identifies the query request, and the background queries the index of each piece of data of the new page by using the page number of the new page, and receives the query result returned by the background.
  • the background server has a fast query speed and a small number of transmissions, then the data list is It is displayed almost immediately on the screen of the user terminal, and there is almost no feeling of delay, which improves the data response speed.
  • the data of each row of the data list is loaded asynchronously, and each query request is marked with an index.
  • the background server query the background processing time of the background server will become extremely short, so the amount of data transmitted by the network is greatly reduced compared with the prior art, and the transmission time will become extremely short. Increased data response speed.
  • the present invention does not need to occupy the memory of the background server for a large amount of cache operation, which greatly saves the hardware cost of the background server.
  • FIG. 2 is a flow chart of a method for displaying and displaying network data according to the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a network data display processing apparatus according to the present invention.
  • FIG. 4 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention.
  • FIG. 5 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention.
  • FIG. 6 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention.
  • FIG. 2 is a flow chart of a method for displaying and displaying network data according to the present invention.
  • the method mainly includes:
  • Step 201 After receiving the page display request of the network data, acquiring a data list frame code of the corresponding page and an index identifier (index ID) of each piece of data; displaying the data list on the current page according to the data list frame code frame;
  • Step 202 In an asynchronous manner, according to the index identifiers of the pieces of data, respectively send a query request to a background data unit (such as a database, a data file, etc.), respectively, to query the detailed data corresponding to each index identifier, and query the The detailed data is displayed in the data list location of the corresponding index identifier.
  • a background data unit such as a database, a data file, etc.
  • the page display request that receives the network data is usually received by a page load request, a network data search request, and the like.
  • the network data can be Any network data that needs to be displayed, such as product list data, including product identification (ID), product name, model number, price, origin, manufacturer, sales volume, and the like; and, for example, user order data, which may include an order identifier ( The order number), the time, the payment status, the delivery status, the order details, and the like; and may be, for example, user list data, which may include data such as a user identification (ID), a user name, a user status, an activity level, and the like.
  • product list data including product identification (ID), product name, model number, price, origin, manufacturer, sales volume, and the like
  • user order data which may include an order identifier ( The order number), the time, the payment status, the delivery status, the order details, and the like
  • user list data which may include data such as a user identification (ID), a user name, a user status,
  • the data list frame of the corresponding page refers to a data list frame of the page requested by the page display request.
  • the data list frame refers to a template of a HyperText Markup Language (HTML) list page.
  • HTML HyperText Markup Language
  • the data list framework code can be parsed from the webpage code of the corresponding page.
  • the foreground system such as a client or a browser, can load a style of displaying a corresponding data list frame on the foreground screen according to the data list frame code, such as a page list color, style, background, and the like.
  • the present invention can query the detailed data corresponding to each piece of data according to the index identification of each piece of data, and display the detailed data of the query in the data list frame.
  • the index identifier of each piece of data in the data list may be, for example, a product identifier, an order identifier, a user identifier, or the like.
  • the specific type of the index identifier may be determined according to the request type corresponding to the requested page. In a specific implementation, the corresponding index identifier may be queried according to the specific instruction of the page display request.
  • the product identifier corresponding to the query condition is queried from the database according to the query condition (such as the product category, price range, territory, etc.) submitted by the request.
  • the product identifier is used as an index identifier corresponding to each piece of data in the data list to be displayed. Since only the product identifier of each piece of data is acquired, detailed data of each piece of data is not acquired, so only the data is displayed in the above step 201.
  • the page display request is a request for displaying a user's order details
  • the user account submitted according to the request is used to query the historical order number of the user account in the database, and the order number is used as a corresponding data list to be displayed.
  • the index identifier of each piece of data. Since only the order number of each piece of data is obtained, detailed data of each piece of data has not been obtained, so in the above step 201, only the data list frame is displayed, and the detailed data, such as the time corresponding to the order number, the payment status, and the courier The status, order details, and other data need to be displayed after querying in the next step 202.
  • the background detailed data may be cyclically requested according to the index of each row by using ajax asynchronously, and each detailed data is returned. Display one directly until the end of the loop, the list is fully displayed.
  • the index identifier is the query primary key.
  • the asynchronous mode refers to querying the detailed data corresponding to each index identifier in the background, that is, each index identifier triggers a query request to the background.
  • the query requests of the index identifiers are not required to be synchronized or executed in strict order.
  • the query requests corresponding to the index identifiers are independent of each other. As long as the detailed data of an index identifier is queried, the detailed data of the index identifier is displayed. In the data list location corresponding to the index identifier.
  • the index identifier and the data list frame code of each piece of data are first queried, that is, In the above step 201, the background server has a fast query speed and a very small number of transmissions, then the data list is displayed on the screen of the user terminal almost immediately, and there is almost no feeling of delay, which improves the data response speed.
  • the data list is The data of the row is loaded asynchronously, that is, in step 202, each query request is queried by the background server with the index identifier, and the processing time of the background server will become extremely short; each request can be interactive.
  • Web application technologies such as ajax, flash plug-ins, and iframe technology, send requests to the back-end server that only carry data (such as JSON data structures).
  • the data response returned by the back-end server does not have HTML code, so the amount of data transmitted by the network is higher than the existing technology. Greatly reduced, the transmission time will also become Extremely short, increasing the speed of data response.
  • the present invention does not need to occupy the memory of the background server for a large amount of cache operation, which greatly saves the hardware cost of the background server.
  • the user can observe the dynamic loading of the data on the page, and immediately display the detailed data by detecting a detailed data, and the user can immediately view the detailed data of the piece, and the dynamic of the page.
  • the feeling allows the user to truly feel the whole process of detailed data loading, and feel that the back-end system is urgent serving him, thus completely avoiding the slow, stuck, dead situation caused by big data once displayed on the page.
  • the best is a friendly user experience.
  • a user experience with a good and fast data list display can help users find the target information they want more quickly, and reduce the waste of man-machine operations and resources that users spend to find the target information. For example, users can quickly find the product information they want to find, and can directly convert into an order, and ultimately make a positive contribution to the revenue and word of mouth of commercial websites.
  • the data list frame is preloaded in the page, the data of each row is dynamically refreshed to the frame according to the index identifier, so the separation and decoupling of the list frame and the internal display data is completed, which facilitates development division and program maintenance.
  • the data list frame is just a template (including the header and data rows), all the data list contents are dynamically generated according to the number of bars that can be displayed on the current side, which saves the amount of HTML code of the entire list and improves the network. transfer speed.
  • the method of the present invention further includes: caching the displayed detailed data and the corresponding index identifier locally at the terminal, where the terminal is a device local to the browser or the client; After receiving the page display request of the same network data as the step 201, acquiring the data list frame code of the corresponding page and the index identifier of each piece of data; displaying the data list on the current page according to the data list frame code And displaying, according to the index identifiers of the pieces of data, the detailed data that is locally queried from the terminal, and the detailed data that is locally queried by the terminal is respectively displayed in the data list location of the corresponding index identifier.
  • the browser caches the detailed data locally in the terminal, when repeatedly browsing. No longer accessing the background server, you can directly display, reduce the pressure on the background server, and further speed up the display.
  • the index can be used to find the local cache data of the current browser, if it can be found.
  • the detailed data is directly loaded and displayed, so that the detailed content request of the current row of the list is not sent to the backend, thereby improving the speed, reducing the network access and the server pressure.
  • the present invention may also cache the detailed data and corresponding index identifiers displayed at the terminal local; regardless of the page display request of which network data is received, such as the page display request
  • the data list frame code of the corresponding page and the index identifier of each piece of data may be obtained by the channel or the item type search request or the browsing request, etc., according to the data list frame code, the data list frame is displayed on the current page;
  • the index identifiers of the data are respectively queried from the terminal to the corresponding detailed data, and the detailed data queried locally from the terminal is respectively displayed in the data list location of the corresponding index identifier; for the index that does not query the corresponding detailed data locally in the terminal
  • the identifiers are respectively sent to the background data unit to query the detailed data corresponding to the index identifier, and the detailed data of the query is respectively displayed in the data list location of the corresponding index identifier.
  • the present invention can cache all the detailed data of the displayed or browsed data list in the terminal and cache corresponding index identifiers and corresponding detailed data, regardless of whether the user searches or browses the channel or product type.
  • the index of the data in the data list in the page to be displayed is found locally in the terminal. Once the terminal has local cached detailed data, it can be quickly displayed, enhancing the website access experience and reducing server pressure.
  • the invention may further record that the user is The search identifier of the clicked data on the displayed data list, for example, when the user clicks on the data of a certain item, the corresponding item id is recorded, and the item ID is cached in the terminal local and marked with the browsed Marking; when the display page is displayed again, according to the search identifier of each piece of data, it is queried from the terminal local whether the search mark has the mark already browsed, and if so, the tag of the item that has been browsed is displayed on the displayed detailed data. To enhance the shopping experience.
  • the method further includes: buffering the displayed data list frame, and after receiving the page turning request of the current page,
  • the current page keeps the cached data list frame, and obtains an index identifier of each piece of data of the new page, and queries the corresponding detailed data according to the index identifiers of the pieces of data respectively
  • the query may be Query from the background; it can also be queried in the local cache of the terminal, and the query can not be queried in the background), and the detailed data of the query is displayed in the data list position corresponding to the index identifier.
  • the index of obtaining each piece of data of the new page includes: calculating a page number of the new page locally in the terminal, and sending an index identifier query request carrying the page number of the new page to the background, and querying the new page page code by the background.
  • the index of each piece of data on the page includes: calculating a page number of the new page locally in the terminal, and sending an index identifier query request carrying the page number of the new page to the background, and querying the new page page code by the background.
  • the index of each piece of data on the page includes: calculating a page number of the new page locally in the terminal, and sending an index identifier query request carrying the page number of the new page to the background, and querying the new page page code by the background.
  • the index of each piece of data on the page includes: calculating a page number of the new page locally in the terminal, and sending an index identifier query request carrying the page number of the new page to the background, and querying the new page page code by the background.
  • FIG. 3 is a schematic structural diagram of an embodiment of a network data display processing apparatus according to the present invention.
  • the device can be set in the foreground system, which is specific include:
  • a first loading module configured to: after receiving a page display request of the network data, obtain a data list frame code of the corresponding page and an index identifier of each piece of data (specifically, obtained from a background); according to the data list frame code, The current page displays the data list frame;
  • a second loading module configured to send a query request to a background data unit (such as a database, a data file, etc.) according to the index identifier of each piece of data in an asynchronous manner, to separately query detailed data corresponding to each index identifier The detailed data that is queried is displayed in the data list location corresponding to the index identifier.
  • a background data unit such as a database, a data file, etc.
  • FIG. 4 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention. Referring to FIG. 4, the apparatus further includes:
  • a detailed data caching module configured to cache the detailed data and the corresponding index identifier displayed on the terminal locality
  • a third loading module configured to: after receiving the page display request of the same network data again, acquire a data list frame code of the corresponding page and an index identifier of each piece of data; according to the data list frame code, display the current page a data list framework that triggers a fourth loading module;
  • the fourth loading module is configured to separately query corresponding detailed data from the terminal according to the index identifiers of the pieces of data, and display the detailed data locally queried from the terminal in the data list position of the corresponding index identifier.
  • the browser caches the detailed data locally in the terminal, and when the browsing is repeated, the background server is no longer accessed, and the background server can be directly displayed, thereby reducing the pressure on the background server, and Can further speed up the display.
  • FIG. 5 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention. Referring to FIG. 5, the apparatus further includes:
  • Detailed data caching module for displaying the detailed data and corresponding index
  • the identifier is cached locally on the terminal
  • a fifth loading module configured to: after receiving the page display request of the network data, acquire a data list frame code of the corresponding page and an index identifier of each piece of data; and display the data list on the current page according to the data list frame code a framework that triggers a sixth loading module;
  • the sixth loading module is configured to separately query corresponding detailed data from the terminal according to the index identifiers of the pieces of data, and display the detailed data locally queried from the terminal in the data list position corresponding to the index identifier; If the index identifier of the corresponding detailed data is not queried locally, the query request is sent to the background data unit to query the detailed data corresponding to the index identifier, and the detailed data of the query is respectively displayed in the data list location of the corresponding index identifier. in.
  • the present invention can cache all the detailed data of the displayed or browsed data list in the terminal and cache corresponding index identifiers and corresponding detailed data, regardless of whether the user searches or browses the channel or product type. Directly first use the index of the data in the data list in the page to be displayed to find in the terminal. Once the terminal has local cached detailed data, it can be quickly displayed, enhancing the website's access experience and reducing server pressure.
  • FIG. 6 is a schematic structural diagram of still another embodiment of a network data display processing apparatus according to the present invention. Referring to FIG. 6, on the basis of any of the foregoing embodiments, the apparatus further includes:
  • a framework cache module configured to cache the displayed data list frame
  • the new page loads the first module, and after receiving the page turning request of the current page, keeps the cached data list frame on the current page, and obtains an index identifier of each piece of data of the new page;
  • the new page loads the second module, and is configured to separately query the corresponding detailed data according to the index identifiers of the pieces of data, and display the detailed data of the query in the data list position of the corresponding index identifier.
  • the new page loading module is further configured to: after receiving the page turning request of the current page, calculate a page number of the new page locally in the terminal, and send an index identifier query request carrying the page number of the new page to the background, and the background.
  • the new page page code is used to query the index identifier of each piece of data of the new page, and the query result returned by the background is received.
  • the technical solution of the present invention adopts page indexing and asynchronous detailed data batch loading technology, and finally solves the problem that the big data type website (such as an e-commerce website) has a slow speed and poor experience in displaying big data lists, and implements the page.
  • the big data type website such as an e-commerce website
  • Fast and friendly loading and display improving the user experience and reducing the bottleneck pressure of requesting the background server.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the functional modules of the various embodiments may be located at one terminal or network node, or may be distributed to multiple terminals or network nodes.
  • each of the embodiments of the present invention can be implemented by a data processing program executed by a data processing device such as a computer.
  • the data processing program constitutes the present invention.
  • a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present invention.
  • the storage medium can use any type of recording method, such as paper storage medium (such as paper tape, etc.), magnetic storage medium (such as floppy disk, hard disk, flash memory, etc.), optical storage medium (such as CD-ROM, etc.), magneto-optical storage medium (such as MO, etc.).
  • paper storage medium such as paper tape, etc.
  • magnetic storage medium such as floppy disk, hard disk, flash memory, etc.
  • optical storage medium such as CD-ROM, etc.
  • magneto-optical storage medium Such as MO, etc.
  • the present invention therefore also discloses a storage medium in which is stored a data processing program for performing any of the above embodiments of the present invention.
  • the method steps of the present invention can be implemented by using a data processing program, and can also be implemented by hardware, for example, by logic gates, switches, and application specific integrated circuits. (ASIC), programmable logic controllers, and embedded microcontrollers are implemented.
  • ASIC application specific integrated circuits
  • programmable logic controllers programmable logic controllers
  • embedded microcontrollers are implemented.

Landscapes

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

Abstract

一种网络数据的展示处理方法和装置,包括:在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架(201);采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中(202)。利用该方法和装置可以降低硬件成本,提高数据响应速度。

Description

网络数据的展示处理方法和装置 技术领域
本发明涉及网络数据处理技术领域,尤其涉及一种网络数据的展示处理方法和装置。
背景技术
目前,随着网络的普及,基于智能设备(如计算机、智能手机、平板电脑等)和通信网络的物品展示和交易系统迅猛发展起来,通过互联网进行网上购物和销售也越来越成为一种趋势。
在实现物品展示和交易的网站系统中,针对前台、和后台的网络(Web)应用,都不可避免会涉及到各种数据列表的展现,如商品列表、搜索列表、订单列表、销售统计列表等等,然而这些看似简单的数据列表,可能汇集有很多字段(所述字段也可以称为列表头)数据的展现,而后台服务器需要关联许多数据表进行联合查询。对于这种处理,在数据访问量少的时候处理速度还可以接收,但是一旦并发访问量攀升时就会形成严重的处理瓶颈,直接导致网页响应慢、卡、浏览器拒绝响应的情况。
针对上述技术问题,目前的现有的技术方案主要是采用在后台服务器进行数据缓存的方式来处理。
图1为现有技术方案的处理流程图。参见图1,该现有技术的主要内容包括:后台服务器预先读取数据库,将数据库中的数据缓存在后台服务器的内存中,当收到前台发来的数据列表请求时,从后台服务器的内存所缓存的数据中查询数据,从而提高查询速度。
但是上述现有技术存在如下缺点:
1)虽然现有技术基本解决了数据在后台服务器处理的问题,但是后台缓存不可能将所有数据库的数据都缓存起来,而且存在更新同步的时延问题,导致数据不准确。
2)现有技术由于需要将庞大的数据缓存到后台服务器的内存中,需要巨量的内存存储量,因此需要庞大的硬件成本支持,硬件成本高。
3)页面大数据同时展现慢的问题没有解决,后台服务器需要拼装、传输以及前台浏览器同时展现的信息量大,造成页面响应缓慢,在性能和浏览器配置低的客户端上极易造成拒绝响应。
4)不是所有数据都能在服务器端的内存中做缓存,例如:订单和销量等统计数据,这样会造成一次性查询大量数据时,服务端响应会很慢,即使采用数据仓库等手段,也只能是降低主数据库的压力,在速度上无明显改善,和后端请求响应的时间还是很大。
5)大数据量在页面一次性展现时响应慢,直接导致大量用户因体验而流失。
综上所述,现有技术的主要缺点在于硬件成本高、数据响应速度缓慢。
发明内容
有鉴于此,本发明的主要目的是提供一种网络数据的展示处理方法和装置,以降低硬件成本,提高数据响应速度。
本发明的技术方案是这样实现的:
一种网络数据的展示处理方法,包括:
在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,该方法进一步包括:
将所展示的所述详细数据和对应的索引标识缓存在终端本地;
在再次接收到同一网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,该方法进一步包括:
将所展示的所述详细数据和对应的索引标识缓存在终端本地;
在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,所述在当前页面展示所述数据列表框架之后,进一步包括:对所展示的所述数据列表框架进行缓存,在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识,根据所述各条数据的索引标识分别查询对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,所述获取新页面的各条数据的索引标识, 具体包括:
在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识;接收后台返回的查询结果。
一种网络数据的展示处理装置,包括:
第一加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
第二加载模块,用于采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,该装置进一步包括:
详细数据缓存模块,用于将所展示的所述详细数据和对应的索引标识缓存在终端本地;
第三加载模块,用于在再次接收到同一网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架,触发第四加载模块;
第四加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,该装置进一步包括:
详细数据缓存模块,用于将所展示的所述详细数据和对应的索引标识缓存在终端本地;
第五加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据 列表框架代码,在当前页面展示所述数据列表框架,触发第六加载模块;
第六加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,该装置进一步包括:
框架缓存模块,用于对所展示的所述数据列表框架进行缓存;
新页加载第一模块,用于在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识;
新页加载第二模块,用于根据所述各条数据的索引标识分别查询对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
在一种优选实施例中,所述新页面加载第一模块中进一步用于:在接收到当前页面的翻页请求后,在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识,接收后台返回的查询结果。
与现有技术相比,当在接收到网络数据的页面展示请求后,由于首先查询各条数据的索引标识和数据列表框架代码,后台服务器的查询速度快、传输数量极小,那么此数据列表是几乎立即展现在用户终端的屏幕上,几乎没有延迟的感觉,提高了数据响应速度;其次,所述数据列表每行的数据都是单独异步加载的,每个查询请求都带着索引标识在后台服务器查询,后台服务器的计算处理时间将会变得极短,因此网络传输数据量较现有技术大大减小,传输时间也将变得极短, 提高了数据响应的速度。同时,本发明不必占用后台服务器的内存进行大数据量的缓存操作,极大地节约了后台服务器的硬件成本。
附图说明
图1为现有技术方案的处理流程图;
图2为本发明所述网络数据的展示处理方法的一种流程图;
图3为本发明所述网络数据的展示处理装置的一种实施例的组成示意图;
图4为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图;
图5为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图;
图6为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图。
具体实施方式
下面结合附图及具体实施例对本发明再作进一步详细的说明。
图2为本发明所述网络数据的展示处理方法的一种流程图。参见图2,该方法主要包括:
步骤201、在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识(索引ID);依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
步骤202、采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元(如数据库、数据文件等)发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
所述步骤201中,所述接收到网络数据的页面展示请求,通常是收到一个页面加载请求,网络数据搜索请求等。所述网络数据可以是 任何需要展示的网络数据,例如商品列表数据,其中包括商品标识(ID)、商品名称、型号、价格、产地、厂商、销量等数据;再例如也可以是用户订单数据,其中可以包括订单标识(订单号)、时间、付款状态、快递状态、订单详情等数据;再例如可以是用户列表数据,其中可以包括用户标识(ID)、用户名、用户状态、活跃度等数据。
所述对应页面的数据列表框架,是指所述页面展示请求所请求页面的数据列表框架。所述数据列表框架就是指超文本标记语言(HTML,HyperText Mark-up Language)列表页面的模板。所述数据列表框架代码可以从该对应页面的网页代码中解析得到。前台系统,例如客户端或浏览器,可以依照该数据列表框架代码在前台屏幕上加载显示出对应的数据列表框架的样式,例如数据列表的颜色、风格、背景等等页面元素。本发明在加载显示出所述数据列表框架后,就可以根据所述各条数据的索引标识查询每条数据对应的详细数据,在该数据列表框架中将所述查询到的详细数据显示出来。
所述数据列表中各条数据的索引标识,例如可以是商品标识、订单标识、用户标识等。该索引标识的具体类型可以根据所请求页面对应的请求类型来确定,在具体实施中可以是先根据所述页面展示请求的具体指令查询到对应的索引标识。
例如如果所述页面展示请求是用于展示商品明细的请求,则会根据该请求提交的查询条件(如商品类别、价格范围、地域等等)从数据库中查询出符合该查询条件的商品标识,以该商品标识作为对应要展示的数据列表中各条数据的索引标识,由于只是获取到了各条数据的商品标识,还没有获取到各条数据的详细数据,因此在上述步骤201中只是显示数据列表框架,其中的详细数据,例如商品标识对应的商品名称、型号、价格、产地、厂商、销量等数据,需要在后续步骤202中查询后才会显示。
如果所述页面展示请求是用于展示某一用户订单详情的请求,则会根据该请求提交的用户帐号查询数据库中该用户帐号的历史订单号,将所述订单号作为对应要展示的数据列表中各条数据的索引标识。由于只是获取到了各条数据的订单号,还没有获取到各条数据的详细数据,因此在上述步骤201中只是显示数据列表框架,其中的详细数据,例如订单号对应的时间、付款状态、快递状态、订单详情等数据,需要在后续步骤202中查询后才会显示。
在查询到所述数据列表中各条数据的索引标识后,在所述步骤202中,可以采用异步的方式,利用ajax异步根据每行的索引标识循环请求后台详细数据,每返回一条详细数据就直接显示一条,直到循环结束,列表也就完全展现了。在查询时,所述索引标识是查询主键。所述异步方式,就是指分别向后台查询所述各索引标识对应的详细数据,即每个索引标识都会触发一次向后台的查询请求。各索引标识的查询请求不需要同步或者按照严格的顺序实行,各个索引标识对应的查询请求之间是相互独立的,只要查询到了某一个索引标识的详细数据,就将该索引标识的详细数据展示在该索引标识对应的数据列表位置中。
采用本发明的技术方案,当在接收到网络数据的页面展示请求后,例如接收到用户搜索查询某个业务列表数据的请求后,由于首先查询各条数据的索引标识和数据列表框架代码,即上述步骤201,后台服务器的查询速度快、传输数量极小,那么此数据列表是几乎立即展现在用户终端的屏幕上,几乎没有延迟的感觉,提高了数据响应速度;其次,所述数据列表每行的数据都是单独异步加载的,即在步骤202中,每个查询请求都带着索引标识在后台服务器查询,后台服务器的计算处理时间将会变得极短;每次请求可以采用交互式网页应用技术,例如ajax、flash插件、iframe技术,向后台服务器发出只携带数据的请求(如采用JSON数据结构),后台服务器返回的数据响应中没有HTML代码,因此网络传输数据量较现有技术大大减小,传输时间也将变得 极短,提高了数据响应的速度。同时,本发明不必占用后台服务器的内存进行大数据量的缓存操作,极大地节约了后台服务器的硬件成本。
另外,在步骤202的过程中,用户可以观察到数据在页面上不停的动态加载,查出一条详细数据就立即展示该条详细数据,用户就能立即查看到该条详细数据,页面的动态感能让用户真正的感受到详细数据加载的整个过程,感受到后台系统在拼命的为他服务,这样一来就彻底避免大数据一次性在页面展现带来的慢、卡、死的情况,最而代之的是友好的用户体验。有了良好和快速的数据列表展示的用户体验,可以帮助用户更快速的找到如自己想要的目标信息,减少用户为寻找目标信息所耗费的过多人机操作和资源的浪费。例如用户可以直接快速地找到自己想要找的商品信息,并且可以直转换成订单,最终为商业性网站的营收和口碑做出积极供献。
而且,由于数据列表框架是预先在页面加载的,每行的数据是根据索引标识返回动态刷新到框架上的,所以完成了对列表框架和内部展示数据的分离解耦,利于开发分工和程序维护。由于数据列表框架只是一个模板(其中包括表头,数据行),所有的数据列表内容都是根据当前面可显示的条数,动态循环生成的,节省了整个列表的HTML代码量,提升了网络传输速度。
在一种优选实施例中,本发明所述的方法进一步包括:将所展示的所述详细数据和对应的索引标识缓存在终端本地,所述终端本地就是浏览器或客户端本地的设备;在再次接收到与所述步骤201相同的网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。通过这种处理,可以实现对于浏览过的数据列表页面,浏览器会在终端本地缓存所述详细数据,当重复浏览时 不再访问后台服务器,便能直接展现,减轻后台服务器压力,并可以进一步加快显示速度。
例如,针对列表按价格和销量等排序时,因为先拿到的是每个商品的索引标识(主键商品号),可以先用这些索引标识到当前浏览器端的本地缓存数据中查找,如果能够查找到该索引标识对应的详细数据,则直接加载显示该详细数据,这样就不用再向后端发送列表当前行的详细内容请求了,从而提升速度,减少网络访问量和服务器压力。
上述实施例中只是对于浏览过的数据列表页面,在浏览同一页面时进行本地缓存从而加快浏览速度。在另外的一种优选实施例中,本发明还可以将所展示的所述详细数据和对应的索引标识缓存在终端本地;不论接收到何种网络数据的页面展示请求,例如所述页面展示请求可以是频道或者商品类型搜索请求或者浏览请求等,都会获取对应页面的数据列表框架代码和各条数据的索引标识,依据所述数据列表框架代码,在当前页面展示所述数据列表框架;根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
通过上述处理,本发明可以将所有显示或者浏览过的数据列表的详细数据,都在终端本地缓存对应的索引标识和对应的详细数据,不管用户在那个频道或者商品类型搜索或者浏览时,直接先用需要展示的页面中的数据列表中的数据的索引标识在终端本地找,一旦终端本地有缓存的详细数据便能快速展现,增强网站的访问体验和减少服务器压力。
在本发明的进一步的实施例中,本发明还可以进一步记录用户在 所展示的数据列表上的点击过的数据的检索标识,例如当用户点击某一个商品的数据后,会记录对应的商品id,并将该商品ID缓存在终端本地中,并标上已经浏览的标记;当再次显示展示页面时,根据各条数据的检索标识,从终端本地中查询该检索标识是否具有已经浏览的标记,如果有则在所显示的详细数据上打上此商品被浏览过的标签,增强购物体验。
在本发明的进一步实施例中,还可以在在当前页面展示所述数据列表框架之后,进一步包括:对所展示的所述数据列表框架进行缓存,在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识,根据所述各条数据的索引标识分别查询对应的详细数据(如上述实施例所述,该查询可以是从后台查询;也可以是先在终端本地的缓存中查询,查询不到再到后台查询),将查询到的详细数据分别展示在对应索引标识的数据列表位置中。通过这种处理,可以在收到翻页请求后,不必再次根据所述数据类别框架代码重新循环生成数据列表框架,进一步提升处理显示速度。
其中,所述获取新页面的各条数据的索引标识,具体包括:在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识;接收后台返回的查询结果。例如,对点击上一页、下一页、或者某个页码号,可以利用jascript在浏览器进行当前页面的页码维护,如显示第一页时,页码为1,点击下一页时,直接在维护的页码上+1,向后端发送请求时,直接带上所计算的新页面页码,就可以查询索引标识了,节省了后台的页码计算,提升处理效率。
与上述方法对应,本发明还公开了一种网络数据的展示处理装置,以执行上述方法。图3为本发明所述网络数据的展示处理装置的一种实施例的组成示意图。参见图3,该装置可以设置在前台系统,其具体 包括:
第一加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识(具体是从后台获取);依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
第二加载模块,用于采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元(如数据库、数据文件等)发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
图4为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图。参见图4,该装置进一步包括:
详细数据缓存模块,用于将所展示的所述详细数据和对应的索引标识缓存在终端本地;
第三加载模块,用于在再次接收到同一网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架,触发第四加载模块;
第四加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。
通过图4的实施例,可以实现对于浏览过的数据列表页面,浏览器会在终端本地缓存所述详细数据,当重复浏览时不再访问后台服务器,便能直接展现,减轻后台服务器压力,并可以进一步加快显示速度。
图5为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图,参见图5,该装置进一步包括:
详细数据缓存模块,用于将所展示的所述详细数据和对应的索引 标识缓存在终端本地;
第五加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架,触发第六加载模块;
第六加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
通过图5的实施例,本发明可以将所有显示或者浏览过的数据列表的详细数据,都在终端本地缓存对应的索引标识和对应的详细数据,不管用户在那个频道或者商品类型搜索或者浏览时,直接先用需要展示的页面中的数据列表中的数据的索引标识在终端本地找,一旦终端本地有缓存的详细数据便能快速展现,增强网站的访问体验和减少服务器压力。
图6为本发明所述网络数据的展示处理装置的又一种实施例的组成示意图,参见图6,在上述任一种实施例的基础上,该装置进一步包括:
框架缓存模块,用于对所展示的所述数据列表框架进行缓存;
新页加载第一模块,用于在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识;
新页加载第二模块,用于根据所述各条数据的索引标识分别查询对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
其中,所述新页面加载第一模块中进一步用于:在接收到当前页面的翻页请求后,在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识,接收后台返回的查询结果。
如上所述,本发明技术方案采用页面索引和异步的详细数据分批加载技术,最终解决大数据类网站(如电子商务网站)在大数据列表展现上的速度慢和体验差的问题,实现页面快速友好加载展现,提高用户体验、降低一次请求后台服务器的瓶颈压力的问题。
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述各实施例的功能模块可以位于一个终端或网络节点,或者也可以分布到多个终端或网络节点上。
另外,本发明的每一个实施例可以通过由数据处理设备如计算机执行的数据处理程序来实现。显然,数据处理程序构成了本发明。此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和或内存)中执行。因此,这样的存储介质也构成了本发明。存储介质可以使用任何类型的记录方式,例如纸张存储介质(如纸带等)、磁存储介质(如软盘、硬盘、闪存等)、光存储介质(如CD-ROM等)、磁光存储介质(如MO等)等。
因此本发明还公开了一种存储介质,其中存储有数据处理程序,该数据处理程序用于执行本发明上述方法的任何一种实施例。
另外,本发明所述的方法步骤除了可以用数据处理程序来实现,还可以由硬件来实现,例如,可以由逻辑门、开关、专用集成电路 (ASIC)、可编程逻辑控制器和嵌入微控制器等来实现。因此这种可以实现本发明所述方法的硬件也可以构成本发明。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (10)

  1. 一种网络数据的展示处理方法,其特征在于,包括:
    在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
    采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  2. 根据权利要求1所述的方法,其特征在于,该方法进一步包括:
    将所展示的所述详细数据和对应的索引标识缓存在终端本地;
    在再次接收到同一网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
    根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  3. 根据权利要求1所述的方法,其特征在于,该方法进一步包括:
    将所展示的所述详细数据和对应的索引标识缓存在终端本地;
    在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
    根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  4. 根据权利要求1至3任项所述的方法,其特征在于,所述在当前页面展示所述数据列表框架之后,进一步包括:对所展示的所述数据列表框架进行缓存,在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识,根据所述各条数据的索引标识分别查询对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  5. 根据权利要求4所述的方法,其特征在于,所述获取新页面的各条数据的索引标识,具体包括:
    在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识;接收后台返回的查询结果。
  6. 一种网络数据的展示处理装置,其特征在于,包括:
    第一加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架;
    第二加载模块,用于采用异步方式,根据所述各条数据的索引标识,分别向后台数据单元发出查询请求,以分别查询所述各索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  7. 根据权利要求6所述的装置,其特征在于,该装置进一步包括:
    详细数据缓存模块,用于将所展示的所述详细数据和对应的索引标识缓存在终端本地;
    第三加载模块,用于在再次接收到同一网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架,触发第四加载模块;
    第四加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  8. 根据权利要求6所述的装置,其特征在于,该装置进一步包括:
    详细数据缓存模块,用于将所展示的所述详细数据和对应的索引标识缓存在终端本地;
    第五加载模块,用于在接收到网络数据的页面展示请求后,获取对应页面的数据列表框架代码和各条数据的索引标识;依据所述数据列表框架代码,在当前页面展示所述数据列表框架,触发第六加载模块;
    第六加载模块,用于根据所述各条数据的索引标识分别从终端本地查询对应的详细数据,将从终端本地查询到的详细数据分别展示在对应索引标识的数据列表位置中;对于在终端本地没有查询到对应详细数据的索引标识,则再分别向后台数据单元发出查询请求,以分别查询所述索引标识对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  9. 根据权利要求6至8任项所述的装置,其特征在于,该装置进一步包括:
    框架缓存模块,用于对所展示的所述数据列表框架进行缓存;
    新页加载第一模块,用于在接收到当前页面的翻页请求后,在当前页面保持所缓存的所述数据列表框架,获取新页面的各条数据的索引标识;
    新页加载第二模块,用于根据所述各条数据的索引标识分别查询对应的详细数据,将查询到的详细数据分别展示在对应索引标识的数据列表位置中。
  10. 根据权利要求9所述的装置,其特征在于,
    所述新页面加载第一模块中进一步用于:在接收到当前页面的翻 页请求后,在终端本地计算新页面的页码,向后台发送携带该新页面页码的索引标识查询请求,后台以此新页面页码查询该新页面的各条数据的索引标识,接收后台返回的查询结果。
PCT/CN2015/096759 2014-12-16 2015-12-09 网络数据的展示处理方法和装置 Ceased WO2016095733A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
RU2017124972A RU2679729C2 (ru) 2014-12-16 2015-12-09 Способ и устройство для процесса демонстрации сетевых данных
US15/536,768 US10831853B2 (en) 2014-12-16 2015-12-09 Method and device for exhibition process of network data
JP2017531361A JP6484907B2 (ja) 2014-12-16 2015-12-09 ネットワークデータ表示処理方法及びデバイス

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410782604.6 2014-12-16
CN201410782604.6A CN104462455B (zh) 2014-12-16 2014-12-16 网络数据的展示处理方法和装置

Publications (1)

Publication Number Publication Date
WO2016095733A1 true WO2016095733A1 (zh) 2016-06-23

Family

ID=52908490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096759 Ceased WO2016095733A1 (zh) 2014-12-16 2015-12-09 网络数据的展示处理方法和装置

Country Status (5)

Country Link
US (1) US10831853B2 (zh)
JP (1) JP6484907B2 (zh)
CN (1) CN104462455B (zh)
RU (1) RU2679729C2 (zh)
WO (1) WO2016095733A1 (zh)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462455B (zh) * 2014-12-16 2016-09-21 北京京东尚科信息技术有限公司 网络数据的展示处理方法和装置
CN106649304A (zh) * 2015-10-28 2017-05-10 北京国双科技有限公司 数据查询的方法、装置及系统
CN105426496B (zh) * 2015-11-24 2019-05-07 小米科技有限责任公司 页面展示方法及装置、电子设备
CN105743890B (zh) * 2016-01-27 2020-07-17 上海优扬新媒信息技术有限公司 权限信息生成方法和装置
CN107196980B (zh) * 2016-03-14 2020-11-13 创新先进技术有限公司 页面展现流的控制方法、系统及其装置
CN106227854A (zh) * 2016-07-29 2016-12-14 阔地教育科技有限公司 一种信息管理方法及信息管理装置
CN108241657B (zh) * 2016-12-24 2022-01-07 北京亿阳信通科技有限公司 一种web数据列表处理方法及装置
US10884656B2 (en) * 2017-06-16 2021-01-05 Microsoft Technology Licensing, Llc Performing background functions using logic integrated with a memory
CN107679143B (zh) * 2017-09-25 2020-12-01 天津同阳科技发展有限公司 基于百度地图动态分步加载的装置及方法、可读存储介质
CN108563469A (zh) * 2017-10-20 2018-09-21 五八有限公司 页面加载方法、装置、存储介质及终端设备
CN108804584A (zh) * 2018-05-25 2018-11-13 北京五八信息技术有限公司 数据展示方法、装置、设备及存储介质
CN109726346B (zh) * 2018-12-29 2020-08-25 北京创鑫旅程网络技术有限公司 页面组件处理方法及装置
CN110209966B (zh) * 2019-04-15 2022-03-11 优信拍(北京)信息科技有限公司 一种网页刷新方法、网页系统及电子设备
CN110633433B (zh) * 2019-07-19 2024-02-27 北京有竹居网络技术有限公司 一种页面缓存方法、装置、电子设备及存储介质
CN110633434B (zh) * 2019-07-19 2024-02-27 北京有竹居网络技术有限公司 一种页面缓存方法、装置、电子设备及存储介质
CN110750581A (zh) * 2019-09-24 2020-02-04 贝壳技术有限公司 表格组件的数据展示方法和装置、存储介质、电子设备
CN111079046A (zh) * 2019-11-14 2020-04-28 拉扎斯网络科技(上海)有限公司 信息加载方法、系统、服务器、终端及存储介质
CN111274781A (zh) * 2020-01-21 2020-06-12 北京三快在线科技有限公司 表格显示方法、装置、存储介质及电子设备
CN111475554B (zh) * 2020-04-30 2024-03-01 上海东普信息科技有限公司 基于快递状态的数据展示方法、装置、设备及存储介质
CN113687885A (zh) * 2020-05-19 2021-11-23 京东方科技集团股份有限公司 一种加载页面数据的方法、装置及系统
CN112433784A (zh) * 2020-12-10 2021-03-02 东莞市盟大塑化科技有限公司 页面加载方法、装置、设备和存储介质
CN115328977A (zh) * 2022-08-18 2022-11-11 金蝶软件(中国)有限公司 一种页面数据的分页预处理方法及装置
CN116467539A (zh) * 2023-04-19 2023-07-21 深圳复临科技有限公司 一种页面数据展示方法、装置、计算机设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591954A (zh) * 2011-12-29 2012-07-18 深圳Tcl新技术有限公司 一种浏览器用数据加载方法、装置及终端
CN103530160A (zh) * 2013-10-21 2014-01-22 迈普通信技术股份有限公司 一种页面加载的方法和装置
CN103699378A (zh) * 2013-12-04 2014-04-02 奥维通信股份有限公司 一种基于嵌入式的web框架构建方法及系统
CN103853716A (zh) * 2012-11-28 2014-06-11 纽海信息技术(上海)有限公司 网页显示系统及方法
CN104462455A (zh) * 2014-12-16 2015-03-25 北京京东尚科信息技术有限公司 网络数据的展示处理方法和装置

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305473A (ja) 1996-05-16 1997-11-28 Fuji Xerox Co Ltd 検索システムにおけるキャッシング方式
JP2000250841A (ja) 1999-03-02 2000-09-14 Hitachi Ltd ページ生成方法及び装置並びにページ生成プログラムを記録した記憶媒体および電子モールシステム
CA2404014A1 (en) * 2000-03-30 2001-10-11 Cygent, Inc. System and method for establishing electronic business systems for supporting communications services commerce
JP4502763B2 (ja) * 2004-09-22 2010-07-14 株式会社野村総合研究所 データベース利用システム
US8650214B1 (en) * 2005-05-03 2014-02-11 Symantec Corporation Dynamic frame buster injection
US20080201118A1 (en) * 2007-02-16 2008-08-21 Fan Luo Modeling a web page on top of HTML elements level by encapsulating the details of HTML elements in a component, building a web page, a website and website syndication on browser-based user interface
JP5205998B2 (ja) * 2008-02-06 2013-06-05 日本電気株式会社 端末装置、データ検索システム、データ検索方法およびデータ検索プログラム
JP4999008B2 (ja) * 2008-07-15 2012-08-15 楽天株式会社 情報送信装置、情報送信方法、情報送信処理プログラム及び情報送信システム
CN101504648A (zh) 2008-11-14 2009-08-12 北京搜狗科技发展有限公司 展现网页资源的方法及装置
US9165308B2 (en) * 2011-09-20 2015-10-20 TagMan Inc. System and method for loading of web page assets
JP2013105459A (ja) * 2011-11-16 2013-05-30 Oki Electric Ind Co Ltd 情報管理システム及び端末装置並びに端末装置プログラム
CN102982149B (zh) * 2012-11-26 2016-05-11 北京奇虎科技有限公司 利用浏览器用户网络购物信息的浏览方法、装置及浏览器
JP5945060B2 (ja) * 2013-02-12 2016-07-05 日本電信電話株式会社 出力機能分割システム
US20150088693A1 (en) * 2013-09-25 2015-03-26 Michael Moore Method for displaying and navigating internet search results

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591954A (zh) * 2011-12-29 2012-07-18 深圳Tcl新技术有限公司 一种浏览器用数据加载方法、装置及终端
CN103853716A (zh) * 2012-11-28 2014-06-11 纽海信息技术(上海)有限公司 网页显示系统及方法
CN103530160A (zh) * 2013-10-21 2014-01-22 迈普通信技术股份有限公司 一种页面加载的方法和装置
CN103699378A (zh) * 2013-12-04 2014-04-02 奥维通信股份有限公司 一种基于嵌入式的web框架构建方法及系统
CN104462455A (zh) * 2014-12-16 2015-03-25 北京京东尚科信息技术有限公司 网络数据的展示处理方法和装置

Also Published As

Publication number Publication date
US20170344658A1 (en) 2017-11-30
RU2679729C2 (ru) 2019-02-12
CN104462455A (zh) 2015-03-25
JP2018500672A (ja) 2018-01-11
RU2017124972A (ru) 2019-01-18
CN104462455B (zh) 2016-09-21
JP6484907B2 (ja) 2019-03-20
US10831853B2 (en) 2020-11-10
RU2017124972A3 (zh) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2016095733A1 (zh) 网络数据的展示处理方法和装置
US11252245B2 (en) Information pushing method and device
JP5721818B2 (ja) 検索におけるモデル情報群の使用
US8990220B2 (en) Management and storage of distributed bookmarks
TWI604399B (zh) Product information publishing and browsing method, device and system
CN107609152B (zh) 用于扩展查询式的方法和装置
US8688534B2 (en) System and method for gathering ecommerce data
CN107463641B (zh) 用于改进对搜索结果的访问的系统和方法
CN110866204B (zh) 一种页面处理方法及装置
CN102236851B (zh) 基于用户赋权的多维信用体系实时计算的方法及系统
US10990632B2 (en) Multidimensional search architecture
CN102831252B (zh) 一种用于更新索引数据库的方法及装置、搜索方法和系统
CN104850546B (zh) 移动媒介信息的展示方法和系统
CN106682144A (zh) 页面展示方法和装置
WO2017041359A1 (zh) 信息推送方法、装置、设备及非易失性计算机存储介质
JP2015191655A (ja) 推奨ページを生成するための方法及び装置
CN102760144A (zh) 信息搜索方法及系统
US20140289612A1 (en) Merging web page style addresses
CN103617222A (zh) 一种网页中进行预下载的方法和浏览器
CN101751444A (zh) 网页内容定制系统及方法
WO2019109326A1 (zh) 一种页面缓存处理方法、装置和服务器
CN113330432A (zh) 搜索结果中列出的内容的异步预测性缓存
CN104715067A (zh) 在网页上标注关键词的方法、装置、系统和浏览器客户端
CN117892738A (zh) 用于跨境电商系统的多语言装置和方法及计算设备
WO2020063844A1 (zh) 一种推荐关联信息的方法及其终端、服务器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15869241

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017531361

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15536768

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2017124972

Country of ref document: RU

Kind code of ref document: A

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 02.10.17

122 Ep: pct application non-entry in european phase

Ref document number: 15869241

Country of ref document: EP

Kind code of ref document: A1