CN116483399A - App dynamic page updating method and system based on cloud driving - Google Patents

App dynamic page updating method and system based on cloud driving Download PDF

Info

Publication number
CN116483399A
CN116483399A CN202310029879.1A CN202310029879A CN116483399A CN 116483399 A CN116483399 A CN 116483399A CN 202310029879 A CN202310029879 A CN 202310029879A CN 116483399 A CN116483399 A CN 116483399A
Authority
CN
China
Prior art keywords
page
updated
node
data
client
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
CN202310029879.1A
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.)
Jiangling Motors Corp Ltd
Original Assignee
Jiangling Motors Corp 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 Jiangling Motors Corp Ltd filed Critical Jiangling Motors Corp Ltd
Priority to CN202310029879.1A priority Critical patent/CN116483399A/en
Publication of CN116483399A publication Critical patent/CN116483399A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an App dynamic page updating method and system based on cloud driving, wherein the method is applied to a server, and the server is respectively in communication connection with a Web end and a client, and the method comprises the following steps: when a page data updating request sent by a client is received, the page data updating request is analyzed to obtain a corresponding page to be updated; acquiring the data type bound to the page to be updated, and filling service data into the page to be updated according to the data type; the filled page to be updated is sent to the client, and the client is controlled to instantiate the service data according to the data type; and picking up all the node components in the page to be updated, sequentially instantiating the node components, and filling service data into each node of the node components after the node components are instantiated. The method solves the problem that in the prior art, when App is updated, version dependence is needed to realize the update.

Description

App dynamic page updating method and system based on cloud driving
Technical Field
The invention relates to the technical field of software updating, in particular to an App dynamic page updating method and system based on cloud driving.
Background
The intelligent terminal enters into thousands of households at any time and becomes an indispensable part of life, the life style and life habit of the user are deeply changed by the terminal, the use and the function of the intelligent terminal are basically realized based on App, and the problem that how to make the user experience new functions most quickly is that every App developer needs to think is faced to the user demands and marketing demands which are rapidly growing nowadays, namely how to realize App functions/content update is independent of the version of the App functions/content update.
In the current stage, the main current implementation scheme is to use an RN (development framework developed by Facebook) to realize that a cloud transmits patches to an App, and the App combines the patches to realize a new function, which is called hot update. The method mainly comprises the following steps: after the App integrates the hot update framework (such as RN), a developer writes and makes a patch package based on the hot update framework, hosts the patch package to the hot update platform, then an App end requests and downloads the patch package when starting next time, and the patch package is combined into the App, and finally the App end runs the latest function provided by the patch.
However, the above method for updating the App has the problems that the page performance is weak, the page with strong interactivity cannot be supported, and the development time of a large number of active pages is long mainly due to the adoption of the method, and the problem that the App needs to rely on version to realize updating is still not solved.
Disclosure of Invention
In view of the above, the invention aims to provide an App dynamic page updating method and system based on cloud driving, which aims to solve the problem that in the prior art, app updating is needed to be carried out depending on version.
The embodiment of the invention is realized as follows:
an App dynamic page updating method based on cloud driving is applied to a server, wherein the server is respectively in communication connection with a Web end and a client, and the method comprises the following steps:
when a page data updating request sent by the client is received, analyzing the page data updating request to obtain a corresponding page to be updated;
acquiring the data type bound to the page to be updated, and filling service data into the page to be updated according to the data type;
the filled page to be updated is sent to the client, and the client is controlled to instantiate the service data according to the data type;
and picking up all the node components in the page to be updated, sequentially instantiating the node components, and filling the service data into each node of the node components after the node components are instantiated.
Further, in the App dynamic page updating method based on cloud driving, before the step of analyzing the page data updating request to obtain the corresponding page to be updated when the page data updating request sent by the client is received, the method further includes:
constructing a page through the existing UI element by utilizing the Web terminal, and binding the page with the corresponding data type;
and collecting a page structure contained in the page and a bound data type corresponding to the page, and storing the page after stripping the display effect and the data of the page.
Further, in the cloud-drive-based App dynamic page update method, the step of picking up all node components in the page to be updated includes:
and acquiring the page structure of the page to be updated, and controlling the client to traverse the page structure of the page to be updated so as to pick up all node components in the page to be updated.
Further, in the cloud-drive-based App dynamic page updating method, the step of picking up all the node components in the page to be updated, instantiating the node components in sequence, and filling the service data into each node of the node components after the node components are instantiated further includes:
when judging that the page cache of the page to be updated locally exists, performing differential ratio pairs on nodes in the page cache and the nodes in the page to be updated by using a preset algorithm to find out differential target nodes;
and sequentially instantiating the target nodes, and filling the service data into the nodes after the target nodes are instantiated.
Further, in the cloud-drive-based App dynamic page updating method, the step of using a preset algorithm to perform a difference ratio pair on the node in the page cache and the node in the page to be updated to find out a target node of the difference includes:
acquiring all cache nodes in the page cache, and acquiring the affiliated level of the cache nodes and each cache node corresponding to the level;
and matching the nodes in the page to be updated corresponding to the level of each cache node with each cache node in a one-to-one correspondence manner so as to find out the different target nodes.
Further, the method for updating the App dynamic page based on the cloud driving is characterized by further comprising the following steps:
and acquiring a page structure of the page to be updated, and sequentially assembling and rendering the node components according to the page structure.
Another object of the present invention is to provide an App dynamic page update system based on cloud driving, which is applied to a server, wherein the server is respectively connected with a Web terminal and a client in a communication manner, and the system comprises:
the analyzing module is used for analyzing the page data updating request to acquire a corresponding page to be updated when the page data updating request sent by the client is received;
the acquisition module is used for acquiring the data type bound by the page to be updated and filling service data into the page to be updated according to the data type;
the filling module is used for sending the filled page to be updated to the client and controlling the client to instantiate the service data according to the data type;
and the pick-up module is used for picking up all the node components in the page to be updated, sequentially instantiating the node components and filling the service data into each node of the node components after the node components are instantiated.
Further, the App dynamic page updating system based on cloud driving, wherein the system further comprises:
the binding module is used for constructing a page through the existing UI element by utilizing the Web end and binding the page with the corresponding data type;
and the storage module is used for collecting the page structure contained in the page and the bound data type corresponding to the page, stripping the display effect and the data of the page and then storing the page.
It is a further object of an embodiment of the present invention to provide a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method described above.
It is a further object of an embodiment of the invention to provide an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the steps of the method described above when executing the program.
When a page data updating request sent by a client is received, the page data updating request is analyzed to obtain a corresponding page to be updated; and acquiring the data type bound to the page to be updated, carrying out service data filling on the page to be updated according to the data type, carrying out instantiation, picking up all node components in the page to be updated, sequentially instantiating the node components, filling the service data into each node of the node components after the node components are instantiated, and thus obtaining an App function page available for use through analysis of the requested page data, thereby realizing the function page of App dynamic update, further realizing the dynamic update of App, avoiding the factor of App version, and solving the problem that the App update in the prior art is dependent on version for update.
Drawings
FIG. 1 is a system frame diagram showing an App dynamic page update based on cloud driving according to an embodiment of the present invention;
FIG. 2 is a flowchart of an App dynamic page update method based on cloud driving in a first embodiment of the present invention;
fig. 3 is a block diagram of an App dynamic page update system based on cloud driving in a fourth embodiment of the present invention.
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a system frame diagram of App dynamic page update in an App dynamic page update method based on cloud driving according to an embodiment of the present invention includes a Web terminal (H5), an App terminal (client), and a server terminal communicatively connected to the Web terminal (H5) and the client terminal (App terminal), where:
the server side is respectively in communication connection with the Web side and the client side to realize data transmission and information interaction, the Web side has a page editing function and can provide a basic UI component, a user can complete the page editing function by adding the components to the drawing board, each component supports binding data, a Json generator in the Web side can respectively convert edited pages to a Json data format for storage, and a page analyzer in the corresponding server side can analyze component trees and data objects by traversing Json page data to further process service data.
It should be noted that the architecture shown in fig. 1 does not constitute a limitation on the system frame diagram of the App dynamic page update, which may include fewer or more components than illustrated, or may combine certain components, or a different arrangement of components, in other embodiments.
How an App is updated without depending on the App version will be described in detail below in connection with specific embodiments and figures.
Example 1
Referring to fig. 2, an App dynamic page update method based on cloud driving according to a first embodiment of the present invention is applied to a server, where the server is communicatively connected to a Web terminal and a client terminal, respectively, and the method includes steps S10 to S13.
Step S10, when a page data updating request sent by the client is received, the page data updating request is analyzed to obtain a corresponding page to be updated.
Specifically, the client sends a page data update request to the server to request page data to the back end, and after receiving the page data requested by the client, the server obtains a corresponding matched page according to the page data obtained by analyzing the page data update request, namely, a page to be updated for App update.
More specifically, in the implementation of this embodiment, in order to improve the use experience, before sending a page data update request to the server, the client may access a dynamic page, and first display a loading animation on the page, and then send a page data update request to the server to request page data.
Step S11, obtaining the data type of the page binding to be updated, and filling service data into the page to be updated according to the data type.
In order to update an App page, data are required to be filled, specifically, business data are filled in a plurality of different modes, the data type of the page binding to be updated is obtained, the data type of the page binding to be updated is determined, and the filling mode of the page to be updated is determined according to the data type, so that the business data are filled in the page to be updated.
And step S12, the filled page to be updated is sent to the client, and the client is controlled to instantiate the service data according to the data type.
Specifically, the server returns the filled page to be updated and the corresponding page data to the client, and the client instantiates the service data according to the data type of the page binding after receiving the corresponding page data.
And S13, picking up all node components in the page to be updated, sequentially instantiating the node components, and filling the service data into each node of the node components after the node components are instantiated.
All node components which need to be updated in the page to be updated are acquired, the node components are instantiated in sequence respectively, and service data are filled into each node of the node components after the node components are instantiated, so that the page updating function is realized.
Further, in some optional embodiments of the present invention, in order to achieve the integrity of App update, the step of picking up all node components in the page to be updated, instantiating the node components in turn, and filling the service data into each node of the node components after the node components are instantiated further includes:
and acquiring a page structure of the page to be updated, and sequentially assembling and rendering the node components according to the page structure.
Specifically, the page structure reflects the overall layout of the page to be updated, for example, the position of a certain functional area and the size of the page, the node components are assembled in sequence according to the page structure, and the page to be updated is rendered, so that the page to be updated is converted into an App functional page.
Further, in some optional embodiments of the present invention, in order to implement picking up all node components in the page to be updated, the client may be controlled to traverse the page structure of the page to be updated by obtaining the page structure of the page to be updated, so as to pick up all node components in the page to be updated, and in specific implementation, the client may traverse the received page structure, so as to find out all node components in the page to be updated, and pick up all node components.
In summary, in the method for updating an App dynamic page based on cloud driving in the above embodiment of the present invention, when a page data update request sent by a client is received, the page data update request is parsed to obtain a corresponding page to be updated; and then acquiring the data type bound to the page to be updated, carrying out service data filling on the page to be updated according to the data type, carrying out instantiation, picking up all node components in the page to be updated, sequentially instantiating the node components, filling the service data into each node of the node components after the node components are instantiated, thus obtaining the functional page of the App available for use through the requested page data and then analyzing, realizing the functional page of the App dynamic update, thereby realizing the App dynamic update, avoiding considering the factor of the App version, and solving the problem that the App update in the prior art is dependent on the version for updating.
Example two
The present embodiment also provides an App dynamic page update method based on cloud driving, which is different from the App dynamic page update method based on cloud driving provided in the first embodiment in that:
the step S10 further includes:
constructing a page through the existing UI element by utilizing the Web terminal, and binding the page with the corresponding data type;
and collecting a page structure contained in the page and a bound data type corresponding to the page, and storing the page after stripping the display effect and the data of the page.
The method comprises the steps of creating a plurality of pages in advance, specifically, building the pages by using the existing UI elements through a page editing function of a Web end, and binding the pages with data types. In order to realize the storage and use of the page, the page structure and the corresponding bound data type are mainly needed when the page is updated, so that the page structure and the corresponding bound data type of the page contained in the page are collected, and the page is saved after the display effect and the data of the page are stripped, so that the next page updating and use is facilitated.
In summary, in the method for updating an App dynamic page based on cloud driving in the above embodiment of the present invention, when a page data update request sent by a client is received, the page data update request is parsed to obtain a corresponding page to be updated; and then acquiring the data type bound to the page to be updated, carrying out service data filling on the page to be updated according to the data type, carrying out instantiation, picking up all node components in the page to be updated, sequentially instantiating the node components, filling the service data into each node of the node components after the node components are instantiated, thus obtaining the functional page of the App available for use through the requested page data and then analyzing, realizing the functional page of the App dynamic update, thereby realizing the App dynamic update, avoiding considering the factor of the App version, and solving the problem that the App update in the prior art is dependent on the version for updating.
Example III
The present embodiment also provides an App dynamic page update method based on cloud driving, which is different from the App dynamic page update method based on cloud driving provided in the first embodiment in that:
the step S13 further includes:
when judging that the page cache of the page to be updated locally exists, performing differential ratio pairs on nodes in the page cache and the nodes in the page to be updated by using a preset algorithm to find out differential target nodes;
and sequentially instantiating the target nodes, and filling the service data into the nodes after the target nodes are instantiated.
Specifically, when the embodiment is implemented, if there is a page cache of the page to be updated locally, the diff algorithm is triggered to perform the difference ratio pair on the nodes to find out the different nodes, and only the different nodes need to be instantiated in the follow-up process due to the cache, so that the page loading speed is greatly improved.
More specifically, in some optional embodiments of the present invention, the step of performing a difference ratio pair on the node in the page cache and the node in the page to be updated by using a preset algorithm to find a target node of the difference includes:
acquiring all cache nodes in the page cache, and acquiring the affiliated level of the cache nodes and each cache node corresponding to the level;
and matching the nodes in the page to be updated corresponding to the level of each cache node with each cache node in a one-to-one correspondence manner so as to find out the different target nodes.
Specifically, each node is layered, the level of each node is determined, cache nodes and nodes in a page to be updated are compared according to the levels, so that a target node of a difference is found, the node of the difference is inserted or deleted, and specifically, whether two nodes are consistent or not can be determined through the attribute of node json data.
In summary, in the method for updating an App dynamic page based on cloud driving in the above embodiment of the present invention, when a page data update request sent by a client is received, the page data update request is parsed to obtain a corresponding page to be updated; and then acquiring the data type bound to the page to be updated, carrying out service data filling on the page to be updated according to the data type, carrying out instantiation, picking up all node components in the page to be updated, sequentially instantiating the node components, filling the service data into each node of the node components after the node components are instantiated, thus obtaining the functional page of the App available for use through the requested page data and then analyzing, realizing the functional page of the App dynamic update, thereby realizing the App dynamic update, avoiding considering the factor of the App version, and solving the problem that the App update in the prior art is dependent on the version for updating.
Example IV
Referring to fig. 3, an App dynamic page update system based on cloud driving according to a fourth embodiment of the present invention is applied to a server, where the server is communicatively connected to a Web terminal and a client terminal, respectively, and the system includes:
the parsing module 100 is configured to parse the page data update request to obtain a corresponding page to be updated when receiving the page data update request sent by the client;
the acquisition module 200 is configured to acquire a data type bound to the page to be updated, and perform service data filling on the page to be updated according to the data type;
the filling module 300 is configured to send the filled page to be updated to the client, and control the client to instantiate the service data according to the data type;
and the pick-up module 400 is used for picking up all the node components in the page to be updated, instantiating the node components in turn, and filling the service data into each node of the node components after the node components are instantiated.
Further, in some optional embodiments of the present invention, the system further comprises:
the system further comprises:
the binding module is used for constructing a page through the existing UI element by utilizing the Web end and binding the page with the corresponding data type;
and the storage module is used for collecting the page structure contained in the page and the bound data type corresponding to the page, stripping the display effect and the data of the page and then storing the page.
Further, in some optional embodiments of the present invention, the pick-up module is specifically configured to:
and acquiring the page structure of the page to be updated, and controlling the client to traverse the page structure of the page to be updated so as to pick up all node components in the page to be updated.
Further, in some optional embodiments of the present invention, the system further includes:
the comparison module is used for carrying out difference ratio pairs on the nodes in the page cache and the nodes in the page to be updated by utilizing a preset algorithm to find out different target nodes when judging that the page cache of the page to be updated locally exists;
and the instantiation module is used for sequentially instantiating the target nodes and filling the service data into the nodes after the target nodes are instantiated.
Further, in the App dynamic page updating system based on cloud driving, the comparison module is specifically configured to:
acquiring all cache nodes in the page cache, and acquiring the affiliated level of the cache nodes and each cache node corresponding to the level;
and matching the nodes in the page to be updated corresponding to the level of each cache node with each cache node in a one-to-one correspondence manner so as to find out the different target nodes.
Further, the App dynamic page updating system based on cloud driving, wherein the system further comprises:
and the rendering module is used for acquiring the page structure of the page to be updated and sequentially assembling and rendering the node assemblies according to the page structure.
The functions or operation steps implemented when the above modules are executed are substantially the same as those in the above method embodiments, and are not described herein again.
Example five
Another aspect of the present invention also provides a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to any one of the above embodiments.
Example six
In another aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method according to any one of the first to third embodiments.
The technical features of the above embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as the scope of the description of the present specification as long as there is no contradiction between the combinations of the technical features.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. The method is characterized by being applied to a server, wherein the server is respectively in communication connection with a Web end and a client, and the method comprises the following steps:
when a page data updating request sent by the client is received, analyzing the page data updating request to obtain a corresponding page to be updated;
acquiring the data type bound to the page to be updated, and filling service data into the page to be updated according to the data type;
the filled page to be updated is sent to the client, and the client is controlled to instantiate the service data according to the data type;
and picking up all the node components in the page to be updated, sequentially instantiating the node components, and filling the service data into each node of the node components after the node components are instantiated.
2. The cloud-drive-based App dynamic page update method of claim 1, wherein when receiving a page data update request sent by the client, the step of parsing the page data update request to obtain a corresponding page to be updated further comprises:
constructing a page through the existing UI element by utilizing the Web terminal, and binding the page with the corresponding data type;
and collecting a page structure contained in the page and a bound data type corresponding to the page, and storing the page after stripping the display effect and the data of the page.
3. The cloud-drive-based App dynamic page update method of claim 1, wherein the step of picking up all node components in the page to be updated comprises:
and acquiring the page structure of the page to be updated, and controlling the client to traverse the page structure of the page to be updated so as to pick up all node components in the page to be updated.
4. The cloud-drive-based App dynamic page update method of claim 1, wherein the step of picking up all node components in the page to be updated, instantiating the node components in turn, and filling the service data into each node of the node components after the node components are instantiated further comprises:
when judging that the page cache of the page to be updated locally exists, performing differential ratio pairs on nodes in the page cache and the nodes in the page to be updated by using a preset algorithm to find out differential target nodes;
and sequentially instantiating the target nodes, and filling the service data into the nodes after the target nodes are instantiated.
5. The cloud-drive-based App dynamic page update method of claim 4, wherein the step of performing a difference ratio pair on the node in the page cache and the node in the page to be updated by using a preset algorithm to find out a target node of the difference comprises:
acquiring all cache nodes in the page cache, and acquiring the affiliated level of the cache nodes and each cache node corresponding to the level;
and matching the nodes in the page to be updated corresponding to the level of each cache node with each cache node in a one-to-one correspondence manner so as to find out the different target nodes.
6. The cloud-drive-based App dynamic page update method of any one of claims 1 to 5, further comprising:
and acquiring a page structure of the page to be updated, and sequentially assembling and rendering the node components according to the page structure.
7. An App dynamic page updating system based on cloud driving is characterized by being applied to a server, wherein the server is respectively in communication connection with a Web end and a client, and the system comprises:
the analyzing module is used for analyzing the page data updating request to acquire a corresponding page to be updated when the page data updating request sent by the client is received;
the acquisition module is used for acquiring the data type bound by the page to be updated and filling service data into the page to be updated according to the data type;
the filling module is used for sending the filled page to be updated to the client and controlling the client to instantiate the service data according to the data type;
and the pick-up module is used for picking up all the node components in the page to be updated, sequentially instantiating the node components and filling the service data into each node of the node components after the node components are instantiated.
8. The cloud-driven App dynamic page update system of claim 7, further comprising:
the binding module is used for constructing a page through the existing UI element by utilizing the Web end and binding the page with the corresponding data type;
and the storage module is used for collecting the page structure contained in the page and the bound data type corresponding to the page, stripping the display effect and the data of the page and then storing the page.
9. A readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 6 when the program is executed.
CN202310029879.1A 2023-01-09 2023-01-09 App dynamic page updating method and system based on cloud driving Pending CN116483399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310029879.1A CN116483399A (en) 2023-01-09 2023-01-09 App dynamic page updating method and system based on cloud driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310029879.1A CN116483399A (en) 2023-01-09 2023-01-09 App dynamic page updating method and system based on cloud driving

Publications (1)

Publication Number Publication Date
CN116483399A true CN116483399A (en) 2023-07-25

Family

ID=87210779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310029879.1A Pending CN116483399A (en) 2023-01-09 2023-01-09 App dynamic page updating method and system based on cloud driving

Country Status (1)

Country Link
CN (1) CN116483399A (en)

Similar Documents

Publication Publication Date Title
DE60207429T2 (en) DEVICE AND METHOD FOR BIDIRECTIONAL COMMUNICATION AND EXECUTION OF DYNAMIC COMMANDS
DE112010003144T5 (en) Extensible basic structure to support various deployment architectures
DE112013005688T5 (en) Method and system for cloud-based virtualized graphics processing for remote displays
CN105159718A (en) Firmware updating method and device
CN105653335A (en) Plug-in procedure control method and device
CN113641591A (en) Test case generation method and device and test method and device
CN110889067A (en) Page rendering method, device and equipment and storage medium
CN108446110A (en) Lua scenario generation methods, device, terminal and computer-readable medium
CN111367922A (en) Data updating method and related equipment
CN114817190A (en) Log synchronization method, device, system, equipment and storage medium
CN116483399A (en) App dynamic page updating method and system based on cloud driving
CN115129574A (en) Code testing method and device
CN112044061A (en) Game picture processing method and device, electronic equipment and storage medium
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN108960378B (en) Data downloading method, system, device and storage medium
CN102957958B (en) Set-top box upgrading method and set-top box terminal
CN115129348A (en) Resource updating method, device and equipment of application program and readable storage medium
CN114546842A (en) Interface test method and device, storage medium and electronic equipment
CN113098961A (en) Component uploading method, device and system, computer equipment and readable storage medium
CN114157995B (en) Bluetooth networking method, bluetooth networking device, electronic equipment and computer readable storage medium
CN114422593B (en) Data distribution method, device, electronic equipment and storage medium
CN115390909A (en) Page data processing method and device, storage medium and electronic equipment
CN116208661A (en) Function configuration adaptation method, device, vehicle and storage medium
CN116578066A (en) Vehicle diagnosis method, device, equipment and medium
CN103595650A (en) Load balancing equipment strategy custom-built system and method

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