CN114995940A - Bullet frame configuration and display method, device, equipment and storage medium - Google Patents

Bullet frame configuration and display method, device, equipment and storage medium Download PDF

Info

Publication number
CN114995940A
CN114995940A CN202210693126.6A CN202210693126A CN114995940A CN 114995940 A CN114995940 A CN 114995940A CN 202210693126 A CN202210693126 A CN 202210693126A CN 114995940 A CN114995940 A CN 114995940A
Authority
CN
China
Prior art keywords
frame
bullet
bullet frame
array
frames
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.)
Pending
Application number
CN202210693126.6A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202210693126.6A priority Critical patent/CN114995940A/en
Publication of CN114995940A publication Critical patent/CN114995940A/en
Pending legal-status Critical Current

Links

Images

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/451Execution arrangements for user interfaces
    • 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
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The invention relates to an artificial intelligence technology, and discloses a bullet frame configuration and display method, which comprises the following steps: the method comprises the steps of constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, converting the plurality of bullet frames to be configured into a plurality of bullet frame views, constructing a bullet frame array according to the calling sequence of the plurality of bullet frame views, receiving bullet frame configuration instructions, carrying out bullet frame configuration on the bullet frame array based on the bullet frame configuration instructions, packaging the bullet frame array into a standard bullet frame, monitoring the standard bullet frame, and carrying out bullet frame display according to a monitoring result. In addition, the invention also relates to a block chain technology, and the plurality of the marbles to be configured can be stored in the nodes of the block chain. The invention also provides a popup frame configuring and displaying device, electronic equipment and a readable storage medium. The invention can solve the problem of low display efficiency of the bullet frame.

Description

Bullet frame configuration and display method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a bullet frame configuration and display method and device, electronic equipment and a readable storage medium.
Background
The bullet frame is an information bearing frame generated by clicking or triggering other scenes, and can generate interaction behavior or prompt with a user, so that the user experience can be improved by reasonably utilizing the bullet frame. For example, many APPs enter the home page and have the function of popping frames, i.e., continuously popping frames after opening the APP. Generally, in the current APP method, one popup frame is created, and a second popup frame is displayed after a confirmation button of the popup frame is clicked, so that on one hand, a plurality of popup frames are repeatedly created, the memory becomes large, each popup frame corresponds to one interface, calling cannot be simultaneously performed, the time consumption is long, the display efficiency is low, if the popup frame A calls the interface A for display, and the popup frame B calls the interface B for display, the interfaces A and B cannot be simultaneously called, and the interface B can be called only when the interface A is used up; on the other hand, the frame flipping sequence is not well controlled, for example, the first version of the frame flipping A is displayed before the frame flipping B, the frame flipping B needs to be performed firstly and then the frame flipping A needs to be performed due to the change of the service requirement, the APP end code needs to be changed, the APP end code can be effective after the APP end code is released again, and the service requirement cannot be met flexibly and rapidly.
Disclosure of Invention
The invention provides a bullet frame configuration and display method and device, electronic equipment and a readable storage medium, and mainly aims to solve the problem of low bullet frame display efficiency.
In order to achieve the above object, the present invention provides a pop-up frame configuration and display method, which comprises:
constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, and converting the bullet frames to be configured into a plurality of bullet frame views;
constructing a popup frame array according to the calling sequence of the popup frame views;
receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
Optionally, the building a plurality of bullet boxes to be configured according to the pre-built bullet box template includes:
receiving a user selection instruction, and selecting a plurality of components from the bullet frame template based on the user selection instruction to form a plurality of original bullet frames;
and receiving a user adjusting instruction, and dynamically adjusting the components in the original bullet frame based on the user adjusting instruction to obtain a plurality of bullet frames to be configured.
Optionally, the converting the plurality of frames to be configured into a plurality of frame views includes:
creating a plurality of view instances according to the number of the bullet frames to be configured;
and adding the interfaces of the plurality of frames to be configured to the corresponding view examples to obtain the plurality of frame views.
Optionally, the constructing a bullet frame array according to the calling order of the plurality of bullet frame views includes:
constructing a global array corresponding to the plurality of bullet frame views, and constructing array elements in the global array based on a key value pair mode;
and taking the display sequence of the plurality of bullet frames to be configured as the calling sequence of the plurality of bullet frame views, and sequentially arranging the array elements to obtain the bullet frame array.
Optionally, the performing the frame popping configuration on the frame popping array based on the frame popping configuration instruction, and packaging the frame popping array into a standard frame, including:
performing sequence adjustment on array elements in the bullet frame array based on the bullet frame configuration instruction;
and constructing a display bullet frame by using the bullet frame template, and packaging the adjusted bullet frame array into the display bullet frame as an interface to obtain a standard bullet frame.
Optionally, the monitoring the standard pop-up frame, and displaying the pop-up frame according to the monitoring result includes:
monitoring the click condition of the view of the bullet frame in the standard bullet frame by utilizing a pre-constructed global monitoring task;
and if the pop frame views are clicked, calling the next pop frame view in the standard pop frames according to the calling sequence of the array elements for displaying until all the pop frame views are called, and closing the standard pop frames.
Optionally, the constructing array elements in the global array based on the key-value pair manner includes:
and determining the key value in the array element as the calling sequence of the bullet frame view, and determining the value in the array element as the bullet frame view.
In order to solve the above problems, the present invention further provides a popup frame configuring and displaying apparatus, comprising:
the view conversion module is used for constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template and converting the bullet frames to be configured into a plurality of bullet frame views;
the array construction module is used for constructing the elastic frame array according to the calling sequence of the elastic frame views;
the bullet frame generating module is used for receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and the bullet frame display module is used for monitoring the standard bullet frame and displaying the bullet frame according to a monitoring result.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one computer program; and
and the processor executes the computer program stored in the memory to realize the bullet box configuration and display method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, where the at least one computer program is executed by a processor in an electronic device to implement the foregoing pop-up box configuring and displaying method.
According to the invention, the plurality of the bullet frames to be configured are converted into the plurality of the bullet frame views, the bullet frame array is constructed according to the calling sequence of the plurality of the bullet frame views, the bullet frame array is subjected to bullet frame configuration and is packaged into the standard bullet frame, only the standard bullet frame needs to be maintained, different bullet frame views are displayed on the standard bullet frame, the number of the bullet frames can be reduced, and the occupation of a memory is reduced. Meanwhile, a plurality of elastic frame views can be displayed in the standard elastic frame through the elastic frame array, the elastic frame array is subjected to elastic frame configuration based on the elastic frame configuration instruction, the display sequence can be flexibly changed by changing the elastic frame array, and the display efficiency of the elastic frame is improved. Therefore, the method and the device for configuring and displaying the pop-up frame, the electronic equipment and the computer readable storage medium provided by the invention can solve the problem of low pop-up frame display efficiency.
Drawings
Fig. 1 is a schematic flowchart of a popup frame configuration and display method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 3 is a schematic flow chart showing another step of FIG. 1;
FIG. 4 is a schematic flow chart showing another step of FIG. 1;
FIG. 5 is a functional block diagram of a pop-up frame configuration and display apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device for implementing the pop-up frame configuration and display method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a bullet frame configuration and display method. The execution subject of the pop-up frame configuration and display method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present invention. In other words, the pop-up frame configuration and display method may be executed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Fig. 1 is a schematic flow chart of a pop-up frame configuration and display method according to an embodiment of the present invention. In the present embodiment, the bullet box configuration and display method includes the following steps S1-S4:
s1, constructing a plurality of bullet frames to be configured according to the pre-constructed bullet frame templates, and converting the plurality of bullet frames to be configured into a plurality of bullet frame views.
In the embodiment of the invention, the bullet box to be configured is an information bearing box generated by clicking or triggering other scenes, and can generate interactive behaviors or prompts with a user. For example, an information box for prompting version update pops up after opening some APP. The pre-constructed bullet frame template is a bullet frame design template packaged by different components and used for setting styles, fonts, colors and the like in the bullet frame.
In an embodiment of the present invention, the pop-up view may be an XML view defining a view of a subset of data stored in a relational database centered around an XML structure, and the data source may be retrieved in XML.
In an optional embodiment of the present invention, the constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template includes:
receiving a user selection instruction, and selecting a plurality of components from the bullet frame template based on the user selection instruction to form a plurality of original bullet frames;
and receiving a user adjusting instruction, and dynamically adjusting the components in the original bullet frame based on the user adjusting instruction to obtain a plurality of bullet frames to be configured.
In the embodiment of the invention, the components comprise a bullet frame component, an input frame component, a text component, a color component and the like, and different components are selected through a user selection instruction to construct an original bullet frame, for example, a warning bullet frame comprising warning information. The user adjusting instruction is used for adjusting the style, the arrangement mode and the size of the components such as the input box, the font and the like in the original bullet box.
In detail, referring to fig. 2, the converting the plurality of frames to be configured into a plurality of frame views includes the following steps S10-S11:
s10, creating a plurality of view instances according to the number of the bullet boxes to be configured;
s11, adding the interfaces of the plurality of frames to be configured to the corresponding view examples to obtain the plurality of frame views.
In the embodiment of the invention, view examples with corresponding quantity can be created according to the quantity of the popup frames, for example, the view examples are created through an XMLView. create method, and corresponding interfaces are added to the view examples to obtain a plurality of popup frame views.
S2, constructing a popup frame array according to the calling sequence of the popup frame views.
In the embodiment of the invention, the calling sequence of the plurality of popup frame views is the display sequence of the popup frames to be configured. For example, opening the APP home page requires popping 5 frames, and the display sequence of the 5 frames is the calling sequence of popping the frame view.
In detail, the constructing the bullet frame array according to the calling order of the plurality of bullet frame views includes:
constructing a global array corresponding to the plurality of bullet frame views, and constructing array elements in the global array based on a key value pair mode;
and taking the display sequence of the plurality of bullet frames to be configured as the calling sequence of the plurality of bullet frame views, and sequentially arranging the array elements to obtain the bullet frame array.
In the embodiment of the invention, the array is an ordered element sequence, namely a form of organizing a plurality of elements with the same type in an ordered form, and the number of the data elements which can be stored in the array at most is determined according to the number of the bullet box views.
Specifically, the constructing array elements in the global array based on the key-value pair includes:
and determining the key value in the array element as the calling sequence of the bullet frame view, and determining the value in the array element as the bullet frame view.
In an alternative embodiment of the present invention, for example, 3 boxes A, B, C of the APP home page are called in sequence A, B, C, the first array element of the array is the name of the interface a, the key value in the first array element is 1, and the value is the box view viewA.
S3, receiving a popup frame configuration instruction, carrying out popup frame configuration on the popup frame array based on the popup frame configuration instruction, and packaging into a standard popup frame.
In the embodiment of the invention, the popup frame configuration instruction is used for sequentially adjusting, increasing and reducing popup frame views and other operations on elements in an array.
In detail, referring to fig. 3, the performing a frame configuration on the frame array based on the frame configuration command and packaging the frame array into a standard frame includes the following steps S30-S31:
s30, performing sequence adjustment on array elements in the bullet frame array based on the bullet frame configuration instruction;
s31, constructing a display bullet frame by utilizing the bullet frame template, and packaging the adjusted bullet frame array into the display bullet frame as an interface to obtain a standard bullet frame.
In the embodiment of the present invention, the construction of the display bullet frame is similar to that of the bullet frame to be configured, and is not described herein again. And the array elements in the elastic frame array are sequentially adjusted according to the elastic frame configuration instruction, the elastic frame sequence can be flexibly adjusted, the development amount is reduced, meanwhile, the adjusted elastic frame array is packaged into the display elastic frame as an interface, only one display elastic frame needs to be maintained, different view views are updated on the elastic frame, and equivalently, the elastic frames of a plurality of interfaces can be called simultaneously through one display elastic frame, so that the number of the created elastic frames can be reduced, and the memory occupation can be reduced.
And S4, monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
In the embodiment of the invention, the view of the bullet frame in the standard bullet frame can be called and displayed by constructing the global monitoring task.
Further, referring to fig. 4, the monitoring the standard bomb frame and performing bomb frame display according to the monitoring result includes the following steps S40-S41:
s40, monitoring the click condition of the view of the pop-up box in the standard pop-up box by using a pre-constructed global monitoring task;
and S41, if the bullet frame views are clicked, calling the next bullet frame view in the standard bullet frames according to the calling sequence of the array elements for displaying until all the bullet frame views are called, and closing the standard bullet frames.
In an optional embodiment of the present invention, the global monitoring task may monitor the click condition of the views, for example, when the user clicks a confirmation box of a first view in the standard pop-up box, the APP may determine whether a second view is added to the view array, and if the second view is added, the second view is displayed on the pop-up box until all the pop-up box views are called and the standard pop-up box is closed after the pop-up box views are not detected.
According to the method, the plurality of frames to be configured are converted into the plurality of frame views, the frame array is constructed according to the calling sequence of the plurality of frame views, the frame configuration is carried out on the frame array and the frame array is packaged into the standard frame, only the standard frame needs to be maintained, different frame views are displayed on the standard frame, the number of the frames can be reduced, and therefore the occupation of a memory is reduced. Meanwhile, a plurality of elastic frame views can be displayed in the standard elastic frame through the elastic frame array, the elastic frame array is subjected to elastic frame configuration based on the elastic frame configuration instruction, the display sequence can be flexibly changed by changing the elastic frame array, and the display efficiency of the elastic frame is improved. Therefore, the bullet frame configuration and display method provided by the invention can solve the problem of low bullet frame display efficiency.
Fig. 5 is a functional block diagram of a pop-up frame configuration and display device according to an embodiment of the present invention.
The pop-up frame configuration and display device 100 of the present invention can be installed in an electronic device. According to the implemented functions, the pop-up frame configuration and display apparatus 100 may include a view conversion module 101, an array construction module 102, a pop-up frame generation module 103, and a pop-up frame display module 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the view conversion module 101 is configured to construct a plurality of frames to be configured according to a pre-constructed frame template, and convert the plurality of frames to be configured into a plurality of frame views;
the array construction module 102 is configured to construct a bullet frame array according to the calling order of the plurality of bullet frame views;
the bullet frame generation module 103 is configured to receive a bullet frame configuration instruction, perform bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and encapsulate the bullet frame array into a standard bullet frame;
the bullet frame display module 104 is configured to monitor the standard bullet frame and display the bullet frame according to a monitoring result.
In detail, the specific implementation of the modules of the pop-up frame configuring and displaying device 100 is as follows:
step one, constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, and converting the plurality of bullet frames to be configured into a plurality of bullet frame views.
In the embodiment of the invention, the bullet box to be configured is an information bearing box generated by clicking or triggering other scenes, and can generate interactive behaviors or prompts with a user. For example, an information box for prompting version update pops up after opening some APP. The pre-constructed bullet frame template is a bullet frame design template packaged by different components and used for setting styles, fonts, colors and the like in the bullet frame.
In an embodiment of the present invention, the pop-up view may be an XML view defining a view of a subset of data stored in a relational database centered around an XML structure, and the data source may be retrieved in XML.
In an optional embodiment of the present invention, the constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template includes:
receiving a user selection instruction, and selecting a plurality of components from the bullet frame template based on the user selection instruction to form a plurality of original bullet frames;
and receiving a user adjusting instruction, and dynamically adjusting the components in the original bullet frame based on the user adjusting instruction to obtain a plurality of bullet frames to be configured.
In the embodiment of the invention, the components comprise a bullet frame component, an input frame component, a text component, a color component and the like, and different components are selected through a user selection instruction to construct an original bullet frame, for example, a warning bullet frame comprising warning information. The user adjusting instruction is used for adjusting the style, the arrangement mode and the size of the components such as the input box, the font and the like in the original bullet box.
In detail, the converting the plurality of frames to be configured into a plurality of frame views includes:
creating a plurality of view instances according to the number of the bullet frames to be configured;
and adding the interfaces of the plurality of frames to be configured to the corresponding view examples to obtain the plurality of frame views.
In the embodiment of the invention, a corresponding number of view instances can be created according to the number of the bullet frames, for example, the view instances are created through an XMLView.
And step two, constructing a popup frame array according to the calling sequence of the popup frame views.
In the embodiment of the invention, the calling sequence of the plurality of popup frame views is the display sequence of the popup frames to be configured. For example, opening the APP home page requires popping 5 frames, and the display sequence of the 5 frames is the calling sequence of popping the frame view.
In detail, the constructing the bullet frame array according to the calling order of the plurality of bullet frame views includes:
constructing a global array corresponding to the plurality of bullet frame views, and constructing array elements in the global array based on a key value pair mode;
and taking the display sequence of the plurality of bullet frames to be configured as the calling sequence of the plurality of bullet frame views, and sequentially arranging the array elements to obtain the bullet frame array.
In the embodiment of the invention, the array is an ordered element sequence, namely a form of organizing a plurality of elements with the same type in an ordered form, and the number of the data elements which can be stored in the array at most is determined according to the number of the bullet box views.
Specifically, the constructing array elements in the global array based on the key-value pair includes:
and determining the key value in the array element as the calling sequence of the bullet frame view, and determining the value in the array element as the bullet frame view.
In an alternative embodiment of the present invention, for example, 3 boxes A, B, C of the APP home page are called in sequence A, B, C, the first array element of the array is the name of the interface a, the key value in the first array element is 1, and the value is the box view viewA.
And step three, receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame.
In the embodiment of the invention, the popup frame configuration instruction is used for sequentially adjusting, increasing and reducing popup frame views and other operations on elements in an array.
In detail, the performing the frame popping configuration on the frame popping array based on the frame popping configuration instruction and packaging the frame popping array into a standard frame includes:
performing sequence adjustment on array elements in the bullet frame array based on the bullet frame configuration instruction;
and constructing a display bullet frame by utilizing the bullet frame template, and packaging the adjusted bullet frame array serving as an interface into the display bullet frame to obtain the standard bullet frame.
In the embodiment of the present invention, the construction of the display bullet frame is similar to that of the bullet frame to be configured, and is not described herein again. And the array elements in the elastic frame array are sequentially adjusted according to the elastic frame configuration instruction, the elastic frame sequence can be flexibly adjusted, the development amount is reduced, meanwhile, the adjusted elastic frame array is packaged into the display elastic frame as an interface, only one display elastic frame needs to be maintained, different view views are updated on the elastic frame, and equivalently, the elastic frames of a plurality of interfaces can be called simultaneously through one display elastic frame, so that the number of the created elastic frames can be reduced, and the memory occupation can be reduced.
And fourthly, monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
In the embodiment of the invention, the view of the bullet frame in the standard bullet frame can be called and displayed by constructing the global interception task.
Further, the monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result, includes:
monitoring the click condition of the view of the bullet frame in the standard bullet frame by utilizing a pre-constructed global monitoring task;
and if the pop frame views are clicked, calling the next pop frame view in the standard pop frames according to the calling sequence of the array elements for displaying until all the pop frame views are called, and closing the standard pop frames.
In an optional embodiment of the present invention, the global monitoring task may monitor the click condition of the views, for example, the user clicks a confirmation box of a first view in a standard pop-up box, the APP may determine whether a second view is added to the view array, and if the second view is added, the second view is displayed on the pop-up box until all the pop-up box views are called and the standard pop-up box is closed after the pop-up box views are not detected.
According to the invention, the plurality of the bullet frames to be configured are converted into the plurality of the bullet frame views, the bullet frame array is constructed according to the calling sequence of the plurality of the bullet frame views, the bullet frame array is subjected to bullet frame configuration and is packaged into the standard bullet frame, only the standard bullet frame needs to be maintained, different bullet frame views are displayed on the standard bullet frame, the number of the bullet frames can be reduced, and the occupation of a memory is reduced. Meanwhile, a plurality of elastic frame views can be displayed in the standard elastic frame through the elastic frame array, the elastic frame array is subjected to elastic frame configuration based on the elastic frame configuration instruction, the display sequence can be flexibly changed by changing the elastic frame array, and the display efficiency of the elastic frame is improved. Therefore, the bullet frame configuration and display device provided by the invention can solve the problem of low bullet frame display efficiency.
Fig. 6 is a schematic structural diagram of an electronic device for implementing the pop-up frame configuration and display method according to an embodiment of the present invention.
The electronic device may include a processor 10, a memory 11, a communication interface 12 and a bus 13, and may further include a computer program, such as a pop-up box configuration and presentation program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used to store not only application software installed in the electronic device and various types of data, such as a code of a pop-up box configuration and presentation program, but also temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (such as a pop-up box configuration and presentation program) stored in the memory 11 and calling data stored in the memory 11.
The communication interface 12 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 13 may be divided into an address bus, a data bus, a control bus, etc. The bus 13 is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 6 shows only an electronic device having components, and those skilled in the art will appreciate that the structure shown in fig. 6 does not constitute a limitation of the electronic device, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions such as charge management, discharge management, and power consumption management are implemented through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the electronic device may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-emitting diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The pop-up box configuration and presentation program stored in the memory 11 of the electronic device is a combination of a plurality of instructions, and when running in the processor 10, can implement:
constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, and converting the bullet frames to be configured into a plurality of bullet frame views;
constructing a bullet frame array according to the calling sequence of the bullet frame views;
receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
Specifically, the specific implementation method of the instruction by the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to the drawings, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, and converting the bullet frames to be configured into a plurality of bullet frame views;
constructing a bullet frame array according to the calling sequence of the bullet frame views;
receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The embodiment of the invention can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A pop frame configuration and display method is characterized by comprising the following steps:
constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template, and converting the bullet frames to be configured into a plurality of bullet frame views;
constructing a bullet frame array according to the calling sequence of the bullet frame views;
receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and monitoring the standard bomb frame, and displaying the bomb frame according to the monitoring result.
2. The method for configuring and displaying a bullet box according to claim 1, wherein the constructing a plurality of bullet boxes to be configured according to the pre-constructed bullet box template comprises:
receiving a user selection instruction, and selecting a plurality of components from the bullet frame template based on the user selection instruction to form a plurality of original bullet frames;
and receiving a user adjusting instruction, and dynamically adjusting the components in the original bullet frame based on the user adjusting instruction to obtain a plurality of bullet frames to be configured.
3. A bezel configuring and displaying method as recited in claim 1, wherein said converting said plurality of bezels to be configured into a plurality of bezel views comprises:
creating a plurality of view instances according to the number of the bullet frames to be configured;
and adding the interfaces of the plurality of frames to be configured to the corresponding view examples to obtain the plurality of frame views.
4. The method for configuring and displaying a popup frame according to claim 2, wherein constructing a popup frame array according to a calling order of the popup frame views comprises:
constructing a global array corresponding to the plurality of bullet frame views, and constructing array elements in the global array based on a key value pair mode;
and taking the display sequence of the plurality of bullet frames to be configured as the calling sequence of the plurality of bullet frame views, and sequentially arranging the array elements to obtain the bullet frame array.
5. The frame popup configuring and displaying method according to claim 1, wherein the frame popup configuring and encapsulating the frame popup array into a standard frame based on the frame popup configuration command comprises:
performing sequence adjustment on array elements in the bullet frame array based on the bullet frame configuration instruction;
and constructing a display bullet frame by utilizing the bullet frame template, and packaging the adjusted bullet frame array serving as an interface into the display bullet frame to obtain the standard bullet frame.
6. The frame configuration and display method according to claim 1, wherein the monitoring the standard frame and the frame display according to the monitoring result comprises:
monitoring the click condition of the view of the bullet frame in the standard bullet frame by utilizing a pre-constructed global monitoring task;
if the pop frame views are clicked, calling the next pop frame view in the standard pop frames according to the calling sequence of the array elements for displaying until all the pop frame views are called, and closing the standard pop frames.
7. The pop frame configuration and presentation method of claim 4, wherein the key-value pair-based way of constructing array elements in the global array comprises:
and determining the key value in the array element as the calling sequence of the bullet frame view, and determining the value in the array element as the bullet frame view.
8. A pop-up frame configuration and display device, the device comprising:
the view conversion module is used for constructing a plurality of bullet frames to be configured according to a pre-constructed bullet frame template and converting the bullet frames to be configured into a plurality of bullet frame views;
the array construction module is used for constructing the elastic frame array according to the calling sequence of the elastic frame views;
the bullet frame generating module is used for receiving a bullet frame configuration instruction, performing bullet frame configuration on the bullet frame array based on the bullet frame configuration instruction, and packaging the bullet frame array into a standard bullet frame;
and the bullet frame display module is used for monitoring the standard bullet frame and displaying the bullet frame according to the monitoring result.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of claim 1 to 7.
10. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the pop-up box configuration and presentation method according to any one of claims 1 to 7.
CN202210693126.6A 2022-06-17 2022-06-17 Bullet frame configuration and display method, device, equipment and storage medium Pending CN114995940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210693126.6A CN114995940A (en) 2022-06-17 2022-06-17 Bullet frame configuration and display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210693126.6A CN114995940A (en) 2022-06-17 2022-06-17 Bullet frame configuration and display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114995940A true CN114995940A (en) 2022-09-02

Family

ID=83035786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210693126.6A Pending CN114995940A (en) 2022-06-17 2022-06-17 Bullet frame configuration and display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114995940A (en)

Similar Documents

Publication Publication Date Title
CN110795219A (en) Resource scheduling method and system suitable for multiple computing frameworks
CN112085217B (en) Method, device, equipment and computer medium for deploying artificial intelligence service
US9977655B2 (en) System and method for automatic extraction of software design from requirements
CN113238929B (en) Code testing method and device based on Mock data, electronic equipment and storage medium
CN113961584A (en) Method and device for analyzing field blood relationship, electronic equipment and storage medium
CN113741909A (en) Micro-service deployment method, device, electronic equipment and storage medium
CN114511038A (en) False news detection method and device, electronic equipment and readable storage medium
CN113806434A (en) Big data processing method, device, equipment and medium
CN115600644A (en) Multitasking method and device, electronic equipment and storage medium
CN112214256B (en) Machine learning operation control method and device, electronic equipment and storage medium
CN113360139A (en) Integration method and device of front-end frame, electronic equipment and storage medium
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN114398282A (en) Test script generation method, device, equipment and storage medium
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN114995940A (en) Bullet frame configuration and display method, device, equipment and storage medium
CN115220740A (en) Database environment deployment method and device, electronic equipment and storage medium
CN114185522A (en) Page theme customizing method and device, electronic equipment and storage medium
CN112527443A (en) Prompt box display method and device, electronic equipment and computer readable storage medium
CN114020414A (en) Symbiotic method and device of Android system and bottom layer Linux, electronic equipment and storage medium
CN111680204A (en) Data acquisition method, data acquisition device and computer readable storage medium
CN113342472A (en) Micro-service cluster creating method and device, electronic equipment and readable storage medium
CN113010129A (en) Virtual studio full-flow multi-terminal blackboard writing extraction method and device
CN113419951A (en) Artificial intelligence model optimization method and device, electronic equipment and storage medium
CN114860314B (en) Deployment upgrading method, device, equipment and medium based on database compatibility
CN114911464A (en) Code generation method, device and equipment based on domain drive and storage medium

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