CN113312047A - Method for modifying application display, terminal device and computer readable medium - Google Patents

Method for modifying application display, terminal device and computer readable medium Download PDF

Info

Publication number
CN113312047A
CN113312047A CN202010122095.XA CN202010122095A CN113312047A CN 113312047 A CN113312047 A CN 113312047A CN 202010122095 A CN202010122095 A CN 202010122095A CN 113312047 A CN113312047 A CN 113312047A
Authority
CN
China
Prior art keywords
page
application
default
new
terminal
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
CN202010122095.XA
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.)
Multipoint Shenzhen Digital Technology Co ltd
Original Assignee
Multipoint Shenzhen Digital Technology 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 Multipoint Shenzhen Digital Technology Co ltd filed Critical Multipoint Shenzhen Digital Technology Co ltd
Priority to CN202010122095.XA priority Critical patent/CN113312047A/en
Publication of CN113312047A publication Critical patent/CN113312047A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

Embodiments of the present disclosure disclose methods, electronic devices, and computer-readable media for modifying an application display. One embodiment of the method comprises: receiving a request for modifying application display, obtaining application default configuration data based on the request, obtaining an application default page based on the default configuration data, and obtaining an application new page based on the default page and the request. According to the method, the page is used as the result of the application display, the modified application display result is generated based on the default configuration data through a modular development method, the modification efficiency is improved, the modification workload is reduced, and the satisfaction degree of a user on the application display modification result is improved.

Description

Method for modifying application display, terminal device and computer readable medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of computer software development.
Background
Computer software development is the process of building a software system or software parts in a system according to the needs of a user. The application is a system or module which is provided for actual use by a user, such as a game, an office system, a website, an online customer service and the like, and is obtained through software development. Development or modification of the application and each module and subsystem therein belong to the field of software development. The modification of the application generally includes multiple links of requirement combing, designing, programming, joint debugging testing, releasing and the like, and the final modification needs to be completed under coordination and coordination so as to provide the required application or modules, subsystems and the like of the application to a user.
Disclosure of Invention
The disclosed embodiment provides a method for modifying application display.
In a first aspect, an embodiment of the present disclosure provides a method for modifying an application display, where the method includes: receiving a request to modify an application display; obtaining default configuration data of the application based on the request; obtaining a default page of the application based on the default configuration data, wherein the default page is a result displayed by the application; based on the default page and the request, a new page of the application is obtained.
In some embodiments, upon request, obtaining default configuration data for the application includes: determining a type of application based on the request; sending the type of the application to a first terminal, wherein the first terminal acquires default configuration data of the application based on the type of the application; and receiving default configuration data of the application returned by the first terminal.
In some embodiments, obtaining the default page of the application based on the default configuration data comprises: sending the default configuration data of the application to a second terminal, wherein the second terminal determines a default display element of the application based on the default configuration data of the application, and generates a default page of the application based on the default display element; and receiving the generated default page of the application returned by the second terminal.
In some embodiments, obtaining a new page for the application based on the default page and the request includes: sending the default page and the request to a second terminal, wherein the second terminal determines a new display element of the application based on the default page and the request, and generates a new page of the application based on the default page and the new display element; and receiving the generated new page of the application returned by the second terminal.
In some embodiments, the method further comprises: determining new configuration data of the application based on the new page of the application; sending the new configuration data of the application to the first terminal; an access link for a new page of the application is generated.
In some embodiments, the new display element is determined by the second terminal by: loading a hypertext markup language (HTML) file, a Cascading Style Sheet (CSS) file and a text document (JS) file containing a JavaScript code line of a default page, and determining the page structure, the page style and the page behavior information of the default page corresponding to the request; changing the page structure, the page style and the page behavior information of a default page corresponding to the request; and determining the changed page structure, page style and page behavior information of the default page as the new display element.
In some embodiments, the second terminal generates a new page of the application based on the default page and the new display element, including: generating a foreground page of a new page of the application based on the default page and the new display element; other pages of the new page of the application are generated based on the default page and the new display element.
In some embodiments, the second terminal generates further pages of the new page of the application based on the default page and the new display element, including:
adding an event to each component node DOM node in the default page based on the default page and the new display element, wherein the event is used for activating the operation of the attribute of the HTML element; rendering the page based on the event; and taking the page obtained after rendering as other pages of the new page of the application.
In a second aspect, an embodiment of the present disclosure provides a terminal device, where the terminal device includes: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation manner of the first aspect.
In a third aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which computer program, when executed by a processor, implements the method as described in any of the implementations of the first aspect.
The embodiment of the disclosure provides a method for modifying application display, which includes receiving a request for modifying application display, obtaining default configuration data of an application based on the request, obtaining a default page of the application based on the default configuration data, and obtaining a new page of the application based on the default page and the request.
One of the above-described various embodiments of the present disclosure has the following advantageous effects: and generating a default page of the application display based on default configuration data related to the application display, and realizing visual application display preview. After receiving a request for modifying the application display, a new page may be obtained by modifying the page structure, page style, and page behavior information of the default page. The embodiment improves the efficiency of modifying the application display, reduces the modification workload and improves the satisfaction degree of the user on the application display modification result.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram of some embodiments of a method for modifying an application display according to the present disclosure;
FIG. 3 is a schematic diagram of further embodiments for application link generation and user access according to the present disclosure;
FIG. 4 is a flow diagram of still further embodiments of methods for application display page nested calls, according to the present disclosure;
fig. 5 is a schematic block diagram of a terminal device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the disclosed method for modifying an application display may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as a voice recognition application, a human-computer interaction application, a terminal entry application, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various terminal devices having a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the above-listed terminal apparatuses. It may be implemented as multiple software or software modules (e.g., to provide request input for modifying the application display) or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as an application display server that analyzes requests input by the terminal apparatuses 101, 102, 103 and outputs the processing results. The application display server may perform processing such as application display modification on the received request, and feed back a processing result (e.g., an application page) to the terminal device.
It should be noted that the method for modifying the application display provided in the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for displaying the application is generally disposed in the server 105.
It should be noted that the local of the server 105 may also directly receive the request for modifying the application, and the server 105 may directly perform processing according to the request for modifying the local application to obtain a result displayed by the modified new application, in this case, the exemplary system architecture 100 may not include the terminal devices 101, 102, 103 and the network 104.
It should be noted that the terminal devices 101, 102, and 103 may also have application display applications installed therein, and in this case, the method for displaying the application may also be executed by the terminal devices 101, 102, and 103. At this point, the exemplary system architecture 100 may also not include the server 105 and the network 104.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, for providing an application display service), or may be implemented as a single software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of some embodiments of a method for modifying an application display in accordance with the present disclosure is shown. The method for modifying application display comprises the following steps:
step 201, a request for modifying an application display is received.
In this embodiment, an execution subject (e.g., a server shown in fig. 1) of the method for modifying an application display may obtain a request to modify the application display. Here, the application may be a game, a web page, office software, an information system, or the like. The request for modifying the application display may be uploaded to the execution main body by a terminal device (for example, terminal devices 101, 102, and 103 shown in fig. 1) in communication connection with the execution main body through a wired connection manner or a wireless connection manner, or may be locally stored by the execution main body.
In some optional application display methods of the present embodiment, the effect of the application display may be displayed in a page of a game. The request for modifying the application display may include a requirement for changing the picture, font, position, size, and sound effects of the game on the page of the game, or a combination of any of the above requirements.
Step 202, obtaining default configuration data of the application based on the request.
In some embodiments, the execution agent (e.g., the server shown in FIG. 1) determines the type of application based on a request to modify the application display. In some alternative application types of the present embodiment, a game type based on hypertext markup language 5(HTML5) may be used. The types of games described above include, but are not limited to: pure game class, draw a lottery class, promote class, vote class, etc. The type of application may be sent to the first terminal, where the first terminal returns default configuration data for the type of application stored in the first terminal. And the execution main body receives the configuration data returned by the first terminal to obtain the default configuration data of the application.
The default configuration data for the above-mentioned application may be the skin of the game. The type of game determines the display effect of the game, each type of game depends on a skin, and each type of game corresponds to a default configuration data.
The skins of the game, each relying on a piece of default configuration data, determine the display effect of all elements in the game. The default configuration data refers to configuration data stored in the first terminal corresponding to the type of game. The default configuration data is a configurable attribute of the skin of the game, including at least one of: element name, element type, element size, element color, element location, element resource address. Modifying the application display modifies the default configuration data, thereby realizing the skin change of the game. Below is the structure and definition content of the optional default configuration data.
Figure BDA0002393278090000061
Figure BDA0002393278090000071
And step 203, obtaining a default page of the application based on the default configuration data.
In some embodiments, the execution body sends default configuration data of the application to the second terminal, wherein the second terminal determines a default display element of the application based on the default configuration data of the application, and generates a default page of the application based on the default display element. And receiving the generated default page of the application returned by the second terminal, thereby obtaining the default page of the application.
In some optional implementations of some embodiments, the second terminal determines the default display element by the following steps. The method comprises the steps of firstly, loading a hypertext markup language (HTML) file of a default page corresponding to default configuration data based on the default configuration data, and determining a page structure of the default page corresponding to the default configuration data. And secondly, loading a Cascading Style Sheet (CSS) file of a default page corresponding to the default configuration data based on the default configuration data to determine a page style of the default page corresponding to the default configuration data. And thirdly, loading a text document JS file containing a JavaScript code line of the default page corresponding to the default configuration data based on the default configuration data, and determining page behavior information of the default page corresponding to the default configuration data. And fourthly, determining the page style, the page structure and the page behavior information of the default page as default display elements.
In some optional implementations of some embodiments, the page structure, page style, and page behavior information of the default page may be packaged as one module. The module is used as a basic unit to determine default display elements, so that decoupling of pages can be realized, and the problems of variable conflict and style conflict can be avoided in the development process. The module can be called directly if other pages also need to provide the same functionality.
Step 204, obtaining a new page of the application based on the default page and the request.
In some embodiments, the execution body sends the default page and the request to the second terminal, wherein the second terminal determines a new display element of the application based on the default page and the request, and generates a new page of the application based on the default page and the request. And receiving the generated new page of the application returned by the second terminal, thereby obtaining the new page of the application.
In some optional implementations of some embodiments, the second terminal determines the new display element by the following steps. The method comprises the steps of firstly, loading a hypertext markup language (HTML) file, a Cascading Style Sheet (CSS) file and a text document (JS) file containing JavaScript code lines of a default page, and determining the page structure, the page style and the page behavior information of the default page corresponding to a request. And secondly, changing the page structure, the page style and the page behavior information of the default page based on the request for modifying the application display sent by the execution main body. And determining the changed page structure, page style and page behavior information of the default page as the new display element.
In some alternative implementations of some embodiments, the second terminal generates the new page of the application by: firstly, generating a foreground page of the new page of the application; and secondly, generating other pages of the new page of the application.
In some embodiments, in other optional implementations, the execution subject receives a new page of the application returned by the second terminal. The receiving mode can be that a JS file of a new page is loaded, the initialization method in the JS file is called after the loading is completed, and the DOM node of the preview area is transmitted to the new page. The new page adds the DOM node of the display area of the new page to the preview DOM node.
In some alternative implementation manners of some embodiments, the execution principal may send new configuration data corresponding to a new page of the application to the first terminal. The first terminal stores new configuration data and meets the requirement of page nesting calling. The configuration data is invoked directly by the first terminal if there are other applications that also need to provide the same functionality.
One embodiment presented in fig. 2 has the following beneficial effects: and generating a default page of the application display based on default configuration data related to the application display, and realizing visual application display preview. After receiving a request for modifying the application display, a new page may be obtained by modifying the page structure, page style, and page behavior information of the default page. By executing the interaction of the main body, the first terminal and the second terminal, the efficiency of modifying the application display is improved, the modification workload is reduced, and the satisfaction degree of a user on the application display modification result is improved.
With further reference to FIG. 3, a flow 300 of yet another embodiment of a method of generating an access link for a new page of an application is illustrated. The flow 300 of the method for generating an access link for a new page of an application includes the steps of:
in this embodiment, an execution subject (for example, the server shown in fig. 1) of the method for modifying the application display receives the activity code ID corresponding to the new configuration data returned by the first terminal. And splicing the activity ID to the access link of the default page to generate the access link of the new page of the application, so that the requirement of a user for viewing the application display is met. The access link to the new page may be "https:// www.xxx.com/game
"https:// www.xxx.com/game. html? "indicates a default page access connection," actId 123 "indicates an activity ID. For example, fig. 3 shows a schematic diagram of application link generation and user access, where an application may be a game, and when a user accesses the game through an active link, the current active ID is first analyzed from the link, and then the active ID is used to invoke an execution main body server interface, so as to obtain configuration data of the mini game. And setting the attributes of the elements in the game through the configuration data, and presenting the game to the user.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for a second terminal to generate a new page for an application is shown. The process 400 of the method for generating a new page of an application by a second terminal includes the following steps:
step 401, the second terminal generates a foreground page of the new page of the application based on the default page and the new display element.
In some embodiments, the execution agent sends the default page and a request to modify the application display to the second terminal. The second terminal performs the following steps of rendering the page:
first, traverse the default page, find the DOM node of HTML as a node tree corresponding to the request to modify the application display, where the DOM node defines the objects and attributes of all HTML elements, the way to access them, and the criteria for how to obtain, modify, add, or delete HTML elements.
And secondly, the second terminal clicks and edits after selecting the HTML element, and returns the new configuration data of the HTML element to the execution main body.
And thirdly, judging the type of the element by the execution main body based on the new configuration data of the HTML element, popping up different popup windows according to the type to perform different processing, transmitting the processed result data to the second terminal after the processing is finished, and re-rendering the page by the second terminal.
And fourthly, the second terminal takes the page obtained after re-rendering as a foreground page of the new page of the application.
Step 402, the second terminal generates other pages of the new page of the application based on the default page and the new display element.
In some embodiments, the execution main body needs to switch the foreground page of the application, switch other pages of the new page of the application to the current foreground page, call a jump method in an interface file of the current foreground page, and receive the current foreground page to be jumped, which is transmitted by the second terminal. And the execution main body loads the current foreground page and displays the current foreground page module in the display area.
And the execution main body sends the current foreground page and the request for modifying the application display to the second terminal, and the second terminal adds an event in the current foreground page, wherein the event activates the operation of modifying the display element attribute of the application. The second terminal executes the following specific steps:
and step one, adding a corresponding event to the DOM node by the second terminal according to the request, wherein the event activates and modifies the operation of displaying the attribute of the HTML element of the application, and the operation comprises that the HTML element follows the selected drag element so as to change the position of the HTML element.
And secondly, when the execution main body clicks the edition of the HTML element, the second terminal clicks the edition after selecting the HTML element, and the configuration data of the HTML element is returned to the execution main body.
And thirdly, the execution main body judges what type the HTML element is based on the configuration data of the HTML element, processes the HTML element according to the configuration data of the HTML element, including modifying pictures and the like, and transmits processed result data to the second terminal after the processing is finished.
And fourthly, the second terminal takes the page obtained after re-rendering as other pages of the new page of the application.
One embodiment presented in fig. 4 has the following beneficial effects: the page nesting mechanism of the on-demand dynamic front cover is realized by the modularized processing and nesting calling of the foreground page of the application and other pages of the application. Therefore, the modification efficiency of application display modification such as game skin changing is improved, and the modification workload is reduced.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use in implementing the electronic devices of embodiments of the present disclosure. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: a storage section 506 including a hard disk and the like; and a communication section 507 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 507 performs communication processing via a network such as the internet. The driver 508 is also connected to the I/O interface 505 as necessary. A removable medium 509 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 508 as necessary, so that a computer program read out therefrom is mounted into the storage section 506 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 507 and/or installed from the removable medium 509. The above-described functions defined in the method of the present disclosure are performed when the computer program is executed by a Central Processing Unit (CPU) 501. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method of modifying an application display, comprising:
receiving a request to modify an application display;
obtaining default configuration data of the application based on the request;
obtaining a default page of the application based on the default configuration data, wherein the default page is a result displayed by the application;
and obtaining a new page of the application based on the default page and the request.
2. The method of claim 1, wherein said obtaining default configuration data for the application based on the request comprises:
determining a type of the application based on the request;
sending the type of the application to a first terminal, wherein the first terminal acquires default configuration data of the application based on the type of the application;
and receiving default configuration data of the application returned by the first terminal.
3. The method of claim 1, wherein said deriving a default page for the application based on the default configuration data comprises:
sending the default configuration data of the application to a second terminal, wherein the second terminal determines a default display element of the application based on the default configuration data of the application, and generates a default page of the application based on the default display element;
and receiving the default page of the application returned by the second terminal.
4. The method of claim 1, wherein the obtaining a new page for the application based on the default page and the request comprises:
sending the default page and the request to a second terminal, wherein the second terminal determines a new display element of the application based on the default page and the request, and generates a new page of the application based on the default page and the new display element;
and receiving a new page of the application returned by the second terminal.
5. The method of claim 4, wherein the method further comprises:
determining new configuration data for the application based on the new page for the application;
sending the new configuration data of the application to a first terminal;
generating an access link for a new page of the application.
6. The method of claim 4, wherein the new display element is determined by the second terminal by:
loading a hypertext markup language (HTML) file, a Cascading Style Sheet (CSS) file and a text document (JS) file containing a JavaScript code line of the default page;
determining page structure, page style and page behavior information of the default page corresponding to the request;
changing the page structure, the page style and the page behavior information of the default page corresponding to the request;
and determining the changed page structure, page style and page behavior information of the default page as the new display element.
7. The method of any of claims 4-6, wherein the second terminal generating a new page for the application based on the default page and the new display element comprises:
generating a foreground page of the new page of the application based on the default page and the new display element;
generating other pages of the new page of the application based on the default page and the new display element.
8. The method of claim 7, wherein the second terminal generating other pages of the new page of the application based on the default page and the new display element comprises:
adding an event to each component node DOM node in the default page based on the default page and the new display element, wherein the event is used for activating operation of a hypertext markup language (HTML) element attribute;
rendering a page based on the event;
and taking the page obtained after rendering as other pages of the new page of the application.
9. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
CN202010122095.XA 2020-02-27 2020-02-27 Method for modifying application display, terminal device and computer readable medium Pending CN113312047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010122095.XA CN113312047A (en) 2020-02-27 2020-02-27 Method for modifying application display, terminal device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010122095.XA CN113312047A (en) 2020-02-27 2020-02-27 Method for modifying application display, terminal device and computer readable medium

Publications (1)

Publication Number Publication Date
CN113312047A true CN113312047A (en) 2021-08-27

Family

ID=77369949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010122095.XA Pending CN113312047A (en) 2020-02-27 2020-02-27 Method for modifying application display, terminal device and computer readable medium

Country Status (1)

Country Link
CN (1) CN113312047A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648666A (en) * 2016-12-23 2017-05-10 深圳市金证科技股份有限公司 User interface generating method and user interface generating system
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN108846087A (en) * 2018-06-12 2018-11-20 恒生电子股份有限公司 A kind of page rendering method, apparatus, terminal and server
CN108984632A (en) * 2018-06-20 2018-12-11 联动优势电子商务有限公司 A kind of webpage setting method and device
CN109445889A (en) * 2018-09-25 2019-03-08 北京奇艺世纪科技有限公司 Page display method, device, terminal, server, computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN106648666A (en) * 2016-12-23 2017-05-10 深圳市金证科技股份有限公司 User interface generating method and user interface generating system
CN108846087A (en) * 2018-06-12 2018-11-20 恒生电子股份有限公司 A kind of page rendering method, apparatus, terminal and server
CN108984632A (en) * 2018-06-20 2018-12-11 联动优势电子商务有限公司 A kind of webpage setting method and device
CN109445889A (en) * 2018-09-25 2019-03-08 北京奇艺世纪科技有限公司 Page display method, device, terminal, server, computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106991154B (en) Webpage rendering method and device, terminal and server
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN108984714B (en) Page rendering method and device, electronic equipment and computer readable medium
US10207190B2 (en) Technologies for native game experience in web rendering engine
US8245125B1 (en) Hybrid rendering for webpages
CN106874519B (en) Page display method and device
CN110020329B (en) Method, device and system for generating webpage
US9645983B1 (en) Modifying a document at a script processing server using a client device's state information
CN112395027B (en) Widget interface generation method and device, storage medium and electronic equipment
CN109582317B (en) Method and apparatus for debugging hosted applications
CN110795649A (en) Target page display method, device and system and electronic equipment
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
US20130036193A1 (en) System and method for generating dynamic image sprites
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN115309470A (en) Method, device and equipment for loading widgets and storage medium
CN113760438A (en) Page display method and device for webpage application
CN113094612A (en) Method and device for loading webpage at client, electronic equipment and medium
CN111782996A (en) Asynchronous request processing method and device
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN112486482A (en) Page display method and device
CN110874446A (en) Page display method and system, computer system and computer readable medium
CN113312047A (en) Method for modifying application display, terminal device and computer readable medium
CN114780888A (en) Webpage picture generation method and system, electronic equipment and storage medium
CN113704671A (en) Page generation method and device
CN113656041A (en) Data processing method, device, equipment 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