CN117762409A - Program structure configuration method, system, device and computer equipment - Google Patents

Program structure configuration method, system, device and computer equipment Download PDF

Info

Publication number
CN117762409A
CN117762409A CN202311732138.6A CN202311732138A CN117762409A CN 117762409 A CN117762409 A CN 117762409A CN 202311732138 A CN202311732138 A CN 202311732138A CN 117762409 A CN117762409 A CN 117762409A
Authority
CN
China
Prior art keywords
target
content structure
page
program
determining
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
CN202311732138.6A
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.)
China Life Insurance Co ltd
Original Assignee
China Life Insurance 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 China Life Insurance Co ltd filed Critical China Life Insurance Co ltd
Priority to CN202311732138.6A priority Critical patent/CN117762409A/en
Publication of CN117762409A publication Critical patent/CN117762409A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to a method, system, apparatus, computer device, storage medium and computer program product for configuring a program structure. The method comprises the following steps: determining target program content structure information corresponding to a target account according to a login identifier carried in a program content structure inquiry request; the method comprises the steps of sending target program content structure information to a user side, so that the user side sends a page content structure query request to a server after determining a target program content structure corresponding to an application program; receiving a page content structure query request sent by a user side, and determining content structure information of each target page corresponding to a target account; and sending the content structure information of each target page to the user side so that the user side determines the page content structure of each page in the application program, and loading the content structure of the target program and the page content structure of each page in the application program. By adopting the method, the cost of developing and operating various enterprise APP can be reduced.

Description

Program structure configuration method, system, device and computer equipment
Technical Field
The present invention relates to the field of mobile internet technologies, and in particular, to a method, a system, an apparatus, a computer device, a storage medium, and a computer program product for configuring a program structure.
Background
Along with the development of mobile internet technology, in order to meet different demands of users, developers develop APP (Application program) of various mobile terminals, for example, weChat is developed to meet communication demands; meeting shopping requirements, the products of Taobao, jingdong and the like are developed. Generally, the content structure of the APP is fixed, such as 4 navigation buttons at the bottom of the WeChat and 5 navigation buttons at the bottom of the Taobao.
The APP inside each enterprise also uses the mode, and is realized by providing independent APP for different demand scenes, such as developing APP meeting the demand of sales insurance policy for the insurance industry external service users and developing APP meeting the demand of sales support and management for the insurance industry internal service users. For the interior of the APP, through a configuration panel of functions or contents, a user selects a function entry or a content of interest to be used on the configuration panel. Or the user finds out the function or content inlet to be used in a subscription mode. However, the APP inside the enterprise is different from the internet APP, and has no profitability variation mode. Whether developing or purchasing multiple APPs, higher costs are required.
In the prior art, the structure of a local area in the APP can be defined by user, for example, a user sets a required functional component according to own requirements, but the dynamic adjustment of the whole page content structure in the APP cannot be realized, the change of the whole page content structure in the APP can only be solved by releasing a new version of the APP, the function of APP structure adjustment for each type of user cannot be realized, and the cost of enterprise development and operation of various enterprise APPs is high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a program structure configuration method, apparatus, computer device, computer-readable storage medium, and computer program product that can adjust the structure of an interface of an application program according to different requirements.
In a first aspect, the present application provides a method for configuring a program structure, which is applied to a server, and includes:
determining target program content structure information corresponding to a target account according to a login identifier carried in a program content structure inquiry request;
the target program content structure information is sent to a user side, so that the user side sends a page content structure query request to the server after determining a target program content structure corresponding to an application program according to the target program content structure information;
receiving the page content structure query request sent by the user side, and determining the content structure information of each target page corresponding to the target account according to the page content structure query request;
and sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page, and loading the content structure of each target program and the page content structure of each page in the application program.
In one embodiment, the determining, according to the login identifier carried in the program content structure query request, the target program content structure information corresponding to the target account includes:
determining target group information corresponding to a target account according to a login identifier carried in a program content structure query request;
and determining target program content structure information corresponding to the target account based on the target group information.
In one embodiment, the determining, based on the target group information, target program content structure information corresponding to the target account includes:
determining a target position tree corresponding to the target account in a plurality of position trees based on the target group information, and determining target program content structure information corresponding to the target account according to the target position tree;
the determining the content structure information of each target page corresponding to the target account according to the page content structure query request comprises the following steps:
and determining a target sub-position tree corresponding to each target program content component according to the target program content component identification corresponding to the target program content structure information in the page content structure query request, and determining each target page content structure information corresponding to the target account according to the target sub-position tree and the target group information.
In one embodiment, the method further comprises:
determining the program type corresponding to each group according to the group identification of each group;
for each group, determining program content structure information corresponding to the group according to a program type corresponding to the group, and generating a position tree corresponding to the group based on the program content structure information corresponding to the group, wherein the program content structure information comprises position information, quantity information and type information of program content components;
for each program content component corresponding to the program content structure information, page content structure information corresponding to the program content component is determined, a sub-position tree corresponding to the program content component is generated based on the page content structure information corresponding to the program content component, and the page content structure information comprises position information, quantity information, type information and content information of the page component.
In a second aspect, the present application further provides a method for configuring a program structure, which is applied to a user terminal, and includes:
receiving target program content structure information corresponding to a target account, determining a target program content structure corresponding to an application program according to the target program content structure information, after determining the target program content structure, sending a page content structure query request to a server so that the server determines each piece of target page content structure information corresponding to the target account according to the page content structure query request, and sending each piece of target page content structure information to the user side;
Receiving the content structure information of each target page sent by the server, and determining the page content structure of each page in the application program according to the content structure information of each target page;
loading target program content components in the application program according to the target program content structure and each target page content structure, and loading target page components in each page of the application program;
the target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
In a third aspect, the present application further provides a configuration system of a program structure, where the system includes a server and a user side, where:
the server is used for determining target program content structure information corresponding to a target account according to a login identifier carried in a program content structure query request and sending the target program content structure information to the user side;
the user terminal is used for determining a target program content structure corresponding to an application program according to the target program content structure information, and sending a page content structure query request to a server after determining the target program content structure;
The server is further configured to determine, according to the page content structure query request, each piece of target page content structure information corresponding to the target account, and send each piece of target page content structure information to the user side;
the user side is further configured to determine a page content structure of each page in the application program according to each piece of target page content structure information, load a target program content component in the application program according to the target program content structure and each piece of target page content structure, and load a target page component in each page of the application program.
In a fourth aspect, the present application further provides a configuration apparatus of a program structure, including:
the first determining module is used for determining target program content structure information corresponding to the target account according to the login identifier carried in the program content structure query request;
the first sending module is used for sending the target program content structure information to a user side, so that the user side sends a page content structure query request to a server after determining a target program content structure corresponding to an application program according to the target program content structure information;
The second determining module is used for receiving the page content structure query request sent by the user side and determining the content structure information of each target page corresponding to the target account according to the page content structure query request;
and the second sending module is used for sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page and load the content structure of each target program and the page content structure of each page in the application program.
In one embodiment, the first determining module is specifically configured to:
determining target group information corresponding to a target account according to a login identifier carried in a program content structure query request;
and determining target program content structure information corresponding to the target account based on the target group information.
In one embodiment, the first determining module is specifically configured to:
determining a target position tree corresponding to the target account in a plurality of position trees based on the target group information, and determining target program content structure information corresponding to the target account according to the target position tree;
The second determining module is specifically configured to:
and determining a target sub-position tree corresponding to each target program content component according to the target program content component identification corresponding to the target program content structure information in the page content structure query request, and determining each target page content structure information corresponding to the target account according to the target sub-position tree and the target group information.
In one embodiment, the apparatus further comprises:
the third determining module is used for determining the program type corresponding to each group according to the group identification of each group;
the first generation module is used for determining program content structure information corresponding to each group according to the program type corresponding to the group, and generating a position tree corresponding to the group based on the program content structure information corresponding to the group, wherein the program content structure information comprises position information, quantity information and type information of program content components;
the second generation module is configured to determine, for each program content component corresponding to the program content structure information, page content structure information corresponding to the program content component, and generate a sub-position tree corresponding to the program content component based on the page content structure information corresponding to the program content component, where the page content structure information includes position information, quantity information, type information, and content information of the page component.
In a fifth aspect, the present application further provides a configuration apparatus of a program structure, including:
the sending module is used for receiving target program content structure information corresponding to a target account, determining a target program content structure corresponding to an application program according to the target program content structure information, sending a page content structure query request to a server after determining the target program content structure, enabling the server to determine each target page content structure information corresponding to the target account according to the page content structure query request, and sending each target page content structure information to a user side;
the first determining module is used for receiving the content structure information of each target page sent by the server and determining the page content structure of each page in the application program according to the content structure information of each target page;
the loading module is used for loading target program content components in the application program according to the target program content structure and each target page content structure, and loading target page components in each page of the application program;
the target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
In a sixth aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the configuration method of each program structure described above when the processor executes the computer program.
In a seventh aspect, the present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the configuration method of the program structures described above.
In an eighth aspect, the present application further provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of configuring each of the above-mentioned program structures.
The configuration method, the system, the device, the computer equipment, the storage medium and the computer program product of the program structure determine the target program content structure information corresponding to the target account according to the login identifier carried in the program content structure inquiry request; the target program content structure information is sent to a user side, so that the user side sends a page content structure query request to the server after determining a target program content structure corresponding to an application program according to the target program content structure information; receiving the page content structure query request sent by the user side, and determining the content structure information of each target page corresponding to the target account according to the page content structure query request; and sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page, and loading the content structure of each target program and the page content structure of each page in the application program. By adopting the method, the effect of determining the user type according to the login identification of the target account is realized, and then the program interface structure of the enterprise APP is flexibly adjusted according to the user type, so that the application program matched with the user type can be obtained, a plurality of enterprise APPs are not required to be developed, the cost of developing and operating the plurality of enterprise APPs by enterprises is reduced, and the convenience of using the APP by the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for a person having ordinary skill in the art.
FIG. 1 is an application environment diagram of a method of configuration of a program structure in one embodiment;
FIG. 2 is a flow chart of a method for configuring a program structure in one embodiment;
FIG. 3 is a flowchart of determining target program content structure information corresponding to a target account according to an embodiment;
FIG. 4 is a flowchart of determining target program content structure information and each target page content structure information corresponding to a target account according to an embodiment;
FIG. 5 is a schematic diagram of a position tree in one embodiment;
FIG. 6 is a flowchart of generating a position tree corresponding to a group in one embodiment;
FIG. 7 is a flowchart illustrating a method for configuring a program structure according to another embodiment;
FIG. 8 is a signaling interaction diagram of an example of a processing procedure between a server and a client in a configuration system of a program structure in one embodiment;
FIG. 9 is a schematic diagram of the modules in each interaction device in a configuration system of a program structure in one embodiment;
FIG. 10 is a schematic diagram showing specific functions of modules in each interactive device in a configuration system of a program structure according to another embodiment;
FIG. 11 is a block diagram of a configuration device of a program structure in one embodiment;
FIG. 12 is a block diagram of a configuration device of a program structure in another embodiment;
fig. 13 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The configuration method of the program structure provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the client 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The client 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, etc. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In an exemplary embodiment, as shown in fig. 2, a configuration method of a program structure is provided, and an example of application of the method to the server in fig. 1 is described, which includes the following steps 202 to 208.
Wherein:
step 202, determining target program content structure information corresponding to the target account according to the login identifier carried in the program content structure query request.
Each account is provided with a unique login identification and is used for determining the identity of the account, and the target program content structure information comprises position information, quantity information and type information of the program content components. The program content component refers to a component of a bottom navigation bar in the program; the position information of the program content component refers to the position of the program content component in the program; the number information of the program content components refers to the set number of the program content components, for example, five program components are included in the program; the type information of the program content component refers to a component type of the program content component, for example, the component type includes a top page type, a product type, a user interaction type, a setting type, and the like. The specific content of the position information, the quantity information and the type information of the program content component can be adjusted according to the requirements of technicians, and the embodiment of the application is not limited.
In the embodiment of the application, the target user can perform the login operation of the target account based on the user side, and the user side responds to the login operation to generate the login request corresponding to the target account. The user sends the login request to the server. And the server performs account verification processing on the target account according to the login request corresponding to the target account, and feeds back a login identifier corresponding to the target account to the user side under the condition that the account verification is passed.
Then, the user side can generate a program content structure query request according to the login identifier corresponding to the target account, and send the program content structure query request to the server.
The server receives the program content structure query request, analyzes the program content structure query request to obtain a login identifier carried in the program content structure query request, and determines target program content structure information corresponding to a target account according to the login identifier.
Step 204, the target program content structure information is sent to the user side, so that the user side sends a page content structure query request to the server after determining the target program content structure corresponding to the application program according to the target program content structure information.
In this embodiment of the present application, the server sends the target program content structure information to the corresponding user side, and after receiving the target program content structure information, the user side can determine, according to the target program content structure information, a target program content structure corresponding to the application program in the user side.
And then, the user side generates a page content structure query request based on the login identification of the target account and sends the page content structure query request to the server.
Step 206, receiving a page content structure query request sent by the user terminal, and determining each target page content structure information corresponding to the target account according to the page content structure query request.
The page content structure information comprises position information, quantity information, type information and content information of page components in each page of the application program. The page components are page components in each page of the application program, such as components for implementing a reference function, components for implementing a specific service, carousel graph components, and the like. The position information of the page component refers to the position of the page component in the page; the number information of the page components refers to the set number of the page components in a certain page, for example, five page components are included in a certain page; the type information of the page component refers to a component type of the page component, for example, the component type includes a reference component, a product viewing component, a service query component, and the like. The content information of each page component is related to the specific service corresponding to the page component.
The location information, the quantity information, the type information and the specific content of the content information of the page component can be adjusted according to the requirements of technicians, and the embodiment of the application is not limited.
In the embodiment of the application, a server receives a page content structure query request sent by a user side, and analyzes the page content structure query request to obtain a login identifier of a target account carried in the page content structure query request. And the server determines the content structure information of each target page corresponding to the target account according to the login identification.
Step 208, the content structure information of each target page is sent to the user side, so that the user side determines the page content structure of each page in the application program according to the content structure information of each target page, and loads the content structure of each target program and the page content structure of each page in the application program.
In the embodiment of the application, the server sends the content structure information of each target page to the user side. The user terminal receives the content structure information of each target page, and determines the page content structure of each page in the application program according to the content structure information of each target page.
Then, the client loads the target program content structure and the page content structure of each page in the application program.
Specifically, the user side may load the target program content structure when determining the target program content structure, that is, in the application program, and load each target page content structure on the basis of the target program content structure after determining each target page content structure. The user side may further load the target program content structure and each target page content structure after determining the target program content structure and each target page content structure.
The embodiment of the application does not specifically limit the loading mode and loading sequence of the target program content structure and each target page content structure.
It can be understood that, because the target program content structure information and the target page content structure information are respectively processed based on two requests, decoupling of information processing can be realized, and the problem that the target program content structure information cannot be acquired because the target page content structure information cannot be acquired is avoided.
In the configuration method of the program structure, the target program content structure information corresponding to the target account is determined according to the login identifier carried in the program content structure inquiry request; the method comprises the steps of sending target program content structure information to a user side, so that the user side sends a page content structure query request to a server after determining a target program content structure corresponding to an application program according to the target program content structure information; receiving a page content structure query request sent by a user terminal, and determining the content structure information of each target page corresponding to a target account according to the page content structure query request; and sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page, and loading the content structure of each target program and the page content structure of each page in the application program. By adopting the method, the effect of determining the user type according to the login identification of the target account is realized, and then the program interface structure of the enterprise APP is flexibly adjusted according to the user type, so that the application program matched with the user type can be obtained, a plurality of enterprise APPs are not required to be developed, the cost of developing and operating the plurality of enterprise APPs by enterprises is reduced, and the convenience of using the APP by the user is improved.
In an exemplary embodiment, as shown in FIG. 3, step 202 includes steps 302 through 304.
Wherein:
step 302, determining target group information corresponding to the target account according to the login identifier carried in the program content structure query request.
Wherein the group information is used for representing the group where the account is located, each type of user using the enterprise APP can be used as a group, and the group includes an external service group, an internal service user, and the like. The present application is not limited to group types and numbers.
In this embodiment of the present application, a mapping relationship table of login identifier and group information may be stored in advance in the server. And the server determines target group information corresponding to the target account according to the mapping relation table and the login identification carried in the program content structure query request.
Step 304, determining the target program content structure information corresponding to the target account based on the target group information.
In the embodiment of the application, the server determines the target program content structure information corresponding to the target account according to the target group information corresponding to the target account.
In this embodiment, the server can determine the target program content structure information corresponding to the target account through the target group information, and send the target program content structure information corresponding to the target account to the user side, so that the user side can load the application program corresponding to the target account. The method and the system realize that only one APP is developed to meet the requirements of the insurance enterprise on a plurality of applications, and solve the problems of resource consumption and cost increase caused by the development of a plurality of APPs by the enterprise.
In one exemplary embodiment, as shown in FIG. 4, step 304 includes:
step 402, determining a target position tree corresponding to the target account from a plurality of position trees based on the target group information, and determining target program content structure information corresponding to the target account according to the target position tree.
The position tree is recorded with program content structure information corresponding to the group and page content structure information in the program corresponding to the group.
In this embodiment of the present application, the server may store the location trees corresponding to the plurality of groups in advance. And the server determines a target position tree corresponding to the target account from the plurality of position trees according to the target group information.
And then, the server determines the target program content structure information corresponding to the target account according to the target position tree corresponding to the target group information.
For example, a schematic diagram of a location tree may be shown with reference to FIG. 5.
Step 206 comprises:
step 404, determining a target sub-position tree corresponding to each target program content component according to the target program content component identifier corresponding to the target program content structure information in the page content structure query request, and determining each target page content structure information corresponding to the target account according to the target sub-position tree and the target group information.
In this embodiment of the present application, when a user side generates a page content structure query request, the user side may carry a target program content component identifier corresponding to the target program content structure information and a login identifier of a target account.
The server can determine the target group information corresponding to the target account according to the login identification in the page content structure query request, and determine the target sub-position tree corresponding to the target program content component according to the target program content component identification in the page content structure query request.
Then, the server can determine whether the target group information matches the group information corresponding to the target sub-position tree, and if the target group information matches the group information corresponding to the target sub-position tree, determine target page content structure information corresponding to the target program content component in the target sub-position tree.
By analogy, the server can determine target page content structure information corresponding to each target sub-location tree (i.e., each target program content component identifier).
In this embodiment, the enterprise can divide users (i.e. enterprise staff) into different groups by developing an APP, and the effect of personalized configuration of APP content in insurance industry is achieved by configuring different position trees for the groups, so that the requirement of the enterprise on a plurality of APPs is met by developing an APP. Thereby reducing the development and operation cost of enterprises.
In an exemplary embodiment, as shown in fig. 6, the method further includes steps 602 to 606, where:
step 602, determining the program type corresponding to each group according to the group identification of each group.
The group identification is used for distinguishing each group and determining the program type of the APP corresponding to the group. Wherein the program type is associated with a group type, e.g., the program type may include an outwork type, an in-service type, and the like.
In this embodiment of the present application, a server stores a group identifier of each group, and determines a program type corresponding to each group according to the group identifier of each group.
Step 604, for each group, determining program content structure information corresponding to the group according to the program type corresponding to the group, and generating a position tree corresponding to the group based on the program content structure information corresponding to the group.
Wherein the program content structure information contains location information, quantity information, and type information of the program content components.
In this embodiment of the present application, the server may store a plurality of groups in advance, where each group characterizes a program type, and the server determines program content structure information corresponding to the group according to the program type corresponding to the group. The server can store the program content structure information corresponding to the group into the position tree corresponding to the group.
Each position tree contains program content structure information, and each program content component also stores a corresponding program content component identifier because the program content structure information corresponds to a plurality of program content components.
It will be appreciated that because the group information is different, the program content component identifications of the same program content component under different location trees may also be different. For example, referring to FIG. 5, each of the components of FIG. 5, "first page," "customer," "product," "job site," "My," etc. has a respective program content component identifier.
Step 606, for each program content component corresponding to the program content structure information, determining page content structure information corresponding to the program content component, and generating a sub-position tree corresponding to the program content component based on the page content structure information corresponding to the program content component.
The page content structure information comprises position information, quantity information, type information and content information of page components.
In this embodiment of the present invention, the server may generate sub-location trees based on the program content components corresponding to the program content structure information in each location tree, where each sub-location tree further stores group information corresponding to the sub-location tree.
In this embodiment, the server may store the program content structure information corresponding to each group as a position tree, and store the page content structure information corresponding to each program content component as a sub-position tree, so that the subsequent server can determine the program content structure and each page content structure of the application program corresponding to the account according to the login identifier of the account.
In an exemplary embodiment, as shown in fig. 7, a method for configuring a program structure is further provided, and the method is applied to the user terminal in fig. 1 for illustration, and includes the following steps 702 to 706. Wherein:
step 702, receiving target program content structure information corresponding to a target account, determining a target program content structure corresponding to an application program according to the target program content structure information, after determining the target program content structure, sending a page content structure query request to a server, so that the server determines each target page content structure information corresponding to the target account according to the page content structure query request, and sending each target page content structure information to a user side.
In the embodiment of the application, the user side receives the target program content structure information corresponding to the target account, and determines the target program content structure corresponding to the application program according to the target program content structure information.
Specifically, the user side can determine the position information, the quantity information and the type information of the program content components in the application program according to the target program content structure information corresponding to the application program.
After determining the target program content structure, the user side generates a page content structure query request based on the login identification of the target account, and sends the page content structure query request to the server.
The server receives a page content structure query request sent by a user side, and analyzes the page content structure query request to obtain a login identification of a target account carried in the page content structure query request. And the server determines the content structure information of each target page corresponding to the target account according to the login identification and sends the content structure information of each target page to the user side.
Step 704, receiving the content structure information of each target page sent by the server, and determining the page content structure of each page in the application program according to the content structure information of each target page.
In the embodiment of the application, the user side receives the content structure information of each target page sent by the server, and determines the page content structure of each page in the application program according to the content structure information of each target page.
Specifically, the user side can determine the position information, the quantity information, the type information and the content information of the page components in each page of the application program according to the content structure information of each target page.
Step 706, loading the target program content component in the application program according to the target program content structure and each target page content structure, and loading the target page component in each page of the application program.
The target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
In the embodiment of the application, the user side loads the target program content component in the application program according to the target program content structure and each target page content structure, and loads the target page component in each page of the application program.
The configuration method of the program structure realizes the effect of determining the user type according to the login identification of the target account, and further flexibly adjusts the program interface structure of the enterprise APP according to the user type, so that the application program matched with the user type can be obtained, a plurality of enterprise APP are not required to be developed, and the convenience of using the APP by the user is improved.
In an exemplary embodiment, as shown in fig. 1, there is further provided a configuration system of a program structure, where the system includes a server and a user side, and the method includes:
The server is used for determining target program content structure information corresponding to a target account according to the login identification carried in the program content structure inquiry request and sending the target program content structure information to the user side;
the user terminal is used for determining a target program content structure corresponding to the application program according to the target program content structure information, and sending a page content structure query request to the server after determining the target program content structure;
the server is further used for determining the content structure information of each target page corresponding to the target account according to the page content structure query request and sending the content structure information of each target page to the user side;
the user end is also used for determining the page content structure of each page in the application program according to the content structure information of each target page, loading the target program content component in the application program according to the content structure of the target program and the content structure of each target page, and loading the target page component in each page of the application program.
The related process of data processing between the server and the client is described in detail in the foregoing embodiments, and will not be described herein.
According to the configuration system of the program structure, the effect of determining the user type according to the login identification of the target account is achieved, and then the program interface structure of the enterprise APP is flexibly adjusted according to the user type, so that an application program matched with the user type can be obtained, a plurality of enterprise APPs are not required to be developed, and convenience in use of the APP by a user is improved.
In an exemplary embodiment, as shown in fig. 8, an example of a processing procedure of a server and a user side in a configuration system of a program structure is further provided, where a content service module, a login service module, and a configuration management platform are disposed in the server. The specific treatment process is as follows:
step S1, the user performs login operation.
Step S2, the user side responds to the login operation, generates a login request based on a target account number of a target account, and sends the login request to the server.
And S3, carrying out account verification on the target account by the login service in the server according to the login request.
And S4, after the account number passes the verification, the login service returns a login identifier corresponding to the target account to the client.
Step S5, the user side requests the APP content structure (namely the program content structure of the APP) to the server according to the login identification corresponding to the target account.
And S6, the content service in the server requests the group information corresponding to the login identification from the login service in the server according to the request.
And S7, the login service in the server returns the group information corresponding to the login identification to the content service in the server.
Step S8, the content service in the server inquires a target position tree corresponding to the group information according to the group information corresponding to the login identification, and obtains APP content structure information corresponding to the target account.
The target position tree in the content service is preconfigured based on a configuration management platform, and the configuration management platform comprises a position management module and a material management module. The position management module is used for controlling the APP content structure and the interface content structure, and the material management module is used for controlling the content displayed at each position, such as an icon, a title, a jump address after clicking and the like.
And step S9, the content service in the server returns the APP content structure information corresponding to the target account to the client.
Step S10, the client loads the APP content structure according to the APP content structure information corresponding to the target account.
Step S11, the client loads the page content structure based on the service end.
In step S12, the service side requests the interface content structure (i.e. the page content structure of each page in the APP) from the server.
The interface content structure request carries a login identifier of the target account and a program content component identifier corresponding to each APP content component.
Step S13, the content service in the server requests the group information corresponding to the login identification from the login service in the server according to the request;
in step S14, the login service in the server returns the group information corresponding to the login identifier to the content service in the server.
Step S15, the content service in the server inquires a target sub-position tree corresponding to the program content component identifier according to the program content component identifier corresponding to the APP content component, and obtains interface content structure information corresponding to the program content component identifier according to group information corresponding to the login identifier and the target sub-position tree.
And S16, the content service in the server returns the interface content structure information corresponding to the target account to the service end.
And S17, the service end performs rendering of the interface content structure according to the interface content structure information corresponding to the target account, and loads a rendering result to the client.
Wherein, the request sent by the service end is based on the request sent by the client end. The modules in each interactive device in the configuration system of the program structure may be as shown with reference to fig. 9.
In step S18, the user can perform the next operation based on the user terminal after the APP content structure and the interface content structure in the application program are loaded.
The specific functions of the modules in each interactive device in the configuration system of the program structure may be shown in fig. 10.
According to the embodiment of the application program, each interface (namely, page) of the application program is spliced by a plurality of components, the structure of the interface can be flexibly adjusted after the components are combined with the positions, and the flexible adjustment of the content in the components is realized through the content service. Therefore, the overall flexibility of the interface structure and the content can be realized, and the problem of low adjustment efficiency of the APP interface structure is solved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiments of the present application also provide a configuration apparatus of a program structure for implementing the configuration method of a program structure related to the above. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the configuration device embodiments of one or more program structures provided below may refer to the limitation of the configuration method of the program structures hereinabove, and will not be repeated herein.
In an exemplary embodiment, as shown in fig. 11, there is provided a configuration apparatus 1100 of a program structure, including: a first determining module 1101, a first transmitting module 1102, a second determining module 1103 and a second transmitting module 1104, wherein:
the first determining module 1101 is configured to determine, according to the login identifier carried in the program content structure query request, target program content structure information corresponding to the target account.
And the first sending module 1102 is configured to send the target program content structure information to a user side, so that the user side sends a page content structure query request to a server after determining a target program content structure corresponding to an application program according to the target program content structure information.
The second determining module 1103 is configured to receive the page content structure query request sent by the user side, and determine, according to the page content structure query request, content structure information of each target page corresponding to the target account.
The second sending module 1104 is configured to send each piece of target page content structure information to the user side, so that the user side determines a page content structure of each page in the application program according to each piece of target page content structure information, and loads the target program content structure and the page content structure of each page in the application program.
By adopting the configuration device of the program structure, which is provided by the embodiment of the application, the effect of determining the user type according to the login identification of the target account is realized, and then the program interface structure of the enterprise APP is flexibly adjusted according to the user type, so that the application program matched with the user type can be obtained, a plurality of enterprise APPs are not required to be developed, the cost of developing and operating a plurality of enterprise APPs by enterprises is reduced, and the convenience of using the APP by the user is improved.
In one embodiment, the first determining module 1101 is specifically configured to:
determining target group information corresponding to a target account according to a login identifier carried in a program content structure query request;
And determining target program content structure information corresponding to the target account based on the target group information.
In one embodiment, the first determining module 1101 is specifically configured to:
determining a target position tree corresponding to the target account in a plurality of position trees based on the target group information, and determining target program content structure information corresponding to the target account according to the target position tree;
the second determining module 1103 is specifically configured to:
and determining a target sub-position tree corresponding to each target program content component according to the target program content component identification corresponding to the target program content structure information in the page content structure query request, and determining each target page content structure information corresponding to the target account according to the target sub-position tree and the target group information.
In one embodiment, the apparatus further comprises:
the third determining module is used for determining the program type corresponding to each group according to the group identification of each group;
the first generation module is used for determining program content structure information corresponding to each group according to the program type corresponding to the group, and generating a position tree corresponding to the group based on the program content structure information corresponding to the group, wherein the program content structure information comprises position information, quantity information and type information of program content components;
The second generation module is used for determining page content structure information corresponding to each program content structure information for the program content assembly, and generating a sub-position tree corresponding to the program content assembly based on the page content structure information corresponding to the program content assembly, wherein the page content structure information comprises position information, quantity information, type information and content information of the page assembly.
In an exemplary embodiment, as shown in fig. 12, there is provided a configuration apparatus 1200 of a program structure, including: a sending module 1201, a first determining module 1202 and a loading module 1203, wherein:
the sending module 1201 is configured to receive target program content structure information corresponding to a target account, determine a target program content structure corresponding to an application program according to the target program content structure information, send a page content structure query request to a server after determining the target program content structure, so that the server determines each piece of target page content structure information corresponding to the target account according to the page content structure query request, and send each piece of target page content structure information to the user terminal.
A first determining module 1202, configured to receive each piece of target page content structure information sent by the server, and determine a page content structure of each page in the application according to each piece of target page content structure information.
A loading module 1203, configured to load a target program content component in the application program according to the target program content structure and each target page content structure, and load a target page component in each page of the application program;
the target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
By adopting the configuration device of the program structure, which is provided by the embodiment of the application, the effect of determining the user type according to the login identification of the target account is realized, and then the program interface structure of the enterprise APP is flexibly adjusted according to the user type, so that the application program matched with the user type can be obtained, a plurality of enterprise APPs are not required to be developed, the cost of developing and operating a plurality of enterprise APPs by enterprises is reduced, and the convenience of using the APP by the user is improved.
The respective modules in the configuration means of the above-described program structure may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 13. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing relevant data of the configuration method of the program structure. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of configuring a program structure.
It will be appreciated by those skilled in the art that the structure shown in fig. 13 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor performing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use, and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method for configuring a program structure, applied to a server, the method comprising:
determining target program content structure information corresponding to a target account according to a login identifier carried in a program content structure inquiry request;
the target program content structure information is sent to a user side, so that the user side sends a page content structure query request to the server after determining a target program content structure corresponding to an application program according to the target program content structure information;
Receiving the page content structure query request sent by the user side, and determining the content structure information of each target page corresponding to the target account according to the page content structure query request;
and sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page, and loading the content structure of each target program and the page content structure of each page in the application program.
2. The method of claim 1, wherein determining the target program content structure information corresponding to the target account according to the login identifier carried in the program content structure query request includes:
determining target group information corresponding to a target account according to a login identifier carried in a program content structure query request;
and determining target program content structure information corresponding to the target account based on the target group information.
3. The method of claim 2, wherein determining target program content structure information corresponding to the target account based on the target group information comprises:
Determining a target position tree corresponding to the target account in a plurality of position trees based on the target group information, and determining target program content structure information corresponding to the target account according to the target position tree;
the determining the content structure information of each target page corresponding to the target account according to the page content structure query request comprises the following steps:
and determining a target sub-position tree corresponding to each target program content component according to the target program content component identification corresponding to the target program content structure information in the page content structure query request, and determining each target page content structure information corresponding to the target account according to the target sub-position tree and the target group information.
4. A method according to claim 3, characterized in that the method further comprises:
determining the program type corresponding to each group according to the group identification of each group;
for each group, determining program content structure information corresponding to the group according to a program type corresponding to the group, and generating a position tree corresponding to the group based on the program content structure information corresponding to the group, wherein the program content structure information comprises position information, quantity information and type information of program content components;
For each program content component corresponding to the program content structure information, page content structure information corresponding to the program content component is determined, a sub-position tree corresponding to the program content component is generated based on the page content structure information corresponding to the program content component, and the page content structure information comprises position information, quantity information, type information and content information of the page component.
5. A method for configuring a program structure, which is applied to a user terminal, the method comprising:
receiving target program content structure information corresponding to a target account, determining a target program content structure corresponding to an application program according to the target program content structure information, after determining the target program content structure, sending a page content structure query request to a server so that the server determines each piece of target page content structure information corresponding to the target account according to the page content structure query request, and sending each piece of target page content structure information to the user side;
receiving the content structure information of each target page sent by the server, and determining the page content structure of each page in the application program according to the content structure information of each target page;
Loading target program content components in the application program according to the target program content structure and each target page content structure, and loading target page components in each page of the application program;
the target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
6. A system for configuring a program structure, the system comprising a server and a client, wherein:
the server is used for determining target program content structure information corresponding to a target account according to a login identifier carried in a program content structure query request and sending the target program content structure information to the user side;
the user terminal is used for determining a target program content structure corresponding to an application program according to the target program content structure information, and sending a page content structure query request to a server after determining the target program content structure;
the server is further configured to determine, according to the page content structure query request, each piece of target page content structure information corresponding to the target account, and send each piece of target page content structure information to the user side;
The user side is further configured to determine a page content structure of each page in the application program according to each piece of target page content structure information, load a target program content component in the application program according to the target program content structure and each piece of target page content structure, and load a target page component in each page of the application program.
7. A configuration apparatus of a program structure, the apparatus comprising:
the first determining module is used for determining target program content structure information corresponding to the target account according to the login identifier carried in the program content structure query request;
the first sending module is used for sending the target program content structure information to a user side, so that the user side sends a page content structure query request to a server after determining a target program content structure corresponding to an application program according to the target program content structure information;
the second determining module is used for receiving the page content structure query request sent by the user side and determining the content structure information of each target page corresponding to the target account according to the page content structure query request;
And the second sending module is used for sending the content structure information of each target page to the user side so that the user side can determine the page content structure of each page in the application program according to the content structure information of each target page and load the content structure of each target program and the page content structure of each page in the application program.
8. A configuration apparatus of a program structure, the apparatus comprising:
the sending module is used for receiving target program content structure information corresponding to a target account, determining a target program content structure corresponding to an application program according to the target program content structure information, sending a page content structure query request to a server after determining the target program content structure, enabling the server to determine each target page content structure information corresponding to the target account according to the page content structure query request, and sending each target page content structure information to a user side;
the first determining module is used for receiving the content structure information of each target page sent by the server and determining the page content structure of each page in the application program according to the content structure information of each target page;
The loading module is used for loading target program content components in the application program according to the target program content structure and each target page content structure, and loading target page components in each page of the application program;
the target program content structure information and the target page content structure information are determined based on group information corresponding to the target account.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 4 or claim 5 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any one of claims 1 to 4 or claim 5.
CN202311732138.6A 2023-12-16 2023-12-16 Program structure configuration method, system, device and computer equipment Pending CN117762409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311732138.6A CN117762409A (en) 2023-12-16 2023-12-16 Program structure configuration method, system, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311732138.6A CN117762409A (en) 2023-12-16 2023-12-16 Program structure configuration method, system, device and computer equipment

Publications (1)

Publication Number Publication Date
CN117762409A true CN117762409A (en) 2024-03-26

Family

ID=90319286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311732138.6A Pending CN117762409A (en) 2023-12-16 2023-12-16 Program structure configuration method, system, device and computer equipment

Country Status (1)

Country Link
CN (1) CN117762409A (en)

Similar Documents

Publication Publication Date Title
US10402424B1 (en) Dynamic tree determination for data processing
US9996593B1 (en) Parallel processing framework
US20140114822A1 (en) Method and system for creating tax configuration templates
CN103198090A (en) A method and a system for optimizing storage allocation in a virtual desktop environment
US20180225317A1 (en) System and method in a database system for sharing a data item with an entity in another tenant domain
US10268477B1 (en) Modeling lifetime of hybrid software application using application manifest
US20180357100A1 (en) System and method in a database system for creating a field service work order
CN117112096A (en) Page display method and device and computer equipment
CN116644250A (en) Page detection method, page detection device, computer equipment and storage medium
CN117762409A (en) Program structure configuration method, system, device and computer equipment
CN114722782A (en) Data application method and device, electronic equipment and storage medium
CN115185946A (en) Multi-tenant system, multi-tenant management method, computer device, and storage medium
US10104007B1 (en) Stored views of web service application programming interfaces (APIs)
CN114254278A (en) User account merging method and device, computer equipment and storage medium
CN114996577A (en) Service management method, device, apparatus, storage medium, and program product
CN114237871A (en) Arranging method and device of cloud resources, computer equipment and storage medium
CN114244905A (en) Data forwarding method and device, computer equipment and storage medium
CN112231377A (en) Data mapping method, system, device, server and storage medium
KR101791784B1 (en) Method and system for managing business card using hash tag
US20160162959A1 (en) Performance Optimization Utilizing Pre-Analysis of Condition Records
CN117455501A (en) Request processing method, apparatus, computer device and storage medium
CN116228346A (en) Order task processing method, device, system and storage medium
CN116866847A (en) Message sending method, device, computer equipment and storage medium
CN115456568A (en) Process approval method, apparatus, computer device, storage medium, and program product
CN114416214A (en) Cross-network system integration method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination