CN116225559B - Open screen information display method and device, electronic equipment and storage medium - Google Patents

Open screen information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116225559B
CN116225559B CN202211721058.6A CN202211721058A CN116225559B CN 116225559 B CN116225559 B CN 116225559B CN 202211721058 A CN202211721058 A CN 202211721058A CN 116225559 B CN116225559 B CN 116225559B
Authority
CN
China
Prior art keywords
static
static material
dynamic
information system
response
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202211721058.6A
Other languages
Chinese (zh)
Other versions
CN116225559A (en
Inventor
吴鹏鹏
曲巍
王迪
赵军
郁剑
何昕
黄华
黄庆亚
刘善品
顾文婷
余飞
刘江涛
蒋贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu China Co Ltd
Original Assignee
Baidu China Co Ltd
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 Baidu China Co Ltd filed Critical Baidu China Co Ltd
Priority to CN202211721058.6A priority Critical patent/CN116225559B/en
Publication of CN116225559A publication Critical patent/CN116225559A/en
Application granted granted Critical
Publication of CN116225559B publication Critical patent/CN116225559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a method and a device for displaying open screen information, electronic equipment and a storage medium, and relates to the field of artificial intelligence such as Internet, distributed storage and the like. The method may include: in response to determining that an application is started, acquiring materials of open screen information of the application in a parallel mode, including: static materials corresponding to the screen opening information are obtained from corresponding slots of the first information system, different static materials corresponding to different screen opening information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel; and generating open screen information according to the acquired dynamic materials and static materials, and displaying the open screen information. By applying the scheme disclosed by the disclosure, the display speed, the display effect and the like of the open screen information can be improved.

Description

Open screen information display method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of artificial intelligence, in particular to a method and a device for displaying open screen information, electronic equipment and a storage medium in the fields of internet, distributed storage and the like.
Background
The open screen advertisement is a high-quality advertisement displayed on a large screen in a short time when various mobile phone Applications (APP) are started. The current mainstream applications generally have requirements on time consumption for starting, and cannot cause a long-time white screen phenomenon due to open screen advertising.
Disclosure of Invention
The disclosure provides a method and a device for displaying open screen information, electronic equipment and a storage medium.
An open screen information display method comprises the following steps:
in response to determining that an application is started, acquiring materials of open screen information of the application in a parallel mode, including: static materials corresponding to the open screen information are obtained from corresponding slots of the first information system, different static materials corresponding to different open screen information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel;
and generating the open screen information according to the static material and the dynamic material, and displaying the open screen information.
An open screen information display device, comprising: the first acquisition module and the information display module;
the first obtaining module is configured to obtain, in response to determining that an application is started, a material of open screen information of the application in a parallel mode, and includes: static materials corresponding to the open screen information are obtained from corresponding slots of the first information system, different static materials corresponding to different open screen information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel;
the information display module is used for generating the open screen information according to the static material and the dynamic material and displaying the open screen information.
An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a method as described above.
A computer program product comprising computer programs/instructions which when executed by a processor implement a method as described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flowchart of an embodiment of a method for displaying open screen information according to the present disclosure;
FIG. 2 is a schematic diagram illustrating a relationship between a device and a first information system and a second information system where an application described in the present disclosure is located;
FIG. 3 is a flowchart of a first embodiment of a static material acquisition method according to the present disclosure;
FIG. 4 is a flow chart of a second embodiment of a static material acquisition method according to the present disclosure;
FIG. 5 is a flowchart of an embodiment of a method for implementing CDN pre-connection according to the present disclosure;
fig. 6 is a schematic structural diagram of a first embodiment 600 of an open screen information display device according to the present disclosure;
fig. 7 is a schematic structural diagram of a second embodiment 700 of the open screen information display device according to the present disclosure;
fig. 8 shows a schematic block diagram of an electronic device 800 that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In addition, it should be understood that the term "and/or" herein is merely one association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Fig. 1 is a flowchart of an embodiment of a method for displaying open screen information according to the present disclosure. As shown in fig. 1, the following detailed implementation is included.
In step 101, in response to determining that an application is started, acquiring a material of open screen information of the application in a parallel mode, including: static materials corresponding to the screen opening information are obtained from corresponding slots of the first information system, different static materials corresponding to different screen opening information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel.
In step 102, open screen information is generated according to the obtained dynamic materials and static materials, and is displayed.
Traditional display of open screen information, such as open screen advertisement, generally adopts the following modes: the dynamic materials and the static materials are sequentially acquired in a serial mode, namely, the dynamic materials are acquired (downloaded) firstly, then the static materials which need to be acquired are determined according to the acquired dynamic materials, the static materials are correspondingly acquired, and then complete open screen information is generated and displayed according to the acquired dynamic materials and the static materials, but the open screen information display speed in the mode is generally slower, particularly under the condition of unstable network, so that the application is easy to cause a longer-time white screen phenomenon.
By adopting the scheme of the embodiment of the method, the dynamic materials and the static materials of the open screen information can be obtained in parallel in a parallel mode, and the open screen information can be correspondingly generated for display, so that the display speed of the open screen information is improved, the phenomenon of long-time white screen in application is avoided as far as possible, the display effect of the open screen information and the like are improved, the matching property of the obtained dynamic materials and the static materials can be ensured through the setting of the slot positions, and the accuracy of the generated open screen information and the like are further improved.
Generally, the materials with open screen information are divided into two types, one is static materials and the other is dynamic materials.
Preferably, the static material may include active resources and passive resources, where the passive resources mainly include main resources such as pictures or videos to be displayed, and the active resources mainly include additional resources required for active display. The dynamic materials mainly comprise dynamic information such as monitoring strings, landing pages and the like.
In the scheme disclosed by the disclosure, the acquisition time of the static material is as early as possible, for example, the static material is pulled to be at the same time with the dynamic material.
Correspondingly, when the application is determined to be started, a parallel mode can be adopted to acquire static materials and dynamic materials of the open screen information of the application, namely, the static materials corresponding to the open screen information are acquired from the corresponding slot positions of the first information system, and meanwhile, the dynamic materials corresponding to the slot positions are acquired from the second information system in parallel. The static and dynamic materials obtained from each system are usually the latest static and dynamic materials.
Taking the open screen information as an open screen advertisement as an example, the first information system can be a content distribution network (CDN, contentDeliveryNetwork) service system, and the second information system can be an advertisement system, wherein static materials can be obtained from corresponding slots of the CDN service system according to CDN addresses, and dynamic materials can be obtained from the advertisement system through a real-time loading interface of the advertisement system.
Preferably, a slot position identifier (id) corresponding to the equipment where the application is located can be determined, a static material can be obtained from a slot position corresponding to the slot position identifier in the first information system, and in addition, a dynamic material corresponding to the slot position identifier can be obtained from the second information system.
Accordingly, fig. 2 is a schematic diagram of a relationship between a device where the application is located and a first information system and a second information system according to the disclosure.
In addition, the slot identification is preferably determined according to the equipment identification of the equipment where the application is located. For example, the device identifier may be mapped to a corresponding slot identifier according to a predetermined mapping manner, or a predetermined calculation may be performed on the device identifier, where the slot identifier is obtained by calculation. The required slot position identification can be simply and efficiently determined based on the equipment identification.
When the static material is required to be obtained from the first information system, the slot position identification can be determined first, then the date (current date) and the slot position identification can be spliced in sequence after the pre-stored fixed domain name prefix, the date (current date) and the slot position identification are used as static material addresses to be sent to the first information system, and accordingly, the first information system can return the static material in the slot position corresponding to the slot position identification. For a certain slot, the static material may be different according to different dates, that is, updating may occur, and the returned static material may be the latest static material.
For example, a static material address may be: http:// cdn. Com/splash/load/2022. C.
Static materials corresponding to different screen opening information are respectively configured in different slots, so that the static materials corresponding to the different screen opening information can be respectively configured in the corresponding slots in advance, and for any screen opening information, which slot corresponds to the screen opening information is not limited and can be determined according to actual needs.
When the dynamic material is acquired from the second information system, the slot position identifier can be carried in the transmitted acquisition request, and accordingly, the second information system returns the dynamic material corresponding to the slot position identifier.
In addition, the second information system can compress and pack the whole static material to realize that the whole static material is obtained by one-time downloading, can carry out slot configuration, pushes the static material into the first information system for storage and the like.
Through the processing, the static material and the dynamic material can be correspondingly acquired, namely, the matching property of the acquired dynamic material and the static material is ensured through the groove position setting, and the accuracy of the generated open screen information is further improved.
After the static material and the dynamic material are respectively acquired, the screen opening information can be generated according to the acquired static material and dynamic material, and the screen opening information can be displayed in the screen opening display stage.
Preferably, the obtained dynamic materials and static materials can be checked, and in response to the fact that the checking is passed, open screen information is generated according to the obtained dynamic materials and static materials and displayed.
How to check is not limited, for example, whether the obtained dynamic material and the obtained static material are matched can be checked, the matching can be corresponding to the same open screen information, and if yes, the passing of the check can be determined.
Through the processing, the accuracy of the generated open screen information can be further improved.
Preferably, when the static material needs to be obtained, the local cache of the device where the application is located can be queried first, in response to determining that the static material is not cached locally, or in response to determining that the static material is cached locally but updated, the latest static material is obtained from the first information system, the latest static material is cached locally, and in response to determining that the static material is cached locally and not updated, the locally cached static material is obtained.
That is, if the required static material is locally cached, and the locally cached static material is the latest static material, the static material can be directly obtained from the local cache, otherwise, the latest static material can be obtained from the first information system.
Preferably, an acquisition request may be sent to the first information system, where an entity tag (etag) corresponding to the locally cached static material is carried, a response result returned by the first information system and generated according to the etag may be acquired, in response to determining that the response result is a first response result, it is determined that the locally cached static material is not updated, in response to determining that the response result is a second response result, it is determined that the locally cached static material has been updated, and an latest static material carried in the second response result and an etag corresponding to the latest static material may be acquired, and in addition, the latest static material and the corresponding etag may be locally cached.
Based on the above description, fig. 3 is a flowchart of a first embodiment of the static material obtaining method according to the present disclosure. Taking the first information system as a CDN service system as an example, as shown in fig. 3, the following specific implementation manner is included.
In step 301, an acquisition request is sent to a CDN service system, where etag corresponding to a static material in a local cache is carried.
In step 302, it is determined whether the obtained response result generated by the CDN service system according to the etag is a first response result or a second response result, if the obtained response result is the first response result, step 303 is executed, and if the obtained response result is the second response result, step 304 is executed.
In step 303, the locally cached static material is used as the required static material, and the process is ended.
In step 304, the latest static material and the etag corresponding to the latest static material carried in the second response result are obtained, the latest static material is used as the required static material, the latest static material and the corresponding etag are locally cached, and the process is ended.
The CDN service system may read the etag, may compare the read etag with an etag corresponding to a static material in a corresponding slot, may determine that the static material is not updated if the two are consistent, may return a hypertext transfer protocol return code (httpcode) 304, and may return a first response result, and accordingly, may directly use the locally cached static material as a required static material, and may directly use the locally cached static material if the two are inconsistent, may determine that the static material is updated, may return the httpcode200 and the latest static material and the corresponding etag, may return a second response result, and may locally cache the latest static material and the corresponding etag, and may use the latest static material as the required static material, respectively.
By the processing, repeated downloading of the same static material is avoided by means of the httpetag mechanism, and time cost, resource cost and the like caused by repeated downloading are further avoided.
Preferably, in response to determining that a material is required to acquire open screen information of an application in serial mode, a dynamic material and a static material may be acquired sequentially.
Taking the screen-open information as the screen-open advertisement as an example, the situation that a serial mode is required to be adopted in advertisement delivery often occurs, if external service is required to obtain a corresponding programming advertisement of static materials or effect advertisement, and the like, the static materials loaded in the parallel mode are incomplete, so that the serial mode can be adopted.
That is, the scheme of the present disclosure can support different modes such as a parallel mode and a serial mode, and can support flexible switching of the two modes, so as to meet the use requirements of different scenes.
Preferably, when the serial mode is adopted, after the dynamic material is acquired, in response to determining that the dynamic resource in the static material needed by the local cache of the equipment where the application is located according to the acquired dynamic material, the passive resource in the static material needed by the application can be acquired from the first information system, the acquired passive resource and the dynamic resource in the local cache can be utilized to form the static material needed by the application, in response to determining that the dynamic resource in the static material needed by the application is not locally cached according to the acquired dynamic material, the static material needed by the application can be acquired from the first information system, and the dynamic resource in the static material can be locally cached.
Based on the above description, fig. 4 is a flowchart of a second embodiment of the static material obtaining method according to the present disclosure. As shown in fig. 4, the following detailed implementation is included.
In step 401, dynamic materials are acquired.
In serial mode, dynamic materials may be acquired first.
In step 402, it is determined whether the dynamic resources in the required static materials are locally cached according to the obtained dynamic materials, if yes, step 403 is executed, otherwise step 404 is executed.
According to the existing mode, whether dynamic resources in the required static materials are locally cached or not can be determined according to the obtained dynamic materials.
In step 403, the passive resources in the required static material are obtained from the first information system, and the required static material is formed by using the obtained passive resources and the locally cached passive resources, so as to end the flow.
In step 404, the required static material is obtained from the first information system, and the dynamic resources in the static material are locally cached, so as to end the flow.
In the processing mode, the dynamic resources are locally cached, so that repeated downloading of the dynamic resources can be avoided, and time and resource expenditure are reduced.
Preferably, when the serial mode is adopted, a link can be established with the first information system while the dynamic material is acquired from the second information system, and in response to determining that the static material needs to be acquired and the link is established, the static material can be acquired from the first information system by using the link.
Taking the first information system as a CDN service system as an example, CDN pre-connection may be performed, and fig. 5 is a flowchart of an embodiment of a method for implementing CDN pre-connection in the present disclosure. As shown in fig. 5, the following detailed implementation is included.
In step 501, dynamic materials are obtained and a secure hypertext transfer protocol (HTTPS, hypertextTransferProtocolSecure) link is established with the CDN service system.
When acquiring static materials from the CDN service system, an HTTPS link with the CDN service system needs to be established first, then the static materials are acquired based on the established HTTPS link, and a process of establishing the HTTPS link needs to be more time-consuming, so that the HTTPS link can be established in advance for a specified address while dynamic materials are requested, that is, the HTTPS link can be established with the CDN service system while the dynamic materials are acquired, for example, an establishment request is sent to the CDN service system, and the request can be a head request.
In step 502, when a static material needs to be acquired, it is determined whether the HTTPS link is established, if so, step 503 is executed, otherwise, step 504 is executed.
In step 503, static materials are obtained from the CDN service system using the HTTPS link that is established, and the process ends.
In step 504, after the HTTPS link is established, static materials are obtained from the CDN service system based on the established HTTPS link, and the process is ended.
Through the processing, based on the pre-established HTTPS link, the acquisition speed of the static material can be improved, and further the display speed of the open screen information and the like can be improved.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of actions described, as some steps may take place in other order or simultaneously in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all of the preferred embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure. In addition, portions of one embodiment that are not described in detail may be referred to in the description of other embodiments.
In a word, by adopting the scheme of the embodiment of the method disclosed by the invention, the display speed and the display effect of the open screen information can be improved, and the method can be suitable for different scenes and has wide applicability and the like.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 6 is a schematic structural diagram of a first embodiment 600 of an open screen information display device according to the present disclosure. As shown in fig. 6, includes: the first acquisition module 601 and the information display module 602.
The first obtaining module 601 is configured to obtain, in response to determining that an application is started, a material of open screen information of the application in a parallel mode, where the material includes: static materials corresponding to the screen opening information are obtained from corresponding slots of the first information system, different static materials corresponding to different screen opening information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel.
The information display module 602 is configured to generate open screen information according to the obtained static material and dynamic material, and display the open screen information.
By adopting the scheme of the embodiment of the device, the dynamic materials and the static materials of the open screen information can be obtained in parallel in a parallel mode, and the open screen information can be correspondingly generated for display, so that the display speed of the open screen information is improved, the phenomenon of long-time white screen in application is avoided as far as possible, the display effect of the open screen information is improved, and the like.
Preferably, the first obtaining module 601 may determine a slot identifier corresponding to an apparatus where the application is located, and may obtain a static material from a slot corresponding to the slot identifier in the first information system, and in addition, may obtain a dynamic material corresponding to the slot identifier from the second information system.
In addition, preferably, the first obtaining module 601 may determine the slot identifier according to the device identifier of the device where the application is located. For example, the device identifier may be mapped to a corresponding slot identifier according to a predetermined mapping manner, or a predetermined calculation may be performed on the device identifier, where the slot identifier is obtained by calculation.
Static materials corresponding to different screen opening information are respectively configured in different slots, so that the static materials corresponding to the different screen opening information can be respectively configured in the corresponding slots in advance, and for any screen opening information, which slot corresponds to the screen opening information is not limited and can be determined according to actual needs.
Preferably, when the static material needs to be acquired, the first acquiring module 601 may first query a local cache of a device where the application is located, and acquire the latest static material from the first information system in response to determining that the static material is not cached locally, or acquire the latest static material from the first information system in response to determining that the static material is cached locally but updated, and perform local caching on the latest static material in response to determining that the static material is cached locally and not updated.
That is, if the required static material is locally cached, and the locally cached static material is the latest static material, the static material can be directly obtained from the local cache, otherwise, the latest static material can be obtained from the first information system.
Preferably, the first obtaining module 601 may send an obtaining request to the first information system, where the obtaining request carries an etag corresponding to the locally cached static material, and may obtain a response result returned by the first information system and generated according to the etag, determine that the locally cached static material is not updated in response to determining that the response result is a first response result, and determine that the response result is a second response result in response to determining that the response result is a second response result
The static material of the local cache is updated, the latest 5 static materials and etag corresponding to the latest static materials carried in the second response result can be obtained, and in addition, the latest static materials and the corresponding etag can be locally cached.
Further, the information display module 602 may generate open screen information according to the obtained static material and dynamic material, and display the open screen information.
Preferably, the information presentation module 602 is further operable to check 0 the acquired dynamic and static materials, generate open screen information from the acquired dynamic and static materials in response to determining that the check passes,
and displayed.
Fig. 7 is a schematic structural diagram of a second embodiment 700 of the open screen information display device according to the present disclosure. As shown in fig. 7, includes: a first acquisition module 601, an information presentation module 602, and a second acquisition module 603.
5 wherein the first acquisition module 601 and the information presentation module 602 are the same as in the embodiment shown in fig. 6.
A second obtaining module 603 is configured to obtain, in sequence, a dynamic material and a static material in response to determining that the material of the open screen information of the application needs to be obtained in the serial mode.
Preferably, the static material comprises: dynamic resources and passive resources, when the second obtaining module 603 obtains dynamic materials in serial mode, the second obtaining module may obtain the dynamic materials from the first information in response to determining 0 the dynamic resources in the static materials needed by the local cache of the device where the application is located according to the obtained dynamic materials
And in response to determining that the dynamic resources in the required static materials are not locally cached according to the acquired dynamic materials, the required static materials can be acquired from the first information system, and the dynamic resources in the first information system can be locally cached.
5 preferably, when the second obtaining module 603 uses the serial mode, while obtaining the dynamic material from the second information system, a link may be established with the first information system, and in response to determining that the static material needs to be obtained and the link is already established, the link may be used to obtain the static material from the first information system.
The specific workflow of the embodiment of the apparatus shown in fig. 6 and fig. 7 may refer to the related description in the foregoing method embodiment, and will not be repeated.
In a word, by adopting the scheme of the embodiment of the device disclosed by the invention, the display speed and the display effect of the open screen information can be improved, and the device can be suitable for different scenes and has wide applicability and the like.
The scheme disclosed by the disclosure can be applied to the field of artificial intelligence, and particularly relates to the fields of Internet, distributed storage and the like. Artificial intelligence is the subject of studying certain thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.) that make a computer simulate a person, and has technology at both hardware and software levels, and artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, etc., and artificial intelligence software technologies mainly include computer vision technologies, speech recognition technologies, natural language processing technologies, machine learning/deep learning, big data processing technologies, knowledge graph technologies, etc.
The open screen information in the embodiments of the present disclosure is not specific to a particular user, and cannot reflect personal information of a particular user. In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 8 shows a schematic block diagram of an electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile apparatuses, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing apparatuses. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the methods described in this disclosure. For example, in some embodiments, the methods described in the present disclosure may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 800 via ROM802 and/or communication unit 809. When a computer program is loaded into RAM803 and executed by computing unit 801, one or more steps of the methods described in the present disclosure may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the methods described in the present disclosure by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (18)

1. An open screen information display method comprises the following steps:
in response to determining that an application is started, acquiring materials of open screen information of the application in a parallel mode, including: static materials corresponding to the open screen information are obtained from corresponding slots of the first information system, different static materials corresponding to different open screen information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel; the static material comprises active resources and inactive resources, and the dynamic material comprises a monitoring string and a landing page;
generating the open screen information according to the static material and the dynamic material, and displaying;
further comprises: and before acquiring the static material corresponding to the open screen information from the corresponding slot position of the first information system, inquiring a local cache of equipment where the application is located, responding to determining that the static material is not cached locally, or responding to determining that the static material is cached locally but updated, acquiring the latest static material from the first information system, carrying out local cache on the latest static material, and responding to determining that the static material is cached locally and the static material is not updated, and acquiring the static material cached locally.
2. The method of claim 1, wherein,
the step of obtaining the static material corresponding to the open screen information from the corresponding slot position of the first information system comprises the following steps: determining a slot position identifier corresponding to equipment where the application is located, and acquiring the static material from a slot position corresponding to the slot position identifier in the first information system;
the step of obtaining the dynamic material corresponding to the slot position from the second information system comprises the following steps: and acquiring the dynamic material corresponding to the slot position identification from the second information system.
3. The method of claim 2, wherein,
the determining the slot position identifier corresponding to the equipment where the application is located comprises: and determining the slot position identification according to the equipment identification of the equipment where the application is located.
4. The method of claim 1, wherein,
the responding to determining that the static material is locally cached and that the static material is not updated comprises: sending an acquisition request to the first information system, wherein the acquisition request carries an entity tag corresponding to the static material of the local cache, acquiring a response result returned by the first information system and generated according to the entity tag, and determining that the static material of the local cache is not updated in response to determining that the response result is a first response result;
the responding to the determination that the static material is locally cached but the static material is updated, obtaining the latest static material from the first information system, and locally caching the latest static material comprises the following steps: and in response to determining that the response result is a second response result, determining that the locally cached static material is updated, acquiring the latest static material carried in the second response result and the entity tag corresponding to the latest static material, and locally caching the latest static material and the entity tag corresponding to the latest static material.
5. The method according to any one of claims 1 to 4, wherein,
the generating the open screen information according to the dynamic material and the static material comprises: and verifying the dynamic material and the static material, and generating the open screen information according to the dynamic material and the static material in response to the fact that verification is confirmed to pass.
6. The method of any one of claims 1-4, further comprising:
and sequentially acquiring the dynamic material and the static material in response to determining that the material of the open screen information of the application needs to be acquired in a serial mode.
7. The method of claim 6, wherein,
the method further comprises the steps of: after the dynamic material is obtained, the dynamic resource is obtained from the first information system in response to the fact that the dynamic resource is determined to be locally cached in the equipment where the application is located according to the dynamic material, the obtained dynamic resource and the locally cached dynamic resource are utilized to form the static material, and the static material is obtained from the first information system in response to the fact that the dynamic resource is determined to be not locally cached in accordance with the obtained dynamic material, and the dynamic resource is locally cached.
8. The method of claim 6, further comprising:
and establishing a link with the first information system while acquiring the dynamic material from the second information system, and acquiring the static material from the first information system by using the link in response to determining that the static material needs to be acquired and the link is established.
9. An open screen information display device, comprising: the first acquisition module and the information display module;
the first obtaining module is configured to obtain, in response to determining that an application is started, a material of open screen information of the application in a parallel mode, and includes: static materials corresponding to the open screen information are obtained from corresponding slots of the first information system, different static materials corresponding to different open screen information are respectively configured in different slots, and meanwhile dynamic materials corresponding to the slots are obtained from the second information system in parallel; the static material comprises active resources and inactive resources, and the dynamic material comprises a monitoring string and a landing page;
the information display module is used for generating the open screen information according to the static materials and the dynamic materials and displaying the open screen information;
the first obtaining module is further configured to query a local cache of a device where the application is located before obtaining the static material corresponding to the open screen information from the corresponding slot of the first information system, and obtain the latest static material from the first information system in response to determining that the static material is not cached locally or in response to determining that the static material is cached locally but updated, and perform local cache on the latest static material in response to determining that the static material is cached locally and that the static material is not updated, so as to obtain the static material cached locally.
10. The apparatus of claim 9, wherein,
the first acquisition module determines a slot position identifier corresponding to equipment where the application is located, acquires the static material from a slot position corresponding to the slot position identifier in the first information system, and acquires the dynamic material corresponding to the slot position identifier from the second information system.
11. The apparatus of claim 10, wherein,
and the first acquisition module determines the slot position identification according to the equipment identification of the equipment where the application is located.
12. The apparatus of claim 9, wherein,
the first obtaining module sends an obtaining request to the first information system, wherein the obtaining request carries an entity tag corresponding to the static material in the local cache, obtains a response result returned by the first information system and generated according to the entity tag, determines that the static material in the local cache is not updated in response to determining that the response result is a first response result, determines that the static material in the local cache is updated in response to determining that the response result is a second response result, and obtains the latest static material carried in the second response result and the entity tag corresponding to the latest static material, and locally caches the latest static material and the entity tag corresponding to the latest static material.
13. The device according to any one of claims 9 to 12, wherein,
and the information display module checks the dynamic material and the static material, and generates the open screen information according to the dynamic material and the static material in response to the fact that the dynamic material and the static material pass the check.
14. The apparatus of any one of claims 9-12, further comprising:
and the second acquisition module is used for sequentially acquiring the dynamic materials and the static materials in response to determining that the materials of the open screen information of the application need to be acquired in a serial mode.
15. The apparatus of claim 14, wherein,
the second obtaining module is further configured to obtain, after the dynamic material is obtained, the passive resource from the first information system in response to determining that the active resource is locally cached in the device where the application is located according to the dynamic material, and form the static material by using the obtained passive resource and the locally cached active resource, and obtain the static material from the first information system in response to determining that the active resource is not locally cached according to the obtained dynamic material, and locally cache the active resource in the static material.
16. The apparatus of claim 14, wherein,
the second obtaining module is further configured to establish a link with the first information system while obtaining the dynamic material from the second information system, and obtain the static material from the first information system using the link in response to determining that the static material needs to be obtained and that the link is established.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-8.
CN202211721058.6A 2022-12-30 2022-12-30 Open screen information display method and device, electronic equipment and storage medium Active CN116225559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211721058.6A CN116225559B (en) 2022-12-30 2022-12-30 Open screen information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211721058.6A CN116225559B (en) 2022-12-30 2022-12-30 Open screen information display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116225559A CN116225559A (en) 2023-06-06
CN116225559B true CN116225559B (en) 2023-08-18

Family

ID=86588312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211721058.6A Active CN116225559B (en) 2022-12-30 2022-12-30 Open screen information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116225559B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430324A (en) * 2019-08-07 2019-11-08 华为技术有限公司 A kind of application is spread its tail the display methods and electronic equipment of information
CN111240758A (en) * 2020-01-06 2020-06-05 北京字节跳动网络技术有限公司 Material display method and device, electronic equipment and storage medium
CN112232855A (en) * 2020-09-25 2021-01-15 上海淇毓信息科技有限公司 Page loading method and device and electronic equipment
CN112799733A (en) * 2020-12-30 2021-05-14 上海连尚网络科技有限公司 Method and equipment for presenting application page
CN113704654A (en) * 2021-07-30 2021-11-26 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430324A (en) * 2019-08-07 2019-11-08 华为技术有限公司 A kind of application is spread its tail the display methods and electronic equipment of information
CN111240758A (en) * 2020-01-06 2020-06-05 北京字节跳动网络技术有限公司 Material display method and device, electronic equipment and storage medium
CN112232855A (en) * 2020-09-25 2021-01-15 上海淇毓信息科技有限公司 Page loading method and device and electronic equipment
CN112799733A (en) * 2020-12-30 2021-05-14 上海连尚网络科技有限公司 Method and equipment for presenting application page
CN113704654A (en) * 2021-07-30 2021-11-26 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116225559A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN109992406B (en) Picture request method, picture request response method and client
CN112015468A (en) Interface document processing method and device, electronic equipment and storage medium
CN113724398A (en) Augmented reality method, apparatus, device and storage medium
CN113220367B (en) Method and device for running applet, electronic equipment and storage medium
CN112486482A (en) Page display method and device
CN111783010B (en) Webpage blank page monitoring method, device, terminal and storage medium
US20230206756A1 (en) Method and system of controlling traffic lighting apparatus, electronic device and storage medium
CN116225559B (en) Open screen information display method and device, electronic equipment and storage medium
CN114138397B (en) Page display method and device, electronic equipment and storage medium
CN112989250B (en) Web service response method and device and electronic equipment
CN115102948A (en) Automatic downloading method, device and equipment of map tiles and storage medium
CN108459890B (en) Interface display method and device for application
CN112560462B (en) Event extraction service generation method, device, server and medium
CN109508418B (en) Method and device for displaying information
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN115334040B (en) Method and device for determining Internet Protocol (IP) address of domain name
CN113835743B (en) Privately-owned delivery information processing method and device, electronic equipment and storage medium
CN115102850B (en) Configuration comparison method, device, electronic equipment and storage medium
CN113726872B (en) Method, device, equipment and medium for filtering promotion information
CN115333858B (en) Login page cracking method, device, equipment and storage medium
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information
CN113361235B (en) HTML file generation method and device, electronic equipment and readable storage medium
CN116009920A (en) Application update package determining method and device, electronic equipment, storage medium and product
CN113779448A (en) Page processing method and device
CN115618025A (en) Short message processing method, client, server and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant