Page content processing method and device, equipment and storage medium

By responding to the display request of the client device and automatically adjusting the page content based on the traffic level information, the stability problem of the APP back-end service system under sudden traffic is solved, automated operations are realized, labor costs and misoperation risks are reduced, and labor costs are reduced, and errors are improved. The reliability of the system.

CN118916565APending Publication Date: 2024-11-08JINGDONG TECH HLDG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411187192.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In scenarios such as limited-time rush purchases, the APP back-end service system faces sudden increase in traffic, resulting in the impact of stability. The existing technology requires manual duty to perform hidden operations, which is cumbersome and prone to missed operations and incorrect operations.

Method used

By responding to the display request of the client device, obtaining the page content list, and determining content marks based on traffic level information, automatically adjusting the page content to display or hide content, reducing manual operation costs and improving system reliability.

Benefits of technology

Automatic content adjustment in the case of sudden traffic is realized, manual monitoring and operation costs are reduced, and the stability and reliability of the service system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916565A_ABST
    Figure CN118916565A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a page content processing method and device, equipment and a storage medium. The method comprises the following steps: determining traffic level information associated with at least one predetermined traffic level in response to the situation that traffic associated with page content is matched with at least one predetermined traffic level in a plurality of predetermined traffic levels; in response to a display request received from the client device for the page content, obtaining a content list of the page content, the content list indicating at least one item of content of the page content; determining whether the at least one item of content can be displayed to the client device to generate a content mark for indicating whether the at least one item of content can be displayed; and determining display content in the page content based on the at least one item of content, the content mark and the traffic level information, so as to display the display content on the client equipment. Therefore, the displayable page content can be automatically adjusted under the condition that the traffic changes, and the reliability of a service system in a scene with a high traffic demand is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments of the present disclosure generally relate to the computer field, and in particular, to a method, an apparatus, a device, and a storage medium for processing page content. Background Art

[0002] In today's Internet era, mobile APP is a very important information medium and carrier. An APP with a large number of users often requires a huge back-end service system to support it. In order to maintain the best user experience, the back-end service of the APP needs to provide stable and efficient services.

[0003] However, in some specific scenarios, such as limited-time rush purchases, the pressure on the APP backend service system will double. In order to prevent the sudden increase in traffic from affecting the stability of the backend system services, some unimportant content will be hidden. Since the sudden increase in traffic cannot be accurately predicted, it is usually necessary to be on duty and operate manually. This is not only cumbersome, but also requires constant observation of traffic changes to operate against the plan. Once there are many operations involved, it is easy to miss operations, make mistakes, etc. Summary of the invention

[0004] The purpose of the present disclosure is to provide a method, apparatus, device and storage medium for page content processing to at least partially solve the above problems and other potential problems.

[0005] In a first aspect of the present disclosure, a method for page content processing is provided, comprising: in response to traffic associated with page content matching at least one predetermined traffic level among a plurality of predetermined traffic levels, determining traffic level information associated with at least one predetermined traffic level; in response to receiving a display request for page content from a client device, obtaining a content list of the page content, the content list indicating at least one item of the page content; determining whether at least one item of content can be displayed to the client device to generate a content tag indicating whether at least one item of content can be displayed; and determining display content in the page content based on the at least one item of content, the content tag and the traffic level information for display on the client device.

[0006] In a second aspect of the present disclosure, a device for page content processing is provided, including: a traffic level processing module, configured to determine traffic level information associated with at least one predetermined traffic level in response to traffic associated with page content matching at least one predetermined traffic level among multiple predetermined traffic levels; a page content marking module, configured to obtain a content list of the page content in response to receiving a display request for the page content from a client device, the content list indicating at least one content of the page content; determine whether at least one content can be displayed to the client device to generate a content tag indicating whether at least one content can be displayed; and a display content determination module, configured to determine display content in the page content for display on the client device based on at least one content, the content tag and the traffic level information.

[0007] In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, and when the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect of the present disclosure.

[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to perform the method according to the first aspect of the present disclosure.

[0009] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, wherein the computer executable instructions implement the method according to the first aspect of the present disclosure when executed by a processor.

[0010] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0012] Figure 1 A schematic diagram of a page content processing system for page content processing according to some embodiments of the present disclosure is shown;

[0013] Figure 2 A flow chart showing a process of page content processing by a traffic level configuration module according to some embodiments of the present disclosure;

[0014] Figure 3 A flowchart showing a process of page content processing by a page content marking module according to some embodiments of the present disclosure is shown;

[0015] Figure 4 A flow chart showing a process of page content processing by a traffic monitoring module according to some embodiments of the present disclosure;

[0016] Figure 5 A flowchart showing a process of page content processing by a display content determination module according to some embodiments of the present disclosure is shown;

[0017] Figure 6 A flowchart showing a process of page content processing according to some embodiments of the present disclosure;

[0018] Figure 7 A block diagram showing a page content processing device according to some embodiments of the present disclosure; and

[0019] Figure 8 A block diagram of an electronic device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0021] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0022] As mentioned above, in some specific scenarios, such as limited-time rush purchases, the pressure on the APP backend service system will double. In order to prevent the sudden increase in traffic from affecting the stability of the backend system services, some unimportant content will be hidden. Since the sudden increase in traffic cannot be accurately predicted, it is usually necessary to be on duty and operate manually. This is not only cumbersome to operate, but also requires constant observation of traffic changes to operate against the plan. Once there are many operations involved, it is easy to miss operations, make mistakes, etc.

[0023] An embodiment of the present disclosure provides a scheme for page content processing, in which, in response to traffic associated with page content matching at least one of a plurality of predetermined traffic levels, traffic level information associated with at least one predetermined traffic level is determined, and then in response to receiving a display request for page content from a client device, a content list of the page content is obtained, the content list indicating at least one item of the page content, and then a determination is made as to whether the at least one item of content can be displayed to the client device, so as to generate a content tag indicating whether the at least one item of content can be displayed, thereby determining the display content in the page content based on the at least one item of content, the content tag, and the traffic level information for display on the client device. In this way, automatic adjustment of page content can be achieved, reducing the cost of manual operation and improving the reliability of the service system. In the following, this invention will be combined with Figures 1 to 8 To describe the principles of the present disclosure in detail.

[0024] Figure 1 A schematic diagram of a page content processing system for page content processing according to some embodiments of the present disclosure is shown. Figure 1 As shown, the page content processing system described herein generally includes a client device 110 and a server device 120. It is worth noting that the present disclosure is not limited to the modules involved in the data processing system 100. If the modules in the figure are added or replaced to achieve similar purposes, they should be considered to be included in the scope of the present disclosure.

[0025] In an embodiment of the present disclosure, the client device 110 and the server device 120 are connected in communication. The client device 110 may be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device 120 may be various types of computing systems / electronic devices capable of providing computing capabilities, including but not limited to mainframes, edge computing nodes, computing devices in a cloud environment, and the like.

[0026] like Figure 1As shown, the server device 120 generally includes a traffic level configuration module 121, a traffic monitoring module 122, a traffic level processing module 123, a page content marking module 124, and a display content determination module 125. It should be understood that each module can be implemented by hardware, software and / or firmware, and each module can be implemented as a separate physical / virtual device.

[0027] The traffic level configuration module 121 is used to configure multiple predetermined traffic levels, each of which corresponds to a traffic interval. In some embodiments, the previous traffic request levels can be analyzed, and multiple predetermined traffic levels can be divided according to the number of transactions transmitted per second (Transactions Per Second). For example, the first level corresponds to processing 2000-6000 transactions per second, the second level corresponds to processing 6000-10000 transactions per second, and so on. Of course, only an example is given here. In actual applications, each level can be configured according to specific application requirements. After the configuration is completed, the traffic level configuration module 121 can synchronize multiple predetermined traffic levels to the above-mentioned other modules. It should be understood that the number of multiple predetermined traffic levels and the corresponding traffic interval values ​​can be determined according to actual conditions, and the present disclosure does not limit this.

[0028] The traffic monitoring module 122 is used to monitor the traffic associated with the page content of the client device 110. In some embodiments, the traffic monitoring module 122 measures the traffic once every predetermined period of time (e.g., 5 seconds). When the change in traffic exceeds the predetermined step value, the traffic monitoring module 122 will asynchronously notify the traffic level processing module 123 to compare the changed traffic with multiple traffic intervals. The predetermined step value can be determined based on the value of the traffic interval. Taking the predetermined step value of 5000 as an example, when the number of transactions processed per second rises from 2000 to 7000, the asynchronous notification operation of the traffic monitoring module 122 is triggered. In some embodiments, the traffic monitoring module 122 can be run on a proxy server, such as Nginx, through a script. As a reverse proxy server, Nginx has the characteristics of high performance, high stability, rich functions, simple configuration and low consumption. It should be understood that other traffic monitoring methods that can be thought of by those skilled in the art to achieve the above functions all fall within the scope of this disclosure.

[0029] The traffic level processing module 123 is used to compare the traffic associated with the page content with a plurality of predetermined traffic levels. In response to the traffic associated with the page content matching at least one of the plurality of predetermined traffic levels, the traffic level processing module 123 can determine traffic level information associated with the at least one predetermined traffic level.

[0030] In some embodiments, the traffic level processing module 123 may include a traffic interval comparison module 1231, a traffic level determination module 1232, and a message determination module 1233. Specifically, when the change in the traffic exceeds a predetermined step value, the traffic monitoring module 122 will asynchronously notify the traffic interval comparison module 1231 to compare the changed traffic with the traffic interval of each predetermined traffic level. In some embodiments, in response to the traffic matching at least one of the multiple traffic intervals, the traffic level determination module 1232 may determine that the traffic matches the predetermined traffic level corresponding to the at least one traffic interval, and then the message determination module 1233 may determine the traffic level information indicating the predetermined traffic level that matches the traffic. After the traffic level information is determined, the message determination module 1233 may asynchronously notify the display content determination module 125 of the traffic level information.

[0031] The page content marking module 124 is used to obtain a content list of the page content to determine whether at least one content item in the content list can be displayed to the client device 110 , thereby generating a content mark indicating whether at least one content item can be displayed.

[0032] In some embodiments, the page content marking module 124 may include a control determination module 1241, a switch control module 1242, and a mark generation module 1243. Specifically, in response to receiving a display request for page content from the client device 110, the control determination module 1241 may determine whether the at least one content is subject to control based on the attributes of the interface used to transmit the at least one content. In some embodiments, the control determination module 1241 may determine whether the page content is subject to automatic control by the system by analyzing the traffic carrying limit of the service interface on which the page content depends. In response to determining that at least one content is subject to control, the switch control module 1242 may turn on the control switch to control the display or hiding of at least one content. If the control switch is in the on state, it means that the content receives automatic control from the system. On the contrary, if the control switch is in the off state, it means that the content does not receive automatic control from the system. Further, the mark generation module 1243 may generate a switch state mark for indicating the state of the control switch. A traffic level mark is generated when the switch state mark indicates that the control switch is on. The traffic level mark is used to indicate a predetermined traffic level that matches the traffic of at least one content subject to control. That is, the content tag at least includes a switch state tag and a flow level tag. After the content tag is generated, the tag generation module 1243 can asynchronously notify the display content determination module 125 of at least one content and the corresponding content tag.

[0033] The display content determination module 125 is used to determine the display content in the page content based on at least one content, content tag and traffic level information, so as to display it on the client device 110 .

[0034] In some embodiments, the display content determination module 125 may include a content acquisition module 1251, a content screening module 1252, and a content assembly module 1253. Specifically, in response to receiving a display request for page content from the client device 110, the content acquisition module 1251 may acquire a content list of the page content. In the case of receiving a content tag, the content screening module 1252 may determine at least one item of content in the content list that is subject to control based on the switch state tag, and then compare the predetermined traffic level indicated by the traffic level tag with the predetermined traffic level indicated by the traffic level information. In response to the predetermined traffic level indicated by the traffic level tag matching the predetermined traffic level indicated by the traffic level information, the content screening module 1252 may determine at least one item of content as display content. In some embodiments, page content that the content tag indicates is not subject to control or does not match the predetermined traffic level will be removed or hidden from the content list by the content screening module 1252.

[0035] After the confirmation of the display content is completed, the content assembly module 1253 can assemble at least one content determined as the display content, and then send the display content to the client device 110. In this way, the client device can automatically display the screened display content when the traffic request pressure suddenly increases, thereby reducing the cost of manual traffic monitoring and greatly improving the stability of the system.

[0036] On the contrary, when the traffic request pressure tends to ease, the traffic monitoring module 122 can asynchronously notify the traffic level processing module 123 when the change in the monitored traffic exceeds the predetermined step value, so as to determine the traffic level information based on the reduced traffic. Further, after receiving the updated traffic level information, the display content determination module 125 can restore the content that was removed or hidden in the above process to assemble and send the part of the content, so that the client device 110 can resume the display of the part of the content.

[0037] Figure 2 A flow chart of a process 200 for page content processing performed at the traffic level configuration module 121 according to some embodiments of the present disclosure is shown.

[0038] In block 211, the flow level configuration module 121 may set the number of predetermined flow levels. In some embodiments, the number of predetermined flow levels may be set to 3. In other embodiments, the number of predetermined flow levels may be set to 5. It should be understood that the number of predetermined flow levels may be determined based on the granularity required for flow control, and the present disclosure does not limit this.

[0039] In block 212, the traffic level configuration module 121 may set a traffic interval corresponding to a predetermined traffic level. In some embodiments, the traffic interval may be set to process 2000-6000 transactions per second, 6000-10000 transactions per second, etc. It should be understood that the value of the traffic interval may be determined based on the traffic value actually requested by the client device, and the present disclosure does not limit this.

[0040] In block 213, the traffic level configuration module 121 may perform a logic check. In some embodiments, the traffic level configuration module 121 may perform a logic check on the number of predetermined traffic levels and the values ​​of the traffic intervals corresponding to the predetermined traffic levels to ensure that the traffic level information is accurate.

[0041] In block 214 , the traffic level configuration module 121 may store information such as the number of predetermined traffic levels set in the above process and the traffic intervals corresponding to the predetermined traffic levels into a database.

[0042] In block 215 , the traffic level configuration module 121 may notify other modules of information such as the number of predetermined traffic levels set in the above process and the traffic intervals corresponding to the predetermined traffic levels.

[0043] Figure 3 A flow chart of a process 300 of page content processing implemented at the page content marking module 124 according to some embodiments of the present disclosure is shown.

[0044] In block 311, the page content marking module 124 may obtain a content list. In some embodiments, the content list may be obtained from a database, and the content list indicates at least one content of the page content.

[0045] In block 312, the page content marking module 124 may determine whether at least one content item is subject to automatic control by the system. In some embodiments, the page content marking module 124 may determine whether the page content is subject to automatic control by the system by analyzing the traffic carrying limit of the service interface on which the page content depends, and then generate a switch status mark for indicating the control switch status.

[0046] At block 313, the page content marking module 124 may generate a traffic level mark. In some embodiments, the traffic level mark is used to indicate a predetermined traffic level that matches the traffic of the at least one content to be controlled.

[0047] In block 314 , the page content marking module 124 may store the switch status mark and the traffic level mark generated in the above process into a database.

[0048] In block 315 , the page content marking module 124 may notify the display content determination module 125 of the switch state mark and the traffic level mark generated in the above process.

[0049] Figure 4 A flowchart of a process 400 of page content processing implemented at the traffic monitoring module 122 according to some embodiments of the present disclosure is shown.

[0050] At block 411 , the traffic monitoring module 122 may receive a presentation request from the client device 110 .

[0051] At block 412, the traffic monitoring module 122 may poll and count the traffic of the client device 110. In some embodiments, the traffic monitoring module 122 may measure the traffic once every predetermined period of time.

[0052] In block 413 , the flow monitoring module 122 may monitor whether the flow rate has a periodic increase or decrease.

[0053] At block 414 , the flow monitoring module 122 may determine a flow value for the current flow.

[0054] In block 415 , the flow monitoring module 122 may send the flow value of the current flow determined in the above process to the flow level processing module.

[0055] Figure 5 A flowchart showing a process 500 of page content processing by the content determination module 125 according to some embodiments of the present disclosure is shown.

[0056] At block 511 , the presentation content determination module 125 may receive a presentation request from the client device 110 .

[0057] At block 512 , the presentation content determination module 125 may obtain a content list and content identification.

[0058] In block 513 , the presentation content determination module 125 may determine whether the corresponding content is automatically controlled by the system through the content identification.

[0059] In block 514, the display content determination module 125 may determine whether the corresponding content meets the predetermined traffic level through the content identifier. In some embodiments, the display content determination module 125 may compare the predetermined traffic level indicated by the traffic level mark with the predetermined traffic level indicated by the traffic level information to determine whether the two match.

[0060] At block 515, the display content determination module 125 may remove the non-display content from the content list. In some embodiments, in response to the predetermined traffic level indicated by the traffic level mark and the predetermined traffic level indicated by the traffic level information matching, the display content determination module 125 may determine at least one content as the display content. The non-display content will be removed or hidden from the content list by the display content determination module 125.

[0061] At block 516 , the presentation content determination module 125 may assemble and send the presentation content to the client device 110 .

[0062] Figure 6 FIG. 6 is a flowchart showing a process 600 of page content processing according to some embodiments of the present disclosure. The process 600 may be implemented in Figure 1 The server device 120 is shown.

[0063] At block 610 , in response to traffic associated with the page content matching at least one predetermined traffic level among a plurality of predetermined traffic levels, the server device 120 determines traffic level information associated with the at least one predetermined traffic level.

[0064] In block 620 , in response to receiving a display request for page content from a client device, the server device 120 obtains a content list of the page content, where the content list indicates at least one content item of the page content.

[0065] In block 630 , the server device 120 determines whether the at least one content item can be displayed to the client device, so as to generate a content tag indicating whether the at least one content item can be displayed.

[0066] In block 640 , based on at least one content item, the content tag, and the traffic level information, the server device 120 determines display content in the page content for display on the client device.

[0067] In some embodiments, process 600 further includes monitoring traffic associated with the page content.

[0068] In some embodiments, a plurality of predetermined flow levels correspond to a plurality of flow intervals respectively.

[0069] In some embodiments, in response to the traffic associated with the page content matching at least one predetermined traffic level among multiple predetermined traffic levels, determining the traffic level information associated with at least one predetermined traffic level includes: in response to the change in the traffic exceeding a predetermined step value, comparing the traffic with multiple traffic intervals; in response to the traffic matching at least one traffic interval among the multiple traffic intervals, determining that the traffic matches the predetermined traffic level corresponding to the at least one traffic interval; and determining traffic level information indicating the predetermined traffic level that matches the traffic.

[0070] In some embodiments, the content tag includes a switch status tag and a traffic level tag, and determining whether at least one item of content can be displayed to a client device to generate a content tag indicating whether at least one item of content can be displayed includes: determining whether at least one item of content is subject to control based on attributes of an interface used to transmit at least one item of content; in response to determining that at least one item of content is subject to control, turning on a control switch to control the display or hiding of at least one item of content; generating a switch status tag indicating the status of the control switch; and generating a traffic level tag when the switch status tag indicates that the control switch is turned on, the traffic level tag being used to indicate a predetermined traffic level that matches the traffic of at least one item of content subject to control.

[0071] In some embodiments, based on at least one item of content, a content tag, and traffic level information, determining the display content in the page content includes: obtaining a content list; determining at least one item of content in the content list that is subject to control based on a switch status tag; comparing a predetermined traffic level indicated by a traffic level tag with a predetermined traffic level indicated by the traffic level information; and in response to a match between the predetermined traffic level indicated by the traffic level tag and the predetermined traffic level indicated by the traffic level information, determining at least one item of content as display content.

[0072] In some embodiments, process 600 further includes: assembling at least one item of content determined to be presentation content; and sending the presentation content to a client device.

[0073] Figure 7 A block diagram of a page content processing apparatus 700 according to some embodiments of the present disclosure is shown. The apparatus 700 may be implemented in the server device 120, for example. Each module / component in the apparatus 700 may be implemented by hardware, software, firmware, or any combination thereof.

[0074] The device 700 includes a traffic level processing module 710, which is configured to obtain a trained first target model and a second target model, wherein the first target model is configured to determine traffic level information associated with at least one predetermined traffic level in response to the traffic associated with the page content matching at least one predetermined traffic level among a plurality of predetermined traffic levels. The device 700 also includes a page content marking module 720, which is configured to obtain a content list of the page content in response to receiving a display request for the page content from a client device, the content list indicating at least one content of the page content; determine whether at least one content can be displayed to the client device, so as to generate a content mark indicating whether at least one content can be displayed. The device 700 also includes a display content determination module 730, which is configured to determine display content in the page content based on at least one content, a content mark, and traffic level information for display on the client device.

[0075] In some embodiments, the device 700 further includes: a traffic monitoring module configured to monitor traffic associated with the page content.

[0076] In some embodiments, a plurality of predetermined flow levels correspond to a plurality of flow intervals respectively.

[0077] In some embodiments, the traffic level processing module includes: a traffic interval comparison module, configured to compare the traffic with multiple traffic intervals in response to a change in the traffic exceeding a predetermined step value; a traffic level determination module, configured to determine that the traffic matches a predetermined traffic level corresponding to at least one traffic interval in response to the traffic matching at least one traffic interval among the multiple traffic intervals; and an information determination module, configured to determine traffic level information indicating a predetermined traffic level that matches the traffic.

[0078] In some embodiments, the content tag includes a switch status tag and a traffic level tag, and the page content tag module includes: a control determination module, configured to determine whether at least one content is subject to control based on the attributes of an interface for transmitting at least one content; a switch control module, configured to turn on a control switch in response to determining that at least one content is subject to control to control the display or hiding of at least one content; a first tag generation module, configured to generate a switch status tag for indicating the status of the control switch; and a second tag generation module, configured to generate a traffic level tag when the switch status tag indicates that the control switch is turned on, the traffic level tag being used to indicate a predetermined traffic level that matches the traffic of at least one content subject to control.

[0079] In some embodiments, the display content determination module includes: a content list acquisition module, configured to acquire a content list; a control content determination module, configured to determine at least one item of content in the content list that is subject to control based on a switch status mark; a traffic level comparison module, configured to compare a predetermined traffic level indicated by a traffic level mark with a predetermined traffic level indicated by traffic level information; and a display content determination module, configured to determine at least one item of content as display content in response to a match between the predetermined traffic level indicated by the traffic level mark and the predetermined traffic level indicated by the traffic level information.

[0080] In some embodiments, the apparatus 700 further includes: a content assembling module configured to assemble at least one item of content determined as presentation content; and a content sending module configured to send the presentation content to a client device.

[0081] The units included in the device 700 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 700 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0082] Figure 8 8 is a block diagram of an electronic device 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 8 The electronic device 800 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 8 The electronic device 800 shown can be used to implement Figure 1 The server device 120.

[0083] like Figure 8 As shown, the electronic device 800 is in the form of a general electronic device. The components of the electronic device 800 may include, but are not limited to, one or more processors or processing units 810, a memory 820, a storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. The processing unit 810 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 820. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 800.

[0084] The electronic device 800 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 800, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 820 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 830 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 800.

[0085] The electronic device 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 8 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 820 may include a computer program product 825 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0086] The communication unit 840 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 800 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 800 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0087] The input device 850 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 860 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 800 may also communicate with one or more external devices (not shown) through the communication unit 840 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 800, or communicate with any device that allows the electronic device 800 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0088] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0089] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0090] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0091] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0092] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a system, program segment or instruction, and a part of the system, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0093] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for processing page content, comprising: In response to the traffic associated with the page content matching at least one predetermined traffic level among a plurality of predetermined traffic levels, determining traffic level information associated with the at least one predetermined traffic level; In response to receiving a display request for the page content from a client device, obtaining a content list of the page content, the content list indicating at least one content of the page content; determining whether the at least one content item can be displayed to the client device to generate a content mark indicating whether the at least one content item can be displayed; as well as Based on the at least one content, the content tag, and the traffic level information, display content in the page content is determined for display on the client device.

2. The method according to claim 1, further comprising: The traffic associated with the page content is monitored. The method according to claim 1 , wherein the plurality of predetermined flow levels correspond to a plurality of flow intervals respectively.

4. The method of claim 3, wherein in response to the traffic associated with the page content matching at least one of a plurality of predetermined traffic levels, determining the traffic level information associated with the at least one predetermined traffic level comprises: In response to a change in the flow rate exceeding a predetermined step value, comparing the flow rate with the plurality of flow rate intervals; In response to the flow rate matching at least one flow interval among the plurality of flow intervals, determining that the flow rate matches a predetermined flow level corresponding to the at least one flow interval; as well as The flow level information indicating a predetermined flow level matching the flow is determined.

5. The method according to claim 1, wherein the content mark comprises a switch state mark and a traffic level mark, and wherein determining whether the at least one content item can be presented to the client device to generate a content mark indicating whether the at least one content item can be presented comprises: determining whether the at least one item of content is subject to control based on a property of an interface used to transmit the at least one item of content; In response to determining that the at least one item of content is subject to control, turning on a control switch to control display or hiding of the at least one item of content; generating the switch state mark for indicating the state of the control switch; as well as The flow level mark is generated when the switch state mark indicates that the control switch is turned on, and the flow level mark is used to indicate a predetermined flow level that matches the flow of at least one content that is subject to control.

6. The method according to claim 5, wherein determining the display content in the page content based on the at least one content, the content tag, and the traffic level information comprises: Obtain the content list; Determine at least one item of content in the content list that is subject to control based on the switch state mark; comparing the predetermined flow level indicated by the flow level mark with the predetermined flow level indicated by the flow level information; as well as In response to a match between the predetermined traffic level indicated by the traffic level mark and the predetermined traffic level indicated by the traffic level information, the at least one item of content is determined as the presentation content.

7. The method according to claim 1, further comprising: Assembling the at least one item of content determined as the display content; as well as The presentation content is sent to the client device.

8. A device for processing page content, comprising: a traffic level processing module configured to, in response to traffic associated with the page content matching at least one of a plurality of predetermined traffic levels, determine traffic level information associated with the at least one predetermined traffic level; a page content marking module, configured to, in response to receiving a display request for the page content from a client device, obtain a content list of the page content, wherein the content list indicates at least one content of the page content; determining whether the at least one content item can be displayed to the client device to generate a content mark indicating whether the at least one content item can be displayed; as well as The display content determination module is configured to determine the display content in the page content based on the at least one content, the content tag and the traffic level information, so as to be displayed on the client device.

9. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 7.

11. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Advertisement putting control method and device

    CN109978583A

  • Traffic management method and device and electronic equipment

    CN110958137A

  • Service degradation method, electronic equipment and computer readable storage medium

    CN117724855A

  • Coil component

    KR1020230010476A