A web page content display control method, device, equipment and storage medium

By receiving access addresses and target delivery parameters in web file requests, finding and returning corresponding content, the problems of multi-channel web file development complexity and waste of storage space are solved, and the effect of simplifying development and saving storage space is achieved.

CN109522492BActive Publication Date: 2024-11-26BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811192224.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-10-12
Publication Date
2024-11-26
Estimated Expiration
2038-10-12

AI Technical Summary

Technical Problem

In the prior art, in order to adapt to the web page display needs of different channels, multiple web page files need to be developed for each channel, resulting in high implementation complexity and waste of storage space.

Method used

By receiving the access address in the web page file request, obtaining the value of the target delivery parameter, finding and returning the corresponding web page content, realizing the display of web page content from different channels, and avoiding the development of web page files for each channel.

Benefits of technology

It simplifies the development process of web page files, reduces the implementation complexity, saves storage space, and realizes web page content display through different channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109522492B_ABST
    Figure CN109522492B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a web page content display control method, device, equipment and storage medium. The method includes: receiving a web page file request, the web page file request carries the access address of the web page file; searching the above web page file according to the access address; obtaining the value of the target transfer parameter from the above access address, searching for the web page content corresponding to the value of the target transfer parameter; carrying the found web page content in the above web page file and returning it to the web page file requester. The method provided by the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transfer parameter, and does not need to develop a web page file for each channel separately. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels, thereby reducing the implementation complexity brought by the development of multiple web page files and saving storage space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a web page content display control method, device, equipment and storage medium. Background Art

[0002] With the development of Internet technology, various network services have emerged. In order to recommend network services to users, network service providers may display network services to users through multiple channels, that is, provide entrances to web pages of network services in multiple channels.

[0003] In order to improve the recommendation effect, it is necessary to display different web page contents in accordance with the characteristics of different channels. The existing implementation method is to develop different web page files for different channels.

[0004] Taking the web game platform display as an example, assuming that controls for jumping to the web game platform are embedded in an application software and a web page respectively, then web page files for displaying the web game platform need to be developed for the application software and the web page respectively, so as to jump to the web content of the web game platform displayed by the application software and the web page.

[0005] The above implementation method requires the development of multiple web page files, which is relatively complex to implement and wastes storage space. Summary of the invention

[0006] In view of the problem that existing web page files are relatively complex to implement and waste storage space, the present invention proposes a web page content display control method and corresponding devices, servers and computer-readable storage media, which can simplify the development process of web page files and save storage space.

[0007] In a first aspect, an embodiment of the present invention provides a method for controlling display of webpage content, the method comprising:

[0008] Receive a web page file request, the web page file request carrying an access address of the web page file;

[0009] Search the web page file according to the access address;

[0010] Obtaining the value of the target transfer parameter from the access address, and searching for web page content corresponding to the value of the target transfer parameter;

[0011] The found web page content is carried in the above web page file and returned to the web page file requester.

[0012] The method provided in the embodiment of the present invention distinguishes the web page content to be displayed through the value of the target transmission parameter. There is no need to develop a web page file for each channel separately. Instead, the same web page file is provided for different channels, and only different web page contents are provided for different channels. Therefore, the implementation complexity brought by the development of multiple web page files is reduced, and storage space is also saved.

[0013] In combination with the first aspect, in a first implementation manner of the first aspect of an embodiment of the present invention, the target transfer parameter is an SRC parameter.

[0014] In the existing implementation, the value of the SRC parameter will not affect the display of the web page content. In the embodiment of the present invention, by assigning values ​​to the SRC parameters to distinguish different channel sources, the display of different web page contents is achieved, which will not conflict with the existing access address format and function.

[0015] In combination with the first aspect or the first implementation of the first aspect, in a second implementation of the first aspect of the embodiment of the present invention, the web page file is an H5 web page file.

[0016] In combination with the first aspect or the first implementation of the first aspect, in a third implementation of the first aspect of the embodiment of the present invention, the web page file is a web page file that displays a loading page or a floating ball web page file.

[0017] In a second aspect, an embodiment of the present invention provides a web page content display control device, the device comprising:

[0018] A web page file request receiving module, used to receive a web page file request, wherein the web page file request carries an access address of the web page file;

[0019] A web page file search module, used to search for the web page file according to the access address;

[0020] A web page content search module, used to obtain the value of the target transfer parameter from the access address, and search for web page content corresponding to the value of the target transfer parameter;

[0021] The web page file sending module is used to carry the found web page content in the web page file and return it to the web page file requester.

[0022] The device provided by the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a web page file for each channel separately. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. Therefore, the implementation complexity brought by the development of multiple web page files is reduced, and storage space is also saved.

[0023] In combination with the second aspect, in a first implementation manner of the second aspect of an embodiment of the present invention, the target transfer parameter is an SRC parameter.

[0024] In the existing implementation, the value of the SRC parameter will not affect the display of the web page content. In the embodiment of the present invention, by assigning values ​​to the SRC parameters to distinguish different channel sources, the display of different web page contents is achieved, which will not conflict with the existing access address format and function.

[0025] In combination with the second aspect or the first implementation of the second aspect, in a second implementation of the second aspect of the embodiment of the present invention, the web page file is an H5 web page file.

[0026] In combination with the second aspect or the first implementation manner of the second aspect, in a third implementation manner of the second aspect of the embodiment of the present invention, the web page file is a web page file that displays a loading page or a floating ball web page file.

[0027] In a third aspect, an embodiment of the present invention provides a server, which includes a processor and a memory:

[0028] The memory is used to store a program for executing the method in any of the above embodiments;

[0029] The processor is configured to execute the program stored in the memory.

[0030] The server provided by the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a separate web page file for each channel. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. This reduces the implementation complexity brought by the development of multiple web page files and saves storage space.

[0031] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method in any of the above embodiments when executed by a processor.

[0032] The storage medium provided in the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a separate web page file for each channel. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. This reduces the implementation complexity brought by the development of multiple web page files and saves storage space.

[0033] These and other aspects of the present invention will become more apparent from the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 A schematic diagram of the server structure for implementing the webpage content display control method according to an embodiment of the present invention is shown;

[0036] Figure 2 A flow chart of a web page content display control method according to an embodiment of the present invention is shown;

[0037] Figure 3 A block diagram of a web page content display control device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0039] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0041] The method provided in the embodiment of the present invention can be run on a server, such as Figure 1 For the sake of convenience, only the parts related to the embodiment of the present invention are shown. For the specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The server may include an independent server, a distributed server, or a server cluster.

[0042] The cross-program task processing method implemented by the above-mentioned intelligent mobile terminal or server is described in detail below with reference to the accompanying drawings.

[0043] like Figure 2 As shown, an embodiment of the present invention provides a web page content display control method, the method comprising the following steps:

[0044] Step 201: Receive a web page file request, which carries an access address of the web page file.

[0045] In the embodiment of the present invention, the access address of the web page file may be, but is not limited to, a URL (Uniform Resource Locator), and the URL corresponds to the web page file one by one.

[0046] Step 202: search for the web page file according to the access address.

[0047] Step 203: Obtain the value of the target transfer parameter from the access address, and search for web page content corresponding to the value of the target transfer parameter.

[0048] In the embodiment of the present invention, different values ​​of the target transfer parameter correspond to different web page contents.

[0049] Step 204: The found web page content is carried in the above web page file and returned to the web page file requester.

[0050] The method provided by the embodiment of the present invention distinguishes the web page content to be displayed through the value of the target transmission parameter. There is no need to develop a web page file for each channel separately. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. This reduces the implementation complexity brought by the development of multiple web page files and saves storage space.

[0051] In the embodiment of the present invention, the target transfer parameter may be, but is not limited to, an SRC parameter.

[0052] In the existing implementation, the value of the SRC parameter will not affect the display of the web page content. In the embodiment of the present invention, by assigning values ​​to the SRC parameters to distinguish different channel sources, the display of different web page contents is achieved, which will not conflict with the existing access address format and function.

[0053] In addition to the SRC parameter, you can also distinguish different channel sources by assigning values ​​to other target transfer parameters, as long as they do not conflict with existing target transfer parameter functions.

[0054] The method provided in the embodiment of the present invention is applicable to web page content display control of various forms of web page files. In terms of web page file protocol version, it is applicable to web page files of various versions, especially H5 web page files. In terms of the display form and display content of web page files, it can be a web page file that displays a loading page or a floating ball web page file.

[0055] In the method provided in the above-mentioned embodiment of the present invention, the web page file request can be sent by the client. Specifically, the client can generate and send the network file request based on the access address entered by the user in the access address input box, or it can be sent based on the user triggering a specific control in the display window provided by the client. The present invention is not limited to this.

[0056] In the method provided by the above-mentioned embodiment of the present invention, there are multiple ways to implement the above-mentioned search for web page content. For example, in a web page file, the web page content is replaced with a jump function (such as a pointer), and a storage space for storing the web page content is found according to the jump function. The web page content corresponding to the target transfer parameter value is searched in the storage space, and the jump function in the web page file is replaced with the found content.

[0057] The following describes in detail the method provided by the embodiment of the present invention by taking a specific application scenario as an example.

[0058] In this application scenario, the user opens the application software through the client, and the client calls the display window of the application software, and the display window includes a jump entry control, and the jump entry control corresponds to the access address of the web page file of the web game display platform;

[0059] The user clicks to trigger the jump entry control, and after the client detects the trigger event, it generates a web page file request containing the access address and sends the web page file request to the server of the web page file;

[0060] The server receives the network file request, reads the access address therefrom, searches for the corresponding web page file according to the access address, searches for the jump function in the web page file, and accesses the storage address indicated by the jump function, where different web page contents are stored;

[0061] The server reads the SRC value in the access address, searches for the web page content corresponding to the SRC value in the above storage address, replaces the jump function in the web page file with the found web page content, and sends the replaced web page file to the client.

[0062] In the above implementation, the storage address indicated by the jump function may also store pointers to different web page contents, and different web page contents are accessed according to the pointers to find the web page content corresponding to the SRC value.

[0063] like Figure 3 As shown, an embodiment of the present invention provides a web page content display control device, the device comprising:

[0064] The webpage file request receiving module 301 is used to receive a webpage file request, wherein the webpage file request carries an access address of the webpage file;

[0065] A web page file search module 302, used to search for the web page file according to the access address;

[0066] A web page content search module 303 is used to obtain a value of a target transfer parameter from the access address and search for web page content corresponding to the value of the target transfer parameter;

[0067] The web page file sending module 304 is used to return the found web page content carried in the web page file to the web page file requester.

[0068] The device provided by the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a web page file for each channel separately. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. Therefore, the implementation complexity brought by the development of multiple web page files is reduced, and storage space is also saved.

[0069] In the embodiment of the present invention, the target transfer parameter may be, but is not limited to, an SRC parameter.

[0070] In the existing implementation, the value of the SRC parameter will not affect the display of the web page content. In the embodiment of the present invention, by assigning values ​​to the SRC parameters to distinguish different channel sources, the display of different web page contents is achieved, which will not conflict with the existing access address format and function.

[0071] In addition to the SRC parameter, you can also distinguish different channel sources by assigning values ​​to other target transfer parameters, as long as they do not conflict with existing target transfer parameter functions.

[0072] The device provided by the embodiment of the present invention is applicable to web page content display control of various forms of web page files. In terms of web page file protocol version, it is applicable to web page files of various versions, especially H5 web page files. In terms of the display form and display content of web page files, it can be a web page file that displays a loading page or a floating ball web page file.

[0073] An embodiment of the present invention provides a server, which includes a processor and a memory:

[0074] The memory is used to store a program for executing the method in any of the above embodiments;

[0075] The processor is configured to execute the program stored in the memory.

[0076] The server provided by the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a separate web page file for each channel. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. This reduces the implementation complexity brought by the development of multiple web page files and saves storage space.

[0077] The memory of the server provided in the embodiment of the present invention may be, but is not limited to, a storage system composed of a CPU register, a cache memory, an internal memory, a disk, and a remote storage system.

[0078] Figure 1 FIG. 1 is a block diagram showing a partial structure of a server related to a method embodiment provided by an embodiment of the present invention. Figure 1 The server includes: a power supply 110, a mainboard 120, a central processing unit (CPU) 130, a system bus 140, an internal memory 150, a disk 160, an input unit 170, a display unit 180, a network card 190 and other components. Those skilled in the art can understand that Figure 1 The server structure shown in the figure does not constitute a limitation on the server, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0079] Combine the following Figure 1 A detailed introduction to each component of the server:

[0080] The power supply 110 is used to convert 220V AC into 5V, 12V, and 3.3V DC to supply various components in the server. Preferably, the power supply can be logically connected to the central processor 130 through a power management system, so that the power management system can manage charging, discharging, and power consumption.

[0081] The motherboard 120 is a platform for each component in the server to work, providing an electrical connection path between the components. Each component transmits electrical signals through the motherboard, and each component is installed on the motherboard by plugging, welding, etc.

[0082] The central processing unit 130 is the control center of the server, mainly including an arithmetic logic unit (ALU) 131, a program counter (PC) 132, a register group 133, a cache 134, and a bus interface 135 for transmitting data, control and status. Among them, the arithmetic logic unit 131 is a component that performs various arithmetic and logical operations. The basic operations include addition, subtraction, multiplication, and division, and, or, non, XOR, shift operations, as well as relational operations and logical operations. The program counter 132 is a register in the control component of the central processing unit 130, which is used to store the address of the next instruction; the register group 133 includes general registers, special registers and control registers. The register has a very high read and write speed, so the data transmission between registers is very fast. The cache 134 is a high-speed low-capacity memory composed of SRAM (Static Random Access Memory) for caching commonly used instructions and data. The bus interface 135 is used to transmit information between the CPU 130 and other components. The CPU 130 performs various functions of the server and processes data by running or executing applications stored in the internal memory 150 or the disk 160, and calling data stored in the internal memory 150 or the disk 160, thereby performing overall monitoring.

[0083] The system bus 140 is a common communication trunk for transmitting information between various components of the server. It is a transmission line composed of wires. According to the type of information transmitted by the server, the system bus can be divided into a data bus, an address bus, and a control bus, which are used to transmit data, data addresses, and control signals respectively.

[0084] The internal memory 150 is an electronic storage device, which is composed of a circuit board and a chip. It is characterized by small size, high speed, storage when powered on, and clearing when powered off. That is, the server can store data in the memory when it is turned on, and all data in it will be automatically cleared after it is turned off. The internal memory 150 can be divided into SDRAM (Synchronous Dynamic Random Access Memory) memory and DDR (Double Data Rate) memory. The application and related data are first read into the internal memory 150, and the central processing unit 130 reads and loads the application from the internal memory 150.

[0085] The disk 160 is also called an external memory, which stores the operating system, application programs, data, etc. required for the operation of the server, and the data will not be lost when the server is powered off.

[0086] The input unit 170 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the server. The input unit specifically includes an I / O controller and an input device, wherein the I / O controller is used to adapt the signal of the input device and transmit it to the system bus. The input unit 170 can be divided into a mouse 171, a keyboard 172, a touch panel 173, etc.

[0087] The display unit 180 may be used to display information input by the user or information provided to the user and various menus of the server. The display unit 180 may include a display card 181 and a display 182. Further, the touch panel 173 may cover the display panel of the display 182. When the touch panel 173 detects a touch operation on or near it, it is transmitted to the central processor 130 to determine the type of touch event, and then the processor 130 provides corresponding visual output on the display panel of the display 182 according to the type of touch event. Although in Figure 1 In the embodiment, the touch panel 173 and the display 182 are used as two independent components to implement the input and output functions of the server, but in some embodiments, the touch panel 173 can be integrated with the display panel of the display 182 to implement the input and output functions of the server.

[0088] The network card 190 is a network component working at the data link layer and is an interface connecting a personal computer and a transmission medium in a local area network. The network card 190 can be divided into a wired network card and a wireless network card.

[0089] Although not shown, the server may also include input and output units such as a sound card, a speaker, a microphone, a camera, and communication units such as a Bluetooth module, which will not be described in detail here.

[0090] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method in any embodiment of the second application program side.

[0091] The storage medium provided in the embodiment of the present invention distinguishes the web page content to be displayed by the value of the target transmission parameter. There is no need to develop a separate web page file for each channel. Instead, the same web page file is provided for different channels, and only different web page content is provided for different channels. This reduces the implementation complexity brought by the development of multiple web page files and saves storage space.

[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0093] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0096] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0097] A person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.

[0098] The above is a detailed introduction to a server provided by the present invention. For those skilled in the art, according to the concept of the embodiments of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A web page content display control method, characterized in that: include: Receiving a web page file request, wherein the web page file request carries an access address of the web page file; Searching for the web page file according to the access address; wherein the web page content in the web page file is replaced with a jump function; Searching for the jump function in the web page file, accessing a storage address indicated by the jump function, wherein the storage address stores different web page contents; Reading the value of the target transfer parameter in the access address, and searching the storage address for webpage content corresponding to the value of the target transfer parameter; The jump function in the web page file is replaced by the found web page content, and the replaced web page file is returned to the web page file requester.

2. The method according to claim 1, characterized in that The target transfer parameter is the SRC parameter.

3. The method according to claim 1 or 2, characterized in that: The web page file is an H5 web page file.

4. The method according to claim 1 or 2, characterized in that: The web page file is a web page file that displays a loading page or a floating ball web page file.

5. A web page content display control device, characterized in that: include: A web page file request receiving module, used to receive a web page file request, wherein the web page file request carries an access address of the web page file; A web page file search module, used to search for the web page file according to the access address; wherein the web page content in the web page file is replaced with a jump function; A web page content search module is used to search for the jump function in the web page file, access the storage address indicated by the jump function, and store different web page contents in the storage address; read the value of the target transfer parameter in the access address, and search for the web page content corresponding to the value of the target transfer parameter in the storage address; The web page file sending module is used to replace the jump function in the web page file with the found web page content, and return the replaced web page file to the web page file requester.

6. The device according to claim 5, characterized in that The target transfer parameter is the SRC parameter.

7. The device according to claim 5 or 6, characterized in that The web page file is an H5 web page file.

8. The device according to claim 5 or 6, characterized in that The web page file is a web page file that displays a loading page or a floating ball web page file.

9. A server, characterized in that: Including processor and memory: The memory is used to store a program for executing the method according to any one of claims 1 to 4; The processor is configured to execute the program stored in the memory.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.