WO2019076140A1 - 页面访问的数据处理方法、装置及电子设备 - Google Patents

页面访问的数据处理方法、装置及电子设备 Download PDF

Info

Publication number
WO2019076140A1
WO2019076140A1 PCT/CN2018/102718 CN2018102718W WO2019076140A1 WO 2019076140 A1 WO2019076140 A1 WO 2019076140A1 CN 2018102718 W CN2018102718 W CN 2018102718W WO 2019076140 A1 WO2019076140 A1 WO 2019076140A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
resource
behavior
product service
data
Prior art date
Application number
PCT/CN2018/102718
Other languages
English (en)
French (fr)
Inventor
徐达峰
朱子辰
Original Assignee
阿里巴巴集团控股有限公司
徐达峰
朱子辰
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 阿里巴巴集团控股有限公司, 徐达峰, 朱子辰 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019076140A1 publication Critical patent/WO2019076140A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Definitions

  • the embodiment of the present specification belongs to the technical field of computer data processing, and in particular, to a data processing method, device, and electronic device for page access.
  • the mobile terminal APP application
  • opens the page and responds to the user's operation which is an important research direction for the APP application developers and operators to enhance the user application experience.
  • the embodiment of the present specification aims to provide a data processing method and device for page access, and an electronic device, which can predict user behavior and download corresponding resources to the memory, so that the user can read the display page resource by the memory when accessing the page, which is extremely large. Improved page access speed and improved user experience.
  • a data processing method for page access comprising:
  • Reading according to the access request of the target page, the corresponding page resource from the local storage, and displaying the information content of the target page based on the read page resource, where the target page includes a page that triggers the service jump of the pre-trigger product .
  • a page access data processing apparatus comprising:
  • a page access module configured to receive an access request of the target page, and determine whether the access request accesses a product service corresponding to the predicted user behavior
  • a content caching module configured to: when the access request accesses a product service corresponding to the predicted user behavior, obtain a page document that is pre-cached in the memory, where the page document includes an operation behavior based on predicting the user on the terminal Preload the corresponding product resources from the server and build the page document;
  • a resource replacement module configured to replace the page document with a display document of the target page
  • a content presentation module configured to display information content of the target page based on the presentation document.
  • a page access data processing apparatus includes a processor and a memory for storing processor executable instructions, the processor implementing the instructions to:
  • Reading according to the access request of the target page, the corresponding page resource from the local storage, and displaying the information content of the target page based on the read page resource, where the target page includes a page that triggers the service jump of the pre-trigger product .
  • An electronic device comprising at least one processor and a memory storing processor executable instructions, the processor implementing the instructions to:
  • Reading according to the access request of the target page, the corresponding page resource from the local storage, and displaying the information content of the target page based on the read page resource, where the target page includes a page that triggers the service jump of the pre-trigger product .
  • a data processing method for page access comprising:
  • Receiving an access request of the target page determining whether the access request accesses a pre-trigger product service, where the pre-trigger product service includes a product service determined based on predicting a predicted operation behavior of the user on the terminal;
  • acquiring a page document of the pre-trigger product service pre-cached in the memory where the page document includes loading a resource corresponding to the pre-trigger product from a server, and a page document of the resource construction target page;
  • the information content of the target page is displayed based on the replaced page document.
  • the data processing method, device and electronic device for page access provided by the embodiments of the present invention can collect user behavior data and predict user behavior trends, and load corresponding document resources from the server according to the prediction result of the user behavior to construct a page document. And cached to the user's local terminal (such as cache to memory) storage. In this way, when the user clicks or enters the page, the page resource can be quickly read and displayed from the local terminal, which can effectively solve the network request time of the user terminal to the server page resource when the user initiates the page access, so that the user can enter the correspondingly very quickly.
  • the product page greatly enhances the user terminal page access experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a data processing method for page access according to the present specification
  • FIG. 2 is a schematic flow chart of predicting a trend of user behavior in an implementation example of the method provided by the present specification
  • FIG. 3 is a schematic diagram of a predicted user behavior mapped to a corresponding product service in an embodiment of the present specification
  • FIG. 4 is a schematic diagram of a process flow of page preloading in an implementation example of the method provided by the present specification
  • FIG. 5 is a schematic diagram of a process flow of a user accessing a page in the method described in the present specification
  • FIG. 6 is a block diagram showing the structure of an embodiment of a data processing apparatus for page access provided by the present specification
  • FIG. 7 is a schematic structural diagram of a module of an embodiment of a behavior prediction module in the apparatus provided by the present specification.
  • FIG. 8 is a schematic structural diagram of an embodiment of the electronic device provided by the present specification.
  • FIG. 9 is a schematic diagram of a product service associated with a trend behavior of a user predicted according to monitoring data in the present specification
  • FIG. 10 is a schematic flowchart diagram of an embodiment of a data processing method for page access according to the present specification.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a data processing method for the page access provided by the present specification.
  • the present specification provides method operation steps or device structures as shown in the following embodiments or figures, there may be more or partial merged fewer operational steps in the method or device based on conventional or no inventive labor. Or module unit.
  • the execution order of the steps or the module structure of the device is not limited to the execution order or the module structure shown in the embodiment or the drawings.
  • the device, server or terminal product of the method or module structure When the device, server or terminal product of the method or module structure is applied, it may be executed sequentially or in parallel according to the method or module structure shown in the embodiment or the drawing (for example, parallel processor or multi-thread processing). Environment, even including distributed processing, server cluster implementation environment).
  • the implementation provided in this specification can start from the service product accessed by the user, especially the speed of the access page at the expression link level of the business logic.
  • the posture and angle of the terminal device held by the user, the position and gesture direction of the current finger of the user, and the like, and the product service provided by the user may be acquired by the sensing device to predict an operation that the user may perform next.
  • the resource information of the product service associated with the predicted user behavior can then be downloaded from the server to the terminal device in advance, and the page document corresponding to the product is constructed and cached in the memory of the local terminal device, such as memory.
  • the terminal device can load the acquisition page and other resource data from the memory. Because it is the reading of the local memory data of the terminal, the process of requesting resources from the server and performing network transmission and rendering, etc., can enable the user to see the corresponding product page in a very short time, thereby greatly improving the user's page. Access experience.
  • the local cache in this application scenario is a memory.
  • the local storage may also include storage in the network, or may be resident from a local flash memory or a mobile device.
  • the description of the following embodiments does not constitute a limitation of other expandable technical solutions based on the present description.
  • the method may include:
  • the resource corresponding to the pre-trigger product service is loaded from the resource server, and is configured as a page resource for local storage;
  • the solution of the embodiments of the present specification can be used in various types of terminal devices, such as a mobile terminal, a smart phone, an in-vehicle device, a smart wearable device, a personal computer, a handheld device, a micro or a large server.
  • These terminal devices may include applications used by one or more users, such as shopping applications, browsers, payment applications, and the like.
  • the operation information of the user on the terminal device, the status information of the terminal, and the like can be monitored and acquired, and then an algorithm for predicting the behavior of the terminal user can be designed in combination with the data, and used to predict the operation that the user may perform next.
  • the user searches for a recently broadcasted movie name using the search function on the terminal, it can be predicted that the user may click on the "purchase” product business and enter the corresponding ticket purchase page to purchase the ticket, or click on the "film review” product.
  • the business conducts a review page to view movie word-of-mouth.
  • the user's behavior may be predicted based on various monitoring and acquisition information such as the current operation behavior of the user, and then the corresponding product resources are downloaded from the server in advance to construct a page document of the product corresponding to the predicted user behavior.
  • the monitoring user terminal operation includes monitoring, by using a sensor device of the terminal, a terminal space state and a manipulation behavior generated on the terminal.
  • the sensor device may include, but is not limited to, a gyroscope, a level, a compass (a compass), a display screen, a distance sensor, a temperature sensor, a humidity sensor, and the like.
  • One or more of the data information can be monitored, thereby judging the status of the terminal and the user, and predicting the operations that the user may perform.
  • the predicted user behavior can be obtained by clicking "buy ticket” and clicking "film review”.
  • the terminal application can load the corresponding document resource from the server according to the resource information of the “purchase ticket” and “shadow review” products, and then parse and construct the page document corresponding to the “purchase ticket” and “film review” product services.
  • the page documents for these product services can be stored in the memory of the terminal. In this way, when the user actually clicks on the "purchase ticket” or "film review” product service on the terminal, the terminal application can know that the product service clicked by the user is the product service corresponding to the previously predicted user behavior, and the page document has been pre-cached. In the memory of the terminal.
  • the terminal application can obtain the "purchase ticket” or "film review” page document from the local memory, and then replace the page document with the current page document.
  • the terminal application can display a "purchase ticket” or "film review” page document based on the replaced document. Users can also quickly view the content of the page information to enhance the user experience.
  • One embodiment of the present specification provides a processing scheme for predicting user behavior and downloading page resources for product services.
  • the predicting a user's expected operational behavior according to the user behavior data includes:
  • S40 Determine a trend behavior of the current operation according to the behavior data, where the behavior data includes at least one of a spatial position of the terminal detected by the sensor, a tilt angle of the terminal, a touch position on the touch screen, and a sliding track on the touch screen. information;
  • S42 Calculate, according to the provided product service data, a product service to which the trend behavior is associated, to trigger the related product service as a predicted expected operation behavior;
  • At least one of the associated product services is selected as a pre-trigger product service corresponding to the expected operational behavior.
  • the data information related to the terminal may include information indicating a form of the terminal device in the physical space used by the user, such as display orientation information, a landscape or vertical screen, a terminal tilt angle, and the like.
  • the touch information related to the user may include information indicating user's touch operation such as location information of the user's contact on the terminal device, direction of the slide, single-finger or two-finger or other multi-finger touch, orientation of the sensed or detected gesture.
  • posture and angle information of a terminal device held by a user obtained by a gyroscope may be included;
  • the behavior that the user may perform next may be calculated according to the gyroscope, the touch information, and the like in combination with the service data on the server side.
  • the server side can be a big data storage, and can include business data of all or a plurality of products of the terminal application.
  • different application scenarios may be mapped to different product services according to predicted user behaviors, and a correspondence between user behaviors and product services is established.
  • the current page is the home page of an application, which can include multiple product services.
  • the corresponding relationship between the above behavior of the user and the product service A in the current page can be established. If the current page is the page of the product service A, and the behavior of the user's handheld terminal device tilting to the right and the user's finger moving to the upper right of the screen is also predicted, it may be predicted that the user may click on the upper right corner of the product page A.
  • the trend behavior determined according to the user's touch, gyroscope, etc. sensing device may include "the user may have to click at the upper right corner of the current page", according to the distribution or configuration information according to the product service in the current page.
  • the associated product service may include a Or a plurality of product services whose trend behavior is involved in sliding the track on the touch screen, or a product service within a predetermined range of one or more sliding tracks of its trend behavior, as shown in FIG. 9, FIG.
  • the schematic diagram of the product business to which the user's trend behavior is associated is predicted based on the monitoring data.
  • the trend behavior of the user's current operation may be scheduled.
  • the user may continue to continue to the upper right corner. Moving your finger may trigger Product Business A.
  • the trajectory generated in this trend behavior is L2.
  • the associated product business is then derived based on the predicted user's trend behavior.
  • the associated product service may include product service A. In other implementation manners, multiple product services may also be included.
  • the predicted trajectory L2 may also be included.
  • Product business B or may also include product business C within a certain range of L2.
  • one or more product services to which the association is associated may be selected as a pre-trigger product service, for example, product services A and B are selected as pre-trigger product services.
  • the terminal device can first download related resources of the pages corresponding to the product services A and B from the resource server, and construct corresponding page documents for local storage.
  • the terminal device can quickly read and display the page content of the product service A or B directly from the local storage, such as the memory, so as to preload the corresponding page before the user actually triggers the product page to open the corresponding page.
  • the page resource saves the network request time for requesting the resource when the user triggers, so that the user can instantly see the corresponding product page, which greatly improves the user experience.
  • the server predicts that different weight values may be assigned to different product services according to the traffic data of the product service, such as the data information such as the play traffic or the click-through traffic.
  • the traffic data may include click traffic or other historical data of the product, and may be used to determine a weight value of the product service based on the traffic data.
  • the product service whose weight value reaches the preset threshold is selected as the pre-trigger product service, and the weight value includes the weight value assigned to the product service according to the access traffic data of the product service data.
  • the amount of traffic in a hot zone of the page can be used as a parameter to measure the weight.
  • the product service whose weight value meets the screening requirement is selected as the pre-trigger product service.
  • the server big data analysis statistics can be found that, in the current page, the product traffic A has the highest access traffic, reaching 38% (may also be the number of clicks). Representation), product business B and C are 12% and 2%, respectively.
  • the server may set the weight values of the product services A, B, and C in the current page according to the range traffic data in advance.
  • the weight value may be valid only in the current page, for example, in other page scenarios that also include product service A, the weight value of product service A may change. For example, if there is another product service D in a sub-page that is higher than the product business A, then in the sub-page, although the total number of clicks of the product business A is 2 million as in the main page, but in the sub-page The total number of clicks for product business D is 2.5 million, and the product business has the highest weight value in the main page, and the weight value in the sub-page is smaller than the product business D.
  • the access traffic data can be converted into corresponding weight values and assigned to corresponding product services.
  • the weight values of product services A, B, and C can be 3.8, 1.2, and 0.2, respectively.
  • the product service with the weight value greater than the preset threshold may be selected as the pre-trigger product service. If the product service with the weight value greater than 1 is selected, the product services A and B may be used as the pre-trigger product service.
  • the preset thresholds described above may be set according to actual application scenarios, screening requirements, and the like.
  • the product services A and B when the weight values of the product services A and B are greater than the preset threshold, the product services A and B can be simultaneously used as the corresponding product services for predicting user behavior, and the resource data of the product services A and B can be downloaded from the server to Terminal, build page documents for A and B.
  • FIG. 2 is a flow chart showing a trend of predicting user behavior in an implementation example of the method provided by the present specification. As shown in Figure 2, among them,
  • 1.2 Touch information can monitor the position of the user's current finger and the orientation of the gesture, including single-finger or multi-finger operation, the position of the touch, the direction of the slide, and even the orientation of the user's gesture movement by light sensing.
  • the server assigns different weight values to different services according to the traffic of related services.
  • FIG. 3 is a schematic diagram of mapping predicted user behaviors to corresponding pre-trigger products services in the embodiments of the present specification. It can be mapped to different pre-trigger product services according to the user's current behavior trend matrix, thereby establishing a correspondence between user behavior and product service.
  • the resource of the pre-trigger product service is loaded from the resource server, and is configured as a page resource for local storage, which may include:
  • FIG. 4 is a schematic diagram of a process flow of page preloading in an implementation example of the method provided by the present specification. As shown in Figure 4, it can include:
  • the product's metadata defines the basic information about the product and the corresponding resource link address.
  • XMLHttpRequest extensible hypertext transfer request
  • Xml is an extensible markup language
  • Http is a hypertext transfer protocol
  • Request request The XMLHttpRequest object can implement partial update of the web page without submitting the entire page to the server.
  • the corresponding document resource may be pre-loaded from the server through the XMLHttpRequest interface according to the resource information of the product.
  • DOMParser parses the XML text and returns an XML Document object.
  • DOMParser can be used to parse the document information returned by the server, and an HTML (HyperText Markup Language) document corresponding to the product is constructed.
  • Corresponding product business information is cached into the terminal memory.
  • the terminal can read from the memory. Pre-cached page documents, then replace the documents of the current page in full.
  • the reading the corresponding page resource from the locally stored page resource may include:
  • the historical page access interface of the page operates the session history of the browser that was once accessed in the tab or frame. You can use the History API defined by HTML5 to change the current URL address and notify the program to access the product.
  • FIG. 5 A specific example is shown in FIG. 5, which may include:
  • a data processing method for page access can collect user behavior data and predict a user behavior trend, and load a corresponding document resource from a server according to a prediction result of the user behavior, construct a page document, and cache the user to the user.
  • Stored in the local terminal such as cache to memory.
  • the page resource can be quickly read and displayed from the local terminal, which can effectively solve the network request time of the user terminal to the server page resource when the user initiates the page access, so that the user can enter the correspondingly very quickly.
  • the product page greatly enhances the user terminal page access experience.
  • the embodiment of the present specification further provides a data processing apparatus for page access.
  • the apparatus may include a system (including a distributed system), software (applications), modules, components, servers, clients, quantum computers, etc., using the methods described in the embodiments of the present specification, in conjunction with necessary implementation hardware.
  • the apparatus in one embodiment provided by this specification is as described in the following embodiments.
  • the term "unit” or "module” may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 6 is a schematic structural diagram of a module of a data processing apparatus for page access provided by the present specification. As shown in FIG. 6, the apparatus may include:
  • the prediction data obtaining module 101 can be used to monitor and obtain behavior data of the operation of the user terminal;
  • the behavior prediction module 102 can be configured to predict a user's expected operational behavior according to the behavior data
  • the product mapping module 103 can be configured to determine a pre-trigger product service corresponding to the expected operational behavior
  • the resource preloading module 104 is configured to load the resource corresponding to the pre-trigger product service from the resource server, and construct the page resource for local storage;
  • the expected access processing module 105 is configured to read a corresponding page resource from the local storage based on an access request of the target page, and display information content of the target page based on the read page resource, where the target page includes a trigger A page that pre-triggers product business jumps.
  • the predicting data acquisition module monitoring the user terminal operation comprises monitoring the terminal space state and the manipulation behavior generated on the terminal by using the sensor device of the terminal.
  • FIG. 7 is a block diagram showing the structure of an embodiment of the behavior prediction module 102 in the apparatus provided by the present specification. As shown in FIG. 7, in another embodiment of the apparatus, the behavior prediction module includes:
  • the behavior trend prediction unit 1021 may be configured to determine a trend behavior of the current operation according to the behavior data, where the behavior data includes a spatial position of the terminal detected by the sensor, a terminal tilt angle, a touch position on the touch screen, and a sliding on the touch screen. At least one piece of data information in the track;
  • the expected operation prediction unit 1022 may be configured to calculate, according to the provided product service data, a product service to which the trend behavior is associated, to trigger the associated product service as a predicted expected operational behavior;
  • the product mapping module 103 selects at least one of the associated product services as a pre-trigger product service corresponding to the expected operational behavior.
  • the product mapping module 103 may select a product service whose weight value reaches a preset threshold as a pre-trigger product service when determining a pre-trigger product service; the weight value includes according to the product
  • the traffic data of the service data is the weight value assigned to the product service.
  • the resource loading module 104 may include:
  • the information loading unit may be configured to obtain corresponding document information from the resource server according to the resource information of the pre-trigger product service;
  • a resource parsing unit configured to parse the document information, and construct a page document of the pre-trigger product service
  • a cache unit that can be used to cache page documents into local memory.
  • the page access processing module 105 includes:
  • the first processing unit may be configured to: after receiving the access request of the target page, change an address of the current page uniform resource locator by using a historical page access interface of the page, and notify the page rendering engine to access the target page;
  • a local resource reading unit configured to read a page document of the target page from the local storage
  • the replacement unit may be configured to replace the full page document of the current page with the page document of the target page.
  • the terminal can read from the memory. Pre-cached page documents, then replace the documents of the current page in full. This allows the user to view the page content in a short amount of time.
  • the data processing method for page access can be implemented by a processor executing a corresponding program instruction in a computer, such as implementing a C++ language of a Windows operating system on a PC side, or corresponding to other systems such as Linux, android, and iOS.
  • a processor executing a corresponding program instruction in a computer, such as implementing a C++ language of a Windows operating system on a PC side, or corresponding to other systems such as Linux, android, and iOS.
  • the implementation of the application design language, and the processing logic based on quantum computers.
  • the apparatus may include a processor and a memory for storing processor executable instructions, when the processor executes the instruction achieve:
  • Reading according to the access request of the target page, the corresponding page resource from the local storage, and displaying the information content of the target page based on the read page resource, where the target page includes a page that triggers the service jump of the pre-trigger product .
  • the apparatus described above in the embodiments of the present specification may further include other embodiments according to the description of the related method embodiments.
  • the various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • FIG. 8 is a block diagram showing a hardware configuration of an electronic device of a page access data processing method according to an embodiment of the present invention. As shown in FIG.
  • electronic device 80 may include one or more (only one shown) processor 802 (processor 802 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) A memory 804 for storing data, and a transmission module 806 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 8 is merely illustrative and does not limit the structure of the above electronic device. For example, its electronic device 80 may also include more or fewer components than those shown in FIG. 8, for example, other processing hardware such as a GPU (Graphics Processing Unit) or the like may also be included. Or it has a different configuration from that shown in FIG.
  • processor 802 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • a memory 804 for storing data
  • a transmission module 806 for communication functions.
  • FIG. 8 is merely illustrative and does not limit the structure of the above
  • the memory 804 can be used to store software programs and modules of the application software, such as program instructions/modules corresponding to the data processing method of the page access in the embodiment of the present invention, and the processor 802 runs the software program and the module stored in the memory 804, thereby Perform various function applications and data processing, that is, the data processing method for realizing the above page access.
  • Memory 804 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 804 can further include memory remotely located relative to processor 8102, which can be connected to computer terminal 80 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission module 806 is for receiving or transmitting data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of computer terminal 810.
  • the transmission module 806 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission module 806 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the device or method described above can be used in an electronic device for page access in various terminal devices, and can predict user behavior according to the collected data, and then download page document data of the product corresponding to the predicted user behavior, and cache the data in the terminal. In memory. In this way, when the user actually performs the predicted user behavior, the resource data of the page can be directly read from the memory of the terminal, and then the content of the page is quickly displayed, so that the problem of slow transmission of the web resource can be effectively solved from the expression link level of the business logic, especially It is to solve the problem of page access optimization under cross-border, boasting web access and network infrastructure and network environment.
  • the embodiment of the present specification provides an electronic device for page access, as shown in FIG. 8, including at least one processor and a memory storing processor executable instructions, when the processor executes the instructions:
  • Reading according to the access request of the target page, the corresponding page resource from the local storage, and displaying the information content of the target page based on the read page resource, where the target page includes a page that triggers the service jump of the pre-trigger product .
  • the computer readable storage medium may include physical means for storing information, typically by digitizing the information and storing it in a medium that utilizes electrical, magnetic or optical means.
  • the computer readable storage medium of this embodiment may include: means for storing information by means of electrical energy, such as various types of memories, such as RAM, ROM, etc.; means for storing information by magnetic energy means, such as hard disk, floppy disk, magnetic tape, magnetic Core memory, bubble memory, U disk; means for optically storing information such as CD or DVD.
  • electrical energy such as various types of memories, such as RAM, ROM, etc.
  • magnetic energy means such as hard disk, floppy disk, magnetic tape, magnetic Core memory, bubble memory, U disk
  • means for optically storing information such as CD or DVD.
  • quantum memories graphene memories, and the like.
  • FIG. 10 is a data processing method implementation of page access according to the present specification.
  • the specific ones may include:
  • S90 Receive an access request of the target page, determine whether the access request accesses a pre-trigger product service, and the pre-trigger product service includes a product service that is determined based on predicting a predicted operation behavior of the user on the terminal;
  • the above-mentioned electronic device may further include other embodiments according to the description of the method or the device or the embodiment of the electronic device.
  • reference may be made to the description of the method embodiment, which is not described herein.
  • the data processing method, device and electronic device for page access provided by the embodiments of the present invention can collect user behavior data and predict user behavior trends, and load corresponding document resources from the server according to the prediction result of the user behavior to construct a page document. And cached in the memory of the user terminal. In this way, when the user clicks or enters the page, the page resource can be read from the local memory and displayed, which can effectively solve the network request time of the user terminal to the server page resource when the user initiates the page access, so that the user can enter the correspondingly very quickly.
  • the product page greatly enhances the user terminal application experience.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a car-mounted human-machine interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet.
  • the above devices are described as being separately divided into various modules by function.
  • the functions of the modules may be implemented in the same software or software, or the modules that implement the same function may be implemented by multiple sub-modules or a combination of sub-units.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present specification can be provided as a method, system, or computer program product.
  • embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware.
  • embodiments of the present specification can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • Embodiments of the present description can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • Embodiments of the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

一种页面访问的数据处理方法、装置及电子设备。所述方法包括:采集用户行为数据并进行用户行为趋势的预测,根据用户行为的预测结果预先从服务器加载对应文档资源,构建页面文档,并缓存到用户本地终端中(如缓存到内存)存储。这样,当用户点击或进入页面时,可以从本地终端中快速读取页面资源并展示,使得用户快速的进入对应的产品页面。

Description

页面访问的数据处理方法、装置及电子设备 技术领域
本说明书实施例方案属于计算机数据处理技术领域,尤其涉及一种页面访问的数据处理方法、装置及电子设备。
背景技术
随着移动互联网技术的发展,移动互联网业务需求也在高速增长。移动终端APP(application,应用)快速的打开页面、响应用户操作,是目前各APP应用开发方和运营方提升用户应用使用体验的重要研究方向。
当用户点击进入应用页面时,通常需要根据用户的操作从服务器下载资源,然后跳转到目标页面,展示新打开的页面的内容信息。由于用户移动、跨境访问等,客户端与服务器进行数据传输的网络情况存在一些不稳定、参差不齐的现象,常常会导致应用页面打开速度慢,甚至打不卡页面的现象。目前现有方案中已有的提速应用打开页面的方式主要为网络应用层面的优化,例如优化DNS(提前解析)、静态资源预热等。目前已经出现了各种基于网络应用层的优化方案,这种方式也逐渐进入瓶颈期,进一步的提升页面访问速度的难度越来越大。因此,业内需要一种可以更加有效提升页面访问速度的实现方案。
发明内容
本说明书实施例目的在于提供一种页面访问的数据处理方法、装置及电子设备,可以预测用户行为并下载相应的资源到内存,使得用户访问页面时可以由内存读取展示页面资源,极大的提升了页面访问速度,提高了用户体验。
本说明书实施例提供的一种页面访问的数据处理方法、装置及电子设备是包括以下方式实现的:
一种页面访问的数据处理方法,所述方法包括:
监测并获取用户终端操作的行为数据;
根据所述行为数据预测用户的预期操作行为;
确定与所述预期操作行为对应的预触发产品业务;
从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
一种页面访问的数据处理装置,所述装置包括:
页面访问模块,用于接收目标页面的访问请求,判断所述访问请求是否访问预测用户行为所对应的产品业务;
内容缓存模块,用于在所述访问请求访问预测用户行为所对应的产品业务时,获取预先缓存在内存中所述产品业务的页面文档,所述页面文档包括基于预测用户在终端上的操作行为预先从服务器加载相应的产品资源并构建出的页面文档;
资源替换模块,用于将所述页面文档替换为所述目标页面的展示文档;
内容展示模块,用于基于所述展示文档展示所述目标页面的信息内容。
一种页面访问的数据处理装置,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
监测并获取用户终端操作的行为数据;
根据所述行为数据预测用户的预期操作行为;
确定与所述预期操作行为对应的预触发产品业务;
从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
一种电子设备,包括至少一个处理器和存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
监测并获取用户终端操作的行为数据;
根据所述行为数据预测用户的预期操作行为;
确定与所述预期操作行为对应的预触发产品业务;
从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
一种页面访问的数据处理方法,所述方法包括:
接收目标页面的访问请求,判断所述访问请求是否访问预触发产品业务,所述预触发产品业务包括基于预测用户在终端上的预测操作行为而确定的产品业务;
若是,则获取预先缓存在内存中所述预触发产品业务的页面文档,所述页面文档包括预先从服务器加载与所述预先触发产品对应的资源,资源构建目标页面的页面文档;
将当前页面的页面文档全量替换为所述目标页面的页面文档;
基于替换后的页面文档展示所述目标页面的信息内容。
本说明书实施例提供的一种页面访问的数据处理方法、装置及电子设备,可以采集用户行为数据并进行用户行为趋势的预测,根据用户行为的预测结果预先从服务器加载对应文档资源,构建页面文档,并缓存到用户本地终端中(如缓存到内存)存储。这样,当用户点击或进入页面时,可以从本地终端中快速读取页面资源并展示,可以有效解决用户发起页面访问时用户终端到服务器页面资源的网络请求时间,使得用户可以非常快速的进入对应的产品页面,大大提高了用户终端页面访问体验。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本说明书所述一种页面访问的数据处理方法实施例的流程示意图;
图2是本说明书提供的所述方法一种实施示例中预测用户行为趋势的流程示意图;
图3是本说明书实施方案中预测的用户行为映射到相应产品业务的示意图;
图4是本说明书提供的所述方法一个实施示例中页面预加载的处理流程示意图;
图5是本说明书所述方法中一个用户访问页面的处理流程示意图;
图6是本说明书提供的一种页面访问的数据处理装置实施例的模块结构示意图;
图7是本说明书提供的所述装置中行为预测模块一个实施例的模块结构示意图;
图8是本说明书提供的所述电子设备的一个实施例的结构示意图;
图9是本说明书中一种根据监测数据预测的用户的趋势行为所关联到的产品业务示意图;
图10是本说明书所述一种页面访问的数据处理方法实施例的流程示意图。
具体实施方式
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书中的一部分实施例,而不是全部的实施例。基于本说明书中的一个或多个实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书实施例保护的范围。
图1是本说明书提供的所述一种页面访问的数据处理方法实施例的流程示意图。虽然本说明书提供了如下述实施例或附图所示的方法操作步骤或装置结构,但基于常规或者无需创造性的劳动在所述方法或装置中可以包括更多或者部分合并后更少的操作步骤或模块单元。在逻辑性上不存在必要因果关系的步骤或结构中,这些步骤的执行顺序或装置的模块结构不限于本说明书实施例或附图所示的执行顺序或模块结构。所述的方法或模块结构的在实际中的装置、服务器或终端产品应用时,可以按照实施例或者附图所示的方法或模块结构进行顺序执行或者并行执行(例如并行处理器或者多线程处理的环境、甚至包括分布式处理、服务器集群的实施环境)。
目前业务已有的提高访问页面速度的优化方案多数为网络应用层面的优化。本说明书提供的实施方案中可以从用户访问的业务产品出发,尤其是对业务逻辑的表达链路层面进行访问页面的提速。例如可以通过感应装置获取用户持有终端设备的姿势、角度,以及用户当前手指的位置和手势方向等,结合提供的产品业务,预测用户接下来可能执行的操作。然后可以将与预测的用户行为相关联的产品业务的资源信息预先从服务器下载到终端设备中,构建出产品对应的页面文档,并缓存在本地终端设备的存储器中,如 内存。这样,当用户实际发生预测的用户的行为操作时,终端设备可以从内存中加载获取页面以及其他资源数据。由于是终端本地内存数据的读取,相比于正常从服务器请求资源并进行网络传输、渲染等处理过程,可以使得用户在极短的时间内看到对应的产品页面,大大提高了用户的页面访问体验。
下面以一个具体的应用场景为例对本说明书实施方案进行说明。本应用场景中的本地缓存为内存,其他的实施场景中,所述的本地存储还可以包括网络中的存储,也可以为从本地闪存或者是移动设备的内存常驻等。下述实施例的描述并不对基于本说明的其他可扩展到的技术方案构成限制。具体的一种实施例如图1所示,本说明书提供的一种页面访问的数据处理方法的一种实施例中,所述方法可以包括:
S2:监测并获取用户终端操作的行为数据;
S4:根据所述行为数据预测用户的预期操作行为;
S6:确定与所述预期操作行为对应的预触发产品业务;
S8:从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
S10:基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
本说明书实施例方案可以用于移动终端、智能手机、车载设备、智能穿戴设备、个人电脑、手持设备、微型或大型服务器等多种类型的终端设备中。这些终端设备中可以包括一个或多个用户使用的应用,例如购物应用、浏览器、支付应用等。本实施例中可以监听并获取用户在终端设备上的操作信息、终端的状态信息等,然后可以结合这些数据设计预测终端用户行为的算法,用于预测用户接下来可能进行的操作。例如检测到用户在终端上使用搜索功能搜索了一部最近热播的电影名称,则可以预测用户可能点击“购票”产品业务并进入相应的购票页面进行购票,或者点击“影评”产品业务进行观影评论页面来查看电影口碑情况。
本实施例中可以基于用户当前的操作行为等多种监测获取的信息来预测用户的行为,然后提前从服务器下载相应的产品资源,构建出预测的用户行为对应的产品的页面文档。具体的一个实施方式中,所述监测用户终端操作包括利用终端的传感器设备监测终端空间状态、在终端上产生的操控行为。所述的传感器设备可以包括但不限于陀螺仪、 水平仪、指南针(指北针)、显示屏、距离感应器、温度感应器、湿度感应器等。可以监测其中的一种或多种数据信息,由此来判断终端和用户的状态,并预测用户可能执行的操作。
如上述所述,当用户搜索某个电影名称时,可以得到预测用户行为包括点击“购票”、点击“影评”。终端应用可以从服务器根据“购票”、“影评”产品的资源信息从服务器加载对应的文档资源,然后解析并构建出“购票”、“影评”产品业务对应的页面文档。这些产品业务的页面文档可以存储在终端的内存之中。这样,当用户在终端上真的点击“购票”或“影评”产品业务时,终端应用可以得知用户点击的产品业务为之前预测的用户行为所对应的产品业务,其页面文档已经预先缓存在终端的内存之中。此时,终端应用可以从本地内存中获取“购票”或“影评”的页面文档,然后将这些页面文档替换掉当前页面的文档。终端应用可以基于替换后的文档展示“购票”或“影评”的页面文档。用户也可以快速查看到页面信息内容,提升用户体验。
本说明书的一个实施例提供一种预测用户行为并下载产品业务的页面资源的处理方案。具体的,本说明书所述方法的另一个实施例中,所述根据所述用户行为数据预测用户的预期操作行为包括:
S40:根据所述行为数据确定当前操作的趋势行为,所述行为数据包括传感器检测到的终端的空间位置、终端倾斜角度、触摸屏上的触摸位置、在触摸屏上的滑动轨迹中的至少一项数据信息;
S42:结合提供的产品业务数据,计算所述趋势行为所关联到的产品业务,以触发所述关联到的产品业务作为预测的预期操作行为;
相应的,选取至少一个所述关联到的产品业务作为与所述预期操作行为对应的预触发产品业务。
与终端相关的数据信息可以包括表示用户所使用的终端设备的在物理空间的形态的信息,例如显示屏朝向信息、横屏还是竖屏、终端倾斜角度等。与用户相关的触摸信息可以包括表示用户在终端设备上接触的位置信息、滑动的方向、单指还是双指或其他多指触摸、感应或检测到的手势的方位等用户触摸操作的信息。
例如一个示例中,可以包括通过陀螺仪得到的用户持有终端设备的姿势和角度信息;
本说明书实施例中可以根据陀螺仪、触摸信息等结合服务器一侧的业务数据计算出用户接下来可能进行的行为。服务器一侧可以为大数据存储,可以包括终端应用全部或 多个产品的业务数据。在一个示例中,不同的应用场景下,可以根据预测的用户行为映射到不同的产品业务中,建立起用户行为和产品业务的对应关系。例如,当前页面为某应用的主页,该主页面中可以包括多个产品业务。当检测到用户手持终端设备水平向右倾斜并且用户手指向屏幕右上方移动时,则可以预测用户可能要点击当前页面右上角处的产品业务A。则此时可以建立在当前页面中用户的上述行为与产品业务A的对应关系。若当前页面为所述产品业务A的页面,同样预测到用户手持终端设备水平向右倾斜并且用户手指向屏幕右上方移动时的行为操作时,则可以预测用户可能要点击产品页面A右上角处的“查看活动详情”的产品业务A1。
一个如上述所述的示例中,根据用户的触摸、陀螺仪等传感设备确定的趋势行为可以包括“用户可能要点击当前页面右上角处”,根据当前页面中根据产品业务的分布或配置信息,可以确定该趋势行为在“手持终端设备水平向右倾斜并且用户手指向屏幕右上方移动”以及“用户可能要点击当前页面右上角处”的趋势行为中,所关联到的产品业务可以包括一个或多个其趋势行为在触摸屏上滑动轨迹所涉及到的产品业务,或者一个或多个其趋势行为的滑动轨迹预定范围内的产品业务,如图9所示,图9是根据监测数据预测的用户的趋势行为所关联到的产品业务示意图,坐标为(x,y,z)的空间坐标。在图9所示的应用场景中,根据用户当前手势、向右上角的滑动轨迹L1以及终端设备向右倾斜的传感器数据,可以预定用户当前操作的趋势行为用户接下来可能会继续向右上角继续移动手指,可能要触发产品业务A。在该趋势行为中产生的轨迹为L2。然后根据预测的用户的趋势行为得到相关联到的产品业务。图9的示例场景中,所关联到的产品业务可以包括产品业务A,其他的实施方式中,也可以包括多个产品业务,如除产品业务A之外,还可以包括预测的轨迹L2所经过的产品业务B,或者还可以包括L2周边一定范围内的产品业务C。然后可以选取所关联到的一个或多个产品业务作为预触发产品业务,例如选择产品业务A和B作为预触发产品业务。这样,该终端设备接下来可以从资源服务器先行下载产品业务A和B所对应的页面的相关资源,构建相应的页面文档进行本地存储。当用户真正的触发产品业务A或B时,终端设备可以从本地存储如内存中直接快速读取和展示产品业务A或B的页面内容,实现在用户真正触发产品页面打开相应页面之前预加载相应的页面资源,节约了在用户触发时才请求资源的网络请求时间,从而使得用户可以瞬间看到对应的产品页面,大大提高了用户体验。
另一种实施例中,服务器预测还可以预先根据产品业务的流量数据,例如播放流量或搜索后点击的流量等数据信息,对不同的产品业务分配不同的权重值。所述的流量数据可以包括产品的点击流量或其他历史数据等,可以用于基于流量数据确定产品业务的 权重值。具体的,本说明书所述方法的另一个实施例中,
S60:在确定预触发产品业务时,选取权重值达到预设阈值的产品业务作为预触发产品业务,所述权重值包括根据所述产品业务数据的访问流量数据为产品业务分配的权重值。
具体的在服务器一侧,页面某热区的访问量可以作为衡量权重的一个参数。具体实现方式中个,若预测的趋势行为和产品业务的对应关系中,若所述单个趋势行为对应至少两个产品业务时,则选择权重值符合筛选要求的产品业务作为预触发产品业务。例如上述示例中,趋势行为关联的产品业务A、B、C中,服务器大数据分析统计可以得知,在当前页面中,产品业务A的访问流量最高,达到38%(也可以是点击次数的表述方式),产品业务B和C分别为12%和2%。服务器可以预先根据范围流量数据设置当前页面中产品业务A、B、C的权重值。一个实施方式中,该权重值可以仅在当前页面中有效,例如当在同样包括产品业务A的其他页面场景中,产品业务A的权重值可以发生变化。例如一个子页面中出现另一个访问量高于产品业务A的产品业务D,则在该子页面中,虽然产品业务A的点击总数与在主页面中一样都是200万,但在子页面中产品业务D的点击总数为250万,则产品业务在主页面中权重值最高,在子页面中则权重值小于产品业务D。可以将访问流量数据转化为对应的权重值,分配给相应的产品业务,如产品业务A、B、C的权重值可以分别为3.8、1.2、0.2。在选取预触发产品时,可以选择权重值大于预设阈值的产品业务作为预触发产品业务,如选取权重值大于1的产品业务,则可以将产品业务A和B作为预触发产品业务。
上述所述的预设阈值可以根据实际应用场景和筛选需求等进行设置。上述示例中,当产品业务A和B的权重值大于预设阈值时,可以同时将产品业务A和B作为预测用户行为的对应的产品业务,可以从服务器下载产品业务A和B的资源数据到终端,构建A和B的页面文档。
图2是本说明书提供的所述方法一种实施示例中预测用户行为趋势的流程示意图。如图2所示,其中,
1.1陀螺仪,可以利用手机的陀螺仪系统得到用户持有设备的姿势和角度,从而估算出用户当前操作的走向,如点击右上角或中间的某个产品图标,或打开调整其他页面、打开新的应用等。
1.2触摸信息,可以监听用户当前手指的位置和手势的方位,包括单指还是多指操作、 触摸的位置、滑动的方向,甚至通过光感应获得用户手势移动的方位等。
1.3服务器大数据,服务器根据相关业务的流量,对于不同的业务分配不同的权重值。
1.4用户行为趋势,结合客户端中陀螺仪给出的操作走向和用户当前的手势信息,利用基于服务端大数据的不同权重,计算出用户当前的行为趋势矩阵。这些行为趋势矩阵的数据可以通过相关的算法转化为对应的用户行为。
终端设备中可以包括用户行为映射到产品业务的算法,如图3所示,图3是本说明书实施方案中预测的用户行为映射到相应预触发产品业务的示意图。可以根据用户的当前的行为趋势矩阵,映射到不同的预触发产品业务,从而建立起用户行为和产品业务的对应关系。
获取预测用户行为对应的产品业务后,可以从服务器下载文档资源,解析并构建页面文档,然后缓存到内存中。具体的一个实施方式中,所示从资源服务器加载所述预触发产品业务的资源,并构建成页面资源进行本地存储,可以包括:
根据所述预触发产品业务的资源信息从资源服务器获取对应的文档信息;
解析所述文档信息,构建所述预触发产品业务的页面文档;
将页面文档缓存到本地内存中。
图4是本说明书提供的所述方法一个实施示例中页面预加载的处理流程示意图。如图4所示可以包括:
3.1产品元数据,产品的元数据中定义了关于产品的基本信息和相应的资源链接地址。
3.2 XMLHttpRequest,可扩展超文本传输请求,Xml为可扩展标记语言,Http为超文本传输协议,Request请求。XMLHttpRequest对象可以在不向服务器提交整个页面的情况下,实现局部更新网页。在本实施例中,可以根据产品的资源信息,通过XMLHttpRequest接口从服务器端预加载对应的文档资源。
3.3 DOMParser,解析XML文本并返回一个XML Document对象。本实施例中可以利用DOMParser去解析服务器返回的文档信息,构建出该产品对应的HTML(HyperText Markup Language,超文本标记语言)文档。
3.4内容缓存
对应相应的产品业务信息,将构建出的HTML文档缓存到终端内存之中。
在上述通过预测用户行为、确定预测用户行为对应的产品业务、下载产品业务的资源数据并构建页面文档缓存在内存中等的处理后,当用户实际点击进行新的页面时,终端可以从内存读取预先缓存的页面文档,然后全量替换掉当前页面的文档。具体处理的一个实施例中,所述从所述本地存储的页面资源中读取相应的页面资源可以包括:
接收所述目标页面的访问请求之后,利用页面的历史页面访问接口变更当前页面统一资源定位符的地址,并通知页面渲染引擎去访问所述目标页面;
从所述本地存储中读取目标页面的页面文档;
将当前页面的页面文档全量替换为所述目标页面的页面文档。
这样用户可以瞬间在很短的时间内查看到页面内容。一般的,所述的页面的历史页面访问接口History操作浏览器的曾经在标签页或者框架里访问的会话历史记录。可以利用HTML5定义的History API,变更当前的URL地址,并且通知程序去访问该产品。
具体的一个示例如图5所示,可以包括:
4.1用户进入新页面,用户实际点击或进入相应页面,可以不通过浏览器直接跳转URL,而是可以利用HTML5定义的History API,变更当前的URL地址,并且通知程序去访问该产品。
4.2获取内容缓存,根据程序中通知的产品,获得之前预测并缓存在内存中的相应HTML文档。
4.3全量替换,将当前HTML文档全量的替换为上一步缓存之中的文档。
4.4快速体验内容,由于页面和资源可以全部由内存读取并展示,节约了所有资源的网络请求时间,从而使得用户可以瞬间看到对应的产品页面,大大提高了用户体验。
本说明书实施例提供的一种页面访问的数据处理方法,可以采集用户行为数据并进行用户行为趋势的预测,根据用户行为的预测结果预先从服务器加载对应文档资源,构建页面文档,并缓存到用户本地终端中(如缓存到内存)存储。这样,当用户点击或进入页面时,可以从本地终端中快速读取页面资源并展示,可以有效解决用户发起页面访问时用户终端到服务器页面资源的网络请求时间,使得用户可以非常快速的进入对应的产品页面,大大提高了用户终端页面访问体验。
基于上述所述的页面访问的数据处理方法,本说明书实施例还提供一种页面访问的数据处理装置。所述的装置可以包括使用了本说明书实施例所述方法的系统(包括分布式系统)、软件(应用)、模块、组件、服务器、客户端、量子计算机等并结合必要的实施硬件的装置。基于同一创新构思,本说明书提供的一种实施例中的装置如下面的实施例所述。由于装置解决问题的实现方案与方法相似,因此本说明书实施例具体的装置的实施可以参见前述方法的实施,重复之处不再赘述。以下所使用的,术语“单元”或者“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。具体的,图6是本说明书提供的一种页面访问的数据处理装置实施例的模块结构示意图,如图6所示,所述装置可以包括:
预测数据获取模块101,可以用于监测并获取用户终端操作的行为数据;
行为预测模块102,可以用于根据所述行为数据预测用户的预期操作行为;
产品映射模块103,可以用于确定与所述预期操作行为对应的预触发产品业务;
资源预加载模块104,可以用于从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
预期访问处理模块105,可以用于基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
所述装置的另一个实施例中,所述预测数据获取模块监测用户终端操作包括利用终端的传感器设备监测终端空间状态、在终端上产生的操控行为。
图7是本说明书提供的所述装置中行为预测模块102一个实施例的模块结构示意图,如图7所示,所述装置的另一个实施例中,所述行为预测模块包括:
行为趋势预测单元1021,可以用于根据所述行为数据确定当前操作的趋势行为,所述行为数据包括传感器检测到的终端的空间位置、终端倾斜角度、触摸屏上的触摸位置、在触摸屏上的滑动轨迹中的至少一项数据信息;
预期操作预测单元1022,可以用于结合提供的产品业务数据,计算所述趋势行为所关联到的产品业务,以触发所述关联到的产品业务作为预测的预期操作行为;
相应的,所述产品映射模块103选取至少一个所述关联到的产品业务作为与所述预期操作行为对应的预触发产品业务。
所述装置的另一个实施例中,所述产品映射模块103在确定预触发产品业务时,可以选取权重值达到预设阈值的产品业务作为预触发产品业务;所述权重值包括根据所述产品业务数据的访问流量数据为产品业务分配的权重值。
本说明书提供的所述装置的另一个实施例中,所述资源加载模块104可以包括:
信息加载单元,可以用于根据所述预触发产品业务的资源信息从资源服务器获取对应的文档信息;
资源解析单元,可以用于解析所述文档信息,构建所述预触发产品业务的页面文档;
缓存单元,可以用于将页面文档缓存到本地内存中。
本说明书提供的所述装置的另一个实施例中,所述页面访问处理模块105包括:
第一处理单元,可以用于接收所述目标页面的访问请求之后,利用页面的历史页面访问接口变更当前页面统一资源定位符的地址,并通知页面渲染引擎去访问所述目标页面;
本地资源读取单元,可以用于从所述本地存储中读取目标页面的页面文档;
替换单元,可以用于将当前页面的页面文档全量替换为所述目标页面的页面文档。
在上述通过预测用户行为、确定预测用户行为对应的产品业务、下载产品业务的资源数据并构建页面文档缓存在内存中等的处理后,当用户实际点击进行新的页面时,终端可以从内存读取预先缓存的页面文档,然后全量替换掉当前页面的文档。这样用户可以瞬间在很短的时间内查看到页面内容。
本说明书实施例提供的页面访问的数据处理方法可以在计算机中由处理器执行相应的程序指令来实现,如使用windows操作系统的c++语言在PC端实现,或其他例如Linux、android、iOS系统相应应用设计语言的实现等,以及基于量子计算机的处理逻辑实现等。具体的,本说明书提供的一种页面访问的数据处理装置的一种实施例中,所述装置可以包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
监测并获取用户终端操作的行为数据;
根据所述行为数据预测用户的预期操作行为;
确定与所述预期操作行为对应的预触发产品业务;
从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
需要说明的是,本说明书实施例上述所述的装置根据相关方法实施例的描述还可以包括其他的实施方式。本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于硬件+程序类实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
本申请实施例所提供的方法或装置实施例可以在移动终端、计算机终端、服务器或者类似的运算装置中执行,这些运算装置通常包括具有逻辑运算能力的电子设备,可以包括基于存储/读取的数据处理方式以及量子计算机的处理逻辑。以运行在移动终端一侧的电子设备为例,图8是本发明实施例的页面访问的数据处理方法的电子设备的硬件结构框图。如图8所示,电子设备80可以包括一个或多个(图中仅示出一个)处理器802(处理器802可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器804、以及用于通信功能的传输模块806。本领域普通技术人员可以理解,图8所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,其电子设备80还可包括比图8中所示更多或者更少的组件,例如还可以包括其他的处理硬件,例如GPU(Graphics Processing Unit,图形处理单元)等。或者具有与图8所示不同的配置。
存储器804可用于存储应用软件的软件程序以及模块,如本发明实施例中的页面访问的数据处理方法对应的程序指令/模块,处理器802通过运行存储在存储器804内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述页面访问的数据处理方法。存储器804可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器804可进一步包括相对于处理器8102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端80。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输模块806用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端810的通信供应商提供的无线网络。在一个实例中,传输模块806包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输模块806可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
上述所述的装置或方法可以用于各种终端设备中页面访问的电子设备中,可以根据采集获取的数据预测用户行为,然后下载与预测用户行为对应的产品的页面文档数据,并缓存在终端内存中。这样当用户真的执行预测用户行为时,则可以直接从终端内存中读取页面的资源数据,然后快速展示页面内容,可以有效从业务逻辑的表达链路层面解决web资源传输缓慢的问题,尤其是解决跨境、夸网页面访问以及网络基础设施和网络环境残次不齐下的页面访问优化问题。具体的,本说明书实施例提供一种页面访问的电子设备,如图8所示,包括至少一个处理器和存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
监测并获取用户终端操作的行为数据;
根据所述行为数据预测用户的预期操作行为;
确定与所述预期操作行为对应的预触发产品业务;
从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
计算机可读存储介质可以包括用于存储信息的物理装置,通常是将信息数字化后再以利用电、磁或者光学等方式的媒体加以存储。本实施例所述的计算机可读存储介质有可以包括:利用电能方式存储信息的装置如,各式存储器,如RAM、ROM等;利用磁能方式存储信息的装置如,硬盘、软盘、磁带、磁芯存储器、磁泡存储器、U盘;利用光学方式存储信息的装置如,CD或DVD。当然,还有其他方式的可读存储介质,例如量子存储器、石墨烯存储器等等。
基于上述的描述,基于本说明书实施例技术方案的创新思想,还提供另一种页面访问的数据处理方法,如图10所示,图10是本说明书所述一种页面访问的数据处理方法实施例的流程示意图,具体的可以包括:
S90:接收目标页面的访问请求,判断所述访问请求是否访问预触发产品业务,所述预触发产品业务包括基于预测用户在终端上的预测操作行为而确定的产品业务;
S92:若是,则获取预先缓存在内存中所述预触发产品业务的页面文档,所述页面文档包括预先从服务器加载与所述预先触发产品对应的资源,资源构建目标页面的页面文档;
S94:将所述当前页面的页面文档全量替换为所述目标页面的页面文档;
S96:基于替换后的页面文档展示所述目标页面的信息内容。
当然,对于本领域技术人员来说,本说明书实施例可以有各种更改和变化。凡在本说明书实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书实施例的权利要求范围之内。
需要说明的,上述所述的电子设备根据方法或装置或电子设备实施例的描述还可以包括其他的实施方式,具体的实现方式可以参照方法实施例的描述,在此不作一一赘述。
本说明书实施例提供的一种页面访问的数据处理方法、装置及电子设备,可以采集用户行为数据并进行用户行为趋势的预测,根据用户行为的预测结果预先从服务器加载对应文档资源,构建页面文档,并缓存到用户终端的内存中。这样,当用户点击或进入页面时,可以从本地内存中读取页面资源并展示,可以有效解决用户发起页面访问时用户终端到服务器页面资源的网络请求时间,使得用户可以非常快速的进入对应的产品页面,大大提高了用户终端应用使用体验。
尽管本说明书实施例内容中提到通过History API变更URL地址、使用陀螺仪采集终端数据、为产品业务设置权重值的方式建立对应关系、下载产品文字资源构建页面文档、全量替换等之类的数据设置、获取、交互、计算、判断等描述,但是,本说明书实施例并不局限于必须是符合行业通信标准、标准页面数据处理协议、计算机处理和数据库规则或本说明书实施例所描述的情况。某些行业标准或者使用自定义方式或实施例描述的实施基础上略加修改后的实施方案也可以实现上述实施例相同、等同或相近、或变形后可预料的实施效果。应用这些修改或变形后的数据获取、存储、判断、处理方式等获取的实施例,仍然可以属于本说明书的可选实施方案范围之内。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit, ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、车载人机交互设备、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
虽然本说明书实施例提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的手段可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的装置或终端产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境,甚至为分布式数据处理环境)。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、产品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、产品或者设备所固有的要素。在没有更多限制的情况下,并不排除在包括所述要素的过程、方法、产品或者设备中还存在另外的相同或等同要素。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本说明书实施例时可以把各模块的功能在同一个或多个软件和/或硬件中实现,也可以将实现同一功能的模块由多个子模块或子单元的组合实现等。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其 它的形式。
本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内部包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他 数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本说明书实施例的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
以上所述仅为本说明书实施例的实施例而已,并不用于限制本说明书实施例。对于本领域技术人员来说,本说明书实施例可以有各种更改和变化。凡在本说明书实施 例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书实施例的权利要求范围之内。

Claims (15)

  1. 一种页面访问的数据处理方法,所述方法包括:
    监测并获取用户终端操作的行为数据;
    根据所述行为数据预测用户的预期操作行为;
    确定与所述预期操作行为对应的预触发产品业务;
    从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
    基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
  2. 如权利要求1所述的一种页面访问的数据处理方法,其中,所述监测用户终端操作包括利用终端的传感器设备监测终端空间状态、在终端上产生的操控行为。
  3. 如权利要求2所述的一种页面访问的数据处理方法,所述根据所述用户行为数据预测用户的预期操作行为包括:
    根据所述行为数据确定当前操作的趋势行为,所述行为数据包括传感器检测到的终端的空间位置、终端倾斜角度、触摸屏上的触摸位置、在触摸屏上的滑动轨迹中的至少一项数据信息;
    结合提供的产品业务数据,计算所述趋势行为所关联到的产品业务,以触发所述关联到的产品业务作为预测的预期操作行为;
    相应的,选取至少一个所述关联到的产品业务作为与所述预期操作行为对应的预触发产品业务。
  4. 如权利要求3所述的一种页面访问的数据处理方法,其中,在确定预触发产品业务时,选取权重值达到预设阈值的产品业务作为预触发产品业务,所述权重值包括根据所述产品业务数据的访问流量数据为产品业务分配的权重值。
  5. 如权利要求1所述的一种页面访问的数据处理方法,所述从资源服务器加载所述预触发产品业务的资源,并构建成页面资源进行本地存储,包括:
    根据所述预触发产品业务的资源信息从资源服务器获取对应的文档信息;
    解析所述文档信息,构建所述预触发产品业务的页面文档;
    将页面文档缓存到本地内存中。
  6. 如权利要求1所述的一种页面访问的数据处理方法,所述从所述本地存储的页面资源中读取相应的页面资源包括:
    接收所述目标页面的访问请求之后,利用页面的历史页面访问接口变更当前页面统一资源定位符的地址,并通知页面渲染引擎去访问所述目标页面;
    从所述本地存储中读取目标页面的页面文档;
    将当前页面的页面文档全量替换为所述目标页面的页面文档。
  7. 一种页面访问的数据处理装置,所述装置包括:
    预测数据获取模块,用于监测并获取用户终端操作的行为数据;
    行为预测模块,用于根据所述行为数据预测用户的预期操作行为;
    产品映射模块,用于确定与所述预期操作行为对应的预触发产品业务;
    资源预加载模块,用于从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
    预期访问处理模块,用于基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
  8. 如权利要求7所述的一种页面访问的数据处理装置,所述预测数据获取模块监测用户终端操作包括利用终端的传感器设备监测终端空间状态、在终端上产生的操控行为。
  9. 如权利要求8所述的一种页面访问的数据处理装置,所述行为预测模块包括:
    行为趋势预测单元,用于根据所述行为数据确定当前操作的趋势行为,所述行为数据包括传感器检测到的终端的空间位置、终端倾斜角度、触摸屏上的触摸位置、在触摸屏上的滑动轨迹中的至少一项数据信息;
    预期操作预测单元,用于结合提供的产品业务数据,计算所述趋势行为所关联到的产品业务,以触发所述关联到的产品业务作为预测的预期操作行为;
    相应的,所述产品映射模块选取至少一个所述关联到的产品业务作为与所述预期操作行为对应的预触发产品业务。
  10. 如权利要求9所述的一种页面访问的数据处理装置,所述产品映射模块在确定预触发产品业务时,选取权重值达到预设阈值的产品业务作为预触发产品业务;所述权重值包括根据所述产品业务数据的访问流量数据为产品业务分配的权重值。
  11. 如权利要求7所述的一种页面访问的数据处理装置,所述资源加载模块包括:
    信息加载单元,用于根据所述预触发产品业务的资源信息从资源服务器获取对应的文档信息;
    资源解析单元,用于解析所述文档信息,构建所述预触发产品业务的页面文档;
    缓存单元,用于将页面文档缓存到本地内存中。
  12. 如权利要求7所述的一种页面访问的数据处理装置,所述页面访问处理模块包括:
    第一处理单元,用于接收所述目标页面的访问请求之后,利用页面的历史页面访问接口变更当前页面统一资源定位符的地址,并通知页面渲染引擎去访问所述目标页面;
    本地资源读取单元,用于从所述本地存储中读取目标页面的页面文档;
    替换单元,用于将当前页面的页面文档全量替换为所述目标页面的页面文档。
  13. 一种页面访问的数据处理装置,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
    监测并获取用户终端操作的行为数据;
    根据所述行为数据预测用户的预期操作行为;
    确定与所述预期操作行为对应的预触发产品业务;
    从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
    基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
  14. 一种电子设备,包括至少一个处理器和存储处理器可执行指令的存储器,所述处理器执行所述指令时实现:
    监测并获取用户终端操作的行为数据;
    根据所述行为数据预测用户的预期操作行为;
    确定与所述预期操作行为对应的预触发产品业务;
    从资源服务器加载所述预触发产品业务对应的资源,并构建成页面资源进行本地存储;
    基于目标页面的访问请求从所述本地存储中读取相应的页面资源,基于读取的页面资源展示所述目标页面的信息内容,所述目标页面包括触发所述预触发产品业务跳转的页面。
  15. 一种页面访问的数据处理方法,所述方法包括:
    接收目标页面的访问请求,判断所述访问请求是否访问预触发产品业务,所述预触发产品业务包括基于预测用户在终端上的预测操作行为而确定的产品业务;
    若是,则获取预先缓存在内存中所述预触发产品业务的页面文档,所述页面文档包 括预先从服务器加载与所述预先触发产品对应的资源,资源构建目标页面的页面文档;
    将当前页面的页面文档全量替换为所述目标页面的页面文档;
    基于替换后的页面文档展示所述目标页面的信息内容。
PCT/CN2018/102718 2017-10-19 2018-08-28 页面访问的数据处理方法、装置及电子设备 WO2019076140A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710974697.6A CN107943825A (zh) 2017-10-19 2017-10-19 页面访问的数据处理方法、装置及电子设备
CN201710974697.6 2017-10-19

Publications (1)

Publication Number Publication Date
WO2019076140A1 true WO2019076140A1 (zh) 2019-04-25

Family

ID=61936193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102718 WO2019076140A1 (zh) 2017-10-19 2018-08-28 页面访问的数据处理方法、装置及电子设备

Country Status (3)

Country Link
CN (1) CN107943825A (zh)
TW (1) TWI695261B (zh)
WO (1) WO2019076140A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238472A1 (zh) * 2019-05-30 2020-12-03 中兴通讯股份有限公司 机器学习引擎实现方法及装置、终端设备、存储介质
CN112181532A (zh) * 2020-10-15 2021-01-05 Oppo广东移动通信有限公司 页面资源加载方法、装置、电子设备和可读存储介质

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943825A (zh) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 页面访问的数据处理方法、装置及电子设备
CN108989380B (zh) * 2018-05-23 2021-06-04 西安万像电子科技有限公司 图像数据传输方法、装置及系统
CN108763453B (zh) * 2018-05-28 2020-06-16 浙江口碑网络技术有限公司 基于行为预测的页面数据处理方法及装置
CN110825990A (zh) * 2018-07-23 2020-02-21 优视科技有限公司 页面访问方法、客户端、服务器及系统
CN110858238B (zh) * 2018-08-08 2023-08-22 阿里巴巴集团控股有限公司 一种数据处理的方法和装置
CN109544096A (zh) * 2018-10-18 2019-03-29 国网福建省电力有限公司 基于人工智能的低压业扩线上业务办理方法及装置
CN109445818A (zh) * 2018-10-25 2019-03-08 深圳壹账通智能科技有限公司 基于大数据的页面更新方法及装置、电子设备、存储介质
CN109409427A (zh) * 2018-10-25 2019-03-01 珠海市君天电子科技有限公司 一种按键检测方法及装置
CN109614251B (zh) * 2018-12-06 2023-05-26 万兴科技股份有限公司 跨文档粘贴页面的方法、装置、计算机设备以及存储介质
CN109784648A (zh) * 2018-12-14 2019-05-21 北京三快在线科技有限公司 调度资源分配方法、装置、电子设备及可读存储介质
CN109800372B (zh) * 2019-01-03 2020-12-29 北京字节跳动网络技术有限公司 提升第三方网页打开速度的方法、装置及电子设备
CN109857477A (zh) * 2019-01-16 2019-06-07 北京辰森世纪科技股份有限公司 混合应用转场优化方法、装置及设备
CN111913921A (zh) * 2019-05-08 2020-11-10 中国移动通信集团福建有限公司 用户行为分析方法及装置、设备及存储介质
CN111861612B (zh) * 2019-05-19 2024-04-26 北京骑胜科技有限公司 一种资源分配方法、装置、设备及介质
CN110166564B (zh) * 2019-05-28 2023-09-05 北京小米移动软件有限公司 信息通信方法、终端及存储介质
CN110264283B (zh) * 2019-06-27 2021-06-22 珠海天燕科技有限公司 一种推广资源展示方法及装置
CN110633434B (zh) * 2019-07-19 2024-02-27 北京有竹居网络技术有限公司 一种页面缓存方法、装置、电子设备及存储介质
CN110633433B (zh) * 2019-07-19 2024-02-27 北京有竹居网络技术有限公司 一种页面缓存方法、装置、电子设备及存储介质
CN110750746A (zh) * 2019-10-16 2020-02-04 支付宝(杭州)信息技术有限公司 一种数据接收、推送的方法、装置、设备及可读介质
CN110717129A (zh) * 2019-10-24 2020-01-21 北京思维造物信息科技股份有限公司 资源预加载方法、装置、设备和存储介质
CN111078321A (zh) * 2019-12-25 2020-04-28 江苏鑫合易家信息技术有限责任公司 一种根据用户使用习惯动态快速加载模块的方法
CN111209414B (zh) * 2020-01-03 2023-08-11 四川新网银行股份有限公司 基于影像资料调用业务场景实现资料冷热分离存储的方法
CN111681029A (zh) * 2020-04-16 2020-09-18 上海淇玥信息技术有限公司 附加资源发放方法及其装置、电子设备和存储介质
CN111681028A (zh) * 2020-04-16 2020-09-18 上海淇玥信息技术有限公司 资源配置方法及其装置、电子设备和计算机可读存储介质
CN111612986A (zh) * 2020-05-27 2020-09-01 北京学之途网络科技有限公司 监测方法、装置、存储柜及存储介质
CN111881391B (zh) * 2020-06-12 2022-03-22 马上消费金融股份有限公司 静态网络资源预加载的方法、数据模型训练的方法及装置
CN111783018B (zh) * 2020-07-28 2024-07-05 支付宝(杭州)信息技术有限公司 一种页面处理方法、装置及设备
CN112182078B (zh) * 2020-09-17 2023-08-22 建信人寿保险股份有限公司 一种电子产品的发布、使用方法、装置、设备及存储介质
CN112115396B (zh) * 2020-09-21 2024-04-02 北京达佳互联信息技术有限公司 网页页面渲染方法、装置、设备及存储介质
CN112182454A (zh) * 2020-09-30 2021-01-05 北京三快在线科技有限公司 一种网页优化的方法、装置及存储介质、电子设备
CN112199399A (zh) * 2020-10-22 2021-01-08 支付宝(杭州)信息技术有限公司 数据处理方法及装置
CN112383623B (zh) * 2020-11-13 2024-01-23 Oppo广东移动通信有限公司 多媒体文件的处理方法、装置、终端及网络接入点设备
CN113691578A (zh) * 2021-05-31 2021-11-23 珠海大横琴科技发展有限公司 一种数据处理的方法和装置
CN114595393A (zh) * 2022-03-21 2022-06-07 北京有竹居网络技术有限公司 一种数据处理方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284035B2 (en) * 2000-06-12 2007-10-16 Princeton University System for wireless push and pull based services
CN102810101A (zh) * 2011-06-03 2012-12-05 北京搜狗科技发展有限公司 一种网页预读取的方法、装置及一种浏览器
CN104007990A (zh) * 2014-05-30 2014-08-27 北京金山网络科技有限公司 一种网页加载方法及浏览器
CN105893446A (zh) * 2015-02-18 2016-08-24 奥多比公司 用于基于用户行为预测的智能web参考预加载的方法
CN107193819A (zh) * 2016-03-14 2017-09-22 广州市动景计算机科技有限公司 用于网页预读的方法、设备、浏览器及客户端设备
CN107943825A (zh) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 页面访问的数据处理方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9031863B2 (en) * 2010-08-19 2015-05-12 Yahoo! Inc. Contextual advertising with user features
CN102438045B (zh) * 2011-12-07 2015-07-08 深圳市深信服电子科技有限公司 Web页面的预取方法、系统以及访问web页面的方法
US9852375B2 (en) * 2014-12-26 2017-12-26 Intel Corporation Techniques for mobile prediction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284035B2 (en) * 2000-06-12 2007-10-16 Princeton University System for wireless push and pull based services
CN102810101A (zh) * 2011-06-03 2012-12-05 北京搜狗科技发展有限公司 一种网页预读取的方法、装置及一种浏览器
CN104007990A (zh) * 2014-05-30 2014-08-27 北京金山网络科技有限公司 一种网页加载方法及浏览器
CN105893446A (zh) * 2015-02-18 2016-08-24 奥多比公司 用于基于用户行为预测的智能web参考预加载的方法
CN107193819A (zh) * 2016-03-14 2017-09-22 广州市动景计算机科技有限公司 用于网页预读的方法、设备、浏览器及客户端设备
CN107943825A (zh) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 页面访问的数据处理方法、装置及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238472A1 (zh) * 2019-05-30 2020-12-03 中兴通讯股份有限公司 机器学习引擎实现方法及装置、终端设备、存储介质
CN112181532A (zh) * 2020-10-15 2021-01-05 Oppo广东移动通信有限公司 页面资源加载方法、装置、电子设备和可读存储介质
CN112181532B (zh) * 2020-10-15 2023-10-20 Oppo广东移动通信有限公司 页面资源加载方法、装置、电子设备和可读存储介质

Also Published As

Publication number Publication date
TWI695261B (zh) 2020-06-01
CN107943825A (zh) 2018-04-20
TW201917577A (zh) 2019-05-01

Similar Documents

Publication Publication Date Title
TWI695261B (zh) 頁面存取的資料處理方法、裝置及電子設備
US10834225B2 (en) System for prefetching digital tags
US10560344B1 (en) Page prefetching
US9746957B2 (en) Managing sensory information of a user device
US9756140B2 (en) Tracking user behavior relative to a network page
US20150193395A1 (en) Predictive link pre-loading
US9069459B2 (en) Multi-threaded conditional processing of user interactions for gesture processing using rendering thread or gesture processing thread based on threshold latency
US8788927B2 (en) System and method for displaying web page content
CN108241689A (zh) 页面资源获取方法、装置和客户端设备
US20230409398A1 (en) Resource pre-fetch using age threshold
KR20170126499A (ko) 핸드헬드 동작을 위한 디바이스 및 그 방법
US9794369B2 (en) Active web page consolidator
US11288336B2 (en) Systems and methods for providing content items in situations involving suboptimal network conditions
US20170032410A1 (en) Information processing device, information processing method, non-transitory computer readable storage medium, and distribution device
Weber Mobile map browsers: anticipated user interaction for data pre-fetching
Zhang et al. Enhancing dynamic-viewport mobile applications with screen scrolling
Zhang et al. Mobile-Friendly HTTP Middleware with Screen Scrolling
US8965933B2 (en) Multi-tiered caches in data rendering
Hussien et al. Mobile cloud computing architecture on data management for big data storage
JP2016009264A (ja) 情報提供プログラム、情報提供装置、および情報提供方法

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18868948

Country of ref document: EP

Kind code of ref document: A1