CN113569551A - APP page configuration method, device, system and storage medium - Google Patents

APP page configuration method, device, system and storage medium Download PDF

Info

Publication number
CN113569551A
CN113569551A CN202110805862.1A CN202110805862A CN113569551A CN 113569551 A CN113569551 A CN 113569551A CN 202110805862 A CN202110805862 A CN 202110805862A CN 113569551 A CN113569551 A CN 113569551A
Authority
CN
China
Prior art keywords
template
app
configuration
check code
template file
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.)
Granted
Application number
CN202110805862.1A
Other languages
Chinese (zh)
Other versions
CN113569551B (en
Inventor
葛凯辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110805862.1A priority Critical patent/CN113569551B/en
Publication of CN113569551A publication Critical patent/CN113569551A/en
Application granted granted Critical
Publication of CN113569551B publication Critical patent/CN113569551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • 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
    • 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)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, equipment, a system and a storage medium for APP page configuration, wherein the method comprises the following steps: receiving a request of a user for accessing a specific version of APP; acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file; based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file; according to the method and the device, the page configuration of the APP of the appointed version of the client is realized in the background service, the APP page is rendered by the latest configuration template, the inheritance of the APP configuration templates of different versions is ensured, the flexibility of the APP page configuration is improved, the page resource management is clearer, and the maintenance is convenient.

Description

APP page configuration method, device, system and storage medium
Technical Field
The invention relates to the technical field of APP page development, in particular to a method, equipment, a system and a storage medium for APP page configuration.
Background
At present, mainstream APP pages are developed based on components, and universal functions in the pages are packaged into basic components, so that the universal components can be ensured to be reused. And are all custom-implemented based on requirements, the corresponding pages and layouts are typically immutable.
Once the demand is changed, the corresponding APP resource position, page style and layout change all need developers to redevelop pages, and part of basic components can be multiplexed and then released after test verification. In the conventional APP page development, when a page resource position or a page layout is changed, although basic components can be reused, the redevelopment of the page still needs to invest workload; the management of the resource bit is also disordered, the versions of the resource bit cannot be distinguished, and the operation cannot be carried out to quickly locate the resource bit. In addition, the lack of inheritance between new and old versions of APP pages results in increased workload for developers.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an APP page configuration method, device, system and storage medium.
In a first aspect, the present invention provides a method for APP page configuration, including:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the specific version APP and a URL (Uniform Resource Locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
According to the method for configuring the APP page provided by the present invention, the determining that the specific version APP page is rendered by the locally cached configuration template or the template file downloaded from the cloud server by the template file URL based on the locally cached condition of the configuration template, the first check code, and the URL address of the template file includes:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding template file from the cloud server through the URL address of the template file to render the APP page;
if the local cache is stored, a second check code is generated based on the configuration template, the first check code and the second check code are compared, if the first check code and the second check code are consistent, the APP page is rendered through the configuration template of the local cache, and if the first check code and the second check code are inconsistent, the APP page is rendered through the URL address of the template file by downloading the corresponding template file from the cloud server.
In a second aspect, the present invention provides a method for APP page configuration, including:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
In a third aspect, the present invention provides a device for configuring a client APP page, including:
the receiving module is used for receiving a request of a user for accessing the APP of the specific version;
the acquisition module is used for acquiring a first check code of the configuration template of the APP with the specific version and the URL address of the template file;
and the determining module is used for determining that the specific version APP page is rendered by the locally cached configuration template or the specific version APP page is rendered by a template file downloaded from a cloud server by a template file URL based on the condition of the locally cached configuration template, the first check code and the URL address of the template file.
According to the device for configuring the APP page of the client, provided by the present invention, the determining module is further configured to:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding configuration template from the cloud server through the URL address of the template file to render the APP page;
if the local cache is available, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the first check code and the second check code are consistent, rendering the APP page by using the configuration template of the local cache, and if the first check code and the second check code are inconsistent, rendering the APP page by using the URL address of the template file and downloading the corresponding configuration template from the cloud server.
In a fourth aspect, the present invention provides a device for configuring a background service APP page, including:
the device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a request carrying parameters of a configuration template of a specific version APP;
the verification module is used for storing the parameters of the configuration template if the parameters of the configuration template pass verification and the preview effect formed by the parameters of the configuration template passing the management background page meets the design requirement;
the uploading module is used for generating a first check code and a template file according to the configuration template and uploading the template file to the cloud server;
and the storage module is used for associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version and storing the first check code and the URL address of the template file so that the client can download the corresponding template file according to the URL address of the template file and render the page.
In a fifth aspect, the present invention provides a client electronic device, including a processor and a memory storing a computer program, where the processor implements the steps of the APP page configuration method in the first aspect when executing the program.
In a sixth aspect, the present invention provides a background service electronic device, including a processor and a memory storing a computer program, where the processor implements the steps of the APP page configuration method in the second aspect when executing the program.
In a seventh aspect, the present invention provides a system for APP page configuration, including: the system comprises a client, a management background page, a background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file;
the management background page is used for receiving the parameters of the configuration template of the APP with the specific version, forwarding the parameters to the background service, and forming a corresponding preview effect according to the parameters of the configuration template;
the background service is used for receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering;
the cloud server is used for storing the template file of the APP with the specific version.
In an eighth aspect, the present invention provides a processor readable storage medium storing a computer program for causing a processor to perform the steps of the method of APP page configuration of the first aspect or the steps of the method of APP page configuration of the second aspect.
According to the APP page configuration method, the APP page configuration device, the APP page configuration system and the APP page configuration storage medium, page configuration of the APP of the appointed version of the client is achieved in background service, page management and configuration component management are achieved visually, the APP page is rendered through the latest configuration template, inheritance of APP configuration templates of different versions is guaranteed, flexibility of APP page configuration is improved, page resource management is clearer, and maintenance is facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for configuring an APP page provided by the present invention;
FIG. 2 is a second flowchart illustrating a method for configuring APP pages according to the present invention;
FIG. 3 is a schematic structural diagram of a device for configuring a client APP page provided by the present invention;
FIG. 4 is a schematic structural diagram of a device for configuring a background service APP page provided by the present invention;
FIG. 5 is a schematic block diagram of a client electronic device according to the present invention;
FIG. 6 is a schematic diagram of an entity structure of a background service electronic device provided by the present invention;
FIG. 7 is an overall flowchart of a system for APP page configuration provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method, apparatus, system, and storage medium for APP page configuration of the present invention are described below with reference to fig. 1-7.
Fig. 1 is a schematic flow diagram of a method for APP page configuration provided by the present invention, and as shown in fig. 1, the method for APP page configuration includes:
step 101, receiving a request of a user for accessing a specific version APP;
102, acquiring a first check code of a configuration template of the APP with the specific version and a URL (uniform resource locator) address of a template file;
step 103, based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining to render the specific version APP page with the locally cached configuration template, or render the specific version APP page with a template file downloaded from a cloud server with a template file URL.
Specifically, the client may have multiple APPs, each APP has its version information, the user accesses a certain client APP, and when the user opens or clicks a corresponding APP, the client receives a request for the user to access a specific version APP.
The client side can obtain the first check code of the configuration template of the APP with the specific version and the URL address of the template file according to the request. The configuration template of the APP with the specific version is generated by the background server and is stored in a database of the background server to serve as a backup, meanwhile, the background server can generate a corresponding first check code and a template file suitable for being stored by the cloud server according to the configuration template, then the template file is uploaded to the cloud server, and after the template file is received and stored by the cloud server, the URL address of the template file is fed back to the background server, so that the client can obtain the template file from the cloud server through the URL address. The configuration template and the template file are in a one-to-one relationship, wherein the configuration parameters corresponding to the configuration template and the template file are the same, and the configuration template and the template file are stored in different carriers and need to exist in different formats, namely the corresponding configuration template when stored in a background server and the corresponding template file when stored in a cloud server. The method for generating the first check code may be various, such as a parity check code, a hamming check code, a Cyclic Redundancy Check (CRC) code, or an MD5 code check.
The client determines whether a local cache has a configuration template corresponding to the APP of the specific version, downloads the latest template file from the cloud server to the client through the URL of the template file, determines whether the configuration template of the local cache is the latest through the first check code, judges whether the configuration template or the template file is the latest based on the above factors, and renders the APP page of the specific version by using the latest configuration template or the template file.
According to the APP page configuration method provided by the invention, page configuration of the APP of the client specified version is realized in background service, page management and configuration component management are visually realized, the APP page is rendered by the latest configuration template, and the inheritance of the APP configuration templates of different versions is ensured. The flexibility of APP page configuration is improved, page resource management is clearer, and maintenance is facilitated.
Optionally, the determining, based on the locally cached condition of the configuration template, the first check code, and the URL address of the template file, that the specific version APP page is rendered with the locally cached configuration template or with the template file downloaded from the cloud server by the template file URL includes:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding template file from the cloud server through the URL address of the template file to render the APP page;
if the local cache is stored, a second check code is generated based on the configuration template, the first check code and the second check code are compared, if the first check code and the second check code are consistent, the APP page is rendered through the configuration template of the local cache, and if the first check code and the second check code are inconsistent, the APP page is rendered through the URL address of the template file by downloading the corresponding template file from the cloud server.
Specifically, the client preferentially determines whether a configuration template corresponding to an APP of a specific version exists in the local cache, for example, a corresponding relationship exists between a storage location and a configuration template of an APP by a pre-agreed storage rule, and only the latest configuration template of the APP is stored in each storage location, and the client can obtain whether the configuration template corresponding to the APP of the specific version exists in the local cache by querying the specific storage location, which is only an exemplary description.
And under the condition that the local cache does not have a configuration template corresponding to the APP with the specific version, the URL address of the obtained template file is obtained through the user access request. At this time, the corresponding template file is found from the cloud server based on the URL address of the template file, and is downloaded to the client. And the client renders the APP of the specific version by using the template file to realize the configuration of the APP page.
Under the condition that the configuration template corresponding to the APP with the specific version is locally cached, the second check code is generated based on the locally cached configuration template, and the method for generating the second check code by the client is the same as the method for generating the first check code by the background server. Comparing whether a second check code generated by the client is consistent with the first check code or not, if so, indicating that the locally cached configuration template is latest, and rendering the APP page by using the locally cached configuration template; if the two are not consistent, the configuration template cached locally is not the latest, downloading the corresponding template file from the cloud server through the URL address of the template file, and rendering the APP of the specific version by using the template file.
Meanwhile, the configuration template stored in the background server can be used as a reference for the next version of the same APP, namely the configuration template of the same APP can be inherited, so that repeated operation of the same parameter in the configuration process is avoided while flexible configuration is performed.
According to the APP page configuration method provided by the invention, page configuration of the APP of the client specified version is realized in background service, page management and configuration component management are visually realized, the APP page is rendered by the latest configuration template, and the inheritance of the APP configuration templates of different versions is ensured. The flexibility of APP page configuration is improved, page resource management is clearer, and maintenance is facilitated.
Fig. 2 is a second flowchart of the APP page configuration method provided by the present invention, and as shown in fig. 2, the APP page configuration method includes:
step 201, receiving a request carrying parameters of a configuration template of a specific version APP;
step 202, if the parameters of the configuration template pass verification and the preview effect formed by the parameters of the configuration template through a management background page meets the design requirement, storing the parameters of the configuration template;
step 203, generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and 204, associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
Specifically, an operator performs page configuration on an APP of a specific version by managing a background page, sends parameters of a corresponding configuration template to a background server through a corresponding request, and after receiving the request, the background server firstly analyzes the parameters in the configuration template and verifies the APP version and the configuration template, for example, whether APP version information submitted by the operator is correct or not, whether corresponding version information exists in the background server or not, and the like; and checking the configuration template, namely determining whether some parameters which need to be filled in the configuration template have omission or are correctly filled in, and the like, sending the configuration template to an operator under the condition that the verification is passed, wherein the operator previews the display effect of the configuration template on the APP of the specific version through a visual interface of a management background, and auditing the parameters of the page configuration, wherein whether the corresponding page effect meets the design requirement is mainly audited, and if the page effect is consistent with the design requirement, the page of the management background can send a confirmation request to inform a background server to store the configuration template after the audit is passed.
The background server stores the configuration template in a database of the background server as a backup, then generates a first check code based on the configuration template, simultaneously generates a template file suitable for being stored by the server, uploads the template file to the cloud server, and after receiving the template file and storing the template file in a corresponding area, the cloud server feeds back a message to the server, wherein the feedback message comprises a URL (uniform resource locator) address corresponding to the template file and is sent to the background server.
And the background server associates the first check code and the URL address of the template file with the APP of the specific version and stores the associated URL address and the APP in a database of the background server so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
According to the APP page configuration method provided by the invention, page configuration of the APP of the client specified version is realized in background service, page management and configuration component management are visually realized, the APP page is rendered by the latest configuration template, and the inheritance of the APP configuration templates of different versions is ensured. The flexibility of APP page configuration is improved, page resource management is clearer, and maintenance is facilitated.
Fig. 3 is a schematic structural diagram of a client APP page configuration apparatus provided in the present invention, and as shown in fig. 3, the client APP page configuration apparatus includes:
a receiving module 301, configured to receive a request for a user to access a specific version APP;
an obtaining module 302, configured to obtain a first check code of the configuration template of the APP with the specific version and a URL address of the template file;
a determining module 303, configured to determine, based on a locally cached condition of the configuration template, the first check code, and a URL address of the template file, that the configuration template locally cached is used to render the specific version APP page, or that the template file downloaded from a cloud server is used to render the specific version APP page.
Optionally, the determining module 303 is further configured to:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding configuration template from the cloud server through the URL address of the template file to render the APP page;
if the local cache is available, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the first check code and the second check code are consistent, rendering the APP page by using the configuration template of the local cache, and if the first check code and the second check code are inconsistent, rendering the APP page by using the URL address of the template file and downloading the corresponding configuration template from the cloud server.
The client according to the embodiments of the present application may refer to a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or another processing device connected to a wireless modem. In different systems, the names of the UEs may be different, for example, in a 5G system, the UE may be called a User Equipment (UE).
Fig. 4 is a schematic structural diagram of a device for background service APP page configuration provided in the present invention, and as shown in fig. 4, the device for background service APP page configuration includes:
a receiving module 401, configured to receive a request for carrying parameters of a configuration template of a specific version APP;
a verification module 402, configured to store the parameters of the configuration template if the parameters of the configuration template pass verification and a preview effect formed by the parameters of the configuration template passing through a management background page meets design requirements;
an uploading module 403, configured to generate a first check code and a template file according to the configuration template, and upload the template file to the cloud server;
the storage module 404 associates the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and stores the first check code and the URL address of the template file for the client to download the corresponding template file according to the URL address of the template file, and perform page rendering.
It should be noted that the division of the unit in the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units 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, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that, the apparatus provided in the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiments in this embodiment are omitted here.
Fig. 5 illustrates a physical structure diagram of a client electronic device, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a Communication Interface (Communication Interface)520, a memory (memory)530 and a Communication bus 540, wherein the processor 510, the Communication Interface 520 and the memory 530 are communicated with each other via the Communication bus 540.
Optionally, the processor 510 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also adopt a multi-core architecture.
Processor 510 may invoke computer programs in memory 530 to perform the steps of a method of computing task migration, including, for example:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Fig. 6 illustrates a schematic entity structure diagram of a background service electronic device, and as shown in fig. 6, the electronic device may include: a processor (processor)610, a Communication Interface (Communication Interface)620, a memory (memory)630 and a Communication bus 640, wherein the processor 610, the Communication Interface 620 and the memory 630 complete Communication with each other through the Communication bus 640.
Optionally, the processor 610 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and the processor may also adopt a multi-core architecture.
The processor 610 may invoke computer programs in the memory 630 to perform the steps of the method of computing task migration, including, for example:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, the electronic device provided in the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in this embodiment are not repeated herein.
Fig. 7 is an overall flowchart of the system for APP page configuration provided in the present invention, and as shown in fig. 7, the system for APP page configuration includes:
the system comprises a client, a management background page, a background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file;
the management background page is used for receiving the parameters of the configuration template of the APP with the specific version, forwarding the parameters to the background service, and forming a corresponding preview effect according to the parameters of the configuration template;
the background service is used for receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering;
the cloud server is used for storing the template file of the APP with the specific version.
Correspondingly, the whole process of the system for APP page configuration comprises the following steps:
1. the operator logs in the management background page and enters the page visualization function module:
a. page template settings
Selecting an appointed version APP, adding a page template, configuring various resource bit components of a page, such as image-text navigation components, carousel components, plate titles, message notifications components, rich texts and the like, and configuring the style and layout of the components;
b. bottom Tab arrangement
And adding a bottom Tab template, and specifying a button icon and a jump address of a Tab label.
2. And the operator completes configuration and carries a configuration template parameter request to send to the background server.
3. And the background server receives the request, analyzes the front-end parameters and verifies the APP version and the configuration template.
4. And the background service passes the verification and returns to the operation manager for verification and confirmation.
5. And the operation manager receives the verification message prompt, enters the management background to preview the APP page effect, and conducts verification of the page configuration parameters.
6. And the operation manager passes the audit and clicks to confirm the pass.
7.1 the management background page sends a confirmation request;
7.2 the background server saves the configuration template in the database as a backup.
8.1 after the background service receives the audit confirmation, generating an MD5 code;
8.2 generating a template file according to the configuration template, and uploading the template file to a cloud server;
8.3 the cloud server returns the URL address of the template file;
8.4 the URL address and MD5 code of the template file are associated to the specified APP version and saved in the database.
9. And the user accesses the page of the APP mobile phone client.
10.1 the client sends a request to the background server;
10.2 the backend server returns the MD5 code and template file URL of the current APP version.
11. The client judges whether the local cache has template data:
if the client does not have the cached template data, requesting a cloud server through a template file URL, and downloading the template file;
if the client side has cached template data, the template data is encrypted to generate an MD5 code, the MD5 code is compared with the MD5 code returned by the server, if the MD5 code is consistent with the MD5 code, the APP page is rendered by using local template parameters, and if the APP page is not consistent with the MD5 code, the cloud server is requested, and the template file is downloaded;
12. and the client downloads the template file from the cloud server through the URL address of the template file.
13.1 the client finishes downloading the template file;
13.2 parsing the file data and caching to the client, and then rendering the APP page.
14. And the client finishes page rendering and displaying to the user.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the steps of the method for APP page configuration provided by the above methods, for example comprising:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the steps of the method for APP page configuration provided by the above methods, for example comprising:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
On the other hand, an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to enable the processor to perform the steps of the APP page configuration method provided in the foregoing embodiments, for example, including:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
On the other hand, an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to enable the processor to perform the steps of the APP page configuration method provided in the foregoing embodiments, for example, including:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units 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. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for APP page configuration is characterized by comprising the following steps:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
2. The APP page configuration method of claim 1, wherein determining that the specific version APP page is rendered with the locally cached configuration template or a template file downloaded from a cloud server with a template file URL based on a condition of the locally cached configuration template, the first check code and a URL address of the template file comprises:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding template file from the cloud server through the URL address of the template file to render the APP page;
if the local cache is stored, a second check code is generated based on the configuration template, the first check code and the second check code are compared, if the first check code and the second check code are consistent, the APP page is rendered through the configuration template of the local cache, and if the first check code and the second check code are inconsistent, the APP page is rendered through the URL address of the template file by downloading the corresponding template file from the cloud server.
3. A method for APP page configuration is characterized by comprising the following steps:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
4. An apparatus for client APP page configuration, comprising:
the receiving module is used for receiving a request of a user for accessing the APP of the specific version;
the acquisition module is used for acquiring a first check code of the configuration template of the APP with the specific version and the URL address of the template file;
and the determining module is used for determining that the specific version APP page is rendered by the locally cached configuration template or the specific version APP page is rendered by a template file downloaded from a cloud server by a template file URL based on the condition of the locally cached configuration template, the first check code and the URL address of the template file.
5. The apparatus of client APP page configuration of claim 4, wherein the determining module is further configured to:
judging whether a local cache has a configuration template corresponding to the APP of the specific version;
if the local cache is not available, downloading a corresponding configuration template from the cloud server through the URL address of the template file to render the APP page;
if the local cache is available, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the first check code and the second check code are consistent, rendering the APP page by using the configuration template of the local cache, and if the first check code and the second check code are inconsistent, rendering the APP page by using the URL address of the template file and downloading the corresponding configuration template from the cloud server.
6. An apparatus for background service (APP) page configuration, comprising:
the device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a request carrying parameters of a configuration template of a specific version APP;
the verification module is used for storing the parameters of the configuration template if the parameters of the configuration template pass verification and the preview effect formed by the parameters of the configuration template passing the management background page meets the design requirement;
the uploading module is used for generating a first check code and a template file according to the configuration template and uploading the template file to the cloud server;
and the storage module is used for associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version and storing the first check code and the URL address of the template file so that the client can download the corresponding template file according to the URL address of the template file and render the page.
7. A client electronic device comprising a memory, a transceiver, a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
and based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file.
8. A background-serving electronic device, comprising a memory, a transceiver, a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
and associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering.
9. A system for APP page configuration, comprising:
the system comprises a client, a management background page, a background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version APP;
acquiring a first check code of the configuration template of the APP with the specific version and a URL (uniform resource locator) address of the template file;
based on the condition of the locally cached configuration template, the first check code and the URL address of the template file, determining that the locally cached configuration template renders the specific version APP page, or determining that the specific version APP page renders the template file downloaded from a cloud server by the URL of the template file;
the management background page is used for receiving the parameters of the configuration template of the APP with the specific version, forwarding the parameters to the background service, and forming a corresponding preview effect according to the parameters of the configuration template;
the background service is used for receiving a request carrying parameters of a configuration template of a specific version APP;
if the parameters of the configuration template pass the verification and the preview effect formed by the parameters of the configuration template through the management background page meets the design requirement, storing the parameters of the configuration template;
generating a first check code and a template file according to the configuration template, and uploading the template file to a cloud server;
associating the first check code and the URL address of the template file fed back by the cloud server with the APP of the specific version, and storing the first check code and the APP of the specific version so that the client can download the corresponding template file according to the URL address of the template file and perform page rendering;
the cloud server is used for storing the template file of the APP with the specific version.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method of APP page configuration of any of claims 1 to 2 or implements the steps of the method of APP page configuration of claim 3.
CN202110805862.1A 2021-07-16 2021-07-16 APP page configuration method, device, system and storage medium Active CN113569551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110805862.1A CN113569551B (en) 2021-07-16 2021-07-16 APP page configuration method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110805862.1A CN113569551B (en) 2021-07-16 2021-07-16 APP page configuration method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113569551A true CN113569551A (en) 2021-10-29
CN113569551B CN113569551B (en) 2023-12-19

Family

ID=78165145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110805862.1A Active CN113569551B (en) 2021-07-16 2021-07-16 APP page configuration method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113569551B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518922A (en) * 2021-12-28 2022-05-20 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699501A (en) * 2015-01-15 2015-06-10 腾讯科技(深圳)有限公司 Method and device for running application program
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN106775769A (en) * 2017-01-16 2017-05-31 北京恒华伟业科技股份有限公司 A kind of interface communication system and browser
CN108345482A (en) * 2017-12-29 2018-07-31 广州品唯软件有限公司 The self-defined edit methods of dynamic page, device, electronic equipment and storage medium
CN109165369A (en) * 2018-07-12 2019-01-08 北京猫眼文化传媒有限公司 Webpage display process and device
CN111190591A (en) * 2019-09-06 2020-05-22 腾讯科技(深圳)有限公司 Interface display method, data processing method, device, terminal and server
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
CN111309319A (en) * 2020-02-13 2020-06-19 卓望数码技术(深圳)有限公司 Inheritable office data dynamic page configuration method and device
CN111708600A (en) * 2020-08-20 2020-09-25 腾讯科技(深圳)有限公司 Page display method, device, equipment and computer readable storage medium
CN112162748A (en) * 2020-11-10 2021-01-01 平安普惠企业管理有限公司 Application program home page configuration method and device, electronic equipment and readable storage medium
CN112230919A (en) * 2020-10-16 2021-01-15 蜂助手股份有限公司 Page templating configuration publishing method, system, storage medium and server
CN112306587A (en) * 2019-07-15 2021-02-02 腾讯科技(深圳)有限公司 Page display processing method and device and terminal equipment
KR102214139B1 (en) * 2020-06-04 2021-02-09 (주)케이아이티원 Management system for cloud infrastructure template
CN112417360A (en) * 2020-12-03 2021-02-26 武汉悦学帮网络技术有限公司 Webpage rendering method and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699501A (en) * 2015-01-15 2015-06-10 腾讯科技(深圳)有限公司 Method and device for running application program
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN106775769A (en) * 2017-01-16 2017-05-31 北京恒华伟业科技股份有限公司 A kind of interface communication system and browser
CN108345482A (en) * 2017-12-29 2018-07-31 广州品唯软件有限公司 The self-defined edit methods of dynamic page, device, electronic equipment and storage medium
CN109165369A (en) * 2018-07-12 2019-01-08 北京猫眼文化传媒有限公司 Webpage display process and device
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
CN112306587A (en) * 2019-07-15 2021-02-02 腾讯科技(深圳)有限公司 Page display processing method and device and terminal equipment
CN111190591A (en) * 2019-09-06 2020-05-22 腾讯科技(深圳)有限公司 Interface display method, data processing method, device, terminal and server
CN111309319A (en) * 2020-02-13 2020-06-19 卓望数码技术(深圳)有限公司 Inheritable office data dynamic page configuration method and device
KR102214139B1 (en) * 2020-06-04 2021-02-09 (주)케이아이티원 Management system for cloud infrastructure template
CN111708600A (en) * 2020-08-20 2020-09-25 腾讯科技(深圳)有限公司 Page display method, device, equipment and computer readable storage medium
CN112230919A (en) * 2020-10-16 2021-01-15 蜂助手股份有限公司 Page templating configuration publishing method, system, storage medium and server
CN112162748A (en) * 2020-11-10 2021-01-01 平安普惠企业管理有限公司 Application program home page configuration method and device, electronic equipment and readable storage medium
CN112417360A (en) * 2020-12-03 2021-02-26 武汉悦学帮网络技术有限公司 Webpage rendering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
薛耀伟: "基于Django框架管理界面自动生成模块的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 6, pages 138 - 130 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518922A (en) * 2021-12-28 2022-05-20 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium
CN114518922B (en) * 2021-12-28 2024-03-05 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113569551B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN109478266B (en) Resource allocation for database provisioning
CN110058873B (en) Application page updating method, device, equipment and storage medium
CN108293081B (en) Deep linking of program playback to mobile application state through user interface events
US9483248B2 (en) Automatic generation and execution of server update processes
WO2018113596A1 (en) Method of processing application reviewing operation permission, device, and data storage medium
TW201915850A (en) Method for generating application program, apparatus, system, device, and medium
US20150378714A1 (en) Providing Context-Specific Software Updates to Client Applications
US20110225563A1 (en) System for accessing and sharing user defined contents and method of the same
CN106802814B (en) Method and device for upgrading software version
US11580294B2 (en) Techniques for web framework detection
US9590859B2 (en) Discovering resources of a distributed computing environment
CN113569551B (en) APP page configuration method, device, system and storage medium
US20190149571A1 (en) Method and device for repairing page vulnerability
US11240127B1 (en) Indicator tools
WO2014176731A1 (en) Method and apparatus for upgrading application
CN111752789B (en) Pressure testing method, computer device and computer readable storage medium
US10977148B2 (en) Processing data object modifications in a networked storage system
CN112527459A (en) Log analysis method and device based on Kubernetes cluster
US20180157478A1 (en) Deployment of immutable web application builds
CN110852050A (en) Method and device for configuring report generation system and electronic equipment
CN106776597B (en) Structured data downloading method and device
CN108846141B (en) Offline cache loading method and device
CN112783903A (en) Method and device for generating update log
KR20110103888A (en) System for accessing and sharing user defined contents and method of the same
CN116319837B (en) File synchronization method, device and equipment supporting multiple protocols 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
GR01 Patent grant
GR01 Patent grant