CN112148289A - Interface configuration system and method - Google Patents

Interface configuration system and method Download PDF

Info

Publication number
CN112148289A
CN112148289A CN202011014288.XA CN202011014288A CN112148289A CN 112148289 A CN112148289 A CN 112148289A CN 202011014288 A CN202011014288 A CN 202011014288A CN 112148289 A CN112148289 A CN 112148289A
Authority
CN
China
Prior art keywords
page template
user side
identity information
server
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011014288.XA
Other languages
Chinese (zh)
Inventor
王利箭
张立
梁强
连守财
乌兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinher Software Co Ltd
Original Assignee
Beijing Jinher Software 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 Beijing Jinher Software Co Ltd filed Critical Beijing Jinher Software Co Ltd
Priority to CN202011014288.XA priority Critical patent/CN112148289A/en
Publication of CN112148289A publication Critical patent/CN112148289A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an interface configuration system and method, the system includes: a server and a PC terminal; the server is used for receiving an interface customization request initiated by the user side, sending the interface customization request initiated by the user side and the identity information of the user side to the PC side, and configuring an interface according to a pre-customized page template sent by the PC side; and the PC terminal is used for sending the pre-customized page template to the server according to the identity information of the user terminal. The technical scheme provided by the application has high reusability, and the input model can be reused after being input once, so that the repeated development cost is reduced; the upgrading is simple, the PC end only needs to modify the configuration page, and the user end and the server can synchronously display; and meanwhile, the expansibility is improved.

Description

Interface configuration system and method
Technical Field
The invention belongs to the technical field of interface configuration, and particularly relates to an interface configuration system and method.
Background
In the related art, the drawing interface is drawn on a user screen by configuring xml and then parsing xml. In the past, a user side may generate multiple app applications for displaying own pages for different identities, or store a data type through a server, and switch page display styles through the type. However, in most cases, the template needs to be recorded once for drawing one interface, and the method has poor expansibility, no reusability of the template and complex upgrading.
Disclosure of Invention
In order to overcome the problems of poor expansibility, template non-reusability and complex upgrading existing in the related technology at least to a certain extent, the application provides an interface configuration system and method.
According to a first aspect of embodiments of the present application, there is provided an interface configuration system, the system comprising: a server and a PC terminal;
the server is used for receiving an interface customization request initiated by a user side, sending the interface customization request initiated by the user side and identity information of the user side to the PC side, and configuring an interface according to a pre-customized page template sent by the PC side;
and the PC terminal is used for sending the pre-customized page template to the server according to the identity information of the user terminal.
Preferably, the system further comprises:
and the database is used for storing the pre-customized page template.
Preferably, the PC terminal includes: the system comprises a calling module and an encryption module;
the calling module is used for calling a page template corresponding to the identity information of the user side from a database according to the identity information of the user side and sending the called page template corresponding to the identity information of the user side to the encryption module;
the encryption module is used for encrypting the page template corresponding to the identity information of the user side and sending the encrypted page template corresponding to the identity information of the user side to a server.
Preferably, the server includes: a decryption module and an interface generation module;
the decryption module is used for decrypting the page template corresponding to the identity information of the user side which is sent by the encryption module after encryption and sending the decrypted page template corresponding to the identity information of the user side to the interface generation module;
and the interface generating module is used for placing the decrypted page template corresponding to the identity information of the user side in a page container generating interface and sending the generated interface to the user side.
Preferably, the server further includes: and the storage module is used for storing the encrypted page template which is sent by the encryption module and corresponds to the identity information of the user side.
Preferably, it is also used for: updating the pre-customized page template, and sending the updated pre-customized page template to a server;
the server is also used for storing the updated pre-customized page template sent by the PC end and the pre-customized page template in the updated generated interface.
According to a second aspect of embodiments of the present application, there is provided an interface configuration method, including:
receiving an interface customization request initiated by a user side by using a server and sending the interface customization request initiated by the user side and identity information of the user side to a PC (personal computer) side;
sending a pre-customized page template to a server by using a PC (personal computer) end according to the identity information of a user end;
and configuring an interface by using the server according to the pre-customized page template sent by the PC terminal.
Preferably, the sending the pre-customized page template to the server by using the PC end according to the identity information of the user end includes:
calling a page template corresponding to the identity information of the user side from a database according to the identity information of the user side;
and encrypting the called page template corresponding to the identity information of the user side, and sending the encrypted page template corresponding to the identity information of the user side to a server.
Preferably, the configuring the interface by using the server according to the pre-customized page template sent by the PC terminal includes:
decrypting the encrypted page template corresponding to the identity information of the user side;
and placing the decrypted page template corresponding to the identity information of the user side in a page container to generate an interface, and sending the generated interface to the user side.
Preferably, the method further comprises:
updating the pre-customized page template by using the PC terminal, and sending the updated pre-customized page template to a server;
and storing the updated pre-customized page template sent by the PC end and the pre-customized page template in the updated generated interface by using the server.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: the PC terminal sends the pre-customized page template to the server according to the identity information of the user terminal, and the server configures an interface according to the pre-customized page template sent by the PC terminal, so that the defects in the prior art are overcome, on one hand, the reusability is high, the input model can be reused after one time, and the repeated development cost is reduced; on the other hand, the upgrading is simple, the PC end only needs to modify the configuration page, and the user end and the server can synchronously display; and meanwhile, the expansibility is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an interface configuration system in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating another interface configuration system in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of interface configuration according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
FIG. 1 is a schematic diagram illustrating an interface configuration system in accordance with an exemplary embodiment. Referring to fig. 1, the system includes: a server and a PC terminal;
the server is used for receiving an interface customization request initiated by the user side, sending the interface customization request initiated by the user side and the identity information of the user side to the PC side, and configuring an interface according to a pre-customized page template sent by the PC side;
and the PC terminal is used for sending the pre-customized page template to the server according to the identity information of the user terminal.
According to the interface configuration system provided by the embodiment of the invention, the pre-customized page template is sent to the server by the PC terminal according to the identity information of the user terminal, and the server configures the interface according to the pre-customized page template sent by the PC terminal, so that the defects in the prior art are overcome; on the other hand, the upgrading is simple, the PC end only needs to modify the configuration page, and the user end and the server can synchronously display; and meanwhile, the expansibility is improved.
As an improvement of the foregoing embodiment, an embodiment of the present invention further provides a schematic diagram of another interface configuration system, as shown in fig. 2, where the system includes: a server and a PC terminal;
the server is used for receiving an interface customization request initiated by the user side, sending the interface customization request initiated by the user side and the identity information of the user side to the PC side, and configuring an interface according to a pre-customized page template sent by the PC side;
and the PC terminal is used for sending the pre-customized page template to the server according to the identity information of the user terminal.
In some embodiments, the identity information of the user terminal may be, but is not limited to: business, individual or government, etc.
It is understood that the configured template will be different due to the identity information of the user terminal. In some embodiments, the PC classifies the pre-customized page templates, and the different types of page templates correspond to different user terminals with different identity information.
It should be noted that, according to actual needs, expert experience, experimental data, and the like, those skilled in the art may configure different templates for the user terminals with different identity information.
Further optionally, the system further comprises:
and the database is used for storing the pre-customized page template.
Further optionally, the PC side includes: the system comprises a calling module and an encryption module;
the calling module is used for calling the page template corresponding to the identity information of the user side from the database according to the identity information of the user side and sending the called page template corresponding to the identity information of the user side to the encryption module;
and the encryption module is used for encrypting the page template corresponding to the identity information of the user side and sending the encrypted page template corresponding to the identity information of the user side to the server.
It should be noted that, in the embodiments of the present invention, an encryption manner of "the encryption module encrypts the page template corresponding to the identity information of the user side" is not limited, and in some embodiments, a person skilled in the art may select the encryption manner according to needs, for example, but not limited to, the encryption manner may be performed by using base 64.
Further optionally, the server includes: a decryption module and an interface generation module;
the decryption module is used for decrypting the page template which is sent by the encryption module and corresponds to the identity information of the user side, and sending the decrypted page template which corresponds to the identity information of the user side to the interface generation module;
it should be noted that, the decryption mode of decrypting the page template corresponding to the identity information of the user side, which is sent by the encryption module and encrypted by the decryption module, is not limited in the embodiments of the present invention, and in some embodiments, the decryption mode may be selected by a person skilled in the art as needed;
and the interface generating module is used for placing the decrypted page template corresponding to the identity information of the user side in a page container generating interface and sending the generated interface to the user side.
It should be noted that, the manner in which the interface generation module places the decrypted page template corresponding to the identity information of the user side in the page container generation interface is well known to those skilled in the art, and therefore, a specific implementation manner of the interface generation module is not described too much.
Further optionally, the server further includes: and the storage module is used for storing the encrypted page template which is sent by the encryption module and corresponds to the identity information of the user side.
Further optionally, the PC side is further configured to: updating the pre-customized page template, and sending the updated pre-customized page template to a server;
and the server is also used for storing the updated pre-customized page template sent by the PC terminal and the pre-customized page template in the updated generated interface.
In some alternative embodiments, the server may update the pre-customized page template in the generated interface by using a socket long connection manner, but not limited thereto.
For example, the user a obtains the interface 1 that has been customized, and when the PC updates the page template related to the interface 1, the PC sends the updated page template related to the interface 1 to the server, and the server updates the stored page template related to the interface 1 and updates the page template related to the interface 1 of the user by using the socket long connection method.
According to the interface configuration system provided by the embodiment of the invention, the pre-customized page template is sent to the server by the PC terminal according to the identity information of the user terminal, and the server configures the interface according to the pre-customized page template sent by the PC terminal, so that the defects in the prior art are overcome; on the other hand, the upgrading is simple, the PC end only needs to modify the configuration page, and the user end and the server can synchronously display; and meanwhile, the expansibility is improved.
An embodiment of the present invention further provides an interface configuration method, as shown in fig. 3, which may be used in a terminal, but is not limited to, the method includes the following steps:
step 101: receiving an interface customization request initiated by a user side by using a server and sending the interface customization request initiated by the user side and identity information of the user side to a PC (personal computer) side;
step 102: sending a pre-customized page template to a server by using a PC (personal computer) end according to the identity information of a user end;
step 103: and configuring an interface by using the server according to the pre-customized page template sent by the PC terminal.
Further optionally, step 102 includes:
step 1021: calling a page template corresponding to the identity information of the user side from a database according to the identity information of the user side;
step 1022: and encrypting the called page template corresponding to the identity information of the user side, and sending the encrypted page template corresponding to the identity information of the user side to the server.
Further optionally, step 103 includes:
step 1031: decrypting the encrypted page template corresponding to the identity information of the user side;
step 1032: and placing the decrypted page template corresponding to the identity information of the user side in a page container generation interface, and sending the generated interface to the user side.
Further optionally, the method further comprises:
updating the pre-customized page template by using the PC terminal, and sending the updated pre-customized page template to the server;
and storing the updated pre-customized page template sent by the PC end and the pre-customized page template in the updated generated interface by using the server.
According to the interface configuration method provided by the embodiment of the invention, the server is utilized to receive the interface customization request initiated by the user side and send the interface customization request initiated by the user side and the identity information of the user side to the PC side, the PC side is utilized to send the pre-customized page template to the server according to the identity information of the user side, and the server is utilized to configure the interface according to the pre-customized page template sent by the PC side, so that the defects in the prior art are overcome; on the other hand, the upgrading is simple, the PC end only needs to modify the configuration page, and the user end and the server can synchronously display; and meanwhile, the expansibility is improved.
It is understood that the method embodiments provided above correspond to the system embodiments described above, and the corresponding specific contents may be referred to each other, which is not described herein again.
The embodiment of the invention also provides a readable storage medium, on which an executable program is stored, and the executable program realizes the steps of the interface configuration method when being executed by a processor.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An interface configuration system, the system comprising: a server and a PC terminal;
the server is used for receiving an interface customization request initiated by a user side, sending the interface customization request initiated by the user side and identity information of the user side to the PC side, and configuring an interface according to a pre-customized page template sent by the PC side;
and the PC terminal is used for sending the pre-customized page template to the server according to the identity information of the user terminal.
2. The system of claim 1, further comprising:
and the database is used for storing the pre-customized page template.
3. The system of claim 2, wherein the PC terminal comprises: the system comprises a calling module and an encryption module;
the calling module is used for calling a page template corresponding to the identity information of the user side from a database according to the identity information of the user side and sending the called page template corresponding to the identity information of the user side to the encryption module;
the encryption module is used for encrypting the page template corresponding to the identity information of the user side and sending the encrypted page template corresponding to the identity information of the user side to a server.
4. The system of claim 3, wherein the server comprises: a decryption module and an interface generation module;
the decryption module is used for decrypting the page template corresponding to the identity information of the user side which is sent by the encryption module after encryption and sending the decrypted page template corresponding to the identity information of the user side to the interface generation module;
and the interface generating module is used for placing the decrypted page template corresponding to the identity information of the user side in a page container generating interface and sending the generated interface to the user side.
5. The system of claim 3, wherein the server further comprises: and the storage module is used for storing the encrypted page template which is sent by the encryption module and corresponds to the identity information of the user side.
6. The system of claim 4, wherein the PC side is further configured to: updating the pre-customized page template, and sending the updated pre-customized page template to a server;
the server is also used for storing the updated pre-customized page template sent by the PC end and the pre-customized page template in the updated generated interface.
7. A method according to any one of claims 1 to 6, wherein the method comprises:
receiving an interface customization request initiated by a user side by using a server and sending the interface customization request initiated by the user side and identity information of the user side to a PC (personal computer) side;
sending a pre-customized page template to a server by using a PC (personal computer) end according to the identity information of a user end;
and configuring an interface by using the server according to the pre-customized page template sent by the PC terminal.
8. The method according to claim 7, wherein the sending the pre-customized page template to the server by using the PC according to the identity information of the user side comprises:
calling a page template corresponding to the identity information of the user side from a database according to the identity information of the user side;
and encrypting the called page template corresponding to the identity information of the user side, and sending the encrypted page template corresponding to the identity information of the user side to a server.
9. The method of claim 8, wherein the configuring the interface with the server according to the pre-customized page template sent by the PC comprises:
decrypting the encrypted page template corresponding to the identity information of the user side;
and placing the decrypted page template corresponding to the identity information of the user side in a page container to generate an interface, and sending the generated interface to the user side.
10. The method of claim 9, further comprising:
updating the pre-customized page template by using the PC terminal, and sending the updated pre-customized page template to a server;
and storing the updated pre-customized page template sent by the PC end and the pre-customized page template in the updated generated interface by using the server.
CN202011014288.XA 2020-09-24 2020-09-24 Interface configuration system and method Pending CN112148289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011014288.XA CN112148289A (en) 2020-09-24 2020-09-24 Interface configuration system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011014288.XA CN112148289A (en) 2020-09-24 2020-09-24 Interface configuration system and method

Publications (1)

Publication Number Publication Date
CN112148289A true CN112148289A (en) 2020-12-29

Family

ID=73896517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011014288.XA Pending CN112148289A (en) 2020-09-24 2020-09-24 Interface configuration system and method

Country Status (1)

Country Link
CN (1) CN112148289A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340529A (en) * 2010-07-21 2012-02-01 中国移动通信集团福建有限公司 Page generating system and page generating method based on WAP (Wireless Application Protocol) platform
CN109343851A (en) * 2018-09-26 2019-02-15 中国平安人寿保险股份有限公司 Page generation method, device, computer equipment and storage medium
CN109447780A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Information push method, device, computer equipment and storage medium
CN110457364A (en) * 2019-07-10 2019-11-15 平安科技(深圳)有限公司 The method and device of user information view generation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340529A (en) * 2010-07-21 2012-02-01 中国移动通信集团福建有限公司 Page generating system and page generating method based on WAP (Wireless Application Protocol) platform
CN109447780A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Information push method, device, computer equipment and storage medium
CN109343851A (en) * 2018-09-26 2019-02-15 中国平安人寿保险股份有限公司 Page generation method, device, computer equipment and storage medium
CN110457364A (en) * 2019-07-10 2019-11-15 平安科技(深圳)有限公司 The method and device of user information view generation

Similar Documents

Publication Publication Date Title
CN111182025B (en) Message processing method, device, server and storage medium
CN108282467B (en) Application method and system of digital certificate
CN105487864A (en) Method and device for automatically generating code
CN107908632B (en) Website file processing method and device, website file processing platform and storage medium
CN111680067A (en) Data processing method, device and system based on block chain
CN109408486B (en) File distribution method and system, distribution server and file generation device
CN111538479B (en) Random parameter generation method and device in bidding process
CN110955901B (en) Storage method and server for virtual machine image file of cloud computing platform
CN110022558A (en) The encryption and decryption method and electronic device and storage medium of a kind of upgrade package
CN111934873A (en) Bidding file encryption and decryption method and device
CN111228819B (en) Method, device and equipment for protecting Shader
CN111382458A (en) Data batch sealing method and device and computer storage medium
CN111669434A (en) Method, system, device and equipment for establishing communication group
CN111931835A (en) Image identification method, device and system
CN113704818A (en) Key management method and device for encrypted data storage system and terminal equipment
CN107133539B (en) Smart card personalization method and related device and system
CN108667647B (en) Method and device for setting device parameters and server
CN112148289A (en) Interface configuration system and method
CN106471510B (en) Compound document access
CN116049783A (en) Enterprise bill management method and system based on secure hardware carrier
CN111292722A (en) Model training method of asynchronous combined architecture, terminal, server and storage device
CN113709188B (en) Session control information processing method, device, system and storage medium
CN110187930B (en) Application customization method and system
CN112783633A (en) Data updating system and method based on resource mutual exclusion scheduling model
CN113297586A (en) Data decryption method and device

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