CN113569551B - 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
CN113569551B
CN113569551B CN202110805862.1A CN202110805862A CN113569551B CN 113569551 B CN113569551 B CN 113569551B CN 202110805862 A CN202110805862 A CN 202110805862A CN 113569551 B CN113569551 B CN 113569551B
Authority
CN
China
Prior art keywords
template
configuration
app
page
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.)
Active
Application number
CN202110805862.1A
Other languages
Chinese (zh)
Other versions
CN113569551A (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

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)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, equipment, a system and a storage medium for configuring an APP page, 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 a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file; according to the method and the system, the page configuration of the APP of the client-side appointed version 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 general functions in the pages are packaged into basic components, so that the general components can be reused. And are all custom-implemented based on demand, the corresponding pages and layouts are typically not variable.
Once the requirements are changed, the corresponding APP resource bit, page style and layout change all require a developer to re-develop the page, and part of the basic components can be multiplexed, tested, verified and then released. In the existing APP page development, when page resource bits or page layout are changed, basic components can be multiplexed, but the redevelopment of pages still needs to be put into workload; the management of the resource bits is also chaotic, the resource bits cannot distinguish versions, and the operation cannot quickly locate the resource bits. In addition, inheritance is lacking between the new version APP page and the old version APP page, so that workload of an issuer is increased.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a method, equipment, a system and a storage medium for configuring an APP page.
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 a configuration template of the specific version APP and a URL (Uniform Resource Locator, uniform resource positioning system) address of a template file;
and based on the situation of the configuration template which is locally cached, the first check code and the URL address of the template file, determining to render the specific version APP page by the configuration template which is locally cached or render the specific version APP page by the template file downloaded from a cloud server by using the template file URL.
According to the method for configuring the APP page provided by the present invention, the determining, based on the locally cached condition of the configuration template, the first check code and the URL address of the template file, the rendering of the APP page with the specific version by the locally cached configuration template or the template file downloaded from the cloud server with the template file URL includes:
judging whether the local cache has a configuration template corresponding to the specific version APP;
if the local cache is not available, downloading a corresponding template file from a cloud server to render the APP page through the URL address of the template file;
if the configuration template is locally cached, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the configuration template is consistent with the second check code, rendering the APP page by using the locally cached configuration template, and if the configuration template is inconsistent with the second check code, downloading the corresponding template file from a cloud server to render the APP page by using the URL address of the template file.
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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
In a third aspect, the present invention provides an apparatus for configuring a client APP page, including:
the receiving module is used for receiving a request of a user for accessing the APP with the specific version;
the acquisition module is used for acquiring a first check code of the configuration template of the specific version APP and the URL address of the template file;
the determining module is used for determining to render the specific version APP page by using the locally cached configuration template or rendering the specific version APP page by using a template file downloaded from a cloud server by using a template file URL based on the locally cached configuration template, the first check code and the URL address of the template file.
According to the device for configuring the client APP page provided by the invention, the determining module is further used for:
judging whether the local cache has a configuration template corresponding to the specific version APP;
if the local cache is not available, downloading a corresponding configuration template from a cloud server to render the APP page through the URL address of the template file;
if the configuration templates are locally cached, generating a second check code based on the configuration templates, 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 locally cached configuration templates, and if the configuration templates are inconsistent, downloading the corresponding configuration templates from a cloud server to render the APP page by using the URL addresses of the template files.
In a fourth aspect, the present invention provides a device for configuring a background service APP page, including:
the receiving module is used for receiving a request carrying parameters of a configuration template of the APP with a specific version;
the verification module is used for storing the parameters of the configuration template if the parameters of the configuration template pass the verification and the preview effect formed by managing the background page of the parameters of the configuration template 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 a cloud server;
And the storage module is used for associating the first check code with the URL address of the template file fed back by the cloud server and the specific version APP, storing the URL address of the template file, and enabling the client to download the corresponding template file according to the URL address of the template file to conduct page rendering.
In a fifth aspect, the present invention provides a client electronic device comprising a processor and a memory storing a computer program, the processor implementing the steps of the method of APP page configuration of the first aspect when executing the program.
In a sixth aspect, the present invention provides a background service electronic device, comprising a processor and a memory storing a computer program, the processor implementing the steps of the method for APP page configuration of the second aspect when executing the program.
In a seventh aspect, the present invention provides a system for APP page configuration, comprising: the client manages a background page, background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file;
The management background page is used for receiving parameters of a configuration template of the specific version APP, 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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs 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 the processor to perform the steps of the method of APP page configuration of the first aspect or the steps of the APP page configuration method of the second aspect.
According to the method, the device, the system and the storage medium for configuring the APP page, the page configuration of the APP of the client-side appointed version is realized in the background service, the visual realization is used for managing the page management and the configuration assembly, 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.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method of APP Page configuration provided by the present invention;
FIG. 2 is a second flow chart of the method for configuring APP pages provided by the present invention;
fig. 3 is a schematic structural diagram of a device for configuring an APP page of a client provided by the present invention;
fig. 4 is a schematic structural diagram of a device for background service APP page configuration provided by the present invention;
Fig. 5 is a schematic diagram of the physical structure of the client electronic device provided by the present invention;
fig. 6 is a schematic diagram of the physical 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
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method, apparatus, system and storage medium of APP page configuration of the present invention are described below in conjunction with fig. 1-7.
Fig. 1 is one of flow diagrams of an APP page configuration method provided by the present invention, and as shown in fig. 1, the APP page configuration method includes:
step 101, receiving a request of accessing a specific version of APP from a user;
102, acquiring a first check code of a configuration template of the APP of the specific version and a URL address of a template file;
Step 103, based on 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 the template file downloaded from the cloud server with the template file URL.
Specifically, there may be multiple APPs at the client, each APP has its version information, and the user accesses an APP at a certain client, and when the user opens or clicks the corresponding APP, that is, the client receives a request for the user to access a specific version of APP.
The client side can acquire a first check code of a configuration template of the APP of a specific version and a URL address of a template file according to the request. The configuration template of the APP with the specific version is generated by a background server and is stored in a database of the background server to serve as backup, meanwhile, the background server generates a corresponding first check code and a template file suitable for being stored by a cloud server according to the configuration template, the template file is uploaded to the cloud server, and after being received and stored by the cloud server, the URL address of the template file is fed back to the background server so that a client can acquire the template file from the cloud server through the URL address. And the configuration templates and the template files are in one-to-one relation, wherein the configuration parameters corresponding to the configuration templates and the template files are the same, the configuration templates which are stored in different carriers need to exist in different formats, namely the configuration templates corresponding to the configuration templates when stored in a background server, and the template files corresponding to the configuration templates when stored in a cloud server. Among them, there are various methods for generating the first check code, such as parity check code, hamming check code, cyclic redundancy check code (CRC), or MD5 code check.
The client determines whether the local cache has a configuration template corresponding to the APP of a 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 latest through the first check code, judges whether the configuration template or the template file is latest based on the factors, and renders the APP page of the specific version through the latest configuration template or the template file.
According to the APP page configuration method, the page configuration of the APP of the client-side designated version is realized in the background service, the visual realization is used for managing the page management and the configuration assembly, 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 convenient.
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, to render the specific version APP page with the locally cached configuration template or the template file downloaded from the cloud server with the template file URL includes:
Judging whether the local cache has a configuration template corresponding to the specific version APP;
if the local cache is not available, downloading a corresponding template file from a cloud server to render the APP page through the URL address of the template file;
if the configuration template is locally cached, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the configuration template is consistent with the second check code, rendering the APP page by using the locally cached configuration template, and if the configuration template is inconsistent with the second check code, downloading the corresponding template file from a cloud server to render the APP page by using the URL address of the template file.
Specifically, the client preferentially determines whether the configuration template corresponding to the specific version APP exists in the local cache, for example, through a preset storage rule, a corresponding relation exists between a storage position and a configuration template of a certain APP, only the latest configuration template of the APP is stored in each storage position, and the client can obtain whether the configuration template corresponding to the specific version APP exists in the local cache by querying the specific storage position, which is only illustrative herein, and the invention does not limit how the client determines the configuration template condition of the local cache.
Under the condition that the local cache does not have a configuration template corresponding to the specific version APP, the URL address of the obtained template file is obtained through the user access request. At this time, a corresponding template file is found from the cloud server based on the URL address of the template file, and is downloaded to the client. The client uses the template file to render the APP with the specific version, so as to realize configuration of the APP page.
Under the condition that the configuration template corresponding to the specific version APP is locally cached, a 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 the second check code generated by the client is consistent with the first check code, if so, indicating that the locally cached configuration template is the latest, and rendering the APP page by using the locally cached configuration template; if the two are inconsistent, the configuration template of the local cache is not the latest, the corresponding template file is downloaded from the cloud server through the URL address of the template file, and the specific version APP is rendered by the template file.
Meanwhile, the configuration template stored by the background server can be used as a reference of the next version of the same APP, namely, the configuration template of the same APP can be inherited, so that the configuration is flexible, and the repeated operation of the configuration process on the same parameters is avoided.
According to the APP page configuration method, the page configuration of the APP of the client-side designated version is realized in the background service, the visual realization is used for managing the page management and the configuration assembly, 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 convenient.
Fig. 2 is a second flow chart of the method for configuring an APP page provided by the present invention, as shown in fig. 2, the method for configuring an APP page includes:
step 201, receiving a request carrying parameters of a configuration template of a specific version of APP;
step 202, if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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;
step 204, associating the first check code with the URL address of the template file fed back by the cloud server and the specific version APP, and storing the association so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
Specifically, an operator carries out page configuration on a specific version of APP by managing a background page, the parameters of a corresponding configuration template are sent to a background server through a corresponding request, after the background server receives the request, the parameters in the configuration template are analyzed first, and the APP version and the configuration template are checked, for example, whether APP version information submitted by the operator is correct or not and whether verification such as corresponding version information exists in the background server or not is checked; checking a configuration template, namely determining whether some necessary parameters in the configuration template are missing, whether the parameters are correctly filled in the configuration template, and the like, and under the condition that the above checks are all passed, sending the configuration template to an operator, previewing the display effect of the configuration template on a specific version APP by the operator through a management background visual interface, checking the parameters of page configuration, mainly checking whether the corresponding page effect accords with the design requirement, if the corresponding page effect accords with the design requirement, the checking is passed, sending a confirmation request by the management background page, and notifying a background server to save the configuration template.
The background server stores the configuration template in a database thereof as a backup, then generates a first check code based on the configuration template, generates a template file suitable for server storage, uploads the template file to the cloud server, and feeds back a message to the server after the cloud server receives the template file and stores the template file in a corresponding area, wherein the feedback message comprises a URL address corresponding to the template file and is sent to the background server.
And the background server associates the URL address of the template file with the specific version APP and stores the URL address in a database of the template file so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
According to the APP page configuration method, the page configuration of the APP of the client-side designated version is realized in the background service, the visual realization is used for managing the page management and the configuration assembly, 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 convenient.
Fig. 3 is a schematic structural diagram of a device for configuring a client APP page, as shown in fig. 3, where the device for configuring a client APP page includes:
A receiving module 301, configured to receive a request from a user to access a specific version of APP;
the acquiring module 302 is configured to acquire a first check code of the configuration template of the specific version APP and a URL address of a template file;
a determining module 303, configured to determine, based on the locally cached condition of the configuration template, the first check code, and the URL address of the template file, to render the specific version of APP page with the locally cached configuration template, or render the specific version of APP page with a template file downloaded from a cloud server with a template file URL.
Optionally, the determining module 303 is further configured to:
judging whether the local cache has a configuration template corresponding to the specific version APP;
if the local cache is not available, downloading a corresponding configuration template from a cloud server to render the APP page through the URL address of the template file;
if the configuration templates are locally cached, generating a second check code based on the configuration templates, 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 locally cached configuration templates, and if the configuration templates are inconsistent, downloading the corresponding configuration templates from a cloud server to render the APP page by using the URL addresses of the template files.
The client referred to in the embodiments of the present application may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connection functionality, or other processing device connected to a wireless modem, etc. The names of the User terminals may also be different in different systems, for example in a 5G system, the User terminals may be referred to as User equipments or terminal equipments (UEs).
Fig. 4 is a schematic structural diagram of a device for configuring a background service APP page, where, as shown in fig. 4, the device for configuring a background service APP page includes:
a receiving module 401, configured to receive a request carrying parameters of a configuration template of a specific version of APP;
the verification module 402 is configured to store parameters of the configuration template if the parameters of the configuration template pass verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement;
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 a cloud server;
and the storage module 404 associates the first check code with the URL address of the template file fed back by the cloud server and the specific version APP, and stores the first check code and the URL address of the template file so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
It should be noted that the division of the units in the present invention is illustrative, and is merely a logic function division, and other division manners may be implemented in practice. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) 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: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that, the device provided by the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effects, and the parts and beneficial effects that are the same as those of the method embodiment in the present embodiment are not described in detail herein.
Fig. 5 illustrates a physical schematic diagram of a client electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communication Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540.
Alternatively, the processor 510 may be a central processing unit (Central Processing Unit, CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA), or a complex programmable logic device (Complex Programmable Logic Device, CPLD), and the processor may also employ a multi-core architecture.
Processor 510 may invoke a computer program 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 a configuration template of the specific version APP and a URL address of a template file;
and based on the situation of the configuration template which is locally cached, the first check code and the URL address of the template file, determining to render the specific version APP page by the configuration template which is locally cached or render the specific version APP page by the template file downloaded from a cloud server by using the template file URL.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Fig. 6 illustrates a physical schematic diagram of a background service electronic device, as shown in fig. 6, where the electronic device may include: processor 610, communication interface (Communication Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640.
Alternatively, the processor 610 may be a central processing unit (Central Processing Unit, CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA), or a complex programmable logic device (Complex Programmable Logic Device, CPLD), and the processor may also employ a multi-core architecture.
The processor 610 may call a computer program 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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or 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 in the method embodiment and achieve the same technical effects, and the details of the same parts and beneficial effects as those of the method embodiment in the embodiment are not described here.
Fig. 7 is an overall flowchart of a system of APP page configuration provided by the present invention, as shown in fig. 7, the system of APP page configuration includes:
the client manages a background page, background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file;
the management background page is used for receiving parameters of a configuration template of the specific version APP, 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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering;
the cloud server is used for storing the template file of the APP with the specific version.
Correspondingly, the overall flow of the system for configuring the APP page comprises:
1. operators log in to manage a background page and enter a page visualization function module:
a. page template setting
Selecting a designated version APP, adding a page template, configuring various resource bit components of a page, namely graphic text navigation, carousel, plate title, message notification, rich text and the like, and configuring the style and layout of the components;
b. Bottom Tab arrangement
The bottom Tab template is added, and the button icon and the jump address of the Tab label are designated.
2. And after the operator completes configuration, sending a request carrying the configuration template parameters to a background server.
3. 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 verification and is returned to an operation manager for verification.
5. And the operation manager receives the prompt of the auditing message, enters the management background to preview the APP page effect, and performs auditing of the page configuration parameters.
6. The operation manager checks the passing of the check and clicks the passing of the confirmation.
7.1, the management background page sends a confirmation request;
7.2 the background server saves the configuration templates in the database as backup.
8.1, after receiving the verification confirmation, the background service generates 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, associating the URL address and MD5 code of the template file to the appointed APP version and storing the URL address and MD5 code in a database.
9. The user accesses the page of the APP mobile phone client.
10.1, the client side sends a request to a background server;
10.2 the background server returns the MD5 code of the current APP version and the template file URL.
11. The client judges whether the local cache has template data or not:
if the client does not have the cached template data, requesting a cloud server through a template file URL, and downloading a template file;
if the client has cached template data, the template data is encrypted to generate MD5 codes, the MD5 codes are compared with MD5 returned by the server, if the MD5 codes are consistent, the APP page is rendered by using local template parameters, and if the MD parameters are inconsistent, 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, analyzing the file data, caching the file data to the client, and then rendering the APP page.
14. And the client finishes rendering and displaying the page 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, are capable of performing the steps of the method of APP page configuration provided by the methods described above, for example comprising:
receiving a request of a user for accessing a specific version of APP;
Acquiring a first check code of a configuration template of the specific version APP and a URL address of a template file;
and based on the situation of the configuration template which is locally cached, the first check code and the URL address of the template file, determining to render the specific version APP page by the configuration template which is locally cached or render the specific version APP page by the template file downloaded from a cloud server by using the template file URL.
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, are capable of performing the steps of the method of APP page configuration provided by the methods described above, for example comprising:
receiving a request carrying parameters of a configuration template of a specific version of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
In another aspect, embodiments of the present application further provide a processor readable storage medium, where the processor readable storage medium stores a computer program, where the computer program is configured to cause the processor to perform the steps of the method for APP page configuration 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 a configuration template of the specific version APP and a URL address of a template file;
and based on the situation of the configuration template which is locally cached, the first check code and the URL address of the template file, determining to render the specific version APP page by the configuration template which is locally cached or render the specific version APP page by the template file downloaded from a cloud server by using the template file URL.
In another aspect, embodiments of the present application further provide a processor readable storage medium, where the processor readable storage medium stores a computer program, where the computer program is configured to cause the processor to perform the steps of the method for APP page configuration provided in the foregoing embodiments, for example, including:
Receiving a request carrying parameters of a configuration template of a specific version of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of APP page configuration, comprising:
receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file;
the configuration templates are generated through a background server and stored in the background server at the same time, and the configuration templates of the same APP stored in the background server can be inherited.
2. The method of APP page configuration of claim 1, wherein said determining, based on the locally cached instance of the configuration template, the first check code, and the URL address of the template file, that the particular version of APP page is rendered with the locally cached configuration template or a template file downloaded from a cloud server with a template file URL, comprises:
judging whether the local cache has a configuration template corresponding to the specific version APP;
If the local cache is not available, downloading a corresponding template file from a cloud server to render the APP page through the URL address of the template file;
if the configuration template is locally cached, generating a second check code based on the configuration template, comparing the first check code with the second check code, if the configuration template is consistent with the second check code, rendering the APP page by using the locally cached configuration template, and if the configuration template is inconsistent with the second check code, downloading the corresponding template file from a cloud server to render the APP page by using the URL address of the template file.
3. A method of APP page configuration, comprising:
receiving a request carrying parameters of a configuration template of a specific version of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
generating and storing the configuration templates based on the parameters, wherein the configuration templates of the same APP can be inherited;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
4. An apparatus for configuring an APP page of a client, comprising:
the receiving module is used for receiving a request of a user for accessing the APP with the specific version;
the acquisition module is used for acquiring a first check code of the configuration template of the specific version APP and the URL address of the template file;
the determining module is used for determining to render the specific version APP page by using the locally cached configuration template or render the specific version APP page by using a template file downloaded from a cloud server by using a template file URL based on the locally cached configuration template, the first check code and the URL address of the template file;
the configuration templates are generated through a background server and stored in the background server at the same time, and the configuration templates of the same APP stored in the background server can be inherited.
5. The apparatus of claim 4, wherein the determining module is further configured to:
judging whether the local cache has a configuration template corresponding to the specific version APP;
if the local cache is not available, downloading a corresponding configuration template from a cloud server to render the APP page through the URL address of the template file;
If the configuration templates are locally cached, generating a second check code based on the configuration templates, 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 locally cached configuration templates, and if the configuration templates are inconsistent, downloading the corresponding configuration templates from a cloud server to render the APP page by using the URL addresses of the template files.
6. An apparatus for background service APP page configuration, comprising:
the receiving module is used for receiving a request carrying parameters of a configuration template of the APP with a specific version;
the verification module is used for storing the parameters of the configuration template if the parameters of the configuration template pass the verification and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement;
the storage module is used for generating and storing the configuration templates based on the parameters, and the configuration templates of the same APP can be inherited;
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 a cloud server;
and the storage module is used for associating the first check code with the URL address of the template file fed back by the cloud server and the specific version APP, storing the URL address of the template file, and enabling the client to download the corresponding template file according to the URL address of the template file to conduct page rendering.
7. A client electronic device, comprising a memory, a transceiver, and 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 a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file;
the configuration templates are generated through a background server and stored in the background server at the same time, and the configuration templates of the same APP stored in the background server can be inherited.
8. A background service electronic device, comprising a memory, a transceiver, and 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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
generating and storing the configuration templates based on the parameters, wherein the configuration templates of the same APP can be inherited;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs page rendering.
9. A system for APP page configuration, comprising:
the client manages a background page, background service and a cloud server;
the client is used for receiving a request of a user for accessing a specific version of APP;
acquiring a first check code of a configuration template of the specific version APP and a URL address of a 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 based on the locally cached configuration template, the first check code and the URL address of the template file;
The configuration templates are generated through a background server and are stored in the background server at the same time, and the configuration templates of the same APP stored in the background server can be inherited;
the management background page is used for receiving parameters of a configuration template of the specific version APP, 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 of APP;
if the parameters of the configuration template pass the verification, and the preview effect formed by managing the background page of the parameters of the configuration template meets the design requirement, the parameters of the configuration template are saved;
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 with the URL address of the template file fed back by the cloud server and a specific version APP, and storing the URL address so that the client downloads the corresponding template file according to the URL address of the template file and performs 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, characterized in that 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 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 CN113569551A (en) 2021-10-29
CN113569551B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518922B (en) * 2021-12-28 2024-03-05 百果园技术(新加坡)有限公司 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
CN111309319A (en) * 2020-02-13 2020-06-19 卓望数码技术(深圳)有限公司 Inheritable office data dynamic page configuration method and device
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
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框架管理界面自动生成模块的设计与实现;薛耀伟;《中国优秀硕士学位论文全文数据库信息科技辑》(第6期);I138-130 *

Also Published As

Publication number Publication date
CN113569551A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN110442524B (en) Method and device for testing web service interface with authentication authorization
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
US20220109974A1 (en) Esim card change method and related device
CN107896244B (en) Version file distribution method, client and server
WO2018113596A1 (en) Method of processing application reviewing operation permission, device, and data storage medium
CN108228228B (en) Application software publishing method and device
CN106802814B (en) Method and device for upgrading software version
CN104468843A (en) File uploading method and device
CN108135026B (en) Wi-Fi connection method, computer device and storage medium
WO2014008864A1 (en) Method, apparatus, and system for sharing software among terminals
CN113569551B (en) APP page configuration method, device, system and storage medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
US20190149571A1 (en) Method and device for repairing page vulnerability
CN114546837A (en) Interface test method, device, equipment and storage medium
CN112422604B (en) File uploading method, device and system and computer equipment
CN107124713B (en) Customized updating method and mobile terminal
CN111752789B (en) Pressure testing method, computer device and computer readable storage medium
CN111338644A (en) Task script deployment method and system
CN103139298A (en) Method for transmitting network data and device
CN113760727A (en) Interface regression testing method and device
CN112527377A (en) Application program generation processing method and device, computer equipment and storage medium
US20150121182A1 (en) Method and server for processing information
CN113760688A (en) Remote debugging method, system, webpage server, equipment and storage medium
CN113132447A (en) Reverse proxy method and system

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