WO2024032087A1 - 局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品 - Google Patents

局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品 Download PDF

Info

Publication number
WO2024032087A1
WO2024032087A1 PCT/CN2023/096236 CN2023096236W WO2024032087A1 WO 2024032087 A1 WO2024032087 A1 WO 2024032087A1 CN 2023096236 W CN2023096236 W CN 2023096236W WO 2024032087 A1 WO2024032087 A1 WO 2024032087A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
recommended
terminal
package name
page
Prior art date
Application number
PCT/CN2023/096236
Other languages
English (en)
French (fr)
Inventor
杨幸
陶宏晖
郑国辉
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2024032087A1 publication Critical patent/WO2024032087A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Definitions

  • Embodiments of the present application relate to the field of Internet technology, and relate to but are not limited to a method, device, electronic device, computer-readable storage medium, and computer program product for generating a partial dynamic page.
  • APP Application
  • a dynamic framework is usually used to realize global dynamization of the entire page, or a "secondary dynamization" solution is used to realize a local dynamic display solution.
  • Embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for partially dynamic page generation, which are at least used in the field of artificial intelligence and page development and can ensure that the entire page is developed through native components. On this basis, it flexibly generates partial dynamic pages to ensure the flexibility of page information configuration and the overall smoothness of the page, thereby enhancing the diversity and flexibility of operational information within the application.
  • An embodiment of the present application provides a method for generating a partially dynamic page, which is executed by an electronic device.
  • the method includes:
  • An embodiment of the present application provides a device for generating a partially dynamic page.
  • the device includes: a first receiving module configured to receive the service package name of the information to be recommended issued by the operation platform, where the service package name is based on the required information.
  • the configuration information of the information to be recommended is configured and generated;
  • the second receiving module is configured to receive the information display request sent by the terminal, and obtain the attribute information of the terminal;
  • the field parsing module is configured to if the attribute information of the terminal is the same as The information to be recommended is matched, and in response to the information display request, the fields in the business package name are parsed to obtain the configuration information;
  • the information loading module is configured to call a local dynamic component corresponding to the configuration information, The information to be recommended is loaded into the local display area of the current page of the terminal to generate the local dynamic page.
  • An embodiment of the present application provides an electronic device, including:
  • the memory is configured to store executable instructions; the processor is configured to implement the above-mentioned local dynamic page generation method when executing the executable instructions stored in the memory.
  • Embodiments of the present application provide a computer program product or computer program.
  • the computer program product or computer program includes executable instructions, and the executable instructions are stored in a computer-readable storage medium; wherein the processor of the electronic device obtains the information from the computer-readable storage medium.
  • the executable instructions are read from the medium and executed, the above-mentioned local dynamic page generation method is implemented.
  • Embodiments of the present application provide a computer-readable storage medium that stores executable instructions for causing the processor to execute the executable instructions to implement the above-mentioned local dynamic page generation method.
  • the operation platform generates the business package name of the information to be recommended according to the configuration information of the information to be recommended, and sends the business package name to the application server of the application.
  • the application server receives the information sent by the terminal. Display request; when the application server receives the business package name with information to be recommended and the attribute information of the terminal matches the information to be recommended, it responds to the information display request, parses the fields in the business package name, and obtains the configuration information; and calls and configures
  • the local dynamic component corresponding to the information loads the information to be recommended into the local display area of the current page of the terminal to generate a local dynamic page.
  • the business package name of the recommended information is configured through the operation platform, the flexibility of page information configuration can be ensured, and the information of the partial display area of the entire page is configured.
  • the entire page is developed through native components.
  • local dynamic components are called to load local dynamic content. This not only ensures the overall smoothness of the page, but also flexibly generates local dynamic pages, thereby enhancing in-application operation and delivery. Information diversity and flexibility.
  • Figure 1 is an APP page developed based on a dynamic framework in related technologies
  • Figure 2 is a schematic diagram of a local dynamic page display method in related technologies
  • Figure 3 is an optional architectural schematic diagram of the local dynamic page generation system provided by the embodiment of the present application.
  • Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 5 is an optional flowchart of the local dynamic page generation method provided by the embodiment of the present application.
  • Figure 6 is another optional flowchart of the local dynamic page generation method provided by the embodiment of the present application.
  • FIG. 7 is another optional flow diagram of the local dynamic page generation method provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram of a partial dynamic advertisement displayed in a pop-up window provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of the request interaction process between the operation platform and the APP provided by the embodiment of this application.
  • Figure 10 is a schematic diagram of terminal display logic provided by an embodiment of the present application.
  • Figure 11 is a schematic diagram of the principle of terminal loading front-end data packets provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of different types of control experiments of the local dynamic page generation method according to the embodiment of the present application.
  • Configurable means that operators can configure and issue data in the configuration system, and the client can trigger the pull logic under certain conditions and obtain the corresponding configuration data for user interface (UI, User Interface) display, etc. logic.
  • Dynamic The rapid iteration of products is inseparable from the support of the dynamic capabilities of the mobile terminal. Dynamic refers to the ability to dynamically deploy and distribute logic to the client, making the development of mobile applications like web pages and bypassing the App Release cycle, rapid release.
  • pluggability means that the dynamic advertisement can be opened by issuing interactive resource types, or it can be closed by not issuing interactive resource types.
  • Interactive It means that users can perform a series of interactive operations on the advertising page, and the page can respond to this series of interactive operations; interactive capabilities are usually achieved by developing a dynamic page.
  • H5 refers to the abbreviation of the fifth generation of HTML web technology (HTML5, HyperText Markup Language 5), which is the mainstream language for current Internet front-end development. Compared with ordinary Web pages, the biggest difference between H5 pages is that HTML5 pages can match mobile devices of different sizes and support compatibility with different browsers on the market.
  • HTML5 HyperText Markup Language 5
  • JavaScript It is the programming language of the Web. HTML pages can use JavaScript. The HTML language defines the content of the web page, and JavaScript controls the behavior of the web page.
  • JS bundle The front-end source code is packaged and compiled through the command line, and the bundle file is finally output. This bundle file contains the final source file that has been loaded and compiled, and can be run directly in the browser.
  • the engine will prepare a JavaScript execution environment in advance, and when the execution environment of the page is opened Execute the corresponding JS bundle in the execution process, and send various commands generated during the execution to the terminal for page rendering, data storage, calling terminal device functions, etc., among which, a normal terminal page is displayed (as shown in Figure 1 , is an APP page developed based on a dynamic framework in related technologies).
  • a normal terminal page is displayed (as shown in Figure 1 , is an APP page developed based on a dynamic framework in related technologies).
  • the advertising space on the APP does not require the dynamic technology of the entire page to be realized, but only needs to be dynamically displayed in a certain local position.
  • the package name of the front-end development package cannot be modified by the operation dynamic configuration, and since the dynamic component is fixed at a local location on a page of the terminal, there is no way to remove the dynamic component here by not issuing the package name of the front-end development package. , so it does not have good dynamic configurability and pluggability features, and it cannot meet the needs in some scenarios that require high flexibility in whether to display ads or not.
  • embodiments of the present application provide a method for generating local dynamic pages.
  • This method is a method of local dynamic advertising display based on a cross-platform framework and can be used at any local location in the APP business.
  • the dynamic component takes place, and then the business code is written through the dynamic framework to dynamically update the content in the component.
  • operators can determine the business content displayed on the terminal by configuring the package name of the JS bundle (i.e., the business package name of the information to be recommended), thereby flexibly replacing and updating the content of local dynamic components; in addition, since it is only locally
  • the location uses dynamic components, and the entire page is developed with native components. The overall experience of the page is close to that of the native development page, so that users can get a good experience.
  • the business package name of the information to be recommended issued by the operation platform is received, where the business package name is configured and generated according to the configuration information of the information to be recommended;
  • the receiving terminal Send an information display request; obtain the attribute information of the terminal; if the attribute information of the terminal matches the information to be recommended, respond to the information display request, parse the fields in the business package name, and obtain the configuration information; call the local dynamic corresponding to the configuration information
  • the component loads the information to be recommended into the local display area of the current page of the terminal and generates a local dynamic page.
  • the business package name of the recommended information is configured through the operation platform, the flexibility of page information configuration can be ensured, and the information of the partial display area of the entire page is configured.
  • the entire page is developed through native components.
  • it can not only ensure the overall smoothness of the page, but also flexibly generate local dynamic pages and enhance the diversity of operational information within the application. sex and flexibility.
  • the local dynamic page generation device provided by the embodiment of the present application is an electronic device used to implement the local dynamic page generation method.
  • the local dynamic page generation device ie, electronic device
  • the server can be a server for any application.
  • the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, and cloud communications. , middleware services, domain name services, security services, content delivery network (CDN, Content Delivery Network), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • the terminal and the server can be connected directly or indirectly through wired or wireless communication methods, which are not limited in the embodiments of this application.
  • the local dynamic page generation device is implemented as An example application for the server.
  • Figure 3 is an optional architectural schematic diagram of a local dynamic page generation system provided by an embodiment of the present application.
  • This embodiment of the present application applies the local dynamic page generation method to instant messaging applications to perform local dynamics in the application.
  • Page generation is used as an example to illustrate.
  • at least an instant messaging application is installed on the terminal in the embodiment of the present application, and different application interfaces can be displayed through the instant messaging application.
  • the local dynamic page generation system 10 at least includes a terminal 100, a network 200, a server 300 and an operation platform 400, where the server 300 is a server for instant messaging applications, and the operation platform 400 is a configuration platform on the operation side. It provides an information configuration platform for operators to configure the business package names of recommended information on the operation platform.
  • the server 300 may constitute the local dynamic page generation device in the embodiment of the present application.
  • the terminal 100 is connected to the server 300 through the network 200, and the server 300 is connected to the operation platform 400 through the network.
  • the network 200 can be a wide area network or a local area network, or a combination of the two.
  • the operator configures the business package name for generating the information to be recommended according to the configuration information of the information to be recommended, and sends the business package name to the server 300 .
  • the server 300 receives the information display request sent by the terminal 100; if the server 300 determines that the terminal's attribute information matches the information to be recommended, it responds to the information display request and parses the fields in the service package name, Obtain the configuration information; and call the local dynamic component corresponding to the configuration information, load the information to be recommended to the local display area of the current page of the terminal 100, and generate a local dynamic page.
  • the terminal 100 displays a partially dynamic page on the current interface.
  • the partial dynamic page generation method provided by the embodiments of the present application can also be implemented based on a cloud platform and through cloud technology.
  • the above-mentioned server 300 can be a cloud server. Receive the business package name of the information to be recommended issued by the operation platform through the cloud server, or receive the information display request sent by the terminal through the cloud server, or respond to the information display request through the cloud server and parse the fields in the business package name to obtain Configuration information, and calling the local dynamic component corresponding to the configuration information through the cloud server, loading the information to be recommended into the local display area of the current page of the terminal, generating a local dynamic page, etc.
  • there may also be a cloud storage and the service package name of the information to be recommended may be stored in the cloud storage, or the local dynamic page may be stored in the cloud storage, or the target video may be stored in the cloud storage. to cloud storage. In this way, when the page is displayed on the current interface, the local dynamic page can be obtained from the cloud storage for display.
  • cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize data calculation, storage, processing, and sharing.
  • Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool and use it on demand, which is flexible and convenient. Cloud computing technology will become an important support.
  • the background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the rapid development and application of the Internet industry, in the future each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data at different levels will be processed separately, and all types of industry data need to be powerful. System backing support can only be achieved through cloud computing.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device shown in Figure 4 includes: at least one processor 310, a memory 350, at least one network interface 320 and a user interface 330.
  • the various components in the electronic device are coupled together through bus system 340 .
  • the bus system 340 is used to implement connection communication between these components.
  • the bus system 340 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled bus system 340 in FIG. 4 .
  • the processor 310 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware. Components, etc., wherein the general processor can be a microprocessor or any conventional processor, etc.
  • DSP digital signal processor
  • User interface 330 includes one or more output devices 331 that enable the presentation of media content, and one or more input devices 332.
  • Memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, etc. Memory 350 optionally includes one or more storage devices physically located remotely from processor 310 . Memory 350 includes volatile memory or non-volatile memory, and may include both volatile and non-volatile memory. Non-volatile memory can be read-only memory (ROM, Read Only Memory), and volatile memory can be random access memory (RAM, Random Access Memory). The memory 350 described in the embodiments of this application is intended to include any suitable type of memory. In some embodiments, the memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplarily described below.
  • the operating system 351 includes system programs used to process various basic system services and perform hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., which are used to implement various basic services and process hardware-based tasks;
  • Network communications module 352 for reaching other computing devices via one or more (wired or wireless) network interfaces 320.
  • Example network interfaces 320 include: Bluetooth, Wireless Compliance Certification (WiFi), and Universal Serial Bus ( USB, Universal Serial Bus), etc.;
  • An input processing module 353 for detecting one or more user inputs or interactions from one or more input devices 332 and translating the detected inputs or interactions.
  • the device provided by the embodiment of the present application can be implemented in software.
  • Figure 4 shows a local dynamic page generation device 354 stored in the memory 350.
  • the local dynamic page generation device 354 can be
  • the local dynamic page generation device in the electronic device can be software in the form of programs, plug-ins, etc., and includes the following software modules: a first receiving module 3541, a second receiving module 3542, a field parsing module 3543, and an information loading module 3544. Modules are logical and therefore can be combined or further divided according to the functions implemented. The functions of each module are explained below.
  • the device provided by the embodiment of the present application can be implemented in hardware.
  • the device provided by the embodiment of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the present application.
  • the local dynamic page generation method provided by the embodiment for example, the processor in the form of a hardware decoding processor can use one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array) or other electronic components.
  • ASIC application specific integrated circuits
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD Complex Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • the partial dynamic page generation method provided by the embodiments of the present application can be executed by an electronic device, where the electronic device can be a server, that is, the partial dynamic page generation method of the embodiments of the present application can be executed by the server.
  • Figure 5 is an optional flow diagram of a method for generating a partially dynamic page provided by an embodiment of the present application. The following will be described in conjunction with the steps shown in Figure 5. It should be noted that the partial dynamic in Figure 5 The page generation method is explained by taking the server as the execution subject as an example.
  • Step S501 Receive the service package name of the information to be recommended issued by the operation platform, where the service package name is configured and generated according to the configuration information of the information to be recommended.
  • the operation platform is a third-party platform that is independent of terminals and servers.
  • the operation platform is a platform that provides operators with information configuration.
  • the operation platform has a configuration system, and operators can configure and generate each pending information in the configuration system.
  • Multiple applications can be run on the terminal.
  • the partial dynamic page generation method in the embodiment of the present application can be applied to any target application installed on the terminal, or any service in the target application.
  • the target application may be an instant messaging application, an information recommendation application, a shopping application, etc., and any one of the instant messaging applications may be generated through the partial dynamic page generation method of the embodiment of the present application. Dynamic page.
  • the information to be recommended can be any type of information in the recommendation system.
  • the information to be recommended can be any type of information among picture type, animation type, video type, audio type and interactive type.
  • the recommendation system can belong to the same system as the operating platform, or it can belong to the same system as the server of the target application. Of course, it can also be a third-party recommendation system that is independent of the operating platform and the target application server and used to provide information to be recommended.
  • the operation platform when operators configure the business package name of the information to be recommended on the operation platform, they can first obtain the information to be recommended from the recommendation system, and then generate the business package name based on the attribute parameter configuration of the information to be recommended, that is, That is, the operation platform can obtain the information content of the information to be recommended from the recommendation system, and at the same time determine the attribute parameters of the information to be recommended based on the information content of the information to be recommended.
  • the attribute parameters here include but are not limited to at least one of the following: Information to be recommended The resource type and resource address.
  • the resource type of the information to be recommended can be determined based on the information content of the information to be recommended (that is, determining which of the information to be recommended is pictures, animations, videos, and interactive resources), and then based on the information to be recommended Resource type, configure the business package name of the recommended information.
  • the resource type of the information to be recommended can also directly obtain the attribute parameters of the information to be recommended from the recommendation system, for example, obtain the resource type and resource of the information to be recommended. address, and then generate a business package name based on the resource type and resource address configuration of the information to be recommended.
  • configuring and generating the service package name according to the configuration information of the information to be recommended may be based on the field format of the service package name, and sequentially adding the configuration information of the information to be recommended to specific positions in the field format. For example, for information to be recommended of different resource types, the value of the field corresponding to the resource type of the information to be recommended can be added to the position corresponding to the resource type in the field format; for information to be recommended of different resource addresses, the value of the field to be recommended can be The resource address of the information is added to the position corresponding to the resource address in the field format. In this way, a service package name with this field format can be formed.
  • configuring the service package name of the information to be recommended can be automated based on the field format, or manually configured by the operator.
  • the configuration system can identify the information to be recommended, determine the configuration information of the information to be recommended, and then automatically add the resource type and resource address in the configuration information to the corresponding positions in the field format. Intelligently generate the business package name of the information to be recommended, realize active and automatic configuration of the business package name, and improve the configuration efficiency of the business package name of the information to be recommended in the recommendation system.
  • the field formats of the service package names may be the same or different.
  • the field formats of the service package names of different information to be recommended may be predefined. Or, for information to be recommended in different recommendation systems, the field format of the business package name may be different; for information to be recommended in the same recommendation system, the field format of the business package name may be the same. It should be noted that the field format of the business package name is the package name format of the business package name.
  • the server of the target application may store the service package name.
  • a service package name library for storing service package names can be set up in advance.
  • the new service package name of the information to be recommended can be stored. to the business package name database.
  • the recommended information corresponding to the business package name into the local display area in the local dynamic page when the local dynamic page is subsequently generated; it can also be used to generate a local dynamic page from the business package name.
  • Screen the appropriate business package names in the package name library to obtain the corresponding information to be recommended, and load the filtered information to be recommended to the local display area in the local dynamic page to complete the information recommendation and display of the information to be recommended.
  • Step S502 Receive the information display request sent by the terminal, and obtain the attribute information of the terminal.
  • the information display request is used to request that the information to be recommended be displayed on the terminal.
  • the information display request may be a request that is automatically triggered when the terminal receives a data processing operation input by the target object on the client side of the target application.
  • the terminal when the user pulls down to refresh or triggers During the login operation, the terminal responds to the user's pull-down refresh operation or triggers the login operation, generates an information display request, and sends the information display request to the server, requesting the server to configure the information to be displayed in the local display area of the current interface of the target application, that is, the request.
  • the server loads the information to be recommended that matches the user in the local display area, thereby displaying the local dynamic page on the current interface to achieve accurate information recommendation to the user.
  • the information to be recommended that matches the user described here may refer to information that conforms to the user's browsing habits or the user's interest in the information to be recommended is greater than the interest threshold, or may refer to the information that the user has a higher The interaction probability of the information to be recommended.
  • Step S503 If the attribute information of the terminal matches the information to be recommended, in response to the information display request, the fields in the service package name are parsed to obtain the configuration information.
  • the server analyzes the target object corresponding to the terminal, determines the object characteristics of the target object, and based on the object characteristics of the target object, retrieves multiple business packages stored in the business package name database. Information is recalled from the information to be recommended corresponding to the name to obtain the information to be recommended that matches the target object, that is, the information to be recommended that matches the object characteristics of the target object is screened out from multiple information to be recommended.
  • the filtered information to be recommended is the information to be recommended that the target object has a high interaction probability, that is, the interaction probability of the target object to the filtered information to be recommended is greater than the probability threshold.
  • the interaction probability of the target object interacting with each information to be recommended can be determined based on the object characteristics of the target object, and the information to be recommended whose interaction probability is greater than the probability threshold is determined as the filtered information to be recommended.
  • any prediction model can be used to predict the interaction probability between the target object and the information to be recommended.
  • the interaction proposed in the embodiments of this application can be any interaction method, such as clicking, commenting, sharing, purchasing, reading, and collecting.
  • the information to be recommended after the information to be recommended is filtered out, it indicates that the attribute information of the terminal matches the information to be recommended. That is to say, the matching of the attribute information of the terminal and the information to be recommended means that the target object corresponding to the terminal matches the information to be recommended.
  • the probability of interaction between information is greater than the probability threshold.
  • the business package name of the information to be recommended can be obtained, and in response to the information display request, the fields in the business package name can be parsed to obtain the configuration information of the information to be recommended.
  • Parsing the fields in the business package name may include identifying the fields at different field positions in the business package name, obtaining the recognition results, and then determining the information corresponding to the field positions based on the field positions and the recognition results. For example, the field in the resource type field position can be identified, the field value corresponding to the resource type can be obtained, and then based on the field value corresponding to the resource type, it is determined which resource type the information to be recommended is; or the resource address can be identified For the field position, the resource address of the information to be recommended can be obtained, and then the resource of the information to be recommended can be directly obtained based on the resource address.
  • Step S504 Call the local dynamic component corresponding to the configuration information, load the information to be recommended into the local display area of the current page of the terminal, and generate a local dynamic page.
  • the partial display area refers to a partial area on the current page of the target application on the terminal.
  • the partial display area can be located at any position on the current page. For example, it can be located at the top, bottom, or left edge of the current page. position, right edge position, center position, etc.
  • the local display area can have a fixed size and shape, or it can have an unfixed size and shape. For example, it can have half the area of the current page, or 1/3 of the current page area, and can be a rectangular area or a square area. , circular area, star-shaped area or irregular-shaped area.
  • the local display area may be provided with multiple types of local dynamic components, and each local dynamic component is used to load information for one type of information to be recommended.
  • each local dynamic component is used to load information for one type of information to be recommended.
  • there may be a picture component, an animated picture component, a player component and a dynamic component, respectively used to load information to be recommended of picture type, animated picture type, video type and dynamic type.
  • loading the information to be recommended into the local display area of the current page of the terminal means rendering the content corresponding to the information to be recommended into the local display area, thereby forming a local dynamic page containing the information content of the information to be recommended in the local display area.
  • the current page of the terminal may have multiple partial display areas.
  • a partial display area for displaying the information to be recommended may be specified in advance, or one or more partial display areas for displaying the information to be recommended may be determined based on the information content of the information to be recommended.
  • the recommended information may not be treated.
  • Recommend information that is, do not render the information to be recommended in the local display area of the current page.
  • the local display area can display the existing content of the current page, or the local display area does not need to display any content. In other words, you can load information without calling local dynamic components. In this way, the pluggable feature of the local dynamic components of the local display area of the terminal is achieved.
  • the operation platform generates the business package name of the information to be recommended according to the configuration information configuration of the information to be recommended, and sends the business package name to the application server of the application.
  • the application server receives An information display request sent by the terminal; when the application server receives the service package name of the information to be recommended and the attribute information of the terminal matches the information to be recommended, it responds to the information display request, parses the fields in the service package name, and obtains the configuration information; and The local dynamic component corresponding to the configuration information is called, the information to be recommended is loaded into the local display area of the current page of the terminal, and the local dynamic page is generated.
  • the business package name of the recommended information is configured through the operation platform, the flexibility of page information configuration can be ensured, and the information of the partial display area of the entire page is configured.
  • the entire page is developed through native components.
  • it can not only ensure the overall smoothness of the page, but also flexibly generate local dynamic pages and enhance the diversity of operational information within the application. sex and flexibility.
  • the local dynamic page generation system at least includes: a terminal, an application server and an operation platform, wherein any target application with a local dynamic page generation function is installed on the terminal, for example, instant messaging applications, information Recommended applications, shopping applications, etc., the embodiment of this application takes an instant messaging application installed on the terminal as an example for explanation.
  • the application server is a business backend server of the target application installed on the terminal. For example, it may be an application server of an instant messaging application.
  • the application server can interact with the terminal and operation platform in the local dynamic page generation system to generate local dynamic pages.
  • the operation platform is a third-party platform that is independent of application servers and terminals.
  • the operation platform is a platform for operators to configure information.
  • an instant messaging application is installed on the terminal.
  • the local dynamic page generation method provided by the embodiment of the present application can be used, and the operation platform issues the service package name of the information to be recommended (for example, the information to be recommended) to the server of the instant messaging application, where the service package name is in accordance with The resource type and resource address of the information to be recommended are configured and generated; and the user can also perform a pull-down refresh operation on the client of the instant messaging application.
  • the client receives the pull-down refresh operation, it will automatically generate an information display request.
  • the server After receiving the information display request, the server responds to the information display request and obtains the attribute information of the terminal; through the attribute information, the characteristic information of the user using the terminal can be determined. At this time, if the attribute information of the terminal matches the information to be recommended, the server parses the fields in the service package name to obtain the resource type and resource address; and calls the local dynamic component corresponding to the resource type and resource address to add the information to be recommended. The information is loaded into the local display area of the current page of the terminal (for example, the top area of the current page), and the current page to be displayed is generated, which is the local dynamic page. After generating the page to be displayed, the terminal displays the page on the client of the instant messaging application, thereby completing a generation process of a partially dynamic page in the instant messaging application.
  • Figure 6 is another optional flow diagram of the method for generating local dynamic pages provided by the embodiment of the present application. As shown in Figure 6, the method includes the following steps:
  • Step S601 The operation platform receives the configuration information of the information to be recommended input by the operation personnel.
  • the configuration information of the information to be recommended can be information manually input by the operator.
  • the operator can determine the configuration information based on the attribute parameters of the information to be recommended, and input the configuration information on the operation platform.
  • the attribute parameters include but are not limited to at least one of the following: resource type and resource address of the information to be recommended.
  • the operation platform can provide a configuration interface.
  • the configuration interface has at least one input position for configuration information.
  • the operation personnel can input the configuration information manually or selectively at the input position.
  • the operation platform receives the input input by the operation personnel. Configuration information.
  • Step S602 The operating platform configures and generates the service package name of the information to be recommended according to the configuration information of the information to be recommended.
  • Step S603 The operation platform delivers the business package name of the information to be recommended to the application server.
  • Step S604 The application server stores the service package name in the service package name database.
  • the business package name database is a database corresponding to the target application that is used to store business package names.
  • the operation platform issues the service package name to the application server of the target application, it indicates that the operation platform confirms that it wants to recommend the recommended information corresponding to the service package name in the target application. Therefore, the service package name can be stored in the service package name library.
  • the terminal can recommend information to be recommended.
  • the same target application has a service package name database, and the service package name database stores the service package names of information to be recommended for information recommendation to all terminals installed with the target application.
  • Step S605 The terminal receives the information display triggering operation input by the target object on the client of the instant messaging application.
  • the information display triggering operation includes any of the following: triggering login operation, page refresh operation and information display request operation.
  • the target application is an instant messaging application
  • any one of the login operations, page refresh operations, and information display request operations performed by the user on the client of the instant messaging application is the information display triggering operation input by the user.
  • the triggering login operation can be that the user enters the login account and clicks the login button to log in to the application
  • the page refresh operation can be that the user performs a pull-down refresh or clicks the refresh button to refresh the page
  • the information display request operation can be that the user clicks the current The information display button on the page performs the operation of information display request.
  • Step S606 The terminal generates an information display request in response to the information display triggering operation.
  • the instant messaging application client on the terminal After receiving the information display trigger operation, the instant messaging application client on the terminal automatically generates an information display request.
  • Step S607 The terminal sends the information display request to the application server.
  • Step S608 When receiving the information display request, the application server obtains the attribute information of the terminal.
  • the application server when the application server receives the information display request sent by the terminal, it can analyze the terminal that sent the information display request and obtain the attribute information of the terminal.
  • the information display request may Carrying the identification of the terminal, when the application server receives the information display request, it can parse the information display request, obtain the identification of the terminal carried in the information display request, and then determine the attribute information of the terminal based on the terminal identification.
  • the attribute information of the terminal includes but is not limited to: the device parameters of the terminal, the time when the target application is installed on the terminal, the usage time of the target application, the login account of the target application, the account information of the login account, the login account's Historical usage data, etc. That is to say, the attribute information of the terminal refers to the information that distinguishes the terminal from other terminals.
  • the attribute information of the terminal can determine the characteristic information of the target object using the terminal.
  • Step S609 If it is determined that the service package name that contains information to be recommended is stored in the service package name library, the application server filters the target information to be recommended in the service package name library based on the attribute information for display to the terminal.
  • the target can be filtered from the business package name database. Information to be recommended.
  • Embodiments of the present application provide a method for determining whether attribute information of a terminal matches information to be recommended, including the following steps: first, obtain historical interaction data of a target object corresponding to the terminal. Then, perform object feature analysis on the target object based on historical interaction data to obtain the object features of the target object; perform information feature extraction on the information to be recommended to obtain the information features of the information to be recommended; and then determine the correlation between the object features and the information features. degree, and determine whether the correlation is greater than the correlation threshold. If the judgment result is yes, it is determined that the terminal's attribute information matches the information to be recommended; if the judgment result is no, it is determined that the terminal's attribute information does not match the information to be recommended.
  • the historical interaction data can be the interaction data of the target object within a preset historical time period before the current moment.
  • the interaction in the embodiment of this application can be any interaction method, for example, click, comment, share, purchase, Interactive methods such as reading and collection.
  • portrait analysis can be performed on the target object to determine the object characteristics of the target object.
  • the summary information of the information to be recommended can be extracted, and the summary information can be determined as the information features of the information to be recommended.
  • text recognition and text analysis can be performed to determine the keywords in the text, and the summary information of the text can be determined based on the keywords;
  • image recognition can be performed Recognition and analysis, determine the objects in the image and the text in the image, analyze the objects and text in the image respectively, and determine the summary information of the image.
  • the feature distance between the object features and the information features can be calculated, and the feature distance is determined as the correlation between the object features and the information features.
  • the feature distance when the feature distance is larger, it indicates that the correlation between the object features and the information features is smaller; when the feature distance is smaller, it indicates that the correlation between the object features and the information features is larger. That is to say, when the feature distance is greater than the distance threshold, it indicates that the correlation between the object features and the information features is less than the correlation threshold; when the feature distance is less than or equal to the distance threshold, it indicates that the correlation between the object features and the information features is greater than Or equal to the correlation threshold.
  • Step S610 If the target information to be recommended is filtered out from the service package name database, the application server responds to the information display request and parses the fields in the service package name of the target information to be recommended to obtain the configuration information.
  • the application server parses the fields in the business package name of the target information to be recommended, obtains the configuration information, and then generates a local dynamic page for displaying the target information to be recommended based on the configuration information.
  • Step S611 The application server calls the local dynamic component corresponding to the configuration information, loads the target to-be-recommended information into the local display area of the current page of the terminal, and generates a local dynamic page.
  • the local display area may be provided with multiple types of local dynamic components, and each local dynamic component is used to load information for one type of information to be recommended. For example, you can have picture components, animation groups components, player components and dynamic components, respectively used to load the information to be recommended of image type, animation type, video type and dynamic type.
  • loading the information to be recommended into the local display area of the current page of the terminal means rendering the content corresponding to the information to be recommended into the local display area to form a local dynamic page containing the information content of the information to be recommended in the local display area.
  • Step S612 The application server sends the partially dynamic page to the terminal.
  • Step S613 The terminal displays a partially dynamic page on the client of the instant messaging application.
  • the partial dynamic page generation method provided by the embodiment of the present application filters out the service package names of the information to be recommended that match the current terminal from the multiple service package names stored in the service package name library, so as to achieve the realization of the current End users make accurate information recommendations. Moreover, for the same current page, since the information to be recommended is different for different terminals, the local dynamic pages under the same current page generated based on different information to be recommended are different for different terminals. In this way, personalized partial dynamic page generation and personalized information recommendation can be achieved for different users on the same current page. In addition, by configuring local display information and calling local dynamic components to load local dynamic content, it not only ensures the overall smoothness of the page, but also flexibly generates local dynamic pages, enhancing the diversity and delivery of operational information within the application. flexibility.
  • the application server of the instant messaging application needs to first access the operation platform, and the application server can send the request
  • the background service and the ability to parse return packet data are encapsulated into a data processing function package.
  • the new business of the instant messaging application can indirectly send advertising requests to the operating platform through the data processing function package. After receiving the advertising request, the operating platform returns the data to the data processing function package for analysis, and finally returns the parsed data to the instant messaging application.
  • the instant messaging application can display the parsed data on its own.
  • receiving the business package name of the recommended information issued by the operation platform can be achieved in the following ways: first, obtain the data processing operation of the terminal; The operations include any kind of request operation to request the application server to perform data processing, and the parsing operation to parse the return packet data from the application server; and the data processing operation is encapsulated into a data processing function package. Then, a request for the information to be recommended is sent to the operation platform through the data processing function package. Then, receive the return packet data from the operating platform issued by the operating platform in response to the request for issuing the information to be recommended. Finally, the data processing function package is used to parse the packet return data from the operation platform to obtain the business package name of the information to be recommended.
  • the data processing operations of requesting the application server and parsing the return packet data of the application server are encapsulated into a data processing function package.
  • the data processing function package can be a software development kit (SDK, Software Development Kit), through which functions such as data interaction and data analysis and processing with the operation platform are realized.
  • Send a request to the operation platform to deliver the information to be recommended which is the name of the business package used to request the operation platform to deliver the information to be recommended.
  • the return package data from the operation platform includes the business package name of the information to be recommended.
  • an SDK toolkit integrating functions such as data interaction and data parsing and processing can be formed through data encapsulation, so that the request, reception and parsing of the business package name of the recommended information can be implemented based on the SDK toolkit.
  • FIG 7 is another optional flow diagram of the local dynamic page generation method provided by the embodiment of the present application. As shown in Figure 7, the method includes the following steps:
  • Step S701 The operation platform receives the configuration information of the information to be recommended input by the operation personnel.
  • Step S702 The operating platform determines the field format of the service package name of the information to be recommended.
  • the field formats of the service package names may be the same or different.
  • the field formats of the service package names of different information to be recommended may be predefined. Or, for information to be recommended in different recommendation systems, the field format of the business package name is different, and for information to be recommended in the same recommendation system, the field format of the business package name is the same. It should be noted that the field format of the business package name is the package name format of the business package name. Based on the field format, the business package name corresponding to a piece of information to be recommended can be obtained through data filling.
  • Step S703 The operation platform determines the field value corresponding to the resource type of the information to be recommended based on the predefined rules.
  • predefined rules refer to rules that define field values corresponding to different resource types. For example, for different resource types, the field values are different. Each field value represents a resource type to be delivered. If the field value of the resource type is 0, it indicates that the corresponding information to be recommended is an image type. ; If the value of the resource type field is 1, it indicates that the corresponding information to be recommended is the animation type; if the value of the resource type field is 2, it indicates that the corresponding information to be recommended is the video type; if the resource type field is A value of 3 indicates that the corresponding information to be recommended is of interactive type.
  • Step S704 The operation platform adds the field value to the resource type field of the business package name and adds the resource address of the information to be recommended to the resource address field of the business package name according to the field format to obtain the business package name.
  • the configuration information of the information to be recommended includes: the resource type of the information to be recommended and the resource address of the information to be recommended.
  • Step S705 The operation platform delivers the business package name of the information to be recommended to the application server.
  • Step S706 The terminal receives the information display triggering operation input by the target object on the client of the instant messaging application.
  • Information display triggering operations include any of the following: triggering login operations, page refresh operations, and information display request operations.
  • Step S707 The terminal generates an information display request in response to the information display triggering operation.
  • the operation type of the user's information display triggering operation can be judged. If the operation type of the information display triggering operation is a preset type, an information display request can be generated to request the server to generate the final local dynamic page.
  • the preset type may be any one or more of trigger login type, page refresh type, information display request type, etc.
  • Step S708 The terminal sends the information display request to the application server.
  • Step S709 When receiving the information display request, the application server obtains the attribute information of the terminal.
  • the information display request may carry the identification of the terminal.
  • the application server may parse the information display request, obtain the identification of the terminal carried in the information display request, and then use the terminal identification according to the information display request. Determine the attribute information of the terminal.
  • Step S710 If the attribute information of the terminal matches the information to be recommended, the application server responds to the information display request and parses the information on the location of the resource type field in the service package name to obtain the field value corresponding to the resource type of the information to be recommended.
  • the attribute information of the terminal matches the information to be recommended, it indicates that the information to be recommended is information that can be recommended to the terminal.
  • the information on the location of the resource type field used to fill the resource type in the field format can be parsed to obtain the field location corresponding to the resource type of the information to be recommended. value.
  • Step S711 The application server determines the resource type of the information to be recommended based on the field value.
  • Each field value represents the resource type to be delivered. If the field value of the resource type is 0, it indicates that the corresponding information to be recommended is an image type; if the resource type If the field value of is 1, it indicates that the corresponding information to be recommended is of animation type; if the field value of resource type is 2, it indicates that the corresponding information to be recommended is video type; if the field value of resource type is 3, This indicates that the corresponding information to be recommended is of interactive type.
  • Step S712 The application server determines the resource type as configuration information.
  • Step S713 The application server calls the local dynamic component corresponding to the configuration information, loads the information to be recommended into the local display area of the current page of the terminal, and generates a local dynamic page.
  • each type of local dynamic component The component is used to load information for corresponding types of information to be recommended.
  • the resource type of the information to be recommended is an image type
  • the image component can be called to load the information to be recommended into the local display area of the current page of the terminal
  • the resource type of the information to be recommended is an animation type
  • the animation component can be called Load the information to be recommended to the local display area of the current page of the terminal
  • the resource type of the information to be recommended is video type
  • the resource type of the information to be recommended is It is an interactive type, and the interactive component can be called to load the information to be recommended to the local display area of the current page of the terminal.
  • generating a local dynamic page in step S713 can be achieved through the following steps: first, call the local dynamic component corresponding to the resource type, parse the information on the location of the resource address field in the service package name, and obtain The resource address of the recommended information.
  • the resource address can be a Uniform Resource Locator (URL) address; then, obtain the information resources corresponding to the information to be recommended based on the resource address; finally, load the information resources to the current page of the terminal. Partial display area.
  • URL Uniform Resource Locator
  • the resource type may have at least one type
  • the current page may also have at least one partial display area. Therefore, before loading the information resource into the partial display area of the current page of the terminal, the following steps may also be included: At least one partial display area is predefined on the current page. In this way, when loading information resources into the local display area of the current page of the terminal, the target display area for displaying the information to be recommended may be first determined in at least one partial display area; and then, the information resources are loaded into the target display area. display area.
  • the resource type may have at least one type.
  • a local display area sets the component label of the local dynamic component corresponding to each resource type.
  • the target display area can be determined after determining the target display area for displaying the information to be recommended.
  • the target component label of the local dynamic component corresponding to the resource type in the area then, call the local dynamic component corresponding to the target component label, parse the information on the location of the resource address field in the business package name, and obtain the information to be recommended resource address.
  • the resource type of the information to be recommended includes at least one of the following: picture type, animation type, video type, and interactive resource type.
  • the partial display area may be located in a half-screen pop-up window of the current page.
  • Step S714 The application server sends the partially dynamic page to the terminal.
  • Step S715 The terminal displays a partially dynamic page on the client of the instant messaging application.
  • the local dynamic page generation method pre-sets different types of local dynamic components, and uses different local dynamic components to load information for different types of information to be recommended, which can realize various types of The information to be recommended is accurately loaded in the local display area to obtain a more accurate local dynamic page.
  • the local dynamic page generation method provided by the embodiments of this application can at least be applied to instant messaging applications.
  • the operators of instant messaging applications can configure the front-end development package that they want to display in a local location on the operation platform, and then Configuration data is delivered to users of instant messaging applications.
  • Instant messaging application users can trigger the pull of advertisements (i.e. information to be recommended) when performing operations such as pull-down refresh, disconnection and reconnection, etc., so that a half-screen pop-up window will pop up in the main message list of the instant messaging application.
  • advertisements i.e. information to be recommended
  • There is an area for displaying carousel images If a certain page of the carousel image displays an interactive type, then the content displayed on the carousel page will be the interactive content configured by the operator. From an operational perspective, it increases the flexibility and diversity of advertising. From a user perspective, users can obtain the latest advertising content in real time, making the interactive experience optimal.
  • the pop-up window display can be triggered.
  • the fetch operation is a schematic diagram of a partial dynamic advertisement displayed in a pop-up window provided by the embodiment of the present application.
  • a half-screen pop-up window 801 will pop up at the bottom of the chat list.
  • the advertisement displayed in this half-screen pop-up window Content 802 is the operation configuration data. If the configured advertising data is of an interactive type, it can be replaced by dynamically issuing different business package names, which is highly flexible.
  • the interactive content here can display logic such as people you may know pulled from the recommendation side, daily check-in, etc.
  • the half-screen pop-up window also presets some other common components, such as pictures, animations and videos.
  • the operator can determine the page to be displayed by configuring the data type and resource content to be displayed on different carousel pages. In this way End users can immediately obtain the latest advertising and activity information that operators want to push to users, and it also greatly enriches the types of advertisements to be displayed.
  • advertising content can be dynamically delivered through a delivery system (i.e., operation platform).
  • a delivery system i.e., operation platform.
  • the material can be interactive logic, video, pictures, and animations. If it is interactive logic, you need to fill in the package name of the delivered business front-end; if it is a video, you need to fill in the delivered video URL; if it is a picture or animation, you need to fill in the image online URL.
  • users can choose to release it to the user level and increase the advertising volume. The user will receive the latest advertisements issued by the operation.
  • the exposure page views (PV, Page Views) and click PV of each level of advertising can be obtained to facilitate further real-time analysis.
  • the APP in order to allow operators to dynamically configure and deliver data, the APP needs to first access the configuration system background.
  • the APP can encapsulate the ability to request the background service and parse the returned data into an SDK.
  • the APP's new business can send advertising requests indirectly through the SDK and the configuration system background.
  • the configuration system After receiving the request, the configuration system returns the data to the SDK for analysis, and finally returns the parsed data to the business party, who can display it by themselves.
  • Figure 9 is a schematic diagram of the request interaction process between the operating platform and the APP provided by the embodiment of this application.
  • the APP business party 901 sends an advertising request to the APP SDK 902, and the APP SDK 902 requests a pull from the operating platform 903 Data, the operation platform 903 returns the command word packet, and the APP SDK 902 caches the returned command word packet into a cache (cache), and sends advertising data to the APP business party 901 from the cache.
  • a cache cache
  • dynamically displayed resource types include pictures, animations, videos, interactive, etc.
  • the interactive types display front-end partial dynamic advertisements. Therefore, it is necessary to define at least the fields shown in Table 1, in which the resource type can have four values. Each value represents the resource type to be delivered. If the resource type to be delivered corresponds to "0" or "1" and "2", then the image/video resource address must be delivered at the same time; if the configured resource type is "3", then the interactive address must be delivered at the same time.
  • the interactive address is usually a front-end business package name, here After the front-end business is developed, it needs to be uploaded to the corresponding publishing platform. After the operation and terminal communicate the field types, the entire configurable link is opened. At this point, the advertising business can be accessed according to the needs of the scenario, and the advertising business can be dynamically configured and distributed.
  • the terminal's advertisement display container can pop up dynamically at a preset time.
  • the user can trigger login, pull-down refresh and other operations.
  • the terminal parses the delivered field (that is, the service package name). First parse the resource type field. If it is "0”, add the picture component to the resource display area, and then the picture component then parses the resource link corresponding to the picture/video resource address field; if it is "1", add the animated picture component Add it to the resource display area, and then the animation component will then parse the resource link corresponding to the image/video resource address field; if it is "2", add the player component to the resource display area, and then the player component will then parse the image/video The resource link corresponding to the video resource address field; if it is "3", the dynamic component is added to the resource display area, and then the dynamic component then parses the resource link corresponding to the address field of the interactive address.
  • the dynamic capability in this scenario can be provided by the dynamic framework, and the dynamic component can be hung as a sub-component on any parent component under any operating system.
  • Figure 10 it is a schematic diagram of terminal display logic provided by the embodiment of the present application.
  • the resource display area 1002 corresponds to a parent component.
  • Under the parent component corresponding to multiple sub-components, for example, picture component 1003, animation component 1004, player component 1005 and dynamic component 1006 in Figure 10.
  • the interactive resources configured in the advertisement display a partially dynamic page, which is implemented based on dynamic technology.
  • the dynamic framework technology can be understood as a simplified version of the browser, and a lot of work has been done from the bottom to polish the page. It bridges the dual-end differences between different operating systems (for example, iOS and Android) and provides a development experience close to the Web. Both support React (a JavaScript library for building user interfaces) and Vue (a JavaScript library for creating The open source JavaScript framework for the user interface is also a Web application framework for creating single-page applications) and two sets of interface frameworks. Front-end personnel can use dynamic framework technology to convert the front-end code into the native instructions of the terminal for native terminal APP development.
  • FIG 11 is a schematic diagram of the principle of terminal loading front-end data package provided by the embodiment of this application.
  • the data package of the business front-end that is, the JS bundle 1101 in Figure 11
  • the framework loads the remote sub-bundle package 1102 through the URL, and displays the business code in the dynamic View tag 1103 corresponding to the terminal.
  • the front-end module name i.e., business package name
  • the front-end business content displayed on the terminal will also change accordingly, thus realizing the operation configurable replacement capability.
  • the operator chooses to deliver an interactive type of advertisement, he or she needs to fill in the package name of the front-end service in the interactive resource.
  • the terminal receives and parses that the delivered data type is an interactive type, it will select a container to display the dynamic component.
  • dynamic advertisements can be displayed in the corresponding local location. If the operation configuration changes the data type of the delivered advertisement to a non-interactive type at this time, the dynamic component advertisement can be canceled; if the operation changes the interactive resource address of the delivered advertisement to another business package name, the interactive area (i.e. Partial display area) will reload the JS Bundle package of the new business package, thus realizing the pluggability and dynamic replacement capabilities of interactive advertisements.
  • the solution of the embodiment of this application is a configurable and pluggable local dynamic advertising display solution.
  • the operator can dynamically configure and modify the front-end business package name to dynamically update the advertising content displayed by the terminal component; on the other hand, on the terminal What you can choose to display is a partial dynamic component.
  • the entire page is a native development method. It only interacts with the dynamic component.
  • Dynamic components are used in parts with relatively high dynamic requirements to accept the delivered dynamic content (i.e. information to be recommended), making the user experience close to native and reducing the performance impact of using dynamic frameworks.
  • FIG. 12 is a schematic diagram of different types of control experiments of the local dynamic page generation method of the embodiment of this application.
  • the experiment compared the picture type 1201 and the interactive type 1202 advertisements.
  • the click-through rate of the image version is 1.7%, while the click-through rate of the interactive version is 6.3%, an overall increase of more than 3.7 times, proving that this kind of local dynamic advertising is very helpful in improving user click-through rates. .
  • the method of the embodiment of the present application can embed the local dynamic component in a half-screen pop-up window, or embed it in a specified local position of any terminal page.
  • the local dynamic components proposed in the embodiments of this application can be implemented using the Hippy framework (a cross-end development framework), or other dynamic frameworks can be used instead.
  • the content related to user information such as information to be recommended, historical interaction data of the target object, and object characteristics of the target object, etc.
  • user permission or consent needs to be obtained, and the relevant data collection and processing should be strictly in accordance with the requirements of relevant national laws and regulations when applying the example, and obtain the informed consent or consent of the personal information subject. Agree separately and carry out subsequent data use and processing within the scope of laws, regulations and the authorization of the personal information subject.
  • the local dynamic page generation device 354 includes:
  • the first receiving module is configured to receive the service package name of the information to be recommended issued by the operation platform, where the service package name is configured and generated according to the configuration information of the information to be recommended;
  • the second receiving module is configured as Receive an information display request sent by a terminal and obtain attribute information of the terminal;
  • a field parsing module configured to parse the service in response to the information display request if the attribute information of the terminal matches the information to be recommended.
  • the field in the package name is used to obtain the configuration information;
  • the information loading module is configured to call the local dynamic component corresponding to the configuration information, and load the information to be recommended to the local display area of the current page of the terminal, Generate the partial dynamic page.
  • the device further includes: a storage module configured to store the service package name in the service package name library after receiving the service package name of the information to be recommended issued by the operation platform;
  • the attribute information acquisition module is configured to, after receiving the information display request, screen the target information to be recommended for display to the terminal in the service package name library based on the attribute information.
  • the device further includes: a historical interaction data acquisition module configured to obtain historical interaction data of the target object corresponding to the terminal within a preset historical time period before the current moment; an object feature analysis module, configured to perform object feature analysis on the target object based on the historical interaction data to obtain object features of the target object; a feature extraction module configured to perform information feature extraction on the information to be recommended to obtain the information to be recommended information characteristics; a correlation determination module configured to determine the correlation between the object characteristics and the information characteristics; an analysis module configured to determine the attribute information of the terminal if the correlation is greater than a correlation threshold Match the information to be recommended.
  • a historical interaction data acquisition module configured to obtain historical interaction data of the target object corresponding to the terminal within a preset historical time period before the current moment
  • an object feature analysis module configured to perform object feature analysis on the target object based on the historical interaction data to obtain object features of the target object
  • a feature extraction module configured to perform information feature extraction on the information to be recommended to obtain the information to be recommended information characteristics
  • a correlation determination module configured to determine
  • the method is applied to the application server of the target application; the device further includes: an encapsulation module configured to obtain the data processing operation of the terminal; the data processing operation includes any request to the application The server performs a request operation for data processing, and a parsing operation for parsing the return packet data of the application server; and encapsulates the data processing operation into a data processing function package; and a request sending module configured to send the request to all data processing functions through the data processing function package.
  • the operation platform sends a request for issuing the information to be recommended;
  • the return data receiving module is configured to receive the operation platform return data sent by the operation platform in response to the request for the information to be recommended;
  • the parsing module is configured as Through the data processing function package, the operation platform return package data is parsed to obtain the business package name of the information to be recommended.
  • the configuration information of the information to be recommended includes: the resource type of the information to be recommended and the resource address of the information to be recommended; wherein the device further includes a configuration module configured to configure the information according to the information to be recommended.
  • the configuration information of the recommended information is configured to generate the service package name; in some embodiments, the configuration module is also configured to: determine the field format of the service package name of the information to be recommended; based on predefined rules, determine the The field value corresponding to the resource type of the recommended information; according to the field format, add the field value to the resource type field position of the service package name, and add the resource address of the information to be recommended to the service
  • the resource address field position of the package name is used to obtain the service package name.
  • the field parsing module is further configured to: parse the information on the location of the resource type field in the service package name to obtain the field value corresponding to the resource type of the information to be recommended; according to the The value of the field determines the resource type of the information to be recommended; the resource type is determined as the configuration information.
  • the information loading module is further configured to: call a local dynamic component corresponding to the resource type, parse the information on the location of the resource address field in the service package name, and obtain the to-be-recommended The resource address of the information; obtaining the information resource corresponding to the information to be recommended according to the resource address; loading the information resource into the local display area of the current page of the terminal.
  • the resource type has at least one type; the device further includes: a predefined module configured to predefine at least one partial display area on the current page; the information loading module is further configured to: A target display area for displaying the information to be recommended is determined in the at least one partial display area; and the information resource is loaded into the target display area.
  • the device further includes: a label setting module configured to set component labels of local dynamic components corresponding to each resource type for each local display area; the information loading module is also configured to : After determining the target display area for displaying the information to be recommended, in the target display area, determine the component label of the local dynamic component corresponding to the resource type as the target component label; call and The local dynamic component corresponding to the target component label parses the information on the location of the resource address field in the business package name to obtain the resource address of the information to be recommended.
  • a label setting module configured to set component labels of local dynamic components corresponding to each resource type for each local display area
  • the information loading module is also configured to : After determining the target display area for displaying the information to be recommended, in the target display area, determine the component label of the local dynamic component corresponding to the resource type as the target component label; call and The local dynamic component corresponding to the target component label parses the information on the location of the resource address field in the business package name to obtain the resource address of the information to be recommended.
  • the second receiving module is further configured to: when the target object inputs an information display triggering operation through the terminal, receive an information display request sent by the terminal in response to the information display triggering operation; wherein , the information display triggering operation includes any one of the following: triggering a login operation, a page refresh operation, and an information display request operation.
  • the resource type of the information to be recommended includes at least one of the following: picture type, animation type, video type and interactive resource type; the partial display area is located in half the screen of the current page. in the window.
  • Embodiments of the present application provide a computer program product or computer program.
  • the computer program product or computer program includes executable instructions.
  • the executable instructions are computer instructions; the executable instructions are stored in a computer-readable storage medium.
  • the processor of the electronic device reads the executable instruction from the computer-readable storage medium and the processor executes the executable instruction, the electronic device is caused to execute the method described above in the embodiment of the present application.
  • Embodiments of the present application provide a storage medium in which executable instructions are stored. When the executable instructions are executed by a processor, they will cause the processor to execute the method provided by embodiments of the present application. For example, as shown in Figure 5 shows the method.
  • the storage medium may be a computer-readable storage medium, such as a ferroelectric memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), or a programmable read-only memory (PROM).
  • FRAM ferroelectric memory
  • ROM read-only memory
  • PROM programmable read-only memory
  • PROM programmable read-only memory
  • Read Only Memory erasable programmable read-only memory EPROM, Erasable Programmable Read Only Memory, EEPROM, Electrically Erasable Programmable Read Only Memory, flash memory, magnetic surface memory, optical disk, or CD-ROM, Compact Disk -Read Only Memory
  • flash memory magnetic surface memory, optical disk, or CD-ROM, Compact Disk -Read Only Memory
  • CD-ROM Compact Disk -Read Only Memory
  • executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and their May be deployed in any form, including deployed as a stand-alone program or deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
  • executable instructions may, but do not necessarily correspond to, files in a file system and may be stored as part of a file holding other programs or data, for example, in a Hyper Text Markup Language (HTML) document. in one or more scripts, in a single file that is specific to the program in question, or in multiple collaborative files (e.g., files that store one or more modules, subroutines, or portions of code).
  • executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected by a communications network. execute on.

Landscapes

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

Abstract

本申请实施例提供一种局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品,至少应用于人工智能领域和页面开发领域,其中,所述方法由电子设备执行,方法包括:接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;接收终端发送的信息展示请求;获取所述终端的属性信息;如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端当前页面的局部展示区域,生成所述局部动态化页面。

Description

局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品
相关申请的交叉引用
本申请基于申请号为202210949924.0、申请日为2022年08月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请实施例涉及互联网技术领域,涉及但不限于一种局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品。
背景技术
目前,越来越多应用(APP,Application)为了满足快速迭代的需要,在某些实时性要求较高的页面会采用动态化技术。相关技术中,通常是使用动态化框架来实现整个页面的全局动态化,或者,是以“二次动态化”的方案实现局部动态化的展示方案。
但是,相关技术中,全局动态化大多占据整个终端页面,而动态化技术会通过一层JavaScript语言去操作原生控件,跨语言难免带来一些性能开销,使得与原生技术相比,全局动态化的性能会略差一些。以“二次动态化”的方案实现的局部动态化,是在终端的某个局部位置使用“标签”占位,然后用前端开发包进行动态填充,前端开发包名无法由运营动态配置修改,并且由于动态化组件是固定在终端的一个页面的局部位置,也没有办法通过不下发前端开发包名而将此处的动态化组件去掉,不具有良好的动态可配置和可插拔特征,在一些对广告展示与否灵活性要求较高的场景是无法满足需求的。由此可见,相关技术中通过动态化技术生成动态化页面时,存在页面信息配置的灵活度低、页面整体的流畅性较差的问题。
发明内容
本申请实施例提供一种局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品,至少应用于人工智能领域和页面开发领域,能够保证在整个页面通过原生组件开发的基础上,灵活的生成局部动态化页面,从而保证页面信息配置的灵活度和页面整体的流畅性,进而增强应用内运营投放信息的多样性和灵活性。
本申请实施例的技术方案是这样实现的:
本申请实施例提供一种局部动态化页面生成方法,所述方法由电子设备执行,所述方法包括:
接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;接收终端发送的信息展示请求;获取所述终端的属性信息;如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;调用与所述配置信息对应的 局部动态化组件,将所述待推荐信息加载至所述终端的当前页面的局部展示区域,生成所述局部动态化页面。
本申请实施例提供一种局部动态化页面生成装置,所述装置包括:第一接收模块,配置为接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;第二接收模块,配置为接收终端发送的信息展示请求,并获取所述终端的属性信息;字段解析模块,配置为如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;信息加载模块,配置为调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端当前页面的局部展示区域,生成所述局部动态化页面。
本申请实施例提供一种电子设备,包括:
存储器,配置为存储可执行指令;处理器,配置为执行所述存储器中存储的可执行指令时,实现上述局部动态化页面生成方法。
本申请实施例提供一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括可执行指令,可执行指令存储在计算机可读存储介质中;其中,电子设备的处理器从计算机可读存储介质中读取可执行指令,并执行可执行指令时,实现上述的局部动态化页面生成方法。
本申请实施例提供一种计算机可读存储介质,存储有可执行指令,用于引起处理器执行所述可执行指令时,实现上述局部动态化页面生成方法。
本申请实施例具有以下有益效果:运营平台按照待推荐信息的配置信息配置生成待推荐信息的业务包名,并将业务包名下发给应用的应用服务器,同时,应用服务器接收终端发送的信息展示请求;在应用服务器接收有待推荐信息的业务包名且终端的属性信息与待推荐信息匹配的情况下,响应于信息展示请求,解析业务包名中的字段,得到配置信息;并调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端当前页面的局部展示区域,生成局部动态化页面。如此,由于通过运营平台对待推荐信息的业务包名进行配置,能够保证页面信息配置的灵活度,并且配置的是整个页面的局部展示区域的信息,也就是说,是在整个页面通过原生组件开发的基础上,通过配置局部的展示信息来调用局部动态化组件加载局部的动态化内容,这样,不仅能够保证页面整体的流畅性,还能灵活的生成局部动态化页面,从而增强应用内运营投放信息的多样性和灵活性。
附图说明
图1是相关技术中基于动态化框架开发的APP页面;
图2是相关技术中局部动态化页面展示方法的示意图;
图3是本申请实施例提供的局部动态化页面生成系统的一个可选的架构示意图;
图4是本申请实施例提供的电子设备的结构示意图;
图5是本申请实施例提供的局部动态化页面生成方法的一个可选的流程示意图;
图6是本申请实施例提供的局部动态化页面生成方法的另一个可选的流程示意图;
图7是本申请实施例提供的局部动态化页面生成方法的再一个可选的流程示意图;
图8是本申请实施例提供的弹窗展示的局部动态化广告示意图;
图9是本申请实施例提供的运营平台与APP之间的请求交互过程示意图;
图10是本申请实施例提供的终端展示逻辑示意图;
图11是本申请实施例提供的终端加载前端数据包原理示意图;
图12是本申请实施例的局部动态化页面生成方法的不同类型对照实验示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。除非另有定义,本申请实施例所使用的所有的技术和科学术语与属于本申请实施例的技术领域的技术人员通常理解的含义相同。本申请实施例所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。
在解释本申请实施例之前,首先对本申请实施例中涉及的专业术语进行说明。
(1)可配置:是指运营人员可以在配置系统配置下发数据,客户端在一定条件下能触发拉取逻辑,获取到对应的配置数据,从而做用户界面(UI,User Interface)展示等逻辑。
(2)动态化:产品的快速迭代离不开移动端动态化能力的支持,动态化是指动态部署和逻辑下发到客户端的能力,使得移动端应用的开发像网页一样,可以绕过App发版周期,快速发版。
(3)局部动态化:是指在终端页面的某一部分实现动态化,使得页面整体性能保持和原生页面一致。
(4)可插拔:在动态化广告业务中,可插拔能力是指该动态化广告既可通过下发可交互类型的资源来打开,也可以通过不下发可交互资源类型的方式关闭。
(5)可交互:是指用户可以在广告页面做一系列交互操作,页面能响应这一系列交互操作;可交互能力通常通过开发一个动态化页面来实现。
(6)H5:是指第五代HTML网页技术(HTML5,HyperText Markup Language 5),的简称,是当前互联网前端开发的主流语言。H5页面与普通Web页面相比,最大的区别在于HTML5页面可以与不同大小的移动设备相匹配,支持与市面上不同浏览器的兼容。
(7)JavaScript:是Web的编程语言,HTML页面都可以使用JavaScript,其中HTML语言定义了网页的内容,JavaScript则控制了网页的行为。
(8)JS bundle:前端的源代码经过命令行打包编译,最后会输出bundle文件,这个bundle文件包含了经过加载和编译的最终源文件,可以直接在浏览器中运行。
在解释本申请实施例的局部动态化页面生成方法之前,首先对相关技术中的方法进行说明。
目前在APP上,有很多页面使用了动态化框架来实现整个页面的全局动态化,这种全局动态化页面多为通过H5技术实现,开发者在开发环境能像写一个Web页面一样编写一个APP界面,然后通过命令行工具将APP界面编译成一段JavaScript代码,生成一个JS数据包(JS bundle),在移动应用的客户端里,引擎会提前准备好一个JavaScript执行环境,在打开页面的执行环境中执行相应的JS bundle,并将执行过程中产生的各种命令发送到终端进行页面渲染、数据存储、调用终端设备功能等,其中,展现出来的是一个正常的终端页面(如图1所示,是相关技术中基于动态化框架开发的APP页面)。但是,有时候APP上的广告位并不需要整个页面的动态化技术来实现,只需要某个局部位置能动态展示即可。
因此,也出现了很多终端局部动态化的展示方案,这些方案大多以“二次动态化”方案实现,以“先占位、后填充”的实现思路,在终端的某个局部位置使用“标签”占位,然后用前端开发包进行动态填充,如图2所示,是相关技术中局部动态化页面展示方法的示意图,在APP页面201的局部位置202使用view标签占位,然后用前端开发包203进行动态填充。前端开发包的包名无法由运营动态配置修改,并且由于动态化组件是固定在终端的一个页面的局部位置,也没有办法通过不下发前端开发包的包名而将此处的动态化组件去掉,因此不具有良好的动态可配置和可插拔特征,并且,在一些对广告展示与否这一灵活性要求较高的场景是没法很好满足需求的。
相关技术中,全局动态化大多占据整个终端页面,而动态化技术会通过一层JavaScript语言去操作原生控件,跨语言难免带来一些性能开销,使得与原生技术相比,性能会略差一些。而APP的一些主场景是对整个页面流畅性有极高要求的,这些页面目前还是以原生开发页面为主。同时,在APP里存在一些用于下发广告和通知的运营位,这些场景的内容一般由运营动态调控,不仅要求这些局部广告内容具有动态性,而且对这些广告的可插拔性要求极高。为了让终端性能体验和动态化能力综合达到最优,就可以采用这种局部动态化方案。这些广告内容不需要整个页面来展示,只需要展示在页面的某个局部部位,并且展示的业务内容以及是否展示也可以由运营动态配置。这种方案可以让页面整体的流畅性保持和原生开发页面一致,仅在需要动态化的地方使用动态化技术,降低动态化对性能影响,并且广告配置的灵活程度很高。
基于相关技术中所存在的问题,本申请实施例提供一种局部动态化页面生成方法,该方法是一种基于跨平台框架的局部动态化广告展示的方法,在APP业务中的任意局部位置使用动态化组件进行占位,之后通过动态化框架编写业务代码来动态更新组件里的内容。这样一来,运营可以通过配置JS bundle的包名(即待推荐信息的业务包名)来决定终端展示的业务内容,从而实现灵活替换和更新局部动态化组件的内容;另外,由于仅在局部位置使用动态化组件,整个页面还是由原生组件来开发,页面的体验整体上与原生开发页面接近,从而使用户获得良好的体验。
本申请实施例提供的局部动态化页面生成方法中,首先,接收运营平台下发的待推荐信息的业务包名,其中,业务包名是按照待推荐信息的配置信息进行配置生成的;接收终端发送的信息展示请求;获取终端的属性信息;如果终端的属性信息与待推荐信息匹配,响应于信息展示请求,解析业务包名中的字段,得到配置信息;调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端当前页面的局部展示区域,生成局部动态化页面。如此,由于通过运营平台对待推荐信息的业务包名进行配置,能够保证页面信息配置的灵活度,并且配置的是整个页面的局部展示区域的信息,也就是说,是在整个页面通过原生组件开发的基础上,通过配置局部的展示信息调用局部动态化组件加载局部的动态化内容,从而不仅能够保证页面整体的流畅性,还能灵活的生成局部动态化页面,增强应用内运营投放信息的多样性和灵活性。
下面说明本申请实施例的局部动态化页面生成设备的示例性应用,本申请实施例提供的局部动态化页面生成设备是用于实现局部动态化页面生成方法的电子设备。在一种实现方式中,本申请实施例提供的局部动态化页面生成设备(即电子设备)可以实施为服务器,服务器可以是任意一种应用的服务器。其中,服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(CDN,Content Delivery Network)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请实施例中不做限制。下面,将说明局部动态化页面生成设备实施为 服务器时的示例性应用。
参见图3,图3是本申请实施例提供的局部动态化页面生成系统的一个可选的架构示意图,本申请实施例以局部动态化页面生成方法应用于即时通信应用,进行应用中局部动态化页面生成为例进行说明。为实现支撑任意一个即时通信应用,本申请实施例的终端上至少安装有即时通信应用,通过该即时通信应用能够展示不同的应用界面。
本申请实施例中,局部动态化页面生成系统10中至少包括终端100、网络200、服务器300和运营平台400,其中服务器300是即时通信应用的服务器,运营平台400是运营侧的配置平台,用于给运营人员提供信息配置平台,实现运营人员在运营平台对待推荐信息的业务包名进行配置。服务器300可以构成本申请实施例的局部动态化页面生成设备。终端100通过网络200连接服务器300,且服务器300通过网络与运营平台400连接,网络200可以是广域网或者局域网,又或者是二者的组合。在运行即时通信应用并生成局部动态化页面之前,运营人员按照待推荐信息的配置信息,配置生成待推荐信息的业务包名,并将业务包名下发给服务器300。在运行即时通信应用的过程中,服务器300接收终端100发送的信息展示请求;如果服务器300确定出终端的属性信息与待推荐信息匹配,则响应于信息展示请求,解析业务包名中的字段,得到配置信息;并调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端100当前页面的局部展示区域,生成局部动态化页面。终端100在当前界面上显示局部动态化页面。
本申请实施例所提供的局部动态化页面生成方法还可以基于云平台并通过云技术来实现,例如,上述服务器300可以是云端服务器。通过云端服务器接收运营平台下发的待推荐信息的业务包名,或者,通过云端服务器接收终端发送的信息展示请求,或者,通过云端服务器响应于信息展示请求,解析业务包名中的字段,得到配置信息,以及,通过云端服务器调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端当前页面的局部展示区域,生成局部动态化页面等。
在一些实施例中,还可以具有云端存储器,可以将待推荐信息的业务包名存储至云端存储器中,或者,还可以将局部动态化页面存储至云端存储器中,或者,还可以将目标视频存储至云端存储器中。这样,在当前界面显示页面时,可以从云端存储器中获取局部动态化页面进行展示。
这里需要说明的是,云技术(Cloud technology)是指在广域网或局域网内将硬件、软件、网络等系列资源统一起来,实现数据的计算、储存、处理和共享的一种托管技术。云技术基于云计算商业模式应用的网络技术、信息技术、整合技术、管理平台技术、应用技术等的总称,可以组成资源池,按需所用,灵活便利。云计算技术将变成重要支撑。技术网络系统的后台服务需要大量的计算、存储资源,如视频网站、图片类网站和更多的门户网站。伴随着互联网行业的高度发展和应用,将来每个物品都有可能存在自己的识别标志,都需要传输到后台系统进行逻辑处理,不同程度级别的数据将会分开处理,各类行业数据皆需要强大的系统后盾支撑,只能通过云计算来实现。
图4是本申请实施例提供的电子设备的结构示意图,图4所示的电子设备包括:至少一个处理器310、存储器350、至少一个网络接口320和用户接口330。电子设备中的各个组件通过总线系统340耦合在一起。可理解,总线系统340用于实现这些组件之间的连接通信。总线系统340除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统340。
处理器310可以是一种集成电路芯片,具有信号的处理能力,例如通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其中,通用处理器可以是微处理器或者任何常规的处理器等。
用户接口330包括使得能够呈现媒体内容的一个或多个输出装置331,以及一个或多个输入装置332。
存储器350可以是可移除的,不可移除的或其组合。示例性的硬件设备包括固态存储器,硬盘驱动器,光盘驱动器等。存储器350可选地包括在物理位置上远离处理器310的一个或多个存储设备。存储器350包括易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Memory),易失性存储器可以是随机存取存储器(RAM,Random Access Memory)。本申请实施例描述的存储器350旨在包括任意适合类型的存储器。在一些实施例中,存储器350能够存储数据以支持各种操作,这些数据的示例包括程序、模块和数据结构或者其子集或超集,下面示例性说明。
操作系统351,包括用于处理各种基本系统服务和执行硬件相关任务的系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务;
网络通信模块352,用于经由一个或多个(有线或无线)网络接口320到达其他计算设备,示例性的网络接口320包括:蓝牙、无线相容性认证(WiFi)、和通用串行总线(USB,Universal Serial Bus)等;
输入处理模块353,用于对一个或多个来自一个或多个输入装置332之一的一个或多个用户输入或互动进行检测以及翻译所检测的输入或互动。
在一些实施例中,本申请实施例提供的装置可采用软件方式实现,图4示出了存储在存储器350中的一种局部动态化页面生成装置354,该局部动态化页面生成装置354可以是电子设备中的局部动态化页面生成装置,其可以是程序和插件等形式的软件,包括以下软件模块:第一接收模块3541、第二接收模块3542、字段解析模块3543和信息加载模块3544,这些模块是逻辑上的,因此根据所实现的功能可以进行任意的组合或进一步拆分。将在下文中说明各个模块的功能。
在另一些实施例中,本申请实施例提供的装置可以采用硬件方式实现,作为示例,本申请实施例提供的装置可以是采用硬件译码处理器形式的处理器,其被编程以执行本申请实施例提供的局部动态化页面生成方法,例如,硬件译码处理器形式的处理器可以采用一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)或其他电子元件。
本申请各实施例提供的局部动态化页面生成方法可以由电子设备来执行,其中,该电子设备可以是服务器,即本申请各实施例的局部动态化页面生成方法可以通过服务器来执行。
参见图5,图5是本申请实施例提供的局部动态化页面生成方法的一个可选的流程示意图,下面将结合图5示出的步骤进行说明,需要说明的是,图5中的局部动态化页面生成方法是通过服务器作为执行主体为例来说明的。
步骤S501,接收运营平台下发的待推荐信息的业务包名,其中,业务包名是按照待推荐信息的配置信息进行配置生成的。
本申请实施例中,运营平台是独立于终端和服务器的第三方平台,运营平台是提供给运营人员进行信息配置的平台,运营平台具有一配置系统,运营人员可以在配置系统配置生成每一待推荐信息的业务包名。终端上可以运行有多个应用,本申请实施例的局部动态化页面生成方法可以应用于终端上所安装的任意一种目标应用中,或者目标应用中的任意一种业务。举例来说,目标应用可以是即时通信应用、信息推荐应用、购物应用等,可以通过本申请实施例的局部动态化页面生成方法生成即时通信应用中的任一局 部动态化页面。
待推荐信息可以是推荐系统中的任意一种类型的信息,例如,待推荐信息可以是图片类型、动图类型、视频类型、音频类型和可交互类型中的任意一种类型的信息。推荐系统可以与运营平台属于同一系统,或者也可以是与目标应用的服务器属于同一系统,当然也可以是独立于运营平台和目标应用服务器、且用于提供待推荐信息的第三方推荐系统。
在一种实现方式中,运营人员在运营平台对待推荐信息的业务包名进行配置时,可以先从推荐系统中获取待推荐信息,然后基于待推荐信息的属性参数配置生成业务包名,也就是说,运营平台可以从推荐系统获取到待推荐信息的信息内容,同时基于待推荐信息的信息内容判断出待推荐信息的属性参数,这里的属性参数包括但不限于以下至少之一:待推荐信息的资源类型、资源地址。例如,可以根据待推荐信息的信息内容,确定出待推荐信息的资源类型(即判断出待推荐信息是图片、动图、视频、可交互资源中的哪一种),然后,基于待推荐信息的资源类型,对待推荐信息的业务包名进行配置。在另一种实现方式中,运营人员在运营平台对待推荐信息的业务包名进行配置时,也可以直接从推荐系统获取待推荐信息的属性参数,例如,获取到待推荐信息的资源类型和资源地址,然后基于待推荐信息的资源类型和资源地址配置生成业务包名。
本申请实施例中,按照待推荐信息的配置信息进行配置生成业务包名,可以是按照业务包名的字段格式,将待推荐信息的配置信息依次添加至字段格式中的特定位置。例如,针对不同资源类型的待推荐信息,可以将待推荐信息的资源类型对应的字段取值,添加到字段格式中与资源类型对应的位置;针对不同资源地址的待推荐信息,可以将待推荐信息的资源地址,添加到字段格式中与资源地址对应的位置。如此,能够形成具有该字段格式的业务包名。
在一些实施例中,对待推荐信息的业务包名进行配置,可以是基于字段格式进行自动化配置,也可以是由运营人员进行人工配置。当基于字段格式进行自动化配置时,配置系统可以对待推荐信息进行信息识别,确定出待推荐信息的配置信息,然后自动将配置信息中的资源类型和资源地址分别添加至字段格式中相应的位置,智能地生成待推荐信息的业务包名,实现对业务包名的主动和自动化配置,提高推荐系统中的待推荐信息的业务包名的配置效率。
对于不同的待推荐信息,业务包名的字段格式可以相同也可以不同,可以预先定义不同待推荐信息的业务包名的字段格式。或者,对于不同推荐系统的待推荐信息,业务包名的字段格式可以不同;对于同一推荐系统的待推荐信息,业务包名的字段格式可以相同。需要说明的是,业务包名的字段格式即业务包名的包名格式。
在一些实施例中,目标应用的服务器在接收到运营平台下发的待推荐信息的业务包名之后,可以存储该业务包名。例如,可以预先设置一用于存储业务包名的业务包名库,在接收到运营平台下发的新的待推荐信息的业务包名时,可以将该新的待推荐信息的业务包名存储至业务包名库中。如此,能够便于在后续进行局部动态化页面生成时,将该业务包名对应的待推荐信息加载至局部动态化页面中的局部展示区域;也可以在需要生成局部动态化页面时,能够从业务包名库中筛选合适的业务包名,从而得到对应的待推荐信息,实现将筛选得到的待推荐信息加载至局部动态化页面中的局部展示区域,完成对待推荐信息的信息推荐和展示。
步骤S502,接收终端发送的信息展示请求,并获取终端的属性信息。
这里,信息展示请求用于请求在终端上展示待推荐信息,信息展示请求可以是当终端接收到目标对象在目标应用的客户端输入的数据处理操作时,自动触发生成的请求。
举例来说,在终端上运行有目标应用,当用户在目标应用中进行下拉刷新或者触发 登录操作时,终端响应于用户的下拉刷新操作或触发登录操作,生成信息展示请求,并将信息展示请求发送给服务器,请求服务器在目标应用当前界面的局部展示区域配置待展示的信息,即请求服务器在局部展示区域加载与用户匹配的待推荐信息,从而在当前界面上展示局部动态化页面,实现对用户进行准确的信息推荐。需要说明的是,这里所描述的与用户匹配的待推荐信息,可以是指符合用户浏览习惯或者是用户对该待推荐信息的兴趣度大于兴趣度阈值的信息,也可以是指用户具有较高的交互概率的待推荐信息。
步骤S503,如果终端的属性信息与待推荐信息匹配,响应于信息展示请求,解析业务包名中的字段,得到配置信息。
这里,服务器在接收到终端的信息展示请求之后,对该终端对应的目标对象进行分析,确定目标对象的对象特征,并基于目标对象的对象特征,从业务包名库中存储的多个业务包名对应的待推荐信息中进行信息召回,得到与目标对象匹配的待推荐信息,即从多个待推荐信息中筛选出符合目标对象的对象特征的待推荐信息。其中,筛选出的待推荐信息是目标对象具有较高的交互概率的待推荐信息,即目标对象对于筛选出的待推荐信息的交互概率大于概率阈值。
在实现的过程中,可以基于目标对象的对象特征,确定目标对象对每一待推荐信息进行交互的交互概率,将交互概率大于概率阈值的待推荐信息确定为筛选出的待推荐信息。本申请实施例中,可以采用任意一种预测模型预测目标对象与待推荐信息之间的交互概率。本申请实施例中提出的交互可以是任意一种交互方式,例如,点击、评论、分享、购买、阅读和收藏等交互方式。
本申请实施例中,当筛选出待推荐信息之后,则表明终端的属性信息与该待推荐信息匹配,也就是说,终端的属性信息与待推荐信息匹配是指终端对应的目标对象与待推荐信息之间的交互概率大于概率阈值。此时,可以获取该待推荐信息的业务包名,并响应于信息展示请求,解析业务包名中的字段,得到待推荐信息的配置信息。
解析业务包名中的字段,可以是对业务包名中不同字段位置的字段进行识别,得到识别结果,然后基于字段位置和识别结果确定出与该字段位置对应的信息。举例来说,可以识别资源类型字段位置的字段,得到资源类型对应的字段取值,然后基于资源类型对应的字段取值,确定出待推荐信息是哪一种资源类型;或者,可以识别资源地址字段位置的字段,得到待推荐信息的资源地址,然后可以基于资源地址直接获取到待推荐信息的资源。
步骤S504,调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端的当前页面的局部展示区域,生成局部动态化页面。
本申请实施例中,局部展示区域是指终端上目标应用的当前页面上的部分区域,局部展示区域可以位于当前页面上的任意位置,例如,可以位于当前页面的顶部位置、底部位置、左边缘位置、右边缘位置、中心位置等。局部展示区域可以具有固定的大小和形状,也可以具有不固定的大小和形状,例如,可以具有当前页面面积的一半面积,或者具有当前页面面积的1/3面积,可以是长方形区域、正方形区域、圆形区域、星型区域或不规则形状区域。
局部展示区域可以对应设置有多个类型的局部动态化组件,每一局部动态化组件用于对一种类型的待推荐信息进行信息加载处理。举例来说,可以具有图片组件、动图组件、播放器组件和动态化组件,分别用于对图片类型、动图类型、视频类型和动态化类型的待推荐信息进行加载。这里,将待推荐信息加载至终端当前页面的局部展示区域,是指将待推荐信息对应的内容渲染至局部展示区域中,从而形成在局部展示区域包含有待推荐信息的信息内容的局部动态化页面。
在一些实施例中,终端当前页面上可以具有多个局部展示区域,在对当前的待推荐 信息进行信息推荐时,可以预先指定一个用于展示待推荐信息的局部展示区域,也可以基于待推荐信息的信息内容,确定出用于展示该待推荐信息的一个或多个局部展示区域。
在一些实施例中,当终端的属性信息与待推荐信息不匹配,或者,从业务包名库中未查询到与终端的属性信息匹配的待推荐信息的业务包名时,可以不对待推荐信息进行信息推荐,也就是说,不在当前页面的局部展示区域渲染待推荐信息,此时,局部展示区域可以展示当前页面已有内容,或者,局部展示区域可以不展示任何内容。也就是说,可以不调用局部动态化组件进行信息加载。如此,实现了终端局部展示区域的局部动态化组件的可插拔特性。
本申请实施例提供的局部动态化页面生成方法,运营平台按照待推荐信息的配置信息配置生成待推荐信息的业务包名,并将业务包名下发给应用的应用服务器,同时,应用服务器接收终端发送的信息展示请求;在应用服务器接收有待推荐信息业务包名且终端的属性信息与待推荐信息匹配的情况下,响应于信息展示请求,解析业务包名中的字段,得到配置信息;并调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端当前页面的局部展示区域,生成所述局部动态化页面。如此,由于通过运营平台对待推荐信息的业务包名进行配置,能够保证页面信息配置的灵活度,并且配置的是整个页面的局部展示区域的信息,也就是说,是在整个页面通过原生组件开发的基础上,通过配置局部的展示信息调用局部动态化组件加载局部的动态化内容,从而不仅能够保证页面整体的流畅性,还能灵活的生成局部动态化页面,增强应用内运营投放信息的多样性和灵活性。
在一些实施例中,局部动态化页面生成系统至少包括:终端、应用服务器和运营平台,其中,终端上安装有任意一种具有局部动态化页面生成功能的目标应用,例如,即时通信应用、信息推荐应用、购物应用等,本申请实施例以终端上安装有即时通信应用为例进行说明。应用服务器是终端上所安装的目标应用的业务后台服务器,例如,可以是即时通信应用的应用服务器。应用服务器能够与局部动态化页面生成系统中的终端和运营平台进行交互,生成局部动态化页面。运营平台是独立于应用服务器和终端的第三方平台,运营平台是提供给运营人员进行信息配置的平台,在运营平台,运营人员可以对所有待推荐信息的业务包名进行配置。下面以局部动态化页面生成系统至少包括终端、应用服务器和运营平台为例,对本申请实施例的局部动态化页面生成方法进行说明。
本申请实施例可以应用于以下场景:终端上安装有即时通信应用,当用户在即时通信应用中进行操作时,会显示不同的页面,为了增强即时通信应用内运营投放信息的多样性和灵活性,可以采用本申请实施例提供的局部动态化页面生成方法,由运营平台向即时通信应用的服务器下发待推荐信息(例如,待推荐的资讯)的业务包名,其中,业务包名是按照待推荐的资讯的资源类型和资源地址等信息进行配置生成的;并且,用户还可以在即时通信应用的客户端进行下拉刷新操作,当客户端接收到下拉刷新操作之后,会自动生成信息展示请求,并将信息展示请求发送给服务器。服务器在接收到信息展示请求之后,响应于该信息展示请求,获取终端的属性信息;通过该属性信息能够确定出使用该终端的用户的特征信息。此时,如果终端的属性信息与待推荐的资讯匹配,则服务器解析业务包名中的字段,得到资源类型和资源地址;并且调用与资源类型和资源地址对应的局部动态化组件,将待推荐的资讯加载至终端的当前页面的局部展示区域(例如,当前页面的顶部区域),生成当前待显示的页面,该页面即局部动态化页面。在生成该待显示的页面之后,终端在即时通信应用的客户端显示该页面,从而完成一次即时通信应用中局部动态化页面的生成过程。
图6是本申请实施例提供的局部动态化页面生成方法的另一个可选的流程示意图,如图6所示,方法包括以下步骤:
步骤S601,运营平台接收运营人员输入的待推荐信息的配置信息。
本申请实施例中,待推荐信息的配置信息可以是运营人员人工输入的信息,运营人员可以根据待推荐信息的属性参数确定配置信息,并在运营平台上输入配置信息。这里,属性参数包括但不限于以下至少之一:待推荐信息的资源类型和资源地址。
在一些实施例中,运营平台可以提供配置界面,在配置界面上具有至少一个配置信息的输入位置,运营人员在输入位置可以手动输入,也可以选择性输入配置信息,运营平台接收运营人员输入的配置信息。
步骤S602,运营平台按照待推荐信息的配置信息,配置生成待推荐信息的业务包名。
这里,按照待推荐信息的配置信息,配置生成待推荐信息的业务包名,可以是按照业务包名的字段格式,将待推荐信息的配置信息依次添加至字段格式中的特定位置。例如,针对不同资源类型的待推荐信息,可以将待推荐信息的资源类型对应的字段取值,添加到字段格式中与资源类型对应的位置;针对不同资源地址的待推荐信息,可以将待推荐信息的资源地址,添加到字段格式中与资源地址对应的位置。
步骤S603,运营平台将待推荐信息的业务包名下发给应用服务器。
步骤S604,应用服务器将业务包名存储至业务包名库中。
业务包名库是目标应用对应的用于存储业务包名的数据库。当运营平台向目标应用的应用服务器下发业务包名之后,表明运营平台确认要在目标应用推荐业务包名对应的待推荐信息,因此,可以将业务包名存储至业务包名库中,当任一安装有目标应用的终端接收到用户的信息展示触发操作时,即可对该终端进行待推荐信息的推荐。
可以存在多个终端安装有目标应用,同一目标应用具有一个业务包名库,业务包名库中存储有向安装有目标应用的全部终端进行信息推荐的待推荐信息的业务包名。
需要说明的是,针对于任一终端,对于业务包名库中存储的多个业务包名对应的待推荐信息,并不是每个待推荐信息都是可以向该终端进行推荐的,因此,在对任一终端进行信息推荐,以及基于待推荐信息生成局部动态化页面时,需要先在业务包名库中筛选出与该终端匹配的待推荐信息的业务包名。并且,针对于同一当前页面,由于与不同终端匹配的待推荐信息不同,因此,对于不同终端,基于不同的待推荐信息生成的同一当前页面下的局部动态化页面不同。如此,能够实现在同一当前页面下,对不同用户进行个性化局部动态化页面生成和个性化信息推荐。
步骤S605,终端接收目标对象在即时通信应用的客户端输入的信息展示触发操作。其中,信息展示触发操作包括以下任意一种:触发登录操作、页面刷新操作和信息展示请求操作。
这里,目标应用为即时通信应用,用户在即时通信应用的客户端进行触发登录操作、页面刷新操作和信息展示请求操作中的任意一种,均为用户输入的信息展示触发操作。其中,触发登录操作可以是用户输入登录账号并点击登录按钮后实现应用登录的操作、页面刷新操作可以是用户执行下拉刷新或者点击刷新按钮进行页面刷新的操作、信息展示请求操作可以是用户点击当前页面上的信息展示按钮进行信息展示请求的操作。
步骤S606,终端响应于信息展示触发操作,生成信息展示请求。
终端上的即时通信应用客户端在接收到信息展示触发操作之后,自动生成信息展示请求。
步骤S607,终端将信息展示请求发送给应用服务器。
步骤S608,在接收到信息展示请求时,应用服务器获取终端的属性信息。
这里,应用服务器在接收到终端发送的信息展示请求时,可以对发送该信息展示请求的终端进行分析,获取该终端的属性信息。在一种实现方式中,信息展示请求中可以 携带有终端的标识,应用服务器在接收到信息展示请求时,可以解析该信息展示请求,得到信息展示请求中所携带的终端的标识,然后根据终端标识确定终端的属性信息。
本申请实施例中,终端的属性信息包括但不限于:终端的设备参数、终端上所安装目标应用的时间、目标应用的使用时长、目标应用的登录账户、登录账户的账户信息、登录账户的历史使用数据等。也就是说,终端的属性信息是指区分本终端与其他终端的信息,通过终端的属性信息能够确定出使用该终端的目标对象的特征信息。
步骤S609,如果确定出业务包名库中存储有待推荐信息的业务包名,应用服务器基于属性信息,在业务包名库中筛选用于向终端展示的目标待推荐信息。
这里,如果确定出业务包名库中存储有待推荐信息的业务包名,则表明当前业务包名库中已经存在运营平台下发的业务包名,因此,可以从该业务包名库中筛选目标待推荐信息。
在一些实施例中,在确定出业务包名库中存储有待推荐信息的业务包名时,可以确定终端的属性信息是否与待推荐信息匹配,从而筛选出用于向终端展示的目标待推荐信息。本申请实施例提供一种确定终端的属性信息是否与待推荐信息匹配的方法,包括以下步骤:首先,获取终端对应的目标对象的历史交互数据。然后,根据历史交互数据对目标对象进行对象特征分析,得到目标对象的对象特征;对待推荐信息进行信息特征提取,得到待推荐信息的信息特征;再然后,确定对象特征与信息特征之间的相关度,判断相关度是否大于相关度阈值,如果判断结果为是,则确定出终端的属性信息与待推荐信息匹配;如果判断结果为否,则确定出终端的属性信息与待推荐信息不匹配。
这里,历史交互数据可以是目标对象在当前时刻之前的一段预设历史时间段内的交互数据,本申请实施例中的交互可以是任意一种交互方式,例如,点击、评论、分享、购买、阅读和收藏等交互方式。
本申请实施例中,可以对目标对象进行画像分析,确定出目标对象的对象特征。
在对待推荐信息进行信息特征提取时,可以提取待推荐信息的摘要信息,将摘要信息确定为待推荐信息的信息特征。举例来说,对于文本形式的待推荐信息,可以进行文本识别和文本分析,确定出文本中的关键词,并基于关键词确定出文本的摘要信息;对于图片形式的待推荐信息,可以进行图像识别和分析,确定出图像中的对象和图像中的文本,并对图像中的对象和文本分别进行分析,确定出图像的摘要信息。
在确定对象特征与信息特征之间的相关度时,可以计算对象特征与信息特征之间的特征距离,将特征距离确定为对象特征与信息特征之间的相关度。其中,当特征距离越大时,表明对象特征与信息特征之间的相关度越小;当特征距离越小时,表明对象特征与信息特征之间的相关度越大。也就是说,当特征距离大于距离阈值时,表明对象特征与信息特征之间的相关度小于相关度阈值;当特征距离小于或等于距离阈值时,表明对象特征与信息特征之间的相关度大于或等于相关度阈值。
步骤S610,如果在业务包名库中筛选出目标待推荐信息,应用服务器响应于信息展示请求,解析目标待推荐信息的业务包名中的字段,得到配置信息。
这里,如果在业务包名库中筛选出目标待推荐信息,表明存在向该终端推荐的待推荐信息,因此可以将目标待推荐信息推荐给终端。在实现的过程中,应用服务器解析目标待推荐信息的业务包名中的字段,得到配置信息,进而可以基于配置信息生成用于展示目标待推荐信息的局部动态化页面。
步骤S611,应用服务器调用与配置信息对应的局部动态化组件,将目标待推荐信息加载至终端当前页面的局部展示区域,生成局部动态化页面。
局部展示区域可以对应设置有多个类型的局部动态化组件,每一局部动态化组件用于对一种类型的待推荐信息进行信息加载处理。举例来说,可以具有图片组件、动图组 件、播放器组件和动态化组件,分别用于对图片类型、动图类型、视频类型和动态化类型的待推荐信息进行加载。这里,将待推荐信息加载至终端当前页面的局部展示区域,是指将待推荐信息对应的内容渲染至局部展示区域中,形成在局部展示区域包含有待推荐信息的信息内容的局部动态化页面。
步骤S612,应用服务器将局部动态化页面发送给终端。
步骤S613,终端在即时通信应用的客户端显示局部动态化页面。
本申请实施例提供的局部动态化页面生成方法,从业务包名库中存储的多个业务包名中,筛选出与当前的终端匹配的待推荐信息的业务包名,如此能够实现对当前的终端用户进行准确的信息推荐。并且,针对于同一当前页面,由于与不同终端匹配的待推荐信息不同,因此,对于不同终端,基于不同的待推荐信息生成的同一当前页面下的局部动态化页面不同。如此,能够实现在同一当前页面下,对不同用户进行个性化局部动态化页面生成和个性化信息推荐。另外,通过配置局部的展示信息调用局部动态化组件加载局部的动态化内容,从而不仅能够保证页面整体的流畅性,还能灵活的生成局部动态化页面,增强应用内运营投放信息的多样性和灵活性。
在一些实施例中,为了能让运营人员动态配置下发数据,且为了能够获取到准确的待推荐信息的业务包名,即时通信应用的应用服务器需要先接入运营平台,应用服务器可将请求该后台服务和解析回包数据的能力封装成数据处理功能包。即时通信应用的新业务可以通过该数据处理功能包间接和运营平台发送广告请求,运营平台收到广告请求后将数据返回给数据处理功能包进行解析,最终将解析后的数据返回给即时通信应用的应用服务器,即时通信应用可自行展示解析后的数据,也就是说,接收运营平台下发的待推荐信息的业务包名,可以通过以下方式实现:首先,获取终端的数据处理操作;数据处理操作包括任意一种请求应用服务器进行数据处理的请求操作,以及,解析应用服务器的回包数据的解析操作;并将数据处理操作封装成数据处理功能包。然后,通过数据处理功能包向运营平台发送待推荐信息下发请求。再然后,接收运营平台响应于待推荐信息下发请求而下发的运营平台回包数据。最后,通过数据处理功能包解析运营平台回包数据,得到待推荐信息的业务包名。
这里,将请求应用服务器和解析应用服务器的回包数据的数据处理操作,封装成数据处理功能包。数据处理功能包可以是一软件开发工具包(SDK,Software Development Kit),通过该SDK工具包来实现与运营平台之间的数据交互和数据解析处理等功能。
向运营平台发送待推荐信息下发请求,是用于请求运营平台下发待推荐信息的业务包名。运营平台回包数据中包括待推荐信息的业务包名。
本申请实施例中,可以通过数据封装来形成集数据交互和数据解析处理等功能于一体的SDK工具包,从而基于该SDK工具包实现对待推荐信息的业务包名的请求、接收和解析,如此,极大的降低了应用服务器的数据处理量,提高了局部动态化页面生成的效率。
图7是本申请实施例提供的局部动态化页面生成方法的再一个可选的流程示意图,如图7所示,方法包括以下步骤:
步骤S701,运营平台接收运营人员输入的待推荐信息的配置信息。
步骤S702,运营平台确定待推荐信息的业务包名的字段格式。
对于不同的待推荐信息,业务包名的字段格式可以相同也可以不同,可以预先定义不同待推荐信息的业务包名的字段格式。或者,对于不同推荐系统的待推荐信息,业务包名的字段格式不同,对于同一推荐系统的待推荐信息,业务包名的字段格式相同。需要说明的是,业务包名的字段格式即业务包名的包名格式。基于字段格式,可以通过数据填充得到与一个待推荐信息对应的业务包名。
步骤S703,运营平台基于预定义规则,确定待推荐信息的资源类型对应的字段取值。
这里,预定义规则是指定义不同资源类型所对应的字段取值的规则。举例来说,对于不同的资源类型,字段取值不同,每一个字段取值代表所要下发的一种资源类型,如果资源类型的字段取值是0,则表明相应的待推荐信息为图片类型;如果资源类型的字段取值是1,则表明相应的待推荐信息为动图类型;如果资源类型的字段取值是2,则表明相应的待推荐信息为视频类型;如果资源类型的字段取值是3,则表明相应的待推荐信息为可交互类型。
步骤S704,运营平台按照字段格式,将字段取值添加至业务包名的资源类型字段位置、将待推荐信息的资源地址添加至业务包名的资源地址字段位置,得到业务包名。
本申请实施例中,待推荐信息的配置信息包括:待推荐信息的资源类型和待推荐信息的资源地址。
步骤S705,运营平台将待推荐信息的业务包名下发给应用服务器。
步骤S706,终端接收目标对象在即时通信应用的客户端输入的信息展示触发操作。
信息展示触发操作包括以下任意一种:触发登录操作、页面刷新操作和信息展示请求操作。
步骤S707,终端响应于信息展示触发操作,生成信息展示请求。
这里,可以对用户的信息展示触发操作的操作类型进行判断,如果信息展示触发操作的操作类型为预设类型,则可以生成信息展示请求,以请求服务器生成最终的局部动态化页面。
在一些实施例中,预设类型可以是触发登录类型、页面刷新类型和信息展示请求类型等中的任意一种或多种。
步骤S708,终端将信息展示请求发送给应用服务器。
步骤S709,在接收到信息展示请求时,应用服务器获取终端的属性信息。
本申请实施例中,信息展示请求中可以携带有终端的标识,应用服务器在接收到信息展示请求时,可以解析该信息展示请求,得到信息展示请求中所携带的终端的标识,然后根据终端标识确定终端的属性信息。
步骤S710,如果终端的属性信息与待推荐信息匹配,应用服务器响应于信息展示请求,对业务包名中的资源类型字段位置的信息进行解析,得到待推荐信息的资源类型对应的字段取值。
这里,如果终端的属性信息与待推荐信息匹配,表明该待推荐信息是可以向该终端进行推荐的信息。此时,由于待推荐信息的业务包名的字段格式已知,因此,可以对字段格式中用于填充资源类型的资源类型字段位置的信息进行解析,得到待推荐信息的资源类型对应的字段取值。
步骤S711,应用服务器根据字段取值,确定待推荐信息的资源类型。
这里,对于不同的资源类型,字段取值不同,每一个字段取值代表所要下发的资源类型,如果资源类型的字段取值是0,则表明相应的待推荐信息为图片类型;如果资源类型的字段取值是1,则表明相应的待推荐信息为动图类型;如果资源类型的字段取值是2,则表明相应的待推荐信息为视频类型;如果资源类型的字段取值是3,则表明相应的待推荐信息为可交互类型。
步骤S712,应用服务器将资源类型确定为配置信息。
步骤S713,应用服务器调用与配置信息对应的局部动态化组件,将待推荐信息加载至终端当前页面的局部展示区域,生成局部动态化页面。
这里,不同的资源类型对应不同类型的局部动态化组件,每一种类型的局部动态化 组件用于对相应类型的待推荐信息进行信息加载处理。举例来说,如果待推荐信息的资源类型为图片类型,可以调用图片组件将待推荐信息加载至终端当前页面的局部展示区域;如果待推荐信息的资源类型为动图类型,可以调用动图组件将待推荐信息加载至终端当前页面的局部展示区域;如果待推荐信息的资源类型为视频类型,可以调用视频组件将待推荐信息加载至终端当前页面的局部展示区域;如果待推荐信息的资源类型为可交互类型,可以调用可交互组件将待推荐信息加载至终端当前页面的局部展示区域。
在一些实施例中,步骤S713中生成局部动态化页面可以通过以下步骤实现:首先,调用与资源类型对应的局部动态化组件,对业务包名中的资源地址字段位置的信息进行解析,得到待推荐信息的资源地址,这里,资源地址可以是统一资源定位系统(URL,Uniform Resource Locator)地址;然后,根据资源地址获取待推荐信息对应的信息资源;最后,将信息资源加载至终端当前页面的局部展示区域。
在一些实施例中,资源类型可以具有至少一种,当前页面上也可以具有至少一个局部展示区域,因此,在将信息资源加载至终端当前页面的局部展示区域之前,还可以包括以下步骤:在当前页面上预先定义至少一个局部展示区域。这样,在将信息资源加载至终端当前页面的局部展示区域时,可以是先在至少一个局部展示区域中确定出用于展示所述待推荐信息的目标展示区域;然后,将信息资源加载至目标展示区域。
在一些实施例中,资源类型可以具有至少一种,在调用与资源类型对应的局部动态化组件,对业务包名中的资源地址字段位置的信息进行解析之前,还可以包括以下步骤:为每一局部展示区域设置每一种资源类型对应的局部动态化组件的组件标签。这样,在调用与资源类型对应的局部动态化组件,对业务包名中的资源地址字段位置的信息进行解析时,可以是在确定出用于展示待推荐信息的目标展示区域之后,确定目标展示区域中的与资源类型对应的局部动态化组件的目标组件标签;然后,调用与目标组件标签对应的局部动态化组件,对业务包名中的资源地址字段位置的信息进行解析,得到待推荐信息的资源地址。
在一些实施例中,待推荐信息的资源类型包括以下任意至少一种:图片类型、动图类型、视频类型和可交互资源类型。
在一些实施例中,局部展示区域可以位于当前页面的半屏弹窗中。
步骤S714,应用服务器将局部动态化页面发送给终端。
步骤S715,终端在即时通信应用的客户端显示局部动态化页面。
本申请实施例提供的局部动态化页面生成方法,预先设置不同类型的局部动态化组件,并针对不同类型的待推荐信息,采用不同的局部动态化组件进行信息加载,能够实现对多种类型的待推荐信息,在局部展示区域进行准确的信息加载处理,从而得到更加准确的局部动态化页面。
下面,将说明本申请实施例在一个实际的应用场景中的示例性应用。
目前越来越多APP应用为了满足快速迭代的需要,在某些实时性要求较高的页面采用动态化技术。然而在很多情况下,并不需要整个页面的一个动态化,例如APP上的广告投放位,很多时候仅仅只是将广告在整个页面的某个局部展示。本方案提出了一种可由运营配置下发的,在终端页面某一局部位置展示动态广告的方法。其中由运营配置所要展示广告的前端业务包名,前端展示业务又可由业务方动态替换和修改,展示内容具有很高的灵活性。另外,运营下发广告以后,终端的展示容器可以在预设的时机动态弹出,比如用户登录、下拉刷新等操作。这种方案极大增强了APP内运营投放广告的多样性和灵活性。
本申请实施例提供的局部动态化页面生成方法至少可以应用于即时通信应用中,即时通信应用的运营人员可以在运营平台配置想要展示在局部位置的前端开发包,然后将 配置数据定投到即时通信应用的用户。即时通信应用用户可以在进行下拉刷新、断网重连等操作时,触发广告(即待推荐信息)的拉取,这样在即时通信应用主消息列表就会弹出一个半屏弹窗,弹窗里有一个展示轮播图的区域,轮播图的某一页如果投放展示的是可交互类型,那么该轮播页所展示的内容正是运营人员配置的可交互内容。从运营角度增加了广告投放的灵活性和多样性,从用户角度用户能实时获取最新的广告内容,使得交互体验达到最优。
本申请实施例的局部动态化页面生成方法,在产品侧,当用户打开手机上的即时通信应用,停留在聊天列表页,通过下拉刷新或者断网重连等操作,可以触发弹窗展示的拉取操作,如图8所示,是本申请实施例提供的弹窗展示的局部动态化广告示意图,这时候会在聊天列表底部弹出一个半屏弹窗801,这个半屏弹窗里展示的广告内容802就是运营配置的数据。如果配置的广告数据是可交互类型,那么就可以通过动态下发不同的业务包名来进行替换,具有很高的灵活性。例如,这里的可交互内容可以展示从推荐侧拉取的可能认识的人、每日打卡等逻辑。除了可交互逻辑,半屏弹窗还预置了一些其他常用组件,比如图片、动图和视频,运营可以通过配置不同轮播页所要展示的数据类型和资源内容来决定展示的页面,这样一来终端用户就能马上获取到运营人员想要给用户推送的最新广告和活动信息,并且也极大的丰富了所要展示的广告种类。
对于运营人员来说,可以通过一个投放系统(即运营平台)来动态下发广告内容,首先创建素材内容,对于半屏弹窗来说,素材可以是可交互逻辑、视频、图片、动图。如果是可交互逻辑,那么则需要填写下发的业务前端的包名;如果是视频,则需要填写下发的视频URL;如果是图片或动图,则需要填写图片在线URL。素材审核通过之后,选择下发用户量级,进行广告放量,用户就能收到运营下发的最新广告。并且在运营侧,能够获取广告每一级的曝光页面浏览量(PV,Page Views)和点击PV,便于做进一步的实时分析。
本申请实施例中,为了能让运营人员动态配置下发数据,APP需要先接入配置系统后台,APP可将请求该后台服务和解析回包数据的能力封装成SDK。APP的新业务可以通过该SDK间接和配置系统后台发送广告请求,配置系统收到请求后将数据返回给SDK进行解析,最终将解析后的数据返回给业务方,业务方可自行展示。图9是本申请实施例提供的运营平台与APP之间的请求交互过程示意图,如图9所示,APP业务方901,向APP SDK 902发送广告请求,APP SDK 902向运营平台903请求拉取数据,运营平台903返回命令字回包,APP SDK 902将返回的命令字回包缓存至缓存器(cache)中,并从缓存器中向APP业务方901下发广告数据。
本申请实施例中,APP和业务后台打通下发逻辑后,运营侧需要和终端约定所下发数据的对应字段。比如在半屏弹窗广告业务中,动态展示的资源类型有图片、动图、视频、可交互等,其中可交互类型所展示的是前端局部动态化广告。因此至少需要定义如表1所示的字段,其中资源类型的取值可以有四种,每一个值代表所要下发的资源类型,如果下发的资源类型对应的是“0”、“1”和“2”,那么就要同时下发图片/视频资源地址;如果配置的资源类型是“3”,那么就要同时下发可交互地址,可交互地址通常是一个前端业务包名,这里的前端业务开发好之后需要上传到对应的发布平台。运营和终端沟通好字段类型之后整个可配置链路就打通了,至此广告业务可以根据场景需要接入,动态配置下发广告业务。
表1

运营下发广告以后,终端的广告展示容器可以在预设的时机动态弹出,比如,可以在用户触发登录、下拉刷新等操作。本申请实施例中,需要在APP在对应时机(例如,触发登录、下拉刷新等操作对应的时机),预置拉取广告的请求。如果此时配置系统有广告的下发数据,用户触发拉取请求后就能拉取到对应的广告数据。
终端在接收到广告数据之后,对下发字段(即业务包名)进行解析。首先解析资源类型字段,如果是“0”,则将图片组件添加到资源展示区域,然后图片组件再接着解析图片/视频资源地址字段对应的资源链接;如果是“1”,则将动图组件添加到资源展示区域,然后动图组件再接着解析图片/视频资源地址字段对应的资源链接;如果是“2”,则将播放器组件添加到资源展示区域,然后播放器组件再接着解析图片/视频资源地址字段对应的资源链接;如果是“3”,则将动态化组件添加资源展示区域,然后动态化组件再接着解析可交互地址的地址字段对应的资源链接。在该场景中的动态化能力可以由动态化框架提供,动态化组件可以作为一个子组件挂在任意一种操作系统下的任意一个父组件上。如图10所示,是本申请实施例提供的终端展示逻辑示意图,在终端APP 1001上具有一资源展示区域1002(即局部展示区域),资源展示区域1002对应一父组件,在该父组件下,对应有多个子组件,例如,图10中的图片组件1003、动图组件1004、播放器组件1005和动态化组件1006。
本申请实施例中,广告配置的可交互资源所展示的是一个局部动态化页面,基于动态化技术实现,动态化框架技术可以理解为一个简易版的浏览器,从底层做了大量工作,磨平了不同操作系统(例如,iOS和Android)之间的双端差异,提供了接近Web的开发体验,都支持React(一种用于构建用户界面的JavaScript库)和Vue(一种用于创建用户界面的开源JavaScript框架,也是一个创建单页应用的Web应用框架)两套界面框架,前端人员可以通过动态化框架技术,将前端代码转换为终端的原生指令,进行原生终端的APP开发。同时,动态化框架一般都从底层进行了大量优化,在启动速度、可复用组件上都提供了顶级的性能表现。在终端,先由双端开发人员在某个局部位置预置动态化组件View标签,然后在打开页面的同时进行动态化引擎的初始化工作。图11是本申请实施例提供的终端加载前端数据包原理示意图,如图11所示,业务前端的数据包(即图11中的JS bundle包1101)通过打包系统上传到远端服务器,动态化框架通过URL加载远程子bundle包1102,并将业务代码展示在终端所对应的动态化View标签1103里。并且只要修改运营侧下发的前端模块名(即业务包名),终端展示前端业务内容也会随之改变,由此可以实现运营可配置替换能力。
在一些实施例中,如果运营人员选择下发的是可交互类型的广告,那么需要在可交互资源里面填写前端业务的包名。此时终端接收解析到下发的数据类型是可交互类型后,便会选择展示动态组件的容器。此时再根据前端业务包名去下载对应JS Bundle业务包,加载成功后便能在对应局部位置展示动态化广告。如果此时运营配置修改了下发广告的数据类型为非可交互类型,便能取消展示动态组件广告;若运营修改了下发广告的可交互资源地址为其他业务包名,可交互区域(即局部展示区域)便会重新加载新业务包的JS Bundle包,这样一来就实现了可交互广告的可插拔性和动态替换能力。
本申请实施例的方案是一种可配置插拔的局部动态化广告展示的方案,一方面运营人员可以动态配置修改前端业务包名,来动态更新终端组件展示的广告内容;另一方面在终端可选择展示的是一个局部动态化组件,页面整体是原生的开发方式,仅仅在对动 态性要求比较高的局部采用动态化组件,承接下发的动态化内容(即待推荐信息),使用户的体验接近原生,降低使用动态化框架所带来的性能影响。
本申请实施例的方案在即时通信应用上进行了广告投放实验,图12是本申请实施例的局部动态化页面生成方法的不同类型对照实验示意图,实验对比了图片类型1201和可交互类型1202广告分别在半屏弹窗1203和半屏弹窗1204上的用户点击转化率。从后台数据来看,图片版本的点击率为1.7%,而可交互版本的点击率为6.3%,整体提升3.7倍多,证明了这种局部动态化广告对提升用户点击率有很大的帮助。
需要说明的是,本申请实施例的方法,可以将局部动态化组件内嵌在半屏弹窗里面,也可以嵌入到任意终端页面的某个指定的局部位置。本申请实施例提出的局部动态化组件可以使用Hippy框架(一种跨端开发框架)来实现,也可使用其他动态化框架代替。
可以理解的是,在本申请实施例中,涉及到用户信息的内容,例如,待推荐信息、目标对象的历史交互数据以及目标对象的对象特征等信息,如果涉及与用户信息或企业信息相关的数据,当本申请实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据收集处理在实例应用时应该严格根据相关国家法律法规的要求,获取个人信息主体的知情同意或单独同意,并在法律法规及个人信息主体的授权范围内,开展后续数据使用及处理行为。
下面继续说明本申请实施例提供的局部动态化页面生成装置354实施为软件模块的示例性结构,在一些实施例中,如图4所示,局部动态化页面生成装置354包括:
第一接收模块,配置为接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;第二接收模块,配置为接收终端发送的信息展示请求,并获取所述终端的属性信息;字段解析模块,配置为如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;信息加载模块,配置为调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端的当前页面的局部展示区域,生成所述局部动态化页面。
在一些实施例中,所述装置还包括:存储模块,配置为在接收到所述运营平台下发的待推荐信息的业务包名之后,将所述业务包名存储至业务包名库中;属性信息获取模块,配置为在接收到所述信息展示请求之后,基于所述属性信息,在所述业务包名库中筛选用于向所述终端展示的目标待推荐信息。
在一些实施例中,所述装置还包括:历史交互数据获取模块,配置为获取所述终端对应的目标对象的在当前时刻之前的预设历史时间段内的历史交互数据;对象特征分析模块,配置为根据所述历史交互数据对所述目标对象进行对象特征分析,得到所述目标对象的对象特征;特征提取模块,配置为对所述待推荐信息进行信息特征提取,得到所述待推荐信息的信息特征;相关度确定模块,配置为确定所述对象特征与所述信息特征之间的相关度;分析模块,配置为如果所述相关度大于相关度阈值,确定出所述终端的属性信息与所述待推荐信息匹配。
在一些实施例中,所述方法应用于目标应用的应用服务器;所述装置还包括:封装模块,配置为获取所述终端的数据处理操作;所述数据处理操作包括任意一种请求所述应用服务器进行数据处理的请求操作,以及,解析所述应用服务器的回包数据的解析操作;并将数据处理操作封装成数据处理功能包;请求发送模块,配置为通过所述数据处理功能包向所述运营平台发送待推荐信息下发请求;回包数据接收模块,配置为接收所述运营平台响应于所述待推荐信息后下发请求而下发的运营平台回包数据;解析模块,配置为通过所述数据处理功能包,解析所述运营平台回包数据,得到所述待推荐信息的业务包名。
在一些实施例中,所述待推荐信息的配置信息包括:所述待推荐信息的资源类型和所述待推荐信息的资源地址;其中,所述装置还包括配置模块,配置为按照所述待推荐信息的配置信息配置生成所述业务包名;在一些实施例中,所述配置模块还配置为:确定所述待推荐信息的业务包名的字段格式;基于预定义规则,确定所述待推荐信息的资源类型对应的字段取值;按照所述字段格式,将所述字段取值添加至所述业务包名的资源类型字段位置、将所述待推荐信息的资源地址添加至所述业务包名的资源地址字段位置,得到所述业务包名。
在一些实施例中,所述字段解析模块还配置为:对所述业务包名中的资源类型字段位置的信息进行解析,得到所述待推荐信息的资源类型对应的字段取值;根据所述字段取值,确定所述待推荐信息的资源类型;将所述资源类型确定为所述配置信息。
在一些实施例中,所述信息加载模块还配置为:调用与所述资源类型对应的局部动态化组件,对所述业务包名中的资源地址字段位置的信息进行解析,得到所述待推荐信息的资源地址;根据所述资源地址获取所述待推荐信息对应的信息资源;将所述信息资源加载至所述终端的当前页面的局部展示区域。
在一些实施例中,所述资源类型具有至少一种;所述装置还包括:预定义模块,配置为在所述当前页面上预先定义至少一个局部展示区域;所述信息加载模块还配置为:在所述至少一个局部展示区域中确定出用于展示所述待推荐信息的目标展示区域;将所述信息资源加载至所述目标展示区域。
在一些实施例中,所述装置还包括:标签设置模块,配置为为每一所述局部展示区域设置每一种资源类型对应的局部动态化组件的组件标签;所述信息加载模块还配置为:在确定出用于展示所述待推荐信息的目标展示区域之后,在所述目标展示区域中,将与所述资源类型对应的局部动态化组件的组件标签,确定为目标组件标签;调用与所述目标组件标签对应的局部动态化组件,对所述业务包名中的资源地址字段位置的信息进行解析,得到所述待推荐信息的资源地址。
在一些实施例中,所述第二接收模块还配置为:在目标对象通过所述终端输入信息展示触发操作时,接收所述终端响应于所述信息展示触发操作后发送的信息展示请求;其中,所述信息展示触发操作包括以下任意一种:触发登录操作、页面刷新操作和信息展示请求操作。
在一些实施例中,所述待推荐信息的资源类型包括以下任意至少一种:图片类型、动图类型、视频类型和可交互资源类型;所述局部展示区域位于所述当前页面的半屏弹窗中。
需要说明的是,本申请实施例装置的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括可执行指令,该可执行指令是一种计算机指令;该可执行指令存储在计算机可读存储介质中。当电子设备的处理器从计算机可读存储介质读取该可执行指令,处理器执行该可执行指令时,使得该电子设备执行本申请实施例上述的方法。
本申请实施例提供一种存储有可执行指令的存储介质,其中存储有可执行指令,当可执行指令被处理器执行时,将引起处理器执行本申请实施例提供的方法,例如,如图5示出的方法。
在一些实施例中,存储介质可以是计算机可读存储介质,例如,铁电存储器(FRAM,Ferromagnetic Random Access Memory)、只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read Only Memory)、可擦除可编程只读存储 器(EPROM,Erasable Programmable Read Only Memory)、带电可擦可编程只读存储器(EEPROM,Electrically Erasable Programmable Read Only Memory)、闪存、磁表面存储器、光盘、或光盘只读存储器(CD-ROM,Compact Disk-Read Only Memory)等存储器;也可以是包括上述存储器之一或任意组合的各种设备。
在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(HTML,Hyper Text Markup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。作为示例,可执行指令可被部署为在一个电子设备上执行,或者在位于一个地点的多个电子设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个电子设备上执行。
以上所述,仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本申请的保护范围之内。

Claims (15)

  1. 一种局部动态化页面生成方法,所述方法由电子设备执行,所述方法包括:
    接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;
    接收终端发送的信息展示请求;
    获取所述终端的属性信息;
    如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;
    调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端的当前页面的局部展示区域,生成所述局部动态化页面。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    在接收到所述运营平台下发的待推荐信息的业务包名之后,将所述业务包名存储至业务包名库中;
    在接收到所述信息展示请求之后,基于所述属性信息,在所述业务包名库中筛选出用于向所述终端展示的待推荐信息。
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    获取所述终端对应的目标对象的在当前时刻之前的预设历史时间段内的历史交互数据;
    根据所述历史交互数据对所述目标对象进行对象特征分析,得到所述目标对象的对象特征;
    对所述待推荐信息进行信息特征提取,得到所述待推荐信息的信息特征;
    确定所述对象特征与所述信息特征之间的相关度;
    如果所述相关度大于相关度阈值,确定所述终端的属性信息与所述待推荐信息匹配。
  4. 根据权利要求1至3任一项所述的方法,其中,所述方法应用于目标应用的应用服务器;所述接收运营平台下发的待推荐信息的业务包名,包括:
    获取所述终端的数据处理操作;所述数据处理操作包括任意一种请求所述应用服务器进行数据处理的请求操作,以及,解析所述应用服务器的回包数据的解析操作;
    将所述数据处理操作封装成数据处理功能包;
    通过所述数据处理功能包,向所述运营平台发送待推荐信息下发请求;
    接收所述运营平台响应于所述待推荐信息下发请求后下发的运营平台回包数据;
    通过所述数据处理功能包,解析所述运营平台回包数据,得到所述待推荐信息的业务包名。
  5. 根据权利要求1至4任一项所述的方法,其中,所述待推荐信息的配置信息包括:所述待推荐信息的资源类型和所述待推荐信息的资源地址;按照所述待推荐信息的配置信息配置生成所述业务包名,包括:
    确定所述待推荐信息的业务包名的字段格式;
    基于预定义规则,确定所述待推荐信息的资源类型对应的字段取值;
    按照所述字段格式,将所述字段取值添加至所述业务包名的资源类型字段位置、将所述待推荐信息的资源地址添加至所述业务包名的资源地址字段位置,得到所述业务包名。
  6. 根据权利要求5所述的方法,其中,所述解析所述业务包名中的字段,得到所述配置信息,包括:
    对所述业务包名中的资源类型字段位置的信息进行解析,得到所述待推荐信息的资 源类型对应的字段取值;
    根据所述字段取值,确定所述待推荐信息的资源类型;
    将所述资源类型确定为所述配置信息。
  7. 根据权利要求5或6所述的方法,其中,所述调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端的当前页面的局部展示区域,包括:
    调用与所述资源类型对应的局部动态化组件,对所述业务包名中的资源地址字段位置的信息进行解析,得到所述待推荐信息的资源地址;
    根据所述资源地址获取所述待推荐信息对应的信息资源;
    将所述信息资源加载至所述终端的当前页面的局部展示区域。
  8. 根据权利要求7所述的方法,其中,所述资源类型具有至少一种;所述方法还包括:在所述终端的当前页面上预先定义至少一个局部展示区域;
    所述将所述信息资源加载至所述终端的当前页面的局部展示区域,包括:
    在所述至少一个局部展示区域中确定出用于展示所述待推荐信息的目标展示区域;
    将所述信息资源加载至所述目标展示区域。
  9. 根据权利要求8所述的方法,其中,所述方法还包括:为每一所述局部展示区域设置每一种资源类型对应的局部动态化组件的组件标签;
    所述调用与所述资源类型对应的局部动态化组件,对所述业务包名中的资源地址字段位置的信息进行解析,得到所述待推荐信息的资源地址,包括:
    在确定出用于展示所述待推荐信息的目标展示区域之后,在所述目标展示区域中,将与所述资源类型对应的局部动态化组件的组件标签,确定为目标组件标签;
    调用与所述目标组件标签对应的局部动态化组件,对所述业务包名中的资源地址字段位置的信息进行解析,得到所述待推荐信息的资源地址。
  10. 根据权利要求1至9任一项所述的方法,其中,所述接收终端发送的信息展示请求,包括:
    在目标对象通过所述终端输入信息展示触发操作时,接收所述终端响应于所述信息展示触发操作后发送的信息展示请求;
    其中,所述信息展示触发操作包括以下任意一种:触发登录操作、页面刷新操作和信息展示请求操作。
  11. 根据权利要求1至10任一项所述的方法,其中,所述待推荐信息的资源类型包括以下任意至少一种:图片类型、动图类型、视频类型和可交互资源类型;
    所述局部展示区域位于所述当前页面的半屏弹窗中。
  12. 一种局部动态化页面生成装置,所述装置包括:
    第一接收模块,配置为接收运营平台下发的待推荐信息的业务包名,其中,所述业务包名是按照所述待推荐信息的配置信息进行配置生成的;
    第二接收模块,配置为接收终端发送的信息展示请求,并获取所述终端的属性信息;
    字段解析模块,配置为如果所述终端的属性信息与所述待推荐信息匹配,响应于所述信息展示请求,解析所述业务包名中的字段,得到所述配置信息;
    信息加载模块,配置为调用与所述配置信息对应的局部动态化组件,将所述待推荐信息加载至所述终端的当前页面的局部展示区域,生成所述局部动态化页面。
  13. 一种电子设备,包括:
    存储器,配置为存储可执行指令;处理器,配置为执行所述存储器中存储的可执行指令时,实现权利要求1至11任一项所述的局部动态化页面生成方法。
  14. 一种计算机可读存储介质,存储有可执行指令,配置为引起处理器执行所述可执行指令时,实现权利要求1至11任一项所述的局部动态化页面生成方法。
  15. 一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括可执行指令,所述可执行指令存储在计算机可读存储介质中;
    当电子设备的处理器从所述计算机可读存储介质读取所述可执行指令,并执行所述可执行指令时,实现权利要求1至11任一项所述的局部动态化页面生成方法。
PCT/CN2023/096236 2022-08-09 2023-05-25 局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品 WO2024032087A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210949924.0A CN117632123A (zh) 2022-08-09 2022-08-09 局部动态化页面生成方法、装置、设备及存储介质
CN202210949924.0 2022-08-09

Publications (1)

Publication Number Publication Date
WO2024032087A1 true WO2024032087A1 (zh) 2024-02-15

Family

ID=89850544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096236 WO2024032087A1 (zh) 2022-08-09 2023-05-25 局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品

Country Status (2)

Country Link
CN (1) CN117632123A (zh)
WO (1) WO2024032087A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299395A (zh) * 2018-11-28 2019-02-01 掌阅科技股份有限公司 基于插件的内容推荐方法、电子设备及计算机存储介质
US20200372562A1 (en) * 2019-05-24 2020-11-26 Salesforce.Com, Inc. Dynamic ranking of recommendation pairings
CN113536098A (zh) * 2020-04-15 2021-10-22 腾讯科技(深圳)有限公司 信息推荐方法、装置、设备及计算机可读存储介质
CN113779416A (zh) * 2021-11-10 2021-12-10 腾讯科技(深圳)有限公司 信息推荐方法、装置、电子设备及计算机可读存储介质
CN114205675A (zh) * 2021-12-06 2022-03-18 上海哔哩哔哩科技有限公司 视频预览方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299395A (zh) * 2018-11-28 2019-02-01 掌阅科技股份有限公司 基于插件的内容推荐方法、电子设备及计算机存储介质
US20200372562A1 (en) * 2019-05-24 2020-11-26 Salesforce.Com, Inc. Dynamic ranking of recommendation pairings
CN113536098A (zh) * 2020-04-15 2021-10-22 腾讯科技(深圳)有限公司 信息推荐方法、装置、设备及计算机可读存储介质
CN113779416A (zh) * 2021-11-10 2021-12-10 腾讯科技(深圳)有限公司 信息推荐方法、装置、电子设备及计算机可读存储介质
CN114205675A (zh) * 2021-12-06 2022-03-18 上海哔哩哔哩科技有限公司 视频预览方法及装置

Also Published As

Publication number Publication date
CN117632123A (zh) 2024-03-01

Similar Documents

Publication Publication Date Title
AU2017258180B2 (en) Method and system for developing and deploying data science transformations from a development computing environment into a production computing environment
CN109918607B (zh) 页面搭建方法及装置、介质和计算设备
CN107820701B (zh) 开发者交换系统
US9165308B2 (en) System and method for loading of web page assets
US9317490B2 (en) Systems and methods for 3-tier tag container architecture
CN110244977A (zh) 定制化软件生成方法、系统、电子设备及存储介质
JP2019520624A (ja) ページコンポーネント動的レイアウト
US20180349149A1 (en) A method and system for providing and executing web applications
WO2015041711A1 (en) Systems and methods for managing loading priority or sequencing of fragments of a web object
CA3022570A1 (en) Dynamic content and cloud based content within collaborative electronic content creation and management tools
CN106997298A (zh) 一种应用资源获取方法及装置
US9386119B2 (en) Mobile web adaptation techniques
US9614901B2 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
US20170192941A1 (en) Computer-Automated Generation of Application Deep Links
US20110320286A1 (en) System And Method For Integrating An Ad Banner With A Calling Application
US20160012144A1 (en) Javascript-based, client-side template driver system
CN110795649A (zh) 目标页面展示方法、装置、系统及电子设备
CN104219295A (zh) 基于服务器端配置的移动设备的信息展示方法及系统
CN110213105A (zh) 一种跨平台微应用创建方法
CN116992081A (zh) 页面表单的数据处理方法、装置和用户终端
Han et al. Policy on literature content based on software as service
EP3944242A1 (en) A system and method to customizing video
CN110020370B (zh) 在客户端应用中实现动画的方法、装置及动画脚本的框架
CN116720489B (zh) 页面填充方法及装置、电子设备和计算机可读存储介质
WO2024032087A1 (zh) 局部动态化页面生成方法、装置、电子设备、计算机可读存储介质及计算机程序产品

Legal Events

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

Ref document number: 23851317

Country of ref document: EP

Kind code of ref document: A1