Page request method, page access system, electronic equipment and storage medium

文档序号:1963867 发布日期:2021-12-14 浏览:21次 中文

阅读说明:本技术 页面请求方法、页面访问系统、电子设备及存储介质 (Page request method, page access system, electronic equipment and storage medium ) 是由 姜涛 于 2021-09-13 设计创作,主要内容包括:本申请提供一种页面请求方法,包括终端设备将针对目标页面的访问请求发送给服务器,访问请求中包括用户信息和终端设备的屏幕尺寸;服务器基于用户信息和终端设备屏幕尺寸确定访问请求对应的第一部分页面的经渲染后的页面数据,以及第二部分页面的框架数据,第一部分页面的页面数据对应的页面是基于所述屏幕尺寸确定的,并且,第一部分页面的页面数据包括对应的页面中包括的以第一次序排列的多个组件和以第二次序排列的组件的多个下级元素;服务器将第一部分页面的经渲染后的页面数据,以及第二部分页面的框架数据发送至所述终端设备。该方法可以使得用户能够快速的浏览到第一部分页面,并且可快速的找到自己感兴趣的商品,提高了用户体验。(The application provides a page request method, which comprises the steps that terminal equipment sends an access request aiming at a target page to a server, wherein the access request comprises user information and the screen size of the terminal equipment; the server determines rendered page data of a first part of pages corresponding to the access request and frame data of a second part of pages based on the user information and the screen size of the terminal equipment, wherein the pages corresponding to the page data of the first part of pages are determined based on the screen size, and the page data of the first part of pages comprises a plurality of components arranged in a first order and a plurality of lower-level elements of the components arranged in a second order, which are included in the corresponding pages; and the server sends the rendered page data of the first part of pages and the frame data of the second part of pages to the terminal equipment. The method can enable the user to quickly browse the first part of the page, and quickly find out the interested commodities, thereby improving the user experience.)

1. A page request method is applied to a system comprising terminal equipment and a server, and is characterized by comprising the following steps:

the terminal equipment sends an access request aiming at a target page to the server, wherein the access request comprises user information and the screen size of the terminal equipment;

the server determines rendered page data of a first part of pages corresponding to the access request and frame data of a second part of pages based on the user information and the screen size of the terminal equipment in response to the access request, wherein the pages corresponding to the page data of the first part of pages are determined based on the screen size, and the page data of the first part of pages comprises a plurality of components arranged in a first order and a plurality of lower-level elements of the components arranged in a second order, wherein the components are included in the corresponding pages; the first part page and the second part page form the target page; the first order and the second order are determined based at least on the user information;

and the server sends the rendered page data of the first part of pages and the frame data of the second part of pages to the terminal equipment.

2. The method of claim 1,

the first part of pages are first screen pages determined according to the screen size of the terminal equipment, and the first screen pages are pages which are displayed in the screen at the beginning in the target pages.

3. The method according to claim 1, wherein the first partial page is a top N-screen page determined according to the screen size of the terminal device, and the top N-screen page is top N pages of the target page sequentially presented in the screen from top to bottom in the browsing order.

4. The method of claim 1, wherein the frame data of the second portion of pages comprises page configuration data.

5. The method of claim 1, further comprising:

after the rendered page data of the first part of pages are sent to the terminal equipment by the server, the rendered page data of the second part of pages are determined, and the rendered page data of the second part of pages are sent to the terminal equipment by the server.

6. The method of claim 1, wherein the user information comprises at least the user ID.

7. The method of claim 6, wherein the server determines rendered page data of a first portion of the page corresponding to the access request based on the user information and the terminal device screen size in response to the access request, and comprises:

the server determines behavior information of the user according to the user ID in the user information, and determines that the first part of page data comprises information of components arranged in a first order and lower elements of the components arranged in a second order in the corresponding page according to the behavior information of the user.

8. The method of claim 7, wherein the server determines rendered page data of a first portion of the page corresponding to the access request based on the user information and the terminal device screen size in response to the access request, and comprises:

the server determines community behavior information of a neighbor of the user according to the user ID, and determines contents of components and lower elements of a first part of pages corresponding to the access request according to the community behavior information of the neighbor of the user, wherein the neighbor of the user is used for representing the user registered in the same community as the user.

9. The method of claim 5 or 8, wherein the first ordered component is a first ordered category of items, the first ordering comprising:

and determining the commodity categories which are interested by the user according to the behavior information of the user, arranging the commodity categories according to the interested degree from high to low, and arranging the commodity categories and the commodity categories according to the display rule on the screen.

10. The method of claim 9, wherein the second order comprises:

determining the commodities interested by the user in the commodity categories interested by the user according to the behavior information of the user, arranging the commodities according to the interested degree from high to low, and preferentially displaying the interested commodities.

11. The method of claim 10, wherein the corresponding items or categories of items are arranged in the first portion of the page according to the degree of interest in a displayed size; alternatively, the first and second electrodes may be,

and arranging the corresponding commodities or commodity categories in the first part of pages from top to bottom according to the interest degree.

12. The method according to any of claims 7-11, wherein the behavior information comprises: one or more of a community type of user registration, a community type of user browsing, and posting data at the community.

13. A page access system, comprising:

the terminal equipment is used for sending an access request aiming at a target page to the server, and the access request comprises user information and the screen size of the terminal;

a server for determining rendered page data of a first partial page corresponding to the access request and frame data of a second partial page based on the user information and the terminal device screen size in response to the access request, the page corresponding to the page data of the first partial page being determined based on the screen size, and the first partial page data including a plurality of components arranged in a first order and a plurality of lower elements of the components arranged in a second order included in the corresponding page; the first part page and the second part page form the target page; the first order and the second order are determined based at least on the user information;

the server is used for sending the rendered page data of the first part of pages and the frame data of the second part of pages to the terminal equipment.

14. An electronic device, comprising:

a memory for storing instructions for execution by one or more processors of the device, an

A processor for performing the method of any one of claims 1-12.

15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1-12.

16. A computer program product comprising instructions for causing a processor to perform the method of any one of claims 1 to 12 when the computer program product is run on an electronic device.

Technical Field

The present invention relates to the field of page development technologies, and in particular, to a page request method, a page access system, an electronic device, and a storage medium.

Background

The website page request method in the prior art mainly comprises the steps of acquiring data from a back-end interface through a front end, and rendering through the css structure and the style of a front-end page to finally generate a page which can be displayed to a user. Under the scene that the service is simple and the page is not frequently changed, the front-end and back-end interaction mode can be completely supported. However, with the development of services, the requirements of products and operations on pages are more and more, and the requirements of different users on pages are continuously improved, so that the requirements of page development cannot be supported quickly according to the traditional interaction mode, and the requirements of different customers cannot be met.

Disclosure of Invention

In view of this, the present invention provides a page request method, a page access system, an electronic device and a storage medium, so as to improve page display efficiency, meet requirements of different customers, and improve user experience.

Some embodiments of the present application provide a page request method. The present application is described below in terms of several aspects, embodiments and advantages of which are mutually referenced.

In a first aspect, the present invention provides a page request method, applied to a system including a terminal device and a server, the method including: the terminal equipment sends an access request aiming at a target page to a server, wherein the access request comprises user information and the screen size of the terminal; the server determines rendered page data of a first part of pages corresponding to the access request and frame data of a second part of pages based on the user information and the screen size of the terminal device in response to the access request, wherein the pages corresponding to the page data of the first part of pages are determined based on the screen size, and the first part of page data comprises a plurality of components arranged in a first order and a plurality of lower-level elements of the components arranged in a second order, which are included in the corresponding pages; the first part of pages and the second part of pages form target pages; the first order and the second order are determined based at least on user information; and the server sends the rendered page data of the first part of pages and the frame data of the second part of pages to the terminal equipment.

According to the page request method, the page can be rapidly displayed to the user when the user performs the page request operation, the requirements of different users on page design can be met according to the user information and the screen size of the terminal device, and the user experience is improved.

In a possible implementation of the first aspect, the first partial page is a first-screen page determined according to a screen size of the terminal device, and the first-screen page is a page that is initially presented in a screen of the target page. When the requested page needs to slide to complete all display, the server firstly sends the rendered page data of the first screen page to the terminal equipment, the terminal equipment receives the page data of the first screen page and preferentially displays the page, and the page data except the first screen page is subsequently sent to the terminal equipment by the server, so that the display speed of the first screen page can be effectively improved, and the user experience is improved.

In a possible implementation of the first aspect, the first partial page is a top N-screen page determined according to a screen size of the terminal device, and the top N-screen page is top N pages of the target page that are sequentially presented in the screen according to a browsing order from top to bottom. The front N pages of the target page can be rapidly displayed, after the user sees the first page, when the user turns over rapidly, the user can also rapidly see the next page, and the user can more smoothly see the experience.

In a possible implementation of the first aspect, the page request method further includes: after the rendered page data of the first part of pages are sent to the second electronic device by the second electronic device, the rendered page data of the second part of pages are determined, and the rendered page data of the second part of pages are sent to the first electronic device. The display of the first screen page or the first pages can be quickly realized by transmitting the page data of the target page in sequence, and the subsequent pages can be successively finished when the user views the first screen page or the first pages. Therefore, when the number of pages of the target page is large, the user can not experience the reduction of the user experience because the time for waiting for displaying the page is too long after the user inputs the page request operation.

In a possible implementation of the first aspect, the user information comprises at least a user ID.

In one possible implementation of the first aspect, the determining, by the server, in response to the access request, rendered page data of a first partial page corresponding to the access request based on the user information and the terminal device screen size includes: the server determines behavior information of the user according to the user ID in the user information, and determines that the first part of page data comprises information of lower elements of the components arranged in the first order and the components arranged in the second order in the corresponding page according to the behavior information of the user. According to the behavior information of the user, the content displayed on the page is determined, and the experience of the user can be effectively improved.

In one possible implementation of the first aspect, the determining, by the server, in response to the access request, rendered page data of a first partial page corresponding to the access request based on the user information and the terminal device screen size includes: the server determines community behavior information of a user's neighbor according to the user ID, and determines the contents of the components and the subordinate elements of the first part of the page corresponding to the access request according to the community behavior information of the user's neighbor, wherein the user's neighbor is used for representing a user registered in the same community as the user. Determining the display content according to the community behavior of the neighbor can further improve the user experience.

In one possible implementation of the first aspect, the first-order component is a first-order commodity category, and the first-order component includes: and determining the commodity categories which are interested by the user according to the behavior information of the user, arranging the commodity categories from high to low according to the interested degree, and arranging the commodity categories and the commodity categories according to a display rule on a screen.

In a possible implementation of the first aspect, the second order arrangement includes: determining the commodities which are interested by the user in the commodity categories which are interested by the user according to the behavior information of the user, arranging the commodities according to the interested degree from high to low, and preferentially displaying the commodities with high interested degree. The commodity in which the user is interested can be observed conveniently, and the search does not need to spend much time.

In a possible implementation of the first aspect, the corresponding commodities or commodity categories are arranged in the first partial page according to the size of the display according to the degree of interest; or arranging the corresponding commodities or commodity categories in the first part of pages from top to bottom according to the interest degree. The method is convenient for the user to observe interested commodities preferentially, and does not need to spend much time for searching.

In one possible implementation of the first aspect, the behavior information includes: one or more of a community type of user registration, a community type of user browsing, and posting data at the community.

In a second aspect, the present application further provides a page access system, including: the terminal equipment is used for sending an access request aiming at the target page to the server, and the access request comprises user information and the screen size of the terminal; a server for determining rendered page data of a first partial page corresponding to an access request and frame data of a second partial page in response to the access request based on user information and a terminal device screen size, the page corresponding to the page data of the first partial page being determined based on the screen size, and the first partial page data including a plurality of components arranged in a first order and a plurality of lower level elements of the components arranged in a second order included in the corresponding page; the first part of pages and the second part of pages form target pages; the first order and the second order are determined based at least on user information; and the server sends the rendered page data of the first part of pages and the frame data of the second part of pages to the terminal equipment.

According to the page request system provided by the embodiment of the application, the terminal equipment can rapidly display the page to the user when the user performs the page request operation, and the server can sort the page content according to the user information and the screen size of the terminal equipment, so that the requirements of different users on page design are met, and the user experience is improved.

In a possible implementation of the second aspect, the first partial page is a first-screen page determined according to a screen size of the terminal device, and the first-screen page is a page that is initially presented in the screen in the target page. When the requested page needs to slide to complete all display, the server firstly sends the rendered page data of the first screen page to the terminal equipment, the terminal equipment receives the page data of the first screen page and preferentially displays the page, and the page data except the first screen page is subsequently sent to the terminal equipment by the server, so that the display speed of the first screen page can be effectively improved, and the user experience is improved.

In a possible implementation of the second aspect, the first partial page is a top N-screen page determined according to a screen size of the terminal device, and the top N-screen page is top N pages of the target page that are sequentially presented in the screen according to a browsing order from top to bottom. Preferably, N may be 1. And when N is 1, the page is the first screen page. The front N pages of the target page can be rapidly displayed, after the user sees the first page, when the user turns over rapidly, the user can also rapidly see the next page, and the user can more smoothly see the experience.

In a possible implementation of the second aspect, the page request system further includes: the server is used for determining rendered page data of a second part of pages after the rendered page data of the first part of pages are sent to the terminal equipment, and sending the rendered page data of the second part of pages to the terminal equipment. The display of the first screen page or the first pages can be quickly realized by transmitting the page data of the target page in sequence, and the subsequent pages can be successively finished when the user views the first screen page or the first pages. Therefore, when the number of pages of the target page is large, the user can not experience the reduction of the user experience because the time for waiting for displaying the page is too long after the user inputs the page request operation.

In one possible implementation of the second aspect described above, the user information comprises at least a user ID.

In a possible implementation of the second aspect, the server is configured to determine behavior information of the user according to a user ID in the user information, and determine that the first part of page data includes information of lower-level elements of components arranged in a first order and components arranged in a second order included in the corresponding page according to the behavior information of the user. According to the behavior information of the user, the content displayed on the page is determined, and the experience of the user can be effectively improved.

In a possible implementation of the second aspect, the server is configured to determine, according to the user ID, community behavior information of a neighbor of the user, and determine, according to the community behavior information of the neighbor of the user, contents of components and lower elements of the first partial page corresponding to the access request, where the neighbor of the user is used to represent a user registered in the same community as the user. Determining the display content according to the community behavior of the neighbor can further improve the user experience.

In one possible implementation of the second aspect, the first-ordered component is a first-ordered item category, and the first-ordered component includes: and determining the commodity categories which are interested by the user according to the behavior information of the user, arranging the commodity categories from high to low according to the interested degree, and arranging the commodity categories and the commodity categories according to a display rule on a screen.

In one possible implementation of the second aspect, the second order arrangement includes: determining the commodities which are interested by the user in the commodity categories which are interested by the user according to the behavior information of the user, arranging the commodities according to the interested degree from high to low, and preferentially displaying the commodities with high interested degree. The commodity in which the user is interested can be observed conveniently, and the search does not need to spend much time.

In a possible implementation of the second aspect, the corresponding commodities or commodity categories are arranged in the first part of the page according to the size of the display according to the interest degree; or arranging the corresponding commodities or commodity categories in the first part of pages from top to bottom according to the interest degree. The method is convenient for the user to observe interested commodities preferentially, and does not need to spend much time for searching.

In one possible implementation of the second aspect, the behavior information includes: one or more of a community type of user registration, a community type of user browsing, and posting data at the community.

In a third aspect, the present application further provides an electronic device, including:

a memory to store instructions for execution by one or more processors of a device;

a processor configured to execute instructions to cause an electronic device to perform the method of the first aspect.

In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, causes the processor to execute the method of the first aspect.

In a fifth aspect, the present application discloses a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect embodiment described above.

Drawings

FIG. 1a is a diagram illustrating a scenario of a page request according to an embodiment of the present application;

fig. 1b is a flowchart illustrating interaction between a mobile phone and a server according to an embodiment of the present application;

FIG. 2 is a block diagram of a server according to one embodiment of the present application;

FIG. 3a is an interaction flow diagram of a page request method of the system according to an embodiment of the present application;

FIG. 3b is a diagram illustrating a recommendation of goods to a user based on neighbor preferences, according to an embodiment of the present application;

FIG. 3c is a diagram illustrating a recommendation of goods to a user based on neighbor preferences according to another embodiment of the present application;

FIG. 4 is a flowchart illustrating operation of a mobile phone interface according to an embodiment of the present application;

FIG. 5 is a page access system of one embodiment of the present application;

FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;

FIG. 7 is a block diagram of a system on a chip according to some embodiments of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.

To facilitate understanding of the technical solutions of the present application, terms appearing in the present application will be explained first.

The target page refers to a dynamic page provided by a server based on a page access request, and the page is composed of a plurality of pages, and usually requires a user to slide a screen of a terminal device to complete browsing of the whole page.

The first partial page is a part of the target page, and refers to a page that can be browsed first and lower elements under links of the pages after the user inputs an access request. For example, the top screen page and the lower elements linked below the top screen page can be used. Or a plurality of pages which are continuously connected with the head screen page and comprise the head screen page and lower elements linked with the pages. In the following embodiments, for convenience of description, the top page and the lower elements linked below the top page are illustrated.

The first screen page is a page displayed by the terminal device first after the terminal device receives an operation input by a user and directed to a target page, and the page is composed of a plurality of components, and each component corresponds to a link of a related product.

The plurality of components arranged in the first order are a plurality of components arranged according to a certain rule, and the plurality of components are arranged according to the rule according to the arrangement rule determined by the user information.

The plurality of lower elements of the second-order arranged components refer to the components in the linked page corresponding to the plurality of components arranged in the first order in the present application. For example, when each of the plurality of components arranged in the first order is a bag or a sports apparel, the corresponding lower-level element is a backpack, a satchel, a backpack, or the like of a certain brand or model in a page linked by the bag or the like, or a different type of bag of a plurality of brands. A certain brand or a specific type of sports apparel linked under the sports apparel category, etc.

The second partial page is a page in the other target page except the first partial page. After the first part of the page is displayed on the terminal equipment of the user, the server renders the components and the lower elements corresponding to the page, and sends the components and the lower elements to the terminal equipment of the user for display. In some embodiments of the present application, the second part of pages may also be continuously divided into a third part of pages, a fourth part of pages, and the like, so as to sequentially send the pages after the path rendering to the terminal device for display.

In order to facilitate understanding of the advantages of the present solution and the prior art solutions, the prior art solutions are first described below.

In the prior art, when a user opens an application on a client, the client initiates a page request to a server, the server assembles frame data and components in the frame forming the page according to the page request, sends the complete page data to the client, and the client renders the page data through a browser and then presents the page data to the client. In this request mode, when there are many contents constituting a complete page, for example, when a page corresponding to a request appears, the user needs to slide the screen many times, and page turning is performed to complete the viewing of the whole page. At this time, the time for assembling the complete page data by the server is increased, and therefore, the time for displaying the page to the user is increased, so that the user can easily feel the phenomenon of slow network speed or blocking, and the experience is reduced.

In other embodiments, in order to shorten the time from the time the user operates the application (the client sends the access request) to the time the top page is displayed, the server sends the page data to the client in batches until the entire content of the page is completed. For example, the server may send a part of the page data to the client for display, and then send the remaining page data to the client in sequence for display in the process that the user browses a part of the page, so that the time from the operation to the browsing of the first screen page by the user may be reduced. However, when the content in the top page is not the user's desired content, the user may slide the page quickly, still causing the display of the following page to be stuck. In addition, when the user clicks the viewed home screen page and requests the clicked content link, the server opens the link according to the request of the user and obtains the page under the link, and the phenomenon of blocking still occurs.

Based on the above found problems, the present application discloses a page request method, when a terminal device sends a page access request, a server sends page data to the terminal device in batches based on the access request, and the page data not only contains page content that a user is interested in, but also includes page data under a link corresponding to the page content that the user is interested in. Therefore, the time from the operation of inputting the access request to the browsing to the first screen page by the user can be reduced, and the content of the first screen page is the content which is interested by the user as much as possible. When the user clicks the interested content, the page content (lower element of the component) under the corresponding link can be quickly obtained, so that the user experience is improved.

The following outlines the page request of the present application in conjunction with a scene diagram of the page request.

Referring to FIG. 1a, FIG. 1a shows a scenario diagram of a page request. As shown in fig. 1, the scene diagram includes a front-end server 110 and a handset 120 (terminal device). When the user wants to open the shopping APP on the cell phone, for example, the user clicks the APP application to open the APP and browse the items in the page from the cell phone 120 interface.

The process of implementing page access is described with reference to the interaction flowchart of the mobile phone and the server shown in fig. 1 b. When the mobile phone receives a click operation of the user for the APP application, the mobile phone 120 generates an access request of a target page from the operation corresponding to the user, where the access request includes the user information, for example, a small red book account number registered by the user, and a screen size of the mobile phone. Handset 120 sends an access request for the target page to server 110. The server 110 receives the access request, analyzes the user's small redbook account number and the screen size of the mobile phone 120 from the access request, and determines rendered page data of a first part of pages and frame data of a second part of pages corresponding to the access request based on the small redbook account number and the screen size of the mobile phone 120. The page data of the first partial page may include a plurality of components (which constitute the commodity pattern of the first partial page) arranged in a first order and a plurality of lower elements (which correspond to the components of the link page in the commodity in the first partial page) of the first partial page or consecutive pages including the first partial page. The first partial page and the second partial page constitute a target page. The first order and the second order are determined based at least on the user's small redbook account, such as determining the user's items of interest based on the user's small redbook account, and presenting the corresponding components of the items in the first portion of pages. The number of components in these pages, as well as the size, is determined by the server 110 based on the screen size of the handset 120. The server 110 sends the rendered page data of the first part of pages and the frame data of the second part of pages to the mobile phone 120, and the mobile phone 120 obtains the page data and displays the page data to the user through an interface. The page data of the second part of pages can be sent to the mobile phone 110 when the user browses the first part of pages, so that the phenomenon that the user is stuck because the time from the operation of opening the application to browsing the corresponding page is long when the complete page data of the target page is too much can be avoided. In addition, the user can browse the commodities which are possibly interested and the next level page information of the corresponding commodities as soon as possible, and the user experience is improved.

The page access method according to the embodiment of the present application is described below with reference to a specific structure of a server.

Fig. 2 shows a block diagram of a server of an embodiment of the application. As shown in fig. 2, server 200 may include one or more processors 201 coupled to a controller hub 203. For at least one embodiment, controller hub 203 communicates with processor 201 via a multi-drop Bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or similar connection 206. The processor 201 executes instructions that control general types of data processing operations. In one embodiment, Controller Hub 203 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an Input/Output Hub (IOH) (which may be on separate chips) (not shown), where the GMCH includes a Memory and a Graphics Controller and is coupled to the IOH.

The server 200 may also include a coprocessor 202 and memory 1204 coupled to the controller hub 203. Alternatively, one or both of the memory and GMCH may be integrated within the processor (as described herein), with the memory 204 and coprocessor 202 coupled directly to the processor 201 and controller hub 203, with the controller hub 203 and IOH in a single chip. The Memory 204 may be, for example, a Dynamic Random Access Memory (DRAM), a Phase Change Memory (PCM), or a combination of the two. In one embodiment, coprocessor 202 is a special-Purpose processor, such as, for example, a high-throughput MIC processor (MIC), a network or communication processor, compression engine, graphics processor, General Purpose Graphics Processor (GPGPU), embedded processor, or the like. The optional nature of coprocessor 202 is represented in FIG. 2 by dashed lines.

Memory 204, as a computer-readable storage medium, may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. For example, the memory 204 may include any suitable non-volatile memory, such as flash memory, and/or any suitable non-volatile storage device, such as one or more Hard-Disk drives (Hard-Disk drives, hdd (s)), one or more Compact Discs (CD) drives, and/or one or more Digital Versatile Discs (DVD) drives.

In one embodiment, server 200 may further include a Network Interface Controller (NIC) 206. Network interface 206 may include a transceiver to provide a radio interface for device 200 to communicate with any other suitable device (e.g., front end module, antenna, etc.). For example, a communication connection may be made with a cell phone as shown in fig. 1. In various embodiments, the network interface 206 may be integrated with other components of the device 200. The network interface 206 may implement the functions of the communication unit in the above-described embodiments.

It is noted that fig. 2 is merely exemplary. That is, although fig. 2 shows that the server 200 includes a plurality of devices, such as the processor 201, the controller hub 203, the memory 204, etc., in practical applications, the device using the methods of the present application may include only a part of the devices of the server 200, for example, may include only the processor 201 and the NIC 206. The nature of the optional device in fig. 2 is shown in dashed lines.

According to some embodiments of the application, the memory 204 as a computer-readable storage medium has stored thereon instructions that, when executed on a computer, cause the system 200 to perform the page request method according to the above-described embodiments, i.e., receiving an access request through the network interface 206, the processor 201 parsing out user information and a screen size of a device in communication therewith from the access request, and determining rendered page data of a first partial page corresponding to the access request and frame data of a second partial page based on the user information and the screen size. The page data of the first partial page may include a plurality of components arranged in a first order and a plurality of lower elements of the components arranged in a second order in the top screen page or consecutive pages including the top screen page. The first partial page and the second partial page constitute a target page. The first order and the second order are determined based at least on the user information, such as the items of interest of the user according to the user's small red book account, and the components corresponding to the items are displayed in the first partial page. The number of components in these pages, as well as the size, is determined by the server 200 according to the screen size of the device. The server 200 sends the rendered page data of the first part of pages and the frame data of the second part of pages to the access requesting device, such as the mobile phone in 1, so that the mobile phone can quickly display the page data of the first part of pages, and the page content which the user is interested in can be preferentially displayed in combination with the user information, thereby improving the user experience.

The following describes a process of a page request method according to an embodiment of the present application in detail with reference to the accompanying drawings.

Fig. 3 shows an interaction flowchart of a page request method of the system according to the embodiment of the present application, and as shown in fig. 3, the system includes a background server, a front-end server, and a user handset. Before a user accesses a page by a mobile phone, a front-end server and a back-end server (such as a small red book operation platform) are communicated, and all data of an activity page set by a merchant according to the needs of the merchant are obtained, wherein the data comprise commodity types, specific products under the types and the like. All data of the active pages are stored in the front-end server, so that when a user sends a page request through the mobile phone, the page request is provided for the mobile phone to be displayed, and the mobile phone user can browse the page request. The interaction process between the background server and the front-end server before the page access is described in detail below with reference to S311-S315, and the interaction process between the front-end server and the handset when the page access is started with reference to S316-S325.

S311, the front-end server sends a target page whole design request to the back-end server. For example, the target page may be an activity page desired by the merchant. The front-end server needs to send a design request to the back-end server to obtain an active page template that can be designed.

And S312, the back-end server sends the corresponding target page template to the front-end server. In an embodiment of the present application, the backend server may also actively send the active page template to the front-end server, for example, after a developer designs a corresponding template, the developer may directly push the active page template to the front-end server through the backend server, so that the front-end server may obtain the active page template through the front-end server at any time when receiving the active page template from the merchant store for editing.

And S313, adding the component data according to the template by the front-end server. The front-end server can add the content input by the user, such as pictures of the commodities, commodity links and other information, into the corresponding template to form component data.

And S314, the front-end server sends the template containing the component data to the back-end server.

S315, configuring all data of the target page to obtain a complete target page, wherein the page is designed by a merchant and comprises content information of various products in commodity categories, commodity details, commodity information under corresponding links and the like. When the user requests the page through the mobile phone, the commodity information provided by the merchant can be seen.

The process of the user requesting to browse the target page, which is described below in conjunction with S316-S325, may be an active page of the top page on the shopping APP, and the active page may include categories of goods, such as computers, bags, fruits, books, food and beverage, etc., and some specific goods, such as a certain brand of shoes, a certain brand of bags, etc.

S316, the mobile phone receives a first operation input by the user.

In some embodiments of the present application, the first operation may be a single-click operation, a double-click operation, or a drag, a slide, or the like of the user for the shopping APP, and a specific manner of this operation is not limited.

And S317, the mobile phone generates a page access request. After the mobile phone receives a first operation input by a user, the mobile phone obtains data such as a screen size and user information of the mobile phone, where the user information may include user account information, such as a small red book account. Or information such as a mobile phone login account. In some embodiments, it may also be image information of the user, or information about user characteristics input by the user, or the like. The handset can generate a page access request based on the information so that the front-end server can provide personalized pages to the user based on the information.

S318, the mobile phone sends the page access request to the front-end server to obtain the personalized page.

And S319, the front-end server receives the page access request, and determines the components of the first screen page, the lower elements linked with the components of the first screen page and the frame data except the first screen based on the page access request.

The present application refers to a page that is displayed by the terminal device first after the mobile phone receives a first operation, which is input by the user, on the target page. The top page is described herein as a specific embodiment and is not limited to only the top page. For example, the first screen page and a plurality of pages consecutively connected to the first screen page may be included, which is not limited herein.

In an embodiment of the present application, the components of the home screen page and the lower elements linked to the components of the home screen page may be determined by the screen size of the mobile phone in the page request. For example, the number of components of the first screen page is planned according to the screen size of the mobile phone in the page access request, and the proportional size of the mobile phone screen size and the component frame is also planned. For example, the size of the display frame or display bar of the box class in the top screen page, or the size of the picture, etc. is determined. Therefore, components with different numbers and proportional relationships can be determined according to the screen sizes of different mobile phones so as to adapt to different mobile phone screens.

The frame data except for the first screen in the application means that only frames are provided in other pages except for the first screen page, and specific components do not need to be determined.

And S320, rendering the page data of the first screen page by the front-end server. For example, data is configured for the component, including component styles, procedures, and content, etc.

S321, the front-end server sorts the components and lower elements in the first screen page according to the user information.

According to an embodiment of the application, the user information can be a small redbook account, the front-end server determines user behavior information such as commodities purchased by the user once, collected commodities or browsed commodity information according to the small redbook account, counts the behavior information, estimates commodity categories or commodities interested by the user according to data such as times of purchasing, collecting or browsing of the user, and sorts the commodity categories or commodities according to the favorite degree.

For example, the front-end server arranges the components in the first-screen page according to the user information. For example, the front-end server determines that the user behavior information is that bags are purchased more times and sports apparel is purchased less times based on the user's small red book account, and then determines that the favorite commodity category is a bag category and the favorite sports apparel category, arranges the bag categories from high to low according to the favorite degree of the user to the commodity category, arranges the bag categories at the most obvious position of the first screen page and the position (first order) of the sports apparel category, or arranges the bag categories in sequence from top to bottom and from left to right, and the like. The display frame of the case and bag type can occupy the largest area of the screen size according to the size proportion of the corresponding components occupying the screen size of the mobile phone, and the sports clothes type is inferior.

According to an embodiment of the present application, the front-end server may arrange the lower-level elements of the components in the top-screen page in the same order (the second order) as the first order or in a different order according to the user information. For example, the components of the first screen page may be arranged in sequence from top to bottom according to the preference degrees. The lower elements may be arranged in a size ratio (second order) according to the size of the screen size of the mobile phone occupied by the corresponding components. For another example, the first order and the second order may be arranged in order of the degrees of preference from top to bottom. The arrangement is illustrative only and is not intended to limit the present application.

In some embodiments, the user information may also be account information of a community, mobile account information, and the like, for example, a community account registered by the user, the front-end server determines which type of community the community belongs to according to the community account registered by the user, and behavior information of the user in the community, and the like. And judging the interested commodity category or commodity based on the community behavior information of the user. For example, a user registers in an electronic product community, the front-end server may preliminarily determine an electronic product that the user may like, and further determine the user's interest level in the electronic product or which specific type of electronic product is interested in through related behavior data of comments, clicks and browses of the user in the community. And the electronic product category is placed on the first screen page, and the lower-level elements of the electronic product category can arrange the specific electronic products of which the users are interested highly. In the application, for the judgment of the interest degree, the scoring rule may be set, for example, if the user reviews the mobile phone a for 3 times, browses the mobile phone a for 2 times, reviews the mobile phone a for 1 time and counts for 5 points, and reviews the mobile phone 1 time and counts for 3 points, the score of the interest degree of the user is 21 points. By analogy, different scores are set for different behaviors of the user, the interest degree is determined after accumulation, and the interest degree is higher when the score is higher. This application combines user information to the design to the page, after user input first operation, what at first sees is the product that oneself is interested, from user's angle, can attract the point that the customer probably is interested, need not spend more time to look for the commodity that oneself wants, labour saving and time saving improves user experience. From the perspective of a platform or a merchant, the system is beneficial to keeping the customer source and improving the heat.

The above description is made for determining the user's preference degree for the commodity category with respect to the user's personal behavior information. In some embodiments of the application, the front-end server may further find a neighbor in the community registered by the user according to the user information, and determine a commodity category or commodity favored by the user according to behavior information of the neighbor. For example, when the interest level of the user is found to be low, or the interest level score indicates that the interest of the user is low. At this time, the neighbors in the community can be determined according to the community account registered by the user, the commodity types or commodities interested by the neighbors are judged according to the behavior information of the neighbors, and the commodity types and commodities interested by the neighbors are used for judging the interest degree of the user. When the commodity type is judged, the user's interest degree in a certain commodity type can be determined by combining the own community behavior and the neighbor community behavior. In some embodiments, a weight value may be set for the user's own behavior and the behavior of the community neighbors to improve the accuracy of the user's interest level.

The following, in conjunction with FIG. 3b and Table 1, determines to recommend items of interest to the neighborhood to the user. As shown in fig. 1, user a is a user in the present application, and user B and user C are neighbors.

TABLE 1

As shown in fig. 3B and table 1, first, neighbors of users are determined, for example, user B and user C are neighbors of user a, but the commodity of interest to user B is item B, which is greatly different from the commodity of interest to user a, and user C has 2 same commodities of interest to user a, then user C is taken as a recommendation neighbor of end user a, and item D purchased by user C is recommended to user a. By judging the similarity of the shopping habits of the parts and using the part as a recommended neighbor, the reliability that the commodity recommended to the user A is the commodity which the user A is interested in can be improved.

As shown in fig. 3c and table 2, the user may also recommend goods according to habits of multiple neighbors with similar habits. User C is the user in the application, and user A and user B are neighbors.

TABLE 2

User/article Article A Article B Article C Article D
User A Recommending
User B
User C

As shown in fig. 3C and table 2, first, the neighbors of the user, for example, user a and user B, who have the same habit as user C, are determined. The same habit is that the user A and the user B are considered to have similar shopping habits with the user C by purchasing the item A through the three or showing the interest in the item A. Further judging that the user A and the user B both have a comparison of the interested article C. The user C may be considered to be interested in the item C with a high probability and the server recommends the item C to the user. According to the method, the commodities are pushed through the shopping habits of the neighbors of the user similar to the shopping habits, and the user experience can be further improved.

And S322, the front-end server sends the rendered page data of the first screen page and the lower element and the frame data of the second part of pages to the mobile phone. According to the embodiment of the application, rendered page data of the first screen and rendered page data of the lower element are sent to the mobile phone, and only frame data are sent for the rest pages. The problem that the time from the first operation to the browsing of the first screen page of the user is influenced by the fact that the time for processing the assembly by the front-end server is long when the number of pages of the target page is too large can be effectively solved. That is to say, the method and the device for browsing the first screen page can enable the user to browse the first screen page quickly after the first operation. In addition, the content of the home screen page is arranged according to the degree of interest of the user, so that the user can be attracted in the first time.

In some embodiments of the present application, when the user browses the data of the first screen page, the front-end server may continue to provide components for pages in the target page other than the first screen page, and may also provide the components and lower-level elements of the components. Therefore, target page data are sent in batches, and compared with the existing method for sending complete target page data, the time from the input of the first operation to the viewing of the first screen page by the user is shortened, and the user experience is improved. In addition, the components and the lower elements in the page other than the first screen may also be arranged according to the user' S interest level, and reference may be made to the description in S321 above. And will not be described in detail herein.

In S324 and S325, when the user clicks the link in the first screen page (second operation), the next-level page content of the first screen page can also be browsed quickly, and the next-level page content is also arranged according to the user interest level, so as to further improve the shopping or browsing experience of the user. In the above embodiments, a mobile phone is used as the electronic device. The page access request method of the present application may also be applied to other electronic devices, for example, the terminal device may be an electronic device having a display screen, such as a tablet computer, a notebook computer, a super mobile personal computer, a Personal Digital Assistant (PDA), a television, and the like. The type of terminal device is not particularly limited in this application.

The page request method according to the embodiment of the present application is described below with reference to an operation interface of a mobile phone.

Referring to fig. 4, fig. 4 shows a flow chart of the operation of the handset interface. When the user wants to purchase goods through the shopping APP, as shown in fig. 4 (a), the user may open the shopping APP by clicking the shopping APP411, and at this time, the mobile phone may execute the actions of fig. S316-S318 shown in fig. 4, and then execute the actions of S319-S322 by the front-end server, and obtain the interface 420 shown in fig. 4 (b), i.e. the above-mentioned first screen page, which includes a plurality of components, each of which corresponds to different content, for example, "campaign page advertisement" in which the user advertises the entire campaign, goods recommended according to the user 'S interest level, for example, "component 1" may be the "bag" category with the highest user' S interest level, "component 2" may be the "sports" category with the second user 'S interest level, and "component 3" may be the "electronic" category with lower user' S interest level compared with the sports category. The user can quickly browse the interested commodity categories. In addition, some components may also be configured as coupons for campaigns and promotions, for example, the promotional component of a coupon "you take for a good roll" and the corresponding components below may be "general coupons", "sports coupons", and "electronic coupons". So that the user can select as desired. . When the user selects the link corresponding to the luggage, the user enters an interface 430 shown in (c) of fig. 4, and specific commodity information under the luggage link is in the interface 430. These merchandise information are arranged according to the arrangement of the brand of interest of the user and the kind of the bag of interest, such as "brand a handbag", "brand a cross bag", "brand B handbag", and "brand C handbag". According to the embodiment of the application, the server sends the target pages to the mobile phone in batches instead of sending the target pages to the mobile phone together after the data of the whole page is prepared, so that the time from the time when the user inputs the first operation to the time when the user browses the page for the first time can be shortened, the user can quickly browse the page, and the commodities or commodity categories which are interested by the user can be seen in the page displayed at first. In addition, after the user clicks the link in the page, the user can immediately browse the specific commodity information under the link without sending a request by the mobile phone to obtain the page content under the link, so that the display speed is higher, and the user experience is smoother. In the prior art, commodities are not ordered according to the interest degree of a user, and after a link of a current page is clicked, a mobile phone needs to send a request to a server to obtain lower-level elements. Therefore, the user can have a blank page after clicking the link, and the user experience is low. In contrast, the method and the device for browsing the commodities enable the user to browse the page quickly, and can browse the interested commodities under the condition that the user does not need to find the commodities. And after the user clicks the page, the user directly browses interested commodity information in the next page, so that the purchasing interest of the user is improved, and the user can be conveniently kept for merchants and platforms.

It should be noted that the above interface information content is only an exemplary description of the technical solution for facilitating understanding of the present application, and is not a limitation of the present application.

According to the page request method, the phenomenon that a user is blocked due to long time from the operation of opening the application to the browsing of the corresponding page when the complete page data of the target page is excessive can be avoided. In addition, the user can browse the commodities which are possibly interested and the next level page information of the corresponding commodities as soon as possible, and the user experience is improved. It is more beneficial for the merchant or platform to retain the customer source, and the micro-platform or merchant increases the popularity.

Referring to fig. 5, the present application further provides a page access system, comprising a terminal device 510 and a server 520, wherein,

the terminal device 510 comprises a memory 511 for storing instructions for execution by one or more processors of the device, and a processor 512 for performing the page access request method performed by the handset as explained in connection with fig. 3 in the above embodiments.

The server 520 comprises a memory 521 for storing instructions to be executed by one or more processors of the device, and a processor 522 for performing the page access request method performed by the front-end server as explained in connection with fig. 3 in the above embodiments.

For the specific working process of the terminal device and the server that have been described in detail in the foregoing embodiment, reference may be made to the page access request method explained in fig. 3 in the foregoing embodiment, which is not described herein again.

With reference to fig. 6, the present application further provides an electronic device comprising:

a memory 610 for storing instructions for execution by one or more processors of the device, an

A processor 620, configured to execute the page access request method explained in the foregoing embodiment with reference to fig. 3.

The present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor executes the page access request method explained in fig. 3 in the above embodiment.

The present application also provides a computer program product comprising instructions which, when run on an electronic device, cause a processor to perform the method of fig. 3 in the above embodiment.

Referring now to fig. 7, shown is a block diagram of a SoC (System on Chip) 1300 in accordance with an embodiment of the present application. In fig. 7, similar components have the same reference numerals. In addition, the dashed box is an optional feature of more advanced socs. In fig. 7, SoC1300 includes: an interconnect unit 1350 coupled to the application processor 1310; a system agent unit 1380; a bus controller unit 1390; an integrated memory controller unit 1340; a set or one or more coprocessors 1320 which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a Static Random Access Memory (SRAM) unit 1330; a Direct Memory Access (DMA) unit 1360. In one embodiment, the coprocessor 1320 includes a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, a high-throughput MIC processor, embedded processor, or the like.

Included in Static Random Access Memory (SRAM) unit 1330 may be one or more computer-readable media for storing data and/or instructions. A computer-readable storage medium may have stored therein instructions, in particular, temporary and permanent copies of the instructions. The instructions may include: when executed by at least one unit in the processor, the Soc1300 is enabled to execute the method for establishing a device communication connection according to the foregoing embodiment, which may specifically refer to the page access request method explained in fig. 5 in the foregoing embodiment, and details are not described herein again.

Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.

Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this Application, a processing system includes any system having a Processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.

The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language.

In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, Compact disk Read Only memories (CD-ROMs), magneto-optical disks, Read Only Memories (ROMs), Random Access Memories (RAMs), Erasable Programmable Read Only Memories (EPROMs), Electrically Erasable Programmable Read Only Memories (EEPROMs), magnetic or optical cards, flash Memory, or a tangible machine-readable Memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustical or other forms of propagated signals. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).

In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.

It should be noted that, in the embodiments of the apparatuses in the present application, each unit/module is a logical unit/module, and physically, one logical unit/module may be one physical unit/module, or may be a part of one physical unit/module, and may also be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logical unit/module itself is not the most important, and the combination of the functions implemented by the logical unit/module is the key to solve the technical problem provided by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules which are not so closely related to solve the technical problems presented in the present application, which does not indicate that no other units/modules exist in the above-mentioned device embodiments.

It is noted that, in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.

While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:卡片式布局的优化方法、装置、存储介质及处理器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!