CN114296824A - Page information configuration method, device, equipment and computer readable storage medium - Google Patents

Page information configuration method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114296824A
CN114296824A CN202111643144.5A CN202111643144A CN114296824A CN 114296824 A CN114296824 A CN 114296824A CN 202111643144 A CN202111643144 A CN 202111643144A CN 114296824 A CN114296824 A CN 114296824A
Authority
CN
China
Prior art keywords
page
component
program code
target component
target
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
CN202111643144.5A
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202111643144.5A priority Critical patent/CN114296824A/en
Publication of CN114296824A publication Critical patent/CN114296824A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a configuration method, a device and equipment of page information and a computer readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a first display page, wherein the first display page is provided with at least one component, one component corresponds to one configuration page, and the first display page is a display page in a user-side application program; in response to receiving a selected instruction aiming at a target component in at least one component, displaying a configuration page corresponding to the target component; acquiring configuration information corresponding to the target component based on a configuration page corresponding to the target component; and acquiring a second display page based on the configuration information corresponding to the target component and the first display page, wherein the second display page comprises the configuration information corresponding to the target component and is used for replacing the first display page to display in the user side application program. The method enables the configuration of the page information to be convenient and fast, and can improve the configuration efficiency of the page information.

Description

Page information configuration method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device and equipment for configuring page information and a computer readable storage medium.
Background
With the continuous development of computer technology, take-out business is also developing at a rapid pace. A merchant-side application and a user-side application exist in the takeout service, and a merchant can configure page information of an object (such as a takeout shop) in the merchant-side application.
In the related art, the process of configuring the page information of the object in the merchant-side application program is as follows: and displaying a page information setting page, wherein a plurality of components are displayed in a list form in the page information setting page, and each component corresponds to one configuration page. And responding to a selected instruction of any component, displaying a corresponding configuration page, and acquiring the configuration information of the component in the configuration page. And sending the configuration information of the component to a user side application program, and acquiring the configured page by the user side application program based on the configuration information of the component.
However, in the above method for configuring page information, the merchant needs to switch to the user-side application program to view the configured page. When the configured page is not satisfied by the merchant, the merchant-side application program needs to be switched again to change the configuration information of the component, so that the configuration efficiency of the page information is low.
Disclosure of Invention
The embodiment of the application provides a configuration method, a configuration device, equipment and a computer-readable storage medium of page information, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for configuring page information, where the method includes:
displaying a first display page, wherein the first display page displays at least one component, one component corresponds to one configuration page, and the first display page is a display page in a user-side application program;
in response to receiving a selected instruction for a target component in the at least one component, displaying a configuration page corresponding to the target component;
acquiring configuration information corresponding to the target component based on the configuration page corresponding to the target component;
and acquiring a second display page based on the configuration information corresponding to the target component and the first display page, wherein the second display page comprises the configuration information corresponding to the target component, and the second display page is used for replacing the first display page to display in the user side application program.
In one possible implementation manner, the displaying, in response to receiving a selected instruction for a target component in the at least one component, a configuration page corresponding to the target component includes:
in response to receiving a selected instruction for a target component in the at least one component, acquiring target program code corresponding to the target component;
and operating the target program code corresponding to the target assembly and displaying the configuration page corresponding to the target assembly.
In one possible implementation manner, the obtaining, in response to receiving a selected instruction for a target component in the at least one component, target program code corresponding to the target component includes:
in response to receiving a selected instruction aiming at a target component in the at least one component, acquiring a reference program code corresponding to the target component, wherein the reference program code is used for acquiring a display page corresponding to the target component;
and processing the reference program code corresponding to the target component based on the method rewriting to obtain the target program code corresponding to the target component.
In one possible implementation manner, the obtaining, in response to receiving a selected instruction for a target component in the at least one component, a reference program code corresponding to the target component includes:
responding to a received selected instruction for a target component in the at least one component, and generating a first obtaining request, wherein the first obtaining request carries a component identifier of the target component, and the first obtaining request is used for obtaining a reference program code corresponding to the target component;
sending the first acquisition request to a server;
and receiving the reference program code corresponding to the target component returned by the server based on the first acquisition request.
In one possible implementation manner, the displaying the first presentation page includes:
displaying a third display page, wherein the third display page is a setting page and a page configuration control is displayed in the third display page;
responding to a received selected instruction aiming at the page configuration control, and acquiring a program code corresponding to the first display page;
and running a program code corresponding to the first display page, and displaying the first display page.
In a possible implementation manner, the obtaining, in response to receiving a selected instruction for the page configuration control, program code corresponding to the first display page includes:
responding to a received selected instruction for the page configuration control, and generating a second acquisition request, wherein the second acquisition request carries an object identifier of a target object, and the second acquisition request is used for acquiring a program code corresponding to a first display page displayed by the target object in the user side application program;
sending the second acquisition request to a server;
and receiving a program code corresponding to the first display page returned by the server based on the second acquisition request.
In a possible implementation manner, the obtaining a second display page based on the configuration information corresponding to the target component and the first display page includes:
determining a component type of the target component;
in response to that the component type of the target component is a first type needing to be audited, auditing configuration information corresponding to the target component;
and responding to the verification of the configuration information corresponding to the target component, and acquiring a second display page based on the configuration information corresponding to the target component and the first display page.
In a possible implementation manner, the obtaining a second display page based on the configuration information corresponding to the target component and the first display page includes:
adjusting the program code corresponding to the first display page based on the configuration information corresponding to the target component to obtain an adjusted program code;
and running the adjusted program code to obtain a second display page.
In a possible implementation manner, after the obtaining of the second display page based on the configuration information corresponding to the target component, the method further includes:
and displaying the second display page.
In a possible implementation manner, after the adjusting the program code corresponding to the first display page based on the configuration information corresponding to the target component and obtaining the adjusted program code, the method further includes:
and sending the adjusted program code to a server, storing the adjusted program code by the server, so that the equipment running the user side application program obtains the adjusted program code from the server, runs the adjusted program code, and displays a second display page corresponding to the adjusted program code.
In a possible implementation manner, the obtaining configuration information corresponding to the target component, where the user-side application is a user-side application used by a target user, includes:
acquiring configuration information corresponding to the target component and matched with the target user;
the obtaining a second display page based on the configuration information corresponding to the target component and the first display page includes:
and adjusting the content of the first display page based on the configuration information which corresponds to the target component and is matched with the target user to obtain a second display page, wherein the content of the second display page is matched with the target user.
On the other hand, an embodiment of the present application provides a device for configuring page information, where the device includes:
the display module is used for displaying a first display page, the first display page is provided with at least one component, one component corresponds to one configuration page, and the first display page is a display page in a user-side application program;
the display module is further used for responding to a selected instruction received for a target component in the at least one component and displaying a configuration page corresponding to the target component;
the acquisition module is used for acquiring the configuration information corresponding to the target component based on the configuration page corresponding to the target component;
the obtaining module is further configured to obtain a second display page based on the configuration information corresponding to the target component and the first display page, where the second display page includes the configuration information corresponding to the target component, and the second display page is used to replace the first display page to be displayed in the user-side application program.
In a possible implementation manner, the obtaining module is configured to, in response to receiving a selected instruction for a target component in the at least one component, obtain target program code corresponding to the target component;
and the display module is used for operating the target program code corresponding to the target component and displaying the configuration page corresponding to the target component.
In a possible implementation manner, the obtaining module is configured to, in response to receiving a selected instruction for a target component in the at least one component, obtain a reference program code corresponding to the target component, where the reference program code is used to obtain a display page corresponding to the target component; and processing the reference program code corresponding to the target component based on the method rewriting to obtain the target program code corresponding to the target component.
In one possible implementation, the apparatus further includes:
a generating module, configured to generate a first obtaining request in response to receiving a selected instruction for a target component in the at least one component, where the first obtaining request carries a component identifier of the target component, and the first obtaining request is used to obtain a reference program code corresponding to the target component;
the sending module is used for sending the first acquisition request to a server;
and the receiving module is used for receiving the reference program code corresponding to the target component returned by the server based on the first acquisition request.
In a possible implementation manner, the display module is configured to display a third display page, where the third display page is a setting page, and a page configuration control is displayed in the third display page;
the obtaining module is used for responding to a received selected instruction aiming at the page configuration control and obtaining a program code corresponding to the first display page;
and the display module is used for operating the program code corresponding to the first display page and displaying the first display page.
In a possible implementation manner, the generating module is configured to generate a second obtaining request in response to receiving a selected instruction for the page configuration control, where the second obtaining request carries an object identifier of a target object, and the second obtaining request is used to obtain a program code corresponding to a first display page displayed in the user-side application program by the target object;
the sending module is used for sending the second acquisition request to a server;
the receiving module is configured to receive a program code corresponding to the first display page returned by the server based on the second obtaining request.
In one possible implementation, the apparatus further includes:
a determination module for determining a component type of the target component;
the auditing module is used for responding to the component type of the target component as a first type needing auditing and auditing the configuration information corresponding to the target component;
the obtaining module is configured to obtain a second display page based on the configuration information corresponding to the target component and the first display page in response to the configuration information corresponding to the target component passing the audit.
In a possible implementation manner, the obtaining module is configured to adjust the program code corresponding to the first display page based on the configuration information corresponding to the target component, so as to obtain an adjusted program code;
and running the adjusted program code to obtain a second display page.
In a possible implementation manner, the display module is further configured to display the second display page.
In a possible implementation manner, the sending module is further configured to send the adjusted program code to a server, store the adjusted program code by the server, enable the device running the user-side application program to obtain the adjusted program code at the server, run the adjusted program code, and display a second display page corresponding to the adjusted program code.
In a possible implementation manner, the client application is a client application used by a target user, and the obtaining module is configured to obtain configuration information corresponding to the target component and matching with the target user; and adjusting the content of the first display page based on the configuration information which corresponds to the target component and is matched with the target user to obtain a second display page, wherein the content of the second display page is matched with the target user.
On the other hand, an embodiment of the present application provides a terminal device, where the terminal device includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor, so that the terminal device implements any one of the above-mentioned page information configuration methods.
In another aspect, a computer-readable storage medium is provided, where at least one program code is stored, and the at least one program code is loaded and executed by a processor, so as to enable a computer to implement any one of the above-mentioned page information configuring methods.
In another aspect, a computer program or a computer program product is provided, where at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor, so as to enable a computer to implement any one of the above-mentioned page information configuration methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme, the first display page in the user side application program is displayed in the merchant side application program, so that a merchant can configure page information in the first display page to obtain the configured page, the merchant can directly see the configured page, the page after configuration does not need to be switched to the user side application program to check the configured page, the configuration of the page information is convenient, and the configuration efficiency of the page information can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a configuration method of page information according to an embodiment of the present application;
fig. 2 is a flowchart of a method for configuring page information according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a display of a first display page according to an embodiment of the present disclosure;
fig. 4 is a schematic display view of a configuration page corresponding to a target component according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a display of a second presentation page provided by an embodiment of the present application;
fig. 6 is an architecture diagram of a configuration method of page information according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for configuring page information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a configuration method of page information provided in an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: a terminal device 101 and a server 102.
The terminal device 101 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, and a laptop computer. The terminal device 101 is configured to execute the configuration method of the page information provided in the embodiment of the present application.
The terminal device 101 may be generally referred to as one of a plurality of terminal devices, and the present embodiment is only illustrated by the terminal device 101. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or fewer. For example, the number of the terminal device 101 may be only one, or the number of the terminal device 101 may be several tens or several hundreds, or more, and the number of the terminal devices and the device types are not limited in the embodiment of the present application.
The server 102 is a server, or a server cluster formed by a plurality of servers, or any one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The server 102 and the terminal apparatus 101 are communicatively connected via a wired network or a wireless network. The server 102 has a function of receiving and transmitting. Of course, the server 102 may also have other functions, which are not limited in this embodiment.
Based on the foregoing implementation environment, an embodiment of the present application provides a method for configuring page information, which may be executed by the terminal device 101 in fig. 1, taking a flowchart of the method for configuring page information provided in the embodiment of the present application shown in fig. 2 as an example. As shown in fig. 2, the method comprises the steps of:
in step 201, a first display page is displayed, where the first display page displays at least one component, and one component corresponds to one configuration page, and the first display page is a display page in the application program at the user end.
In the exemplary embodiment of the present application, a target type application (hereinafter, simply referred to as an application) runs in a terminal device, and the application may be a shopping application or a takeaway application, and the type of the application is not limited in the embodiment of the present application. The application program includes a user-side application program and a merchant-side application program, and the terminal device may run the user-side application program or the merchant-side application program, which is not limited in this embodiment of the present application.
When the merchant-side application program is operated in the terminal device, a merchant user can configure page information of a target object (a merchant) so as to enable the page information to be more complete, and therefore the ordering rate of the target object can be improved. The embodiment of the present application is described by taking the application as a takeaway application and taking a merchant application as an example running in the terminal device. When other types of merchant-side applications are run in the terminal device, the configuration process of the page information of the target object is similar to that in this embodiment, and details are not described here.
Optionally, the process of displaying the first presentation page includes, but is not limited to: and displaying a third display page, wherein the third display page is a setting page corresponding to the target object, and a page configuration control is displayed in the third display page and is used for configuring the page of the target object. And responding to the received selected instruction for the page configuration control, and acquiring the program code corresponding to the first display page. And operating the program code corresponding to the first display page and displaying the first display page.
And a merchant-side application program is installed and operated in the terminal equipment, and a third display page is displayed in response to a selection instruction of a user on the merchant-side application program, wherein the third display page is a setting page corresponding to the target object. The third display page is displayed with a page configuration control, and certainly, other controls may also be displayed in the third display page, which is not limited in the embodiment of the present application.
The instruction selected by the user for the application program may be a click operation of the user on an icon of the merchant-side application program displayed in the terminal device, an operation of waking up the merchant-side application program in a voice form, or an operation of selecting the application program in other ways, which is not limited in the embodiment of the present application.
Optionally, in response to receiving a selected instruction for the page configuration control, the program code corresponding to the first display page may be acquired through interaction between the terminal device and the server, where the process includes: and generating a second acquisition request in response to receiving a selected instruction for the page configuration control, wherein the second acquisition request carries an object identifier of the target object, and the second acquisition request is used for acquiring a program code corresponding to a first display page displayed by the target object in the user-side application program. And sending the second acquisition request to the server, and receiving a program code corresponding to the first display page returned by the server based on the second acquisition request.
The object identifier of the target object may be an object name of the target object or other identifiers capable of uniquely representing the target object, which is not limited in this embodiment of the application.
Illustratively, the target object is a shop, the object of the target object is identified as a shop name of the shop, or the object of the target object is identified as a license number of the shop.
In one possible implementation, the server stores a plurality of program codes and the corresponding relationship between the object identifier and the program codes. After the server acquires the second acquisition request, the server analyzes the second acquisition request to obtain the object identifier of the target object carried in the second acquisition request. And further acquiring a program code corresponding to the object identifier of the target object based on the object identifier of the target object and the corresponding relation between the object identifier and the program code, and taking the program code as the program code corresponding to the first display page of the target object. And then the server sends the program code corresponding to the first display page of the target object to the terminal device, so that the terminal device obtains the program code corresponding to the first display page.
When the program code corresponding to the first display page is obtained through interaction between the terminal device and the server, a plurality of program codes and the corresponding relation between the object identifier and the program code do not need to be stored in the terminal device, and the storage space of the terminal device can be saved.
In a possible implementation manner, a program code corresponding to a first display page displayed by a target object in a user-side application program is stored in the terminal device. And in response to receiving the selected instruction for the page configuration control, the terminal equipment acquires the program code corresponding to the first display page from the storage space.
When the terminal device obtains the program code corresponding to the first display page by itself, interaction with the server is not needed, and time for obtaining the program code corresponding to the first display page can be saved, so that the obtaining efficiency of the program code corresponding to the first display page is improved.
It should be noted that The program code corresponding to The first display page is a program code written by a developer of The application program in advance, and a Language type of The program code may be a C + + Language (The C + + Programming Language), a JAVA Language (JAVA Programming Language), or other types of computer Programming languages, which is not limited in this embodiment of The present application.
Optionally, the terminal device has a first functional module capable of running a program code corresponding to the presentation page. After the terminal device obtains the program code corresponding to the first display page, the program code corresponding to the first display page is operated through the first function module to obtain the first display page, and then the first display page is displayed. A plurality of components are displayed in the first display page, each component corresponds to a configuration page, and the configuration page is used for configuring information of the component.
Fig. 3 is a schematic display diagram of a first display page provided by an embodiment of the present application, in which five components, namely, a first component 301, a second component 302, a third component 303, a fourth component 304, and a fifth component 305, are displayed in the first display page shown in fig. 3. The first component 301 is an object name component, the second component 302 is an object avatar component, the third component 303 is a coupon component, the fourth component 304 is a package setting component, and the fifth component 305 is a commodity information component.
Of course, other components may also be displayed in the first display page, which is not limited in this embodiment of the application.
In step 202, in response to receiving a selected instruction for a target component of the at least one component, a configuration page corresponding to the target component is displayed.
In a possible implementation manner, each component corresponds to one configuration page, and a user can configure information of the component in the configuration page corresponding to the component, so as to obtain configuration information corresponding to the component. After the first display page is displayed, a user can randomly select one component from the multiple components displayed on the first display page, the terminal device takes the component selected by the user as a target component, and a configuration page corresponding to the target component is displayed.
Optionally, the process of displaying the configuration page corresponding to the target component by the terminal device includes, but is not limited to: and in response to receiving the selected instruction aiming at the target component in the at least one component, acquiring the target program code corresponding to the target component. And operating the target program code corresponding to the target assembly and displaying the configuration page corresponding to the target assembly.
In response to receiving a selected instruction for a target component of the at least one component, a process of obtaining target program code corresponding to the target component includes, but is not limited to: and in response to receiving a selected instruction aiming at a target component in at least one component, acquiring a reference program code corresponding to the target component, wherein the reference program code is used for acquiring a display page corresponding to the target component. And processing the reference program code corresponding to the target assembly based on the method rewriting to obtain the target program code corresponding to the target assembly.
In one possible implementation, the reference program code corresponding to the target component is obtained by the following two implementations.
The method comprises the steps of obtaining a reference program code corresponding to a target component based on interaction between terminal equipment and a server.
In a possible implementation manner, in response to receiving a selected instruction for a target component in at least one component, a first obtaining request is generated, where the first obtaining request carries a component identifier of the target component, and the first obtaining request is used to obtain a reference program code corresponding to the target component. And sending the first acquisition request to a server. And receiving the reference program code corresponding to the target component returned by the server based on the first acquisition request.
The server stores reference program codes corresponding to components included in each object and the corresponding relation between the object identification and the reference program codes corresponding to the components included in the object. The first obtaining request also carries an object identifier of the target object, and after receiving the first obtaining request, the server analyzes the first obtaining request to obtain the object identifier of the target object and the component identifier of the target component. The server firstly obtains a plurality of reference program codes based on the object identification of the target object, and the reference program codes are respectively corresponding to a plurality of components included in the target object. And acquiring a reference program code corresponding to the target component from the plurality of reference program codes based on the component identifier of the target component. When the reference program code corresponding to the target component is obtained through interaction between the terminal device and the server, the reference program code corresponding to the component included in each object and the corresponding relation between the object identifier and the reference program code corresponding to the component included in each object do not need to be stored in the terminal device, and the storage space of the terminal device can be saved.
As shown in the following table one, a table of a reference program code corresponding to a component included in a target object and a correspondence between an object identifier of the target object and the reference program code corresponding to the component included in the target object is provided in an embodiment of the present application.
Watch 1
Figure BDA0003444323030000111
As shown in table one above, the first object includes three components, a first component, a second component, and a third component. The reference program code corresponding to the first component is a first reference program code, the reference program code corresponding to the second component is a second reference program code, and the reference program code corresponding to the third component is a third reference program code.
It should be noted that the above table i is only an example provided by the embodiment of the present application, the number of components included in the target object may be greater or smaller, and the server may further store reference program codes corresponding to components included in other objects, which is not limited in the embodiment of the present application.
Illustratively, if the target component is the first component, the reference program code corresponding to the target component is obtained as the first reference program code based on the target component and the first table.
In the second implementation manner, the terminal device stores reference program codes respectively corresponding to the components included in the target object and the corresponding relationship between the component identifier and the reference program code corresponding to the component. In response to receiving a selected instruction of a target component in at least one component, the terminal device acquires a component identifier of the target component. And the terminal equipment acquires the reference program code corresponding to the target component based on the component identifier of the target component and the corresponding relation between the component identifier and the reference program code corresponding to the component. When the terminal device obtains the reference program code corresponding to the target component by itself, interaction with the server is not needed, time for obtaining the reference program code corresponding to the target component can be saved, and therefore obtaining efficiency of the reference program code corresponding to the target component is improved.
Any one of the above implementation manners may be selected to obtain the reference program code corresponding to the target component, which is not limited in the embodiment of the present application.
It should be noted that the reference program code corresponding to each component is a program code written in advance by a developer of an application program, and a language type of the reference program code corresponding to each component may be a C + + language, a JAVA language, or another computer programming language, which is not limited in this embodiment of the present application. The language type of the reference program code corresponding to each component may be the same as the language type of the program code corresponding to the first presentation page, or may not be the same as the language type of the program code corresponding to the first presentation page, which is not limited in the embodiment of the present application.
In a possible implementation manner, after the reference program code corresponding to the target component is acquired, the reference program code corresponding to the target component is processed based on method rewriting, so as to obtain the target program code corresponding to the target component. The method rewriting means that in JAVA and some other advanced object-oriented programming languages, a child class can inherit a method in a parent class without rewriting the same method, but sometimes the child class does not want to inherit the method of the parent class as it is but wants to make certain modification, which requires rewriting of a method, which is also called method overwriting.
The server can also rewrite the reference program codes corresponding to the components included in the target object respectively, so as to obtain the target program codes corresponding to the components included in the target object.
Optionally, in order to distinguish the reference program code and the object program code corresponding to each component, a protocol may be configured for each component, and the reference program code and the object program code corresponding to the component may be stored in the protocol corresponding to the component. Where the nature of the protocol is an interface. And acquiring the reference program code and the target program code corresponding to the component through the protocol corresponding to the component.
Each component corresponds to two program codes, wherein the reference program code corresponding to the component is a program code running in the user-side application program, and the target program code corresponding to the component is a program code running in the merchant-side application program. As shown in the following table two, a correspondence table of protocols corresponding to each component included in a target object, program codes included in each protocol, and user types capable of executing the program codes is provided in the embodiment of the present application.
Watch two
Figure BDA0003444323030000121
As shown in table two above, the target object includes components, which are the first component, the second component and the third component. The protocol corresponding to the first component is a first protocol, the first protocol includes a first reference program code and a first target program code, the first reference program code is a program code running in the user-side application program, and the first target program code is a program code running in the merchant-side application program. The protocol, the program code and the user type capable of executing the program code corresponding to other components included in the target object are shown in the second table, and are not described herein again.
It should be noted that the number of components included in the target object may be more or less, and the embodiment of the present application is not limited thereto.
In a possible implementation manner, after receiving the selected instruction of the target component, the terminal device sends a third acquisition request to the server, where the third acquisition request carries a component identifier of the target component. And after receiving the third acquisition request, the server analyzes the third acquisition request to obtain the component identifier of the target component carried in the third acquisition request. And the server determines the protocol corresponding to the target component based on the component identifier of the target component and the second table. And acquiring a reference program code and a target program code corresponding to the target component through a protocol corresponding to the target component. And sending the reference program code and the object program code corresponding to the object component to the terminal equipment. The terminal device obtains a reference program code and a target program code corresponding to the target assembly, and in response to the fact that the user type of the user logged in the application program of the terminal device is a merchant, the terminal device obtains the target program code from the reference program code and the target program code corresponding to the target assembly. Or, in response to that the user type of the user logged in the application program of the terminal device is the user, the terminal device acquires the reference program code from the reference program code and the object program code corresponding to the object component.
Optionally, the terminal device has a second function module capable of running the object program code corresponding to the component, and after the terminal device obtains the object program code corresponding to the object component, the terminal device runs the object program code corresponding to the object component through the second function module to obtain the configuration page corresponding to the object component, and then displays the configuration page corresponding to the object component. The configuration page corresponding to the target component is used for acquiring the configuration information corresponding to the target component.
It should be noted that the first functional module and the second functional module may be the same functional module or two different functional modules, which is not limited in this embodiment of the application. And responding to the situation that the first functional module and the second functional module are the same functional module, the first functional module not only can operate the program code corresponding to the display page to obtain the display page, but also can operate the target program code corresponding to the component to obtain the configuration page corresponding to the component.
As shown in fig. 4, which is a schematic display diagram of a configuration page corresponding to a target component provided in an embodiment of the present application, in the diagram shown in fig. 4, in response to a user's instruction for selecting an object name component 402 in a first presentation page 401, a page 403 is displayed, and the page 403 is a configuration page corresponding to the object name component.
In step 203, the configuration information corresponding to the target component is obtained based on the configuration page corresponding to the target component.
After the configuration page corresponding to the target component is displayed, the user inputs the configuration information of the target component in the configuration page corresponding to the target component. And when the configuration information of the target component is input in the configuration page corresponding to the target component by a user and the confirmation control is selected, the terminal equipment takes the information input by the user as the configuration information corresponding to the target component.
Illustratively, the target component is an object name component, the information input by the user in the configuration page corresponding to the target component is "XXX pizza (B store)", and in response to the instruction selected by the user on the confirmation control, the terminal device obtains the configuration information corresponding to the target component as "XXX pizza (B store)".
It should be noted that the process of acquiring the configuration information corresponding to each component in the first display page is similar to the process of acquiring the configuration information corresponding to the object name component, and is not described herein again.
Optionally, when the user-side application is a user-side application used by the target user, the process of obtaining the configuration information corresponding to the target component includes: and acquiring configuration information corresponding to the target component and matched with the target user. The target user may be a member user, a non-member user, or another user, which is not limited in this embodiment of the present application.
Illustratively, taking the target component as the coupon component as an example, in response to the target user being a member user, the configuration information corresponding to the target component and matching with the target user is "consume full 100 yuan minus 20 yuan". In response to the target user being a non-member user, the configuration information corresponding to the target component and matching the target user is "consume full 100 dollars minus 10 dollars".
In step 204, a second display page is obtained based on the configuration information corresponding to the target component and the first display page, where the second display page includes the configuration information corresponding to the target component and is used to replace the first display page for displaying in the user-side application program.
In a possible implementation manner, after the configuration information corresponding to the target component is obtained in step 203, based on the configuration information corresponding to the target component and the first display page, the process of obtaining the second display page includes: determining the component type of the target component, and auditing the configuration information corresponding to the target component in response to the component type of the target component being a first type needing to be audited; and responding to the verification passing of the configuration information corresponding to the target component, and acquiring a second display page based on the configuration information corresponding to the target component and the first display page.
Or, in response to that the component type of the target component is a second type which does not need to be checked, directly obtaining a second display page based on the configuration information corresponding to the target component and the first display page.
The component identifier of the target component includes a code for indicating the component type of the target component, for example, if the component identifier of the target component includes a code 1, it indicates that the component type of the target component is the first type that needs to be audited. And if the component identifier of the target component comprises the code 2, the component type of the target component is a second type which does not need to be audited. Of course, other codes may be used to indicate the component type of the component, and this is not limited in this application.
In one possible implementation, the process of determining the component type of the target component includes: and acquiring the code for indicating the component type in the component identification of the target component, and determining the component type of the target component based on the code for indicating the component type.
In response to that the component type of the target component is the first type to be audited, the process of auditing the configuration information corresponding to the target component includes: and acquiring configuration information corresponding to the target component, and determining whether violation information exists in the configuration information corresponding to the target component. And determining that the configuration information corresponding to the target component passes the auditing in response to the fact that the violation information does not exist in the configuration information corresponding to the target component. And determining that the configuration information corresponding to the target component is not approved in response to the violation information existing in the configuration information corresponding to the target component.
The violation information includes, but is not limited to, violation characters, violation graphics, and other information.
Optionally, when the configuration information corresponding to the target component is the text content, the process of determining whether violation information exists in the configuration information corresponding to the target component includes: and detecting the configuration information corresponding to the target assembly, and if the illegal words exist in the configuration information corresponding to the target assembly, determining that the illegal information exists in the configuration information corresponding to the target assembly. And responding to the fact that the illegal words do not exist in the configuration information corresponding to the target assembly, and determining that the illegal information does not exist in the configuration information corresponding to the target assembly.
When the target component is the object head portrait component, the configuration information corresponding to the target component is an image, and when the image comprises text content, the process of determining whether violation information exists in the configuration information corresponding to the target component comprises the following steps: and converting the image corresponding to the target component to obtain the text content included in the image, and determining whether the text content included in the image has illegal characters. The process is consistent with the detection process when the configuration information is the text content, and is not described herein again. And in response to the fact that the illegal characters do not exist in the text content included in the image, determining whether the illegal graph exists in the image included in the image, and if the illegal graph does not exist in the graph included in the image, determining that the configuration information of the component is approved. If the illegal graph exists in the graph included in the image, the illegal information exists in the configuration information corresponding to the target component, and therefore the configuration information corresponding to the target component is not checked.
The process of determining whether the illegal graphic exists in the graphic included in the image includes: the terminal equipment stores a plurality of violation graphs, extracts the graphs included in the images, and then determines the similarity between the graphs included in the images and the violation graphs. And in response to the similarity between at least one of the graphs included in the image and the illegal graph being greater than the similarity threshold, determining that the illegal graph exists in the graphs included in the image. And if the similarity of all the graphs included in the image and the illegal graph is smaller than the similarity threshold, determining that the illegal graph does not exist in the graphs included in the image. The similarity threshold may be set based on a scene or based on experience, and the similarity threshold is not limited in the embodiment of the present application.
Optionally, the process of obtaining the second display page based on the configuration information corresponding to the target component and the first display page includes: and adjusting the program code corresponding to the first display page based on the configuration information corresponding to the target component to obtain the adjusted program code. And running the adjusted program code to obtain a second display page.
Adjusting the program code corresponding to the first display page based on the configuration information corresponding to the target component, wherein the process of obtaining the adjusted program code comprises: and replacing the information corresponding to the target component in the program code corresponding to the first display page with the configuration information corresponding to the target component to obtain the adjusted program code. And running the adjusted program code through the first functional module to obtain a second display page.
In a possible implementation manner, when the configuration information corresponding to the target component is the configuration information corresponding to the target component and matched with the target user, the content of the first display page is adjusted based on the configuration information corresponding to the target component and matched with the target user to obtain a second display page, and the content of the second display page is adapted to the target user. That is, based on the configuration information corresponding to the target component and matching with the target user, the program code corresponding to the first display page is adjusted to obtain the adjusted program code, and the adjusted program code is run to obtain the second display page.
Optionally, after the second display page is obtained, the second display page may also be displayed, where the second display page includes configuration information corresponding to the target component. The program code corresponding to the second display page may also be synchronized to the user-side application program, so that the second display page replaces the first display page to be displayed in the user-side application program.
Fig. 5 is a schematic display diagram of a second display page according to an embodiment of the present application, where in the second display page shown in fig. 5, configuration information corresponding to an object name component 501 is "XXX pizza (B store)".
After the adjusted program code is acquired, the adjusted program code can be sent to a server, the adjusted program code is stored by the server, so that the device running the user-side application program acquires the adjusted program code from the server, runs the adjusted program code, and displays a second display page corresponding to the adjusted program code.
And when the server stores the adjusted program code, correspondingly storing the object identification of the target object and the adjusted program code. After the server stores the adjusted program code, the server receives a fourth acquisition request of the device running the user-side application program, wherein the fourth acquisition request carries the object identifier of the target object and the user identifier of the first user logged in the device running the user-side application program. The server analyzes the fourth acquisition request to obtain the object identifier of the target object and the user identifier of the first user logged in the device running the user-side application program. And acquiring the program code after the target object is adjusted based on the object identification of the target object. And in response to the fact that the user identification of the first user indicates that the type of the first user is consistent with the type of the target user (for example, the first user is a member user), the server sends the program code after the target object adjustment to the device running the user-side application program, so that the device running the user-side application program runs the program code after the adjustment, a second display page is obtained, and the second display page is displayed.
According to the method, the first display page in the user side application program is displayed in the merchant side application program, so that a merchant can configure the page information in the first display page to obtain the configured page, the merchant can directly see the configured page without switching to the user side application program to view the configured page, the configuration of the page information is convenient, and the configuration efficiency of the page information can be improved.
Fig. 6 is an architecture diagram of a configuration method of page information according to an embodiment of the present application, where fig. 6 includes a user end Project (Project C) and a merchant end Project (Project B). The user end project comprises a plurality of components, and the merchant end project comprises a plurality of components.
The user-side shop assembly in the user-side engineering comprises a view layer, a logic event declaration layer and a logic event realization layer. The merchant-side store component of the merchant-side project includes an account adapter and a logical event implementation layer. The account adapter of the shop side shop assembly is linked with the view layer and the logic event statement layer of the customer side shop assembly. The logic event implementation layer of the user-side shop assembly stores the reference program codes corresponding to the assemblies respectively, and the display pages corresponding to the assemblies can be obtained by operating the reference program codes corresponding to the assemblies respectively. The logic event implementation layer of the shop assembly at the merchant end stores the target program codes corresponding to the assemblies respectively, and the target program codes corresponding to the assemblies respectively are operated to obtain the configuration pages corresponding to the assemblies respectively.
Fig. 7 is a schematic structural diagram of an apparatus for configuring page information according to an embodiment of the present application, and as shown in fig. 7, the apparatus includes:
a display module 701, configured to display a first display page, where the first display page displays at least one component, and one component corresponds to one configuration page, and the first display page is a display page in a client application;
the display module 701 is further configured to, in response to receiving a selected instruction for a target component in the at least one component, display a configuration page corresponding to the target component;
an obtaining module 702, configured to obtain configuration information corresponding to a target component based on a configuration page corresponding to the target component;
the obtaining module 702 is further configured to obtain a second display page based on the configuration information corresponding to the target component and the first display page, where the second display page includes the configuration information corresponding to the target component, and the second display page is used to replace the first display page to be displayed in the application program at the user end.
In a possible implementation manner, the obtaining module 702 is configured to, in response to receiving a selected instruction for a target component in the at least one component, obtain target program code corresponding to the target component;
the display module 701 is configured to run an object program code corresponding to the object component, and display a configuration page corresponding to the object component.
In a possible implementation manner, the obtaining module 702 is configured to, in response to receiving a selected instruction for a target component in at least one component, obtain a reference program code corresponding to the target component, where the reference program code is used to obtain a display page corresponding to the target component; and processing the reference program code corresponding to the target assembly based on the method rewriting to obtain the target program code corresponding to the target assembly.
In one possible implementation, the apparatus further includes:
the generating module is used for responding to a received selected instruction aiming at a target component in at least one component, and generating a first obtaining request, wherein the first obtaining request carries a component identifier of the target component, and the first obtaining request is used for obtaining a reference program code corresponding to the target component;
the sending module is used for sending the first acquisition request to the server;
and the receiving module is used for receiving the reference program code corresponding to the target component returned by the server based on the first acquisition request.
In a possible implementation manner, the display module 701 is configured to display a third display page, where the third display page is a setting page, and a page configuration control is displayed in the third display page;
an obtaining module 702, configured to, in response to receiving a selected instruction for a page configuration control, obtain a program code corresponding to a first display page;
the display module 701 is configured to run a program code corresponding to the first display page, and display the first display page.
In a possible implementation manner, the generating module is configured to generate a second obtaining request in response to receiving a selected instruction for the page configuration control, where the second obtaining request carries an object identifier of the target object, and the second obtaining request is used to obtain a program code corresponding to a first display page displayed by the target object in the user-side application program;
the sending module is used for sending the second acquisition request to the server;
and the receiving module is used for receiving the program code corresponding to the first display page returned by the server based on the second acquisition request.
In one possible implementation, the apparatus further includes:
a determination module for determining a component type of a target component;
the auditing module is used for responding to the component type of the target component as a first type needing auditing and auditing the configuration information corresponding to the target component;
an obtaining module 702, configured to obtain a second display page based on the configuration information corresponding to the target component and the first display page in response to that the configuration information corresponding to the target component passes the audit.
In a possible implementation manner, the obtaining module 702 is configured to adjust a program code corresponding to a first display page based on configuration information corresponding to a target component, so as to obtain an adjusted program code;
and running the adjusted program code to obtain a second display page.
In a possible implementation manner, the display module 701 is further configured to display a second presentation page.
In a possible implementation manner, the sending module is further configured to send the adjusted program code to the server, store the adjusted program code through the server, enable the device running the user-side application program to obtain the adjusted program code at the server, run the adjusted program code, and display a second display page corresponding to the adjusted program code.
In a possible implementation manner, the client application is a client application used by a target user, and the obtaining module 702 is configured to obtain configuration information corresponding to the target component and matching with the target user; and adjusting the content of the first display page based on the configuration information which corresponds to the target component and is matched with the target user to obtain a second display page, wherein the content of the second display page is matched with the target user.
The device displays the first display page in the user side application program in the merchant side application program, so that a merchant can configure page information in the first display page to obtain the configured page, the merchant can directly see the configured page without switching to the user side application program to check the configured page, the configuration of the page information is convenient, and the configuration efficiency of the page information can be improved.
It should be understood that, when the apparatus provided in fig. 7 implements its functions, it is only illustrated by the division of the functional modules, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 8 shows a block diagram of a terminal device 800 according to an exemplary embodiment of the present application. The terminal device 800 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal device 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal device 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for execution by processor 801 to implement a method of configuring page information provided by method embodiments of the present application.
In some embodiments, the terminal device 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, a positioning assembly 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, and is disposed on the front panel of the terminal device 800; in other embodiments, the number of the display screens 805 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the terminal device 800 or are in a folding design; in other embodiments, the display 805 may be a flexible display, disposed on a curved surface or a folded surface of the terminal device 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different positions of the terminal device 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic Location of the terminal device 800 to implement navigation or LBS (Location Based Service). The Positioning component 808 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 809 is used to supply power to various components in the terminal device 800. The power supply 809 can be ac, dc, disposable or rechargeable. When the power supply 809 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal device 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal apparatus 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the display 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal device 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user on the terminal device 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of terminal device 800 and/or underneath display screen 805. When the pressure sensor 813 is arranged on the side frame of the terminal device 800, the holding signal of the user to the terminal device 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal device 800. When a physical button or a vendor Logo is provided on the terminal device 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, processor 801 may control the display brightness of display 805 based on the ambient light intensity collected by optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the display screen 805 is increased; when the ambient light intensity is low, the display brightness of the display 805 is reduced. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also called a distance sensor, is typically provided on the front panel of the terminal device 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal device 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal device 800 gradually decreases, the processor 801 controls the display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal device 800 becomes gradually larger, the display screen 805 is controlled by the processor 801 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not limiting of terminal device 800 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 9 is a schematic structural diagram of a server provided in this embodiment, where the server 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 901 and one or more memories 902, where the one or more memories 902 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 901 to implement the configuration method of the page information provided by the foregoing method embodiments. Certainly, the server 900 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 900 may also include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to cause a computer to implement any one of the above-mentioned page information configuring methods.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program or a computer program product is further provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor, so as to enable a computer to implement any one of the above-mentioned page information configuration methods.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the protection scope of the present application.

Claims (14)

1. A method for configuring page information is characterized in that the method comprises the following steps:
displaying a first display page, wherein the first display page displays at least one component, one component corresponds to one configuration page, and the first display page is a display page in a user-side application program;
in response to receiving a selected instruction for a target component in the at least one component, displaying a configuration page corresponding to the target component;
acquiring configuration information corresponding to the target component based on the configuration page corresponding to the target component;
and acquiring a second display page based on the configuration information corresponding to the target component and the first display page, wherein the second display page comprises the configuration information corresponding to the target component, and the second display page is used for replacing the first display page to display in the user side application program.
2. The method of claim 1, wherein in response to receiving a selected instruction for a target component of the at least one component, displaying a configuration page corresponding to the target component comprises:
in response to receiving a selected instruction for a target component in the at least one component, acquiring target program code corresponding to the target component;
and operating the target program code corresponding to the target assembly and displaying the configuration page corresponding to the target assembly.
3. The method of claim 2, wherein, in response to receiving a selected instruction for a target component of the at least one component, retrieving target program code corresponding to the target component comprises:
in response to receiving a selected instruction aiming at a target component in the at least one component, acquiring a reference program code corresponding to the target component, wherein the reference program code is used for acquiring a display page corresponding to the target component;
and processing the reference program code corresponding to the target component based on the method rewriting to obtain the target program code corresponding to the target component.
4. The method of claim 3, wherein the obtaining a reference program code corresponding to a target component of the at least one component in response to receiving a selected instruction for the target component comprises:
responding to a received selected instruction for a target component in the at least one component, and generating a first obtaining request, wherein the first obtaining request carries a component identifier of the target component, and the first obtaining request is used for obtaining a reference program code corresponding to the target component;
sending the first acquisition request to a server;
and receiving the reference program code corresponding to the target component returned by the server based on the first acquisition request.
5. The method of claim 1, wherein displaying the first presentation page comprises:
displaying a third display page, wherein the third display page is a setting page and a page configuration control is displayed in the third display page;
responding to a received selected instruction aiming at the page configuration control, and acquiring a program code corresponding to the first display page;
and running a program code corresponding to the first display page, and displaying the first display page.
6. The method of claim 5, wherein the obtaining program code corresponding to the first presentation page in response to receiving the selected instruction for the page configuration control comprises:
responding to a received selected instruction for the page configuration control, and generating a second acquisition request, wherein the second acquisition request carries an object identifier of a target object, and the second acquisition request is used for acquiring a program code corresponding to a first display page displayed by the target object in the user side application program;
sending the second acquisition request to a server;
and receiving a program code corresponding to the first display page returned by the server based on the second acquisition request.
7. The method according to any one of claims 1 to 6, wherein the obtaining a second presentation page based on the configuration information corresponding to the target component and the first presentation page comprises:
determining a component type of the target component;
in response to that the component type of the target component is a first type needing to be audited, auditing configuration information corresponding to the target component;
and responding to the verification of the configuration information corresponding to the target component, and acquiring a second display page based on the configuration information corresponding to the target component and the first display page.
8. The method according to any one of claims 1 to 6, wherein the obtaining a second presentation page based on the configuration information corresponding to the target component and the first presentation page comprises:
adjusting the program code corresponding to the first display page based on the configuration information corresponding to the target component to obtain an adjusted program code;
and running the adjusted program code to obtain a second display page.
9. The method of claim 8, wherein after the adjusting the program code corresponding to the first presentation page based on the configuration information corresponding to the target component and obtaining the adjusted program code, the method further comprises:
and sending the adjusted program code to a server, storing the adjusted program code by the server, so that the equipment running the user side application program obtains the adjusted program code from the server, runs the adjusted program code, and displays a second display page corresponding to the adjusted program code.
10. The method according to any one of claims 1 to 6, wherein the client application is a client application used by a target user, and the obtaining the configuration information corresponding to the target component comprises:
acquiring configuration information corresponding to the target component and matched with the target user;
the obtaining a second display page based on the configuration information corresponding to the target component and the first display page includes:
and adjusting the content of the first display page based on the configuration information which corresponds to the target component and is matched with the target user to obtain a second display page, wherein the content of the second display page is matched with the target user.
11. An apparatus for configuring page information, the apparatus comprising:
the display module is used for displaying a first display page, the first display page is provided with at least one component, one component corresponds to one configuration page, and the first display page is a display page in a user-side application program;
the display module is further used for responding to a selected instruction received for a target component in the at least one component and displaying a configuration page corresponding to the target component;
the acquisition module is used for acquiring the configuration information corresponding to the target component based on the configuration page corresponding to the target component;
the obtaining module is further configured to obtain a second display page based on the configuration information corresponding to the target component and the first display page, where the second display page includes the configuration information corresponding to the target component, and the second display page is used to replace the first display page to be displayed in the user-side application program.
12. A terminal device, characterized in that the terminal device comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor, so that the terminal device realizes the configuration method of page information according to any one of claims 1 to 10.
13. A computer-readable storage medium, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to cause a computer to implement the method for configuring page information according to any one of claims 1 to 10.
14. A computer program product, characterized in that at least one computer instruction is stored in the computer program product, and the at least one computer instruction is loaded and executed by a processor, so as to make a computer realize the configuration method of page information according to any one of claims 1 to 10.
CN202111643144.5A 2021-12-29 2021-12-29 Page information configuration method, device, equipment and computer readable storage medium Pending CN114296824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111643144.5A CN114296824A (en) 2021-12-29 2021-12-29 Page information configuration method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111643144.5A CN114296824A (en) 2021-12-29 2021-12-29 Page information configuration method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114296824A true CN114296824A (en) 2022-04-08

Family

ID=80970763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111643144.5A Pending CN114296824A (en) 2021-12-29 2021-12-29 Page information configuration method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114296824A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338690A (en) * 2020-03-25 2020-06-26 北京顺达同行科技有限公司 Method and device for configuring pages of small program shop, computer equipment and storage medium
US20200278949A1 (en) * 2018-02-05 2020-09-03 Tencent Technnology (Shenzhen) Company Limited Method and apparatus for viewing previously used file, and terminal
CN113609358A (en) * 2021-07-26 2021-11-05 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200278949A1 (en) * 2018-02-05 2020-09-03 Tencent Technnology (Shenzhen) Company Limited Method and apparatus for viewing previously used file, and terminal
CN111338690A (en) * 2020-03-25 2020-06-26 北京顺达同行科技有限公司 Method and device for configuring pages of small program shop, computer equipment and storage medium
CN113609358A (en) * 2021-07-26 2021-11-05 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN110841285B (en) Interface element display method and device, computer equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN108717365B (en) Method and device for executing function in application program
CN111752666A (en) Window display method and device and terminal
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN111694478A (en) Content display method, device, terminal and storage medium
CN112257006A (en) Page information configuration method, device, equipment and computer readable storage medium
CN110677713B (en) Video image processing method and device and storage medium
CN109783176B (en) Page switching method and device
CN111192072A (en) User grouping method and device and storage medium
CN109995804B (en) Target resource information display method, information providing method and device
CN107943484B (en) Method and device for executing business function
CN113051015A (en) Page rendering method and device, electronic equipment and storage medium
CN111881423A (en) Method, device and system for limiting function use authorization
CN113538633B (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN112988177B (en) Application installation package release method, application program operation method, server and terminal
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN112783533A (en) Version information updating method, version information updating device, terminal and storage medium
CN112637624A (en) Live stream processing method, device, equipment and storage medium
CN111523876A (en) Payment mode display method, device and system and storage medium
CN114296824A (en) Page information configuration method, device, equipment and computer readable storage medium
CN112764824A (en) Method, device, equipment and storage medium for triggering identity authentication in application program

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