CN113918252A - Interface display method and device, computer equipment and storage medium - Google Patents

Interface display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113918252A
CN113918252A CN202111106262.2A CN202111106262A CN113918252A CN 113918252 A CN113918252 A CN 113918252A CN 202111106262 A CN202111106262 A CN 202111106262A CN 113918252 A CN113918252 A CN 113918252A
Authority
CN
China
Prior art keywords
service
style
page
target
target service
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
CN202111106262.2A
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 CN202111106262.2A priority Critical patent/CN113918252A/en
Publication of CN113918252A publication Critical patent/CN113918252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interface display method and device, computer equipment and a storage medium, and belongs to the technical field of interface display. The method comprises the following steps: receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services; obtaining style parameters corresponding to the target business, wherein the style parameters are used for indicating the display style of a user interface of the target business; and displaying the specified page according to the style parameters. According to the scheme, under the condition that the universal service pages of different application services have respective page styles, the workload of application development is greatly reduced, and therefore the efficiency of application development or updating is improved.

Description

Interface display method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of interface display technologies, and in particular, to an interface display method and apparatus, a computer device, and a storage medium.
Background
With the continuous development of internet applications, more and more applications integrate multiple application services, for example, a shopping application can integrate different application services such as take-out, hotel, trip, and the like.
Different application services may involve some of the same service functions. In the related art, codes of different application services in an application program are usually developed/updated synchronously by different development groups, and since page styles of different application services are usually different, pages of each service function in an application service are also developed independently by a corresponding development group according to a corresponding page style.
With the solution in the related art, since each service function in the same application needs to be developed separately, the efficiency of developing and updating the application is low.
Disclosure of Invention
The embodiment of the application provides an interface display method and device, computer equipment and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an interface display method, where the method includes:
receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services;
obtaining style parameters corresponding to the target business, wherein the style parameters are used for indicating the display style of a user interface of the target business;
and displaying the specified page according to the style parameters.
In one aspect, an embodiment of the present application provides an interface display apparatus, where the apparatus includes:
the instruction receiving module is used for receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services;
the style parameter acquisition module is used for acquiring a style parameter corresponding to the target service, and the style parameter is used for indicating the display style of a user interface of the target service;
and the page display module is used for displaying the specified page according to the style parameters.
In one possible implementation manner, the page display module includes:
the display parameter acquisition unit is used for acquiring the page display parameters of the specified page according to the style parameters, and the page display parameters comprise at least one of color, font size, control position, control shape and control size;
and the page display unit is used for displaying the specified page according to the page display parameters.
In a possible implementation manner, the style parameter includes the page display parameter;
alternatively, the first and second electrodes may be,
the style parameters comprise parameter identifications corresponding to the page display parameters.
In one possible implementation manner, the page display unit is used for,
performing page processing on a basic page template according to the page display parameters to generate the specified page;
and displaying the generated specified page.
In a possible implementation manner, the style parameter obtaining module includes:
an identifier obtaining unit, configured to obtain a service identifier of the target service;
and the parameter query unit is used for querying the style parameters corresponding to the target service according to the service identification.
In a possible implementation manner, the parameter querying unit is configured to,
inquiring a corresponding relation between the service identifier and a pre-stored style parameter according to the service identifier to obtain the pre-stored style parameter and a version number of the pre-stored style parameter, wherein the version number is used for indicating a service version of the target service corresponding to the pre-stored style parameter;
and when the service version indicated by the version number is the latest service version of the target service, taking the pre-stored style parameter as the style parameter corresponding to the target service.
In a possible implementation manner, the style parameter obtaining module further includes:
the image acquisition unit is used for acquiring a user interface image of the target service when the service version indicated by the version number is not the latest service version of the target service;
the style recognition unit is used for carrying out image style recognition on the user interface image of the target service to obtain a style representation vector of the user interface of the target service;
the matching unit is used for matching the style representation vector of the user interface of the target service with the style representation vectors of the style parameters;
and the parameter determining unit is used for determining the style parameters corresponding to the target service from the style parameters according to the matching result.
In one aspect, the present application provides a computer device, which includes a processor and a memory, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the interface presentation method described above.
In one aspect, the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the interface display method described above.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the interface presentation method provided in the above-mentioned various optional implementation modes.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
for the specified type service common to each application service in the application program, when an instruction for displaying the page of the specified type service is received, the style parameter of the corresponding service can be obtained, then the corresponding page is generated according to the style parameter and displayed, compared with the case of directly displaying the page of the specified type service developed for different application services, the method and the device can automatically generate the page according to the corresponding style when the page is required to be displayed by the terminal, and developers do not need to respectively develop the page of the common service aiming at each application service, so that the workload of application development is greatly reduced under the condition of ensuring that the pages of the common services of different application services have respective page styles, and the efficiency of application development or updating is 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 view of an application scenario of an interface presentation provided in an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method for presenting an interface according to an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for presenting an interface provided by an exemplary embodiment of the present application;
FIG. 4 is a block diagram illustrating the structure of an interface display apparatus according to an exemplary embodiment of the present application;
FIG. 5 is a schematic block diagram of a computer device according to an exemplary embodiment of the present application;
fig. 6 is a block diagram illustrating a computer device according to an exemplary 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. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The scheme provided by the application can be used for generating and displaying the page of the general function service in different application services in the application program according to the display style of the respective application service. For ease of understanding, the following first presents a brief summary of some of the terms and application scenarios to which this application relates.
Referring to fig. 1, a scene diagram of an application scenario of an interface presentation provided in an exemplary embodiment of the present application is shown. As shown in fig. 1, the application scenario includes: a server 110 and several terminals 120.
The server 110 is a server corresponding to an application installed in the terminal 120. It can be a server, or several servers, or a virtualization platform, or a cloud computing service center.
The terminal 120 may be a terminal device having an application running function, and is installed with an application supporting a plurality of application services, for example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4(Moving Picture Experts Group Audio Layer IV) player, a laptop portable computer, a desktop computer, and the like.
The application services supported by the application program installed in the terminal 120 provide different services, and meanwhile, the application services have a common specified type of service.
For example, the application installed in the terminal 120 supports various types of application services such as a catering service, a hotel service, a single car service, a taxi-taking service, a bus service, a ticketing service, a shopping service, and the like, and at the same time, the application services support the same type of functional services such as an invoice function, a payment function, an evaluation function, and the like.
The terminal 120 and the server 110 are connected through a communication network. Alternatively, the communication network may be a wired network or a wireless network.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
Referring to fig. 2, a flowchart of an interface presentation method according to an exemplary embodiment of the present application is shown. The method may be applied to the application scenario shown in fig. 1, and executed by the computer device in fig. 1, where the computer device may be the terminal 120 in the application scenario shown in fig. 1, or the computer device may also be the server 110 in the application scenario shown in fig. 1, as shown in fig. 2, the interface presentation method may include the following steps:
step 201, receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services.
Step 202, obtaining style parameters corresponding to the target service, where the style parameters are used to indicate a display style of a user interface of the target service.
In one possible implementation, the presentation style refers to an appearance visual style of the corresponding user interface, such as color matching, pattern shape, interface layout, and the like.
Step 203, displaying the designated page according to the style parameter.
In this embodiment of the application, the computer device may generate, based on the presentation style and the service type of the specified type of service, a specified page having the presentation style and corresponding to the specified type of service, and present the generated specified page.
In summary, in the solution shown in the embodiment of the present application, for a specified type of service that is common to each application service in an application program, when an instruction to display a page of the specified type of service is received, a style parameter of a corresponding service may be obtained, and then a corresponding page is generated according to the style parameter and displayed.
Referring to fig. 3, a flowchart of an interface presentation method according to an exemplary embodiment of the present application is shown. The method may be applied to the application scenario shown in fig. 1, and executed by the computer device in fig. 1, where the computer device may be the terminal 120 in the application scenario shown in fig. 1, or the computer device may also be the server 110 in the application scenario shown in fig. 1, and the interface presentation method may include the following steps:
step 301, receiving an operation instruction for displaying a specified page in a target application, where the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services.
In a possible implementation manner, when a user uses a target application through a terminal, if a specified type service in a target service needs to be opened, an operation of triggering a specified page corresponding to the specified type service of the target service to be displayed may be executed in an application interface of the target application, for example, the user may click a control corresponding to the specified type service in a service interface of the target service.
Taking the computer device as an example of a terminal, after detecting an operation of a specified page corresponding to a specified type of service that triggers a display target service, which is executed by a user, the terminal may consider that an operation instruction of the specified page in the display target application is received.
For example, taking the target service as a catering service and taking an invoice page of an appointed page as an example, when a user needs to make a catering invoice, the user can trigger the target application to display an interface of the catering service, and click an invoice control in the displayed interface to trigger the target application to display the invoice page corresponding to the catering service (namely, the appointed page), and when the terminal detects an operation of clicking the invoice control, the terminal determines to receive an operation instruction of displaying the invoice page of the catering service.
Or, for example, when the computer device is a terminal, after detecting an operation of a specified page corresponding to a specified type of service that triggers a display target service, the terminal may send an operation instruction for displaying the specified page in the target application to the server.
For example, taking that the target service is a catering service and an invoice page of a designated page as an example, the user triggers the target application to display an interface of the catering service and clicks an invoice control in the displayed interface, when the terminal detects an operation of clicking the invoice control, an operation instruction of the invoice page displaying the catering service can be sent to the server, and correspondingly, the server receives the operation instruction sent by the terminal.
Step 302, obtaining a style parameter corresponding to the target service, where the style parameter is used to indicate a display style of a user interface of the target service.
In the embodiment of the present application, the interfaces of different application services in the target application have different presentation styles, for example, the interfaces of different application services have different background colors or background pictures.
The interface style of each different application service in the target application can be indicated by preset style parameters of each application service. The style parameters may be preset by a developer and stored in a computer device (such as a server or a terminal) when the application program is installed or updated.
In a possible implementation manner, the obtaining of the style parameter corresponding to the target service includes:
acquiring a service identifier of the target service;
and inquiring the style parameters corresponding to the target service according to the service identification.
In this embodiment, taking a computer device as a terminal as an example, after determining that an operation instruction for displaying a specified page in a target application is received, the terminal may obtain a service identifier of the target service according to an interface of the currently displayed target service, and then query a corresponding style parameter through the obtained service identifier, for example, query a corresponding style parameter in a local terminal or a server.
In a possible implementation manner, the querying the style parameter corresponding to the target service according to the service identifier includes:
inquiring the corresponding relation between the service identifier and the pre-stored style parameters according to the service identifier to obtain the pre-stored style parameters and the version number of the pre-stored style parameters, wherein the version number is used for indicating the service version of the target service corresponding to the pre-stored style parameters;
and when the service version indicated by the version number is the latest service version of the target service, taking the pre-stored style parameter as the style parameter corresponding to the target service.
In a possible implementation manner, the computer device stores a service identifier of each application service in the target application, and a corresponding relationship between the service identifier of each application service and a style parameter of each application service. The correspondence relationship may be preset by a developer and stored in a terminal or a server when the application is installed or updated.
After the computer device obtains the service identifier of the target service, the corresponding relationship can be queried through the service identifier of the target service, and the style parameter corresponding to the target service is obtained.
When the computer equipment is a terminal and the corresponding relation is stored in the server, the terminal can inquire the corresponding relation to the server through the service identifier of the target service.
In the embodiment of the present application, when different application services are developed by different developers, if the style of the interface of the target service is changed by the developers after a certain target application is updated, and the style parameter corresponding to the service identifier of the target service is not updated immediately, a situation that the obtained style parameter cannot reflect the latest interface style of the target service may occur. In contrast, in a possible implementation scheme of the embodiment of the present application, a corresponding version number may be stored in correspondence with a style parameter of a target service, after querying the corresponding style parameter according to a service identifier of the target service, the computer device further obtains the version number corresponding to the style parameter, meanwhile, the computer device further queries the version number of the latest version of the target service, and compares the version number of the latest version of the target service with the version number corresponding to the queried style parameter to determine whether the service version of the target service corresponding to the style parameter is the latest service version of the target service, and if so, determines that the queried style parameter is the style parameter currently corresponding to the target service.
In a possible implementation manner, the method further includes:
when the service version indicated by the version number is not the latest service version of the target service, the computer equipment acquires a user interface image of the target service;
the computer equipment identifies the image style of the user interface image of the target service to obtain a style representation vector of the user interface of the target service;
the computer equipment matches the style representation vector of the user interface of the target service with the style representation vectors of all the style parameters;
and the computer equipment determines style parameters corresponding to the target service from the style parameters according to the matching result.
In another possible implementation of the embodiment of the application, if the computer device determines, through comparison of version numbers, that the service version of the target service corresponding to the style parameter is not the latest service version of the target service, the computer device may further obtain a user interface image of the target service, and perform style recognition on the user interface image through a preset image style recognition model to extract a style expression vector corresponding to the user interface image, where the style expression vector may be a multidimensional vector with a specified dimension, and at the same time, the computer device may further obtain style expression vectors of different style parameters, and match the style expression vector corresponding to the user interface image with the style expression vectors of different style parameters (for example, a matching degree is expressed through a vector similarity degree) to determine each style parameter, and the style parameter of the user interface image closest to the current target service is used as the style parameter corresponding to the target service.
Each dimension in the above style expression vector may correspond to an item of image attribute, for example, the proportion of the number of pixels of a certain color to the total number of pixels in an image, the saturation of the image, the contrast of the image, the brightness of the image, and so on. For the image attribute corresponding to each dimension in the style representation vector, the embodiment of the present application is not limited.
Alternatively, the image style recognition model may be a machine learning model, and the style expression vector may be a feature vector output by the machine learning model after image feature processing.
In another possible implementation manner, when the image style recognition model is a machine learning model, the computer device may also input the user interface image to the image style recognition model, and output style parameters corresponding to the user interface image by the image style recognition model.
In a possible implementation manner, the image style recognition model may be a model obtained by training a sample image and style representation vectors of style parameters corresponding to the sample image in advance, for example, the image style recognition model may be a convolutional neural network model or a deep neural network model, and the like.
In an exemplary scheme, when the image style recognition model is a machine learning model, the training mode of the image style recognition model may be as follows:
inputting the image sample labeled with the style parameter label into a machine learning model by the model training equipment to obtain a predicted style parameter output by the machine learning model, wherein the style parameter label can indicate the actual style parameter of the image sample; then, the model training device calculates a loss function value according to the difference between the predicted style parameter and the style parameter label, and updates the parameters in the machine learning model according to the loss function value. And executing the steps until the machine learning model is trained to be converged, or until the number of training rounds reaches a preset threshold value.
After the training of the machine learning model is completed, the model training device may use the trained machine learning model as an image style recognition model (in this case, the output of the model is style parameters), or the model training device may use the feature extraction part in the trained machine learning model as an image style recognition model (in this case, the output of the model is style expression vectors).
Step 303, obtaining the page display parameters of the specified page according to the style parameters.
The page display parameter comprises at least one of color, font size, control position, control shape and control size.
In a possible implementation manner, the style parameter includes the page display parameter.
For example, in an exemplary scheme of the embodiment of the present application, the style parameter directly includes the page display parameter.
In a possible implementation manner, the page display parameter may be preset in the style parameter by a developer.
In another possible implementation manner, the style parameter includes a parameter identifier corresponding to the page display parameter.
For example, in an exemplary scheme of the embodiment of the present application, each page display parameter and a corresponding relationship between parameter identifiers in each page display parameter are stored in advance in the computer device, and after the computer device obtains a style parameter, the computer device may extract a parameter identifier included in the style parameter, and query the corresponding relationship between each page display parameter and each parameter identifier through the parameter identifier, so as to determine a page display parameter corresponding to a target service.
And 304, displaying the specified page according to the page display parameter.
In the embodiment of the application, after the computer device obtains the page display parameter, a specified page corresponding to the specified type service of the target service can be generated according to information such as color, font size, control position, control shape, control size and the like in the page display parameter, so that the generated specified page is consistent with the page style of the specified page.
In a possible implementation manner, the presenting the specified page according to the page presentation parameter includes:
according to the page display parameters, page processing is carried out on the basic page template to generate the specified page;
and displaying the generated specified page.
In the embodiment of the application, the same basic page template can be preset for each supported application service in the target application, and when the computer device detects that the user opens the specified type service in the target service, the page of the specified type service consistent with the user interface style of the target service can be generated according to the basic page template and the page display parameters corresponding to the target service.
In summary, in the solution shown in the embodiment of the present application, for a specified type of service that is common to each application service in an application program, when an instruction to display a page of the specified type of service is received, a style parameter of a corresponding service may be obtained, and then a corresponding page is generated according to the style parameter and displayed.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 4 is a block diagram illustrating a structure of an interface presentation apparatus according to an exemplary embodiment of the present application. The interface showing device can be used in the application environment shown in fig. 1 to execute all or part of the steps executed by the computer device in the method shown in the corresponding embodiment of fig. 2 or fig. 3. The interface display device can comprise the following modules:
an instruction receiving module 401, configured to receive an operation instruction for displaying a specified page in a target application, where the target application provides at least two application services, and the specified page is a page that provides a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services;
a style parameter obtaining module 402, configured to obtain a style parameter corresponding to the target service, where the style parameter is used to indicate a display style of a user interface of the target service;
a page display module 403, configured to display the specified page according to the style parameter.
In a possible implementation manner, the page display module 403 includes:
the display parameter acquisition unit is used for acquiring the page display parameters of the specified page according to the style parameters, and the page display parameters comprise at least one of color, font size, control position, control shape and control size;
and the page display unit is used for displaying the specified page according to the page display parameters.
In a possible implementation manner, the style parameter includes the page display parameter;
or the style parameter comprises a parameter identifier corresponding to the page display parameter.
In one possible implementation manner, the page display unit is used for,
performing page processing on a basic page template according to the page display parameters to generate the specified page;
and displaying the generated specified page.
In a possible implementation manner, the style parameter obtaining module 402 includes:
an identifier obtaining unit, configured to obtain a service identifier of the target service;
and the parameter query unit is used for querying the style parameters corresponding to the target service according to the service identification.
In a possible implementation manner, the parameter querying unit is configured to,
inquiring a corresponding relation between the service identifier and a pre-stored style parameter according to the service identifier to obtain the pre-stored style parameter and a version number of the pre-stored style parameter, wherein the version number is used for indicating a service version of the target service corresponding to the pre-stored style parameter;
and when the service version indicated by the version number is the latest service version of the target service, taking the pre-stored style parameter as the style parameter corresponding to the target service.
In a possible implementation manner, the style parameter obtaining module 402 further includes:
the image acquisition unit is used for acquiring a user interface image of the target service when the service version indicated by the version number is not the latest service version of the target service;
the style recognition unit is used for carrying out image style recognition on the user interface image of the target service to obtain a style representation vector of the user interface of the target service;
the matching unit is used for matching the style representation vector of the user interface of the target service with the style representation vectors of the style parameters;
and the parameter determining unit is used for determining the style parameters corresponding to the target service from the style parameters according to the matching result.
In summary, in the solution shown in the embodiment of the present application, for a specified type of service that is common to each application service in an application program, when an instruction to display a page of the specified type of service is received, a style parameter of a corresponding service may be obtained, and then a corresponding page is generated according to the style parameter and displayed.
It should be noted that: in the image selecting apparatus provided in the above embodiment, when the above steps are executed, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the method embodiments of the voice service providing device box terminal and the voice service providing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 5 shows a block diagram of a computer device 500 provided in an exemplary embodiment of the present application. The computer device 500 may be: 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. Computer device 500 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
Generally, the computer device 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 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 501 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 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 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 502 is used to store at least one instruction for execution by processor 501 to implement the methods provided by the method embodiments herein.
In some embodiments, the computer device 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera 506, audio circuitry 507, positioning components 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 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 circuitry 504 may communicate with other computer devices 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 rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 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 screen 505 may be one, providing the front panel of the computer device 500; in other embodiments, the display screens 505 may be at least two, each disposed on a different surface of the computer device 500 or in a folded design; in still other embodiments, the display screen 505 may be a flexible display screen, disposed on a curved surface or on a folded surface of the computer device 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of a computer apparatus, and a rear camera is disposed on a rear surface of the computer apparatus. 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 506 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.
Audio circuitry 507 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 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and located at different locations on the computer device 500. 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 501 or the radio frequency circuit 504 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, audio circuitry 507 may also include a headphone jack.
The Location component 508 is used to locate the current geographic Location of the computer device 500 for navigation or LBS (Location Based Service). The Positioning component 508 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 europe.
The power supply 509 is used to power the various components in the computer device 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 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, the computer device 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the computer apparatus 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the touch screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the computer device 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the computer device 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: 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.
The pressure sensors 513 may be disposed on a side bezel of the computer device 500 and/or underneath the touch display screen 505. When the pressure sensor 513 is disposed on the side frame of the computer device 500, the holding signal of the user to the computer device 500 can be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. 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 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be disposed on the front, back, or side of the computer device 500. When a physical key or vendor Logo is provided on the computer device 500, the fingerprint sensor 514 may be integrated with the physical key or vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also known as a distance sensor, is typically disposed on the front panel of the computer device 500. The proximity sensor 516 is used to capture the distance between the user and the front of the computer device 500. In one embodiment, the touch display screen 505 is controlled by the processor 501 to switch from the bright screen state to the dark screen state when the proximity sensor 516 detects that the distance between the user and the front face of the computer device 500 is gradually decreased; when the proximity sensor 516 detects that the distance between the user and the front of the computer device 500 becomes gradually larger, the touch display screen 505 is controlled by the processor 501 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 5 does not constitute a limitation of the computer device 500, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
Fig. 6 shows a block diagram of a computer device 600 according to an exemplary embodiment of the present application. The computer device may be implemented as a server in the above-mentioned aspects of the present application. The computer apparatus 600 includes a Central Processing Unit (CPU) 601, a system Memory 604 including a Random Access Memory (RAM) 602 and a Read-Only Memory (ROM) 603, and a system bus 605 connecting the system Memory 604 and the CPU 601. The computer device 600 also includes a mass storage device 606 for storing an operating system 609, application programs 610, and other program modules 611.
The mass storage device 606 is connected to the central processing unit 601 through a mass storage controller (not shown) connected to the system bus 605. The mass storage device 606 and its associated computer-readable media provide non-volatile storage for the computer device 600. That is, the mass storage device 606 may include a computer-readable medium (not shown) such as a hard disk or Compact Disc-Only Memory (CD-ROM) drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, and may also include CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 604 and mass storage device 606 described above may be collectively referred to as memory.
The computer device 600 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the present disclosure. That is, the computer device 600 may be connected to the network 608 through the network interface unit 607 coupled to the system bus 605, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 607.
The memory further comprises at least one instruction, at least one program, code set or instruction set, which is stored in the memory, and the central processing unit 601 implements all or part of the steps of the methods shown in the above embodiments by executing the at least one instruction, at least one program, code set or instruction set.
In an exemplary embodiment, a computer readable storage medium is also provided, in which at least one instruction, at least one program, code set, or instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor (also referred to as a central processing unit) of a computer device to complete all or part of the steps of the method shown in the various embodiments of the present application. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product or a computer program is also provided, which comprises computer instructions, which are stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform all or part of the steps of the method shown in the above embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. An interface display method, comprising:
receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services;
obtaining style parameters corresponding to the target business, wherein the style parameters are used for indicating the display style of a user interface of the target business;
and displaying the specified page according to the style parameters.
2. The method of claim 1, wherein said presenting said designated page according to said style parameters comprises:
acquiring page display parameters of the specified page according to the style parameters, wherein the page display parameters comprise at least one of color, font size, control position, control shape and control size;
and displaying the specified page according to the page display parameters.
3. The method of claim 2,
the style parameters comprise the page display parameters;
alternatively, the first and second electrodes may be,
the style parameters comprise parameter identifications corresponding to the page display parameters.
4. The method of claim 2, wherein said presenting the specified page according to the page presentation parameter comprises:
performing page processing on a basic page template according to the page display parameters to generate the specified page;
and displaying the generated specified page.
5. The method according to any one of claims 1 to 4, wherein the obtaining of the style parameter corresponding to the target service includes:
acquiring a service identifier of the target service;
and inquiring style parameters corresponding to the target service according to the service identification.
6. The method according to claim 5, wherein said querying the style parameter corresponding to the target service according to the service identifier comprises:
inquiring a corresponding relation between the service identifier and a pre-stored style parameter according to the service identifier to obtain the pre-stored style parameter and a version number of the pre-stored style parameter, wherein the version number is used for indicating a service version of the target service corresponding to the pre-stored style parameter;
and when the service version indicated by the version number is the latest service version of the target service, taking the pre-stored style parameter as the style parameter corresponding to the target service.
7. The method of claim 6, further comprising:
when the service version indicated by the version number is not the latest service version of the target service, acquiring a user interface image of the target service;
carrying out image style identification on the user interface image of the target service to obtain a style representation vector of the user interface of the target service;
matching the style representation vector of the user interface of the target service with the style representation vectors of all the style parameters;
and determining style parameters corresponding to the target service from the style parameters according to the matching result.
8. An interface display apparatus, the apparatus comprising:
the instruction receiving module is used for receiving an operation instruction for displaying a specified page in a target application, wherein the target application provides at least two application services, and the specified page is a page for providing a specified type of service corresponding to the target service; the target service is any one of the at least two application services; the specified type of service is a service common to the at least two application services;
the style parameter acquisition module is used for acquiring a style parameter corresponding to the target service, and the style parameter is used for indicating the display style of a user interface of the target service;
and the page display module is used for displaying the specified page according to the style parameters.
9. A computer device comprising a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the interface presentation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the interface presentation method according to any one of claims 1 to 7.
CN202111106262.2A 2021-09-22 2021-09-22 Interface display method and device, computer equipment and storage medium Pending CN113918252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111106262.2A CN113918252A (en) 2021-09-22 2021-09-22 Interface display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111106262.2A CN113918252A (en) 2021-09-22 2021-09-22 Interface display method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113918252A true CN113918252A (en) 2022-01-11

Family

ID=79235507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111106262.2A Pending CN113918252A (en) 2021-09-22 2021-09-22 Interface display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113918252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911478A (en) * 2022-04-29 2022-08-16 北京达佳互联信息技术有限公司 Page creating method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352682A (en) * 2018-12-24 2020-06-30 北京嘀嘀无限科技发展有限公司 Page rendering method, device, server and readable storage medium
CN112069422A (en) * 2020-08-11 2020-12-11 长沙市到家悠享网络科技有限公司 Information display method, server, terminal and medium
CN112115394A (en) * 2020-08-28 2020-12-22 长沙市到家悠享网络科技有限公司 Data display method, server, terminal and medium
CN113076102A (en) * 2021-04-16 2021-07-06 酷得少年(天津)文化传播有限公司 Page display method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352682A (en) * 2018-12-24 2020-06-30 北京嘀嘀无限科技发展有限公司 Page rendering method, device, server and readable storage medium
CN112069422A (en) * 2020-08-11 2020-12-11 长沙市到家悠享网络科技有限公司 Information display method, server, terminal and medium
CN112115394A (en) * 2020-08-28 2020-12-22 长沙市到家悠享网络科技有限公司 Data display method, server, terminal and medium
CN113076102A (en) * 2021-04-16 2021-07-06 酷得少年(天津)文化传播有限公司 Page display method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911478A (en) * 2022-04-29 2022-08-16 北京达佳互联信息技术有限公司 Page creating method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108415705B (en) Webpage generation method and device, storage medium and equipment
CN110841285B (en) Interface element display method and device, computer equipment and storage medium
CN109815150B (en) Application testing method and device, electronic equipment and storage medium
CN108959361B (en) Form management method and device
CN110134744B (en) Method, device and system for updating geomagnetic information
CN112578971B (en) Page content display method and device, computer equipment and storage medium
WO2022048398A1 (en) Multimedia data photographing method and terminal
CN110570460A (en) Target tracking method and device, computer equipment and computer readable storage medium
CN110543350A (en) Method and device for generating page component
CN110677713B (en) Video image processing method and device and storage medium
CN111437600A (en) Plot showing method, plot showing device, plot showing equipment and storage medium
CN111192072A (en) User grouping method and device and storage medium
CN111753606A (en) Intelligent model upgrading method and device
CN113469779A (en) Information display method and device
CN113051015A (en) Page rendering method and device, electronic equipment and storage medium
CN113918252A (en) Interface display method and device, computer equipment and storage medium
CN111580892B (en) Method, device, terminal and storage medium for calling service components
CN111881423A (en) Method, device and system for limiting function use authorization
CN111563201A (en) Content pushing method, device, server and storage medium
CN110569064A (en) interface identifier generation method, device, equipment and storage medium
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN111294320B (en) Data conversion method and device
CN109388732B (en) Music map generating and displaying method, device and storage medium
CN112783533A (en) Version information updating method, version information updating device, terminal and storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium

Legal Events

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