CN116112332A - Page display method, device and system, electronic equipment and storage medium - Google Patents

Page display method, device and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN116112332A
CN116112332A CN202310085126.2A CN202310085126A CN116112332A CN 116112332 A CN116112332 A CN 116112332A CN 202310085126 A CN202310085126 A CN 202310085126A CN 116112332 A CN116112332 A CN 116112332A
Authority
CN
China
Prior art keywords
target
relation
display
account
client
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
CN202310085126.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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202310085126.2A priority Critical patent/CN116112332A/en
Publication of CN116112332A publication Critical patent/CN116112332A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
    • H04L41/0286Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP] for search or classification or discovery of web services providing management functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The disclosure relates to a page display method, a page display device, a page display system, an electronic device and a storage medium. The page display method comprises the following steps: responding to a display request of a target interface, and acquiring target relation characteristics between a local account and a target account corresponding to the target interface; searching a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of the target service and is sent to a client; and rendering the page based on the target display parameters and displaying a target interface. By adopting the method and the device, the effect of displaying different target pages on the target accounts with different relation characteristics with the local account on the client can be achieved.

Description

Page display method, device and system, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a page display method, device, system, electronic equipment and storage medium.
Background
With the rapid development of mobile communication technology and the wide popularization of intelligent electronic devices, instant chat has become an indispensable part of people in work and life, instant messaging refers to instant transmission and communication of information such as characters, pictures, audio and video, links and the like, and the affinity level between different users performing instant messaging is also different.
In the related art, the display interface of the instant chat interface displayed on the client is the same as that of the instant chat interface of the different users, and the display effectiveness is low.
Disclosure of Invention
The disclosure provides a page display method, a device, a system, an electronic device and a storage medium, so as to at least solve the problem of low effectiveness of interface display in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, a page display method is provided, which is applied to a client, and includes.
Responding to a display request of a target interface, and acquiring target relation characteristics between a local account and a target account corresponding to the target interface;
searching a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of a target service and is sent to the client;
and rendering a page based on the target display parameters and displaying the target interface.
In one embodiment, the obtaining, in response to a display request of a target interface, a target relationship feature between a local account and a target account corresponding to the target interface includes:
Responding to a display request of a target interface, and sending a relation feature acquisition request to the server, wherein the relation feature acquisition request is used for enabling the server to acquire the current relation features of the local account and the target account and feeding back the current relation features;
and receiving the current relation feature and taking the current relation feature as a target relation feature.
In one embodiment, the obtaining, in response to a display request of a target interface, a target relationship feature between a local account and a target account corresponding to the target interface includes:
responding to a display request of a target interface, and inquiring whether a relationship characteristic between a local account and a target account corresponding to the target interface is stored in a local cache;
and if the relationship features between the local account and the target account corresponding to the target interface are stored in the local cache, the relationship features in the local cache are used as target relationship features.
In one embodiment, after the step of searching the target display parameter corresponding to the target relationship feature in the target mapping relationship table, the method further includes:
sending a relation characteristic acquisition request to the server, wherein the relation characteristic acquisition request is used for enabling the server to feed back the current relation characteristics of the local account and the target account;
And under the condition that the target relation characteristic is inconsistent with the current relation characteristic, searching a current display parameter corresponding to the current relation characteristic in the target mapping relation table, and re-rendering the page based on the current display parameter.
In one embodiment, the method further comprises:
and updating the relation characteristic between the local account and the target account in the local cache to the current relation characteristic.
In one embodiment, the display parameter includes access information for the image data;
the method further comprises the steps of:
and acquiring the image data based on the access information of the image data, and storing the image data into a local cache.
In one embodiment, the target relationship feature comprises a target relationship type and a target relationship type level;
the searching the target display parameters corresponding to the target relation features in the target mapping relation table comprises the following steps:
and searching a plurality of groups of display parameters corresponding to the target relation type in the target mapping relation table, and searching target display parameters corresponding to the target relation type grade in the plurality of groups of display parameters.
In one embodiment, the method further comprises:
responding to access operation aiming at a target service, sending a mapping relation table acquisition request to a server, wherein the mapping relation table acquisition request is used for enabling the server to feed back a target mapping relation table corresponding to the target service;
and receiving a target mapping relation table corresponding to the target service fed back by the server.
According to a second aspect of the embodiments of the present disclosure, there is provided a page display method, applied to a server, including.
Receiving a mapping relation table acquisition request; the mapping relation table acquisition request is generated by the client in response to the access operation for the target service;
determining the service type of the target service according to the mapping relation table acquisition request, and acquiring a target mapping relation table corresponding to the service type;
the target mapping relation table is sent to the client, the target mapping relation table comprises relation characteristics and display parameters corresponding to the relation characteristics, and the target mapping relation table is used for enabling the client to determine target display parameters corresponding to the target relation characteristics in the target mapping relation table under the condition that the target relation characteristics between a local account and a target account corresponding to the target interface are obtained, and page rendering is conducted based on the target display parameters and the target interface is displayed.
In one embodiment, before the receiving the mapping table obtaining request, the method further includes:
determining a service type of a target service, and acquiring a plurality of relation features corresponding to the target service and display parameters corresponding to the relation features respectively according to the service type;
and generating a target mapping relation table corresponding to the target service according to the plurality of relation features and the display parameters respectively corresponding to the relation features, wherein the relation features comprise relation types and relation type grades.
In one embodiment, the method further comprises:
responding to a relation characteristic acquisition request sent by the client, and acquiring current relation data between the local account and the target account;
and calculating the current relation characteristic between the local account and the target account according to the current relation data and a preset relation characteristic identification strategy, and sending the current relation characteristic to the client.
According to a third aspect of embodiments of the present disclosure, there is provided a page display device, applied to a client, including.
The first sending unit is configured to respond to the display request of the target interface and acquire the target relation characteristic between the local account and the target account corresponding to the target interface;
The acquisition unit is configured to perform searching for a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of a target service and is sent to the client;
and the display unit is configured to perform page rendering based on the target display parameters and display the target interface. According to a fourth aspect of embodiments of the present disclosure, there is provided a page display device, applied to a server, including.
A receiving unit configured to execute a reception map table acquisition request; the mapping relation table acquisition request is generated by the client in response to the access operation for the target service;
a determining unit configured to perform determining a service type of the target service according to the mapping relation table obtaining request, and obtaining a target mapping relation table corresponding to the service type;
the second sending unit is configured to send the target mapping relation table to the client, wherein the target mapping relation table comprises relation features and display parameters corresponding to the relation features, and the target mapping relation table is used for enabling the client to determine target display parameters corresponding to the target relation features in the target mapping relation table under the condition that the target mapping relation table obtains the target relation features between a local account and a target account corresponding to the target interface, and render pages and display the target interface based on the target display parameters.
According to a fifth aspect of embodiments of the present disclosure, there is provided a display system including a client and a server, wherein:
the client is used for responding to the access operation aiming at the target service and sending a mapping relation table acquisition request to the server;
the server is used for receiving the mapping relation table acquisition request; determining the service type of the target service according to the mapping relation table acquisition request, and acquiring a target mapping relation table corresponding to the service type; sending the target mapping relation table to the client;
the client is also used for responding to a display request of a target interface, acquiring target relation characteristics between a local account and a target account corresponding to the target interface, and searching target display parameters corresponding to the target relation characteristics in the target mapping relation table; and rendering a page based on the target display parameters and displaying the target interface.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page display method according to any one of the first aspect and the page display method according to any one of the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the page display method as set forth in any one of the first aspects and the page display method as set forth in any one of the second aspects.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer program product, the instructions, when executed by a processor of an electronic device, enabling the electronic device to perform the page display method according to any one of the first aspect and the page display method according to any one of the second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
responding to a display request of a target interface, and acquiring target relation characteristics between a local account and a target account corresponding to the target interface; searching a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of the target service and is sent to a client; and rendering the page based on the target display parameters and displaying a target interface. By adopting the method and the device, under the condition that the target relation characteristics between the local account and the target account corresponding to the target interface are determined, the corresponding target interface is displayed based on the display parameters corresponding to the target relation characteristics, so that the effect of displaying different target pages on the target account of different relation characteristics of the local account on the client side is achieved, namely, the display configuration capability of the target interface related to the relation characteristics is provided for the client side, the operability of interaction between the local account and each target account is improved, the perception of users corresponding to the client side on different relation characteristics is enhanced, the enthusiasm of interaction between multiple accounts is further improved, and the effectiveness of target interface display is also improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application environment diagram illustrating a page display method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of displaying a page according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a page display method according to an exemplary embodiment.
Fig. 9 is a timing diagram illustrating a page display method according to an exemplary embodiment.
Fig. 10 is a block diagram of a page display device according to an exemplary embodiment.
FIG. 11A is a schematic diagram of a chat interface showing a cp relationship in a page display method, according to an exemplary embodiment;
FIG. 11B is a schematic diagram of a chat interface showing a classmate relationship in a page display method, according to an example embodiment;
FIG. 11C is a schematic diagram of a chat interface showing the absence of relational features in a method of displaying pages, according to an example embodiment;
FIG. 11D is a schematic diagram of a chat interface in a method of displaying pages with color gradation according to an exemplary embodiment;
fig. 12 is a block diagram of a page display device according to an exemplary embodiment.
Fig. 13 is a block diagram of a page display device according to an exemplary embodiment.
Fig. 14 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be further noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The page display method provided by the disclosure can be applied to an application environment as shown in fig. 1. Wherein the client 110 may interact with the server 120 through a network. The terminal 110 may be, but not limited to, various electronic devices, the server 120 may also be a server cluster, etc.
Fig. 2 is a flowchart illustrating a page display method according to an exemplary embodiment, which is used in a client as shown in fig. 2, and includes the following steps.
In step S210, in response to a display request of a target interface, a target relationship feature between a local account and a target account corresponding to the target interface is obtained.
The target page may be a display interface corresponding to the target service, for example, may be a chat interface corresponding to the instant messaging service, or may be a shopping page corresponding to the electric service, and may also be a short video interface corresponding to the short video service; the local account is an account corresponding to the client, for example, may be an account after the user logs in through the target program of the client; the target account corresponding to the target interface may be an account having an association relationship with the local account on the target program, for example, in the case that the target interface is a chat interface, the target account corresponding to the target interface is an account that performs instant messaging with the local account; the relationship features are used for guaranteeing the intimacy degree of the association relationship between the local account and other accounts, namely the intimacy feature; the target relationship feature between the local account and the target account may be a degree of tightness characterizing an association relationship between the local account and the target account, and the target relationship feature may include a type of the association relationship and a type level of the association relationship. For example, the relationship characteristic between the local account and the target account may be a classmate type, and the relationship characteristic between the local account and the target account may also be a first level of the classmate type. The relationship characteristics between the local account and the other accounts may be determined from relationship data of interactions of the local account with the other accounts.
In implementation, the target program on the client may be a display control on which the target interface is displayed, and the user may trigger the display control on the target interface based on the requirement of the actual application scenario, that is, generate the display request of the target interface. In this way, the client can respond to the display request of the target interface to acquire the target relationship characteristic between the local account corresponding to the client and the target account corresponding to the target interface.
In step S220, a target display parameter corresponding to the target relationship feature is searched in a target mapping relationship table.
The target mapping relation table comprises relation characteristics and display parameters corresponding to the relation characteristics, and the target mapping relation table is determined by a server according to the service type of target service and is sent to the client.
In implementation, the client may search in the obtained target mapping relationship table to obtain the target display parameter corresponding to the target relationship feature.
Optionally, the target display parameter is a display parameter corresponding to the target interface, for example, may be a display theme parameter of the target interface, and the display theme parameter may include a display color parameter, a display shape parameter, and the like of the target interface.
In step S230, page rendering is performed based on the target display parameters and the target interface is displayed.
In implementation, after the client obtains the target display parameters corresponding to the target relationship features, the client may perform a page rendering operation based on the target display parameters, that is, configure each parameter of the target interface as the target display parameter, and display the target display parameter on the client, that is, display the target interface on the client.
In the page display method, a target relation characteristic between a local account and a target account corresponding to a target interface is obtained in response to a display request of the target interface; searching a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of a target service and is sent to the client; and rendering a page based on the target display parameters and displaying the target interface. By adopting the method and the device, under the condition that the target relation characteristics between the local account and the target account corresponding to the target interface are determined, the corresponding target interface is displayed based on the display parameters corresponding to the target relation characteristics, so that the effect of displaying different target pages on the target account of different relation characteristics of the local account on the client side is achieved, namely, the display configuration capability of the target interface related to the relation characteristics is provided for the client side, the operability of interaction between the local account and each target account is improved, the perception of users on different relation characteristics is enhanced, the enthusiasm of interaction between multiple accounts is further improved, and the display effectiveness of the target interface is also improved.
In an exemplary embodiment, as shown in fig. 3, in step S220, in response to a display request of a target interface, obtaining a target relationship feature between a local account and a target account corresponding to the target interface may be specifically implemented by:
in step S221, a relationship feature acquisition request is transmitted to the server in response to the display request of the target interface.
The relation feature acquisition request is used for enabling the server to acquire the current relation features of the local account and the target account and feeding back the current relation features, namely the relation feature acquisition request is used for enabling the server to send the current relation features to the client. Because the association relationship between the local account and the target account is continuously changed along with the relationship data between the local account and the target account, correspondingly, the relationship characteristic between the local account and the target account is also continuously changed along with the change of the association relationship between the local account and the target account, namely, the current relationship characteristic is the real-time relationship characteristic between the local account and the target account at the current moment. The relationship data may be data corresponding to the interaction operation between the local account and the target account, for example, may be frequency and number of instant messaging, may also be praise operation, and the like.
In an implementation, the client may generate a relationship feature acquisition request in response to a user-triggered display request of the target interface, and send the relationship feature acquisition request to the server. And the server responds to the relation characteristic acquisition request and acquires the relation characteristic of the target account corresponding to the target interface and the local account on the client at the current moment, namely the current relation characteristic. In this way, the server may feed back the obtained current relationship features to the client.
In step S222, the current relationship feature is received, and the current relationship feature is taken as the target relationship feature.
In an implementation, after receiving the current relationship feature between the local account and the target account sent by the server, the client may take the received current relationship feature as the target relationship feature.
Based on the scheme, the real-time relation characteristic of the local account and the target value account at the current moment can be timely obtained, the consistency of page display of multiple clients is realized, and the accuracy of displaying the target interface on the client corresponding to the local account is ensured.
In an exemplary embodiment, as shown in fig. 4, in step S220, in response to a display request of a target interface, obtaining a target relationship feature between a local account and a target account corresponding to the target interface may be specifically implemented by:
In step 410, in response to the display request of the target interface, whether the relationship feature between the local account and the target account corresponding to the target interface is stored in the local cache is queried.
The local cache can be a local storage space of the client, and data in the local cache is stored in the local storage space of the client; the local storage space of the client can be pre-stored with the relationship characteristics between the local account and each target account.
In implementation, the client responds to the display request of the target interface triggered by the user, and can query in the local storage space, specifically, whether the local storage space of the client stores the relationship features between the local account and each target account or not is queried.
In step 420, if the relationship feature between the local account and the target account corresponding to the target interface is stored in the local cache, the relationship feature in the local cache is used as the target relationship feature.
In implementation, if the relationship feature between the local account and the target account corresponding to the target interface, which is acquired by the client in the local cache, the client may use the relationship feature between the local account and the target account corresponding to the target interface, which is acquired in the local cache, as the target relationship feature.
Optionally, if the local storage space of the client does not store the relationship feature between the local account and each target account, the client may acquire default display parameters, perform page rendering based on the default display parameters, and display the target interface.
Based on the scheme, the client can directly acquire the relationship characteristics between the local account and each account in the local cache, delay caused by request data is reduced, response speed of the client to a display request of a target interface triggered by a user is improved, smoothness of page display is enhanced, and user experience is improved.
In an exemplary embodiment, after searching the target display parameters corresponding to the target relationship features in the target mapping relationship table in step S220, as shown in fig. 5, the page display method further includes:
in step 510, a relationship feature acquisition request is sent to a server.
The relation characteristic acquisition request is used for enabling the server to feed back the current relation characteristic acquisition request of the local account and the target account.
In implementation, the client responds to the display request of the target interface, and if the relationship feature between the local account and the target account is queried in the local cache, the relationship feature stored in the local cache is taken as the target relationship feature. In this way, after the client side can query the target display parameters corresponding to the target relationship features in the target mapping relationship table, the client side can perform page rendering based on the target display parameters, and meanwhile, the client side can generate a relationship feature acquisition request and send the relationship feature acquisition request to the server. After receiving the request for obtaining the relationship feature, the server can obtain real-time relationship data between the local account and the target account, and determine the relationship feature between the local account and the target account based on the real-time relationship data as the current relationship feature. In this way, the server may feed back the current relationship characteristics to the client.
The real-time relationship data may be data corresponding to the interaction between the local account and the target account at the current moment, for example, may be the number of interactions, the frequency of interactions, and the like.
In step 520, in the case that the target relationship feature is inconsistent with the current relationship feature, the current display parameter corresponding to the current relationship feature is searched in the target mapping relationship table, and page rendering is performed again based on the current display parameter.
In implementation, after receiving the current relationship feature, the client may compare the current relationship feature with the target relationship feature to obtain a comparison result. If the comparison result shows that the target relation feature is inconsistent with the current relation feature, searching a current display parameter corresponding to the current relation feature in a target mapping relation table, and re-rendering the page based on the current display parameter, and displaying a target interface.
Optionally, if the comparison result indicates that the target relationship feature is inconsistent with the current relationship feature, if the client determines that the target interface for page rendering based on the target display parameter is not yet displayed, the client may terminate the step of performing page rendering based on the target display parameter, and re-perform page rendering based on the current display parameter, and display the target interface.
Based on the scheme, the balance between the timeliness of the display of the target interface and the accuracy of the information displayed by the target interface can be ensured.
In an exemplary embodiment, the page display method further includes:
and updating the relationship characteristics between the local account and the target account in the local cache as the current relationship characteristics.
In implementation, the client performs an update operation on the relationship feature between the local account and the target account stored in the local cache based on the received current relationship feature, that is, updates the relationship feature in the local cache to the current relationship feature. In one example, the cached relationship characteristic is A1, the current relationship characteristic is A2, and the client may update the cached relationship characteristic from A1 to A2.
Based on the scheme, the accuracy of the cache information in the local cache can be ensured.
In an exemplary embodiment, the display parameter includes access information of the image data; the access information of the image data can be used for representing target address information stored with the image data, the image data of a target image can be obtained by accessing the access information of the image data, and the target image can be a background image of a target interface, an image of any position on the target interface, and the like.
Based on the types of display parameters described above, the page display method further includes:
and acquiring the image data based on the access information of the image data, and storing the image data in a local cache.
In an implementation, the client may perform a preloading operation of the image data if it is determined that the display parameters contain access information for the image data. A specific preloading procedure may include: the client may perform access operation in advance based on the access information of the image data, obtain the image data corresponding to the target image stored in the access address information, and store the image data corresponding to the target image in a local cache corresponding to the client after obtaining the image data corresponding to the target image, that is, store the image data corresponding to the target image in a local storage space of the client.
Based on the scheme, the image data information can be acquired in advance, the waiting time for loading the target page is reduced, and the use experience of a user is improved.
In an exemplary embodiment, the page display method further includes: the target relationship feature includes a target relationship type and a target relationship type level.
The step of searching the target display parameters corresponding to the target relation features in the target mapping relation table can be realized by the following steps:
And searching a plurality of groups of display parameters corresponding to the target relation type in the target mapping relation table, and searching target display parameters corresponding to the target relation type grade in the plurality of groups of display parameters.
In implementation, the target mapping relationship table may include multiple sets of display parameters corresponding to multiple relationship types. In this way, the client may determine the target display parameter corresponding to the target relationship type level from the multiple sets of display parameters based on the multiple sets of display parameters corresponding to the target relationship type in the target relationship feature.
Based on the scheme, various types and various levels of association relations between the local account and the target account can be comprehensively described, and the display diversity of the target interface is increased.
In an exemplary embodiment, the page display method further includes:
and responding to the access operation aiming at the target service, sending a mapping relation table acquisition request to a server, and receiving a target mapping relation table corresponding to the target service fed back by the server.
The mapping relation table obtaining request is used for enabling the server to feed back a target mapping relation table corresponding to the target service. The target mapping relation table comprises relation characteristics and display parameters corresponding to the relation characteristics, and the target mapping relation table is determined by the server according to the service type of the target service.
In implementations, the client may be an electronic device that installs a target program corresponding to a target service, which may be a chat service, an electronic service, or the like. Correspondingly, the target program can be configured with an instant messaging function, a shopping function and the like. The user can perform access operation for the target service through the client, and the access operation can be trigger operation performed by the user on the target program corresponding to the target service installed on the client. The triggering operation may be used to initiate the target program. In this way, the client may generate a mapping table acquisition request in response to the start operation of the target program triggered by the user, and send the mapping table acquisition request to the server. Based on the above, the server may determine a mapping relationship table corresponding to the service type of the target service, that is, a target mapping relationship table, in response to the received mapping relationship table acquisition request, and feed back the target mapping relationship table to the client.
Optionally, a display control of a plurality of programs may be displayed on an electronic screen of the client, and the client may determine that the user has initiated an access operation for the target service in response to a triggering operation of the user on a display space of the target program corresponding to the target service. In this way, the client can generate a mapping table acquisition request. Specifically, the trigger operation may be a trigger operation that satisfies a cooling start condition, for example, in a case where the client determines that the trigger operation is a cooling start operation, it may be determined that the user has initiated an access operation for the target service.
Based on the scheme, the target mapping relation table adapted to the target service can be rapidly and accurately acquired.
Fig. 6 is a flowchart illustrating a page display method, as shown in fig. 6, for use in a server, according to an exemplary embodiment, including the following steps.
In step 610, a mapping table acquisition request is received.
Wherein the mapping table acquisition request is generated by the client in response to an access operation for the target service.
In implementation, the client may generate a mapping table acquisition request in response to an access operation for a target service performed by a user through the client, and send the mapping table acquisition request to the server. The server may receive the mapping table acquisition request.
Alternatively, the specific mapping table obtaining request may be generated by: the client determines the first identification information of the service type of the target service and the second identification information of the client, and generates a mapping relation table acquisition request carrying the first identification information and the second identification information.
In step 620, the service type of the target service is determined according to the mapping relation table obtaining request, and the target mapping relation table corresponding to the service type is obtained.
In an implementation, when the server receives the mapping relation table acquisition request, the server may parse the mapping relation table acquisition request to obtain first identification information of the target service carried by the mapping relation table acquisition request. In this way, the server may determine, based on the first identification information and the preset correspondence between the identification information and the service type, the target service type corresponding to the first identification information, that is, the server may determine that the mapping relationship table acquisition request is a mapping relationship table of the target service type corresponding to the target service. In this way, the server may extract the target mapping relationship table corresponding to the target service type from the multiple mapping relationship tables corresponding to the multiple service types.
In step 630, the target mapping table is sent to the client.
The target mapping relation table comprises relation characteristics and display parameters corresponding to the relation characteristics, and is used for enabling the client to determine target display parameters corresponding to the target relation characteristics in the target mapping relation table under the condition that the target relation characteristics between the local account and the target account corresponding to the target interface are obtained, and rendering pages and displaying the target interface based on the target display parameters.
In an implementation, the server may determine, based on the second identification information of the client carried by the mapping table, a communication address corresponding to the client sending the mapping table obtaining request, so that the server may feed back, to the client, the target mapping table determined in the above method embodiment through the communication address.
Based on the scheme, different target mapping relation tables can be determined according to the service types of the target service, so that the universality of the page display method and the suitability of the page display method with different services are improved. The corresponding mapping relation table is timely fed back to the client, so that the client can display the corresponding target interface under the condition of determining the relation characteristics between the local account and the target account, different interface configuration capacities are provided for the target accounts corresponding to different relation characteristics, and the playability of user interaction is greatly improved.
In an exemplary embodiment, as shown in fig. 7, before determining the target mapping table based on the service type of the target service in response to the mapping table acquisition request in step S610, the page display method further includes:
in step 710, the service type of the target service is determined, and a plurality of relationship features corresponding to the target service and display parameters corresponding to the relationship features are obtained according to the service type.
The target service may include a plurality of service types, for example, a chat type, a short video type, and the like, and may also consider both the chat type and the short video type.
In implementation, the server may determine a service type of the target service, and obtain, based on different service types, a plurality of relationship features corresponding to each service type, and display parameters corresponding to each relationship feature.
The various relationship features corresponding to each service type and the display parameters corresponding to each relationship feature may be preconfigured by a user or may be preconfigured according to a preset display parameter configuration policy.
In step 720, a target mapping relation table corresponding to the target service is generated according to the plurality of relation features and the display parameters corresponding to the relation features.
Wherein the relationship features include a relationship type and a relationship type class.
In implementation, the server may generate the target mapping relationship table corresponding to the target service based on each relationship feature and the display parameters corresponding to each relationship feature.
Optionally, the server may obtain multiple sets of display parameters corresponding to multiple relationship levels included in each relationship type, generate multiple sets of display parameters corresponding to each relationship type, and synthesize multiple sets of display parameters corresponding to multiple relationship types, to generate the target mapping relationship table.
Based on the scheme, a multi-level target mapping relation table can be generated, and the flexibility of a target mapping relation table generation mode is improved.
In an exemplary embodiment, as shown in fig. 8, the page display method further includes:
in step 810, in response to the relationship feature acquisition request sent by the client, current relationship data between the local account corresponding to the client and the target account corresponding to the target interface is acquired.
In implementation, the server may respond to the relationship feature acquisition request to acquire the current relationship data of the local account of the client corresponding to the relationship feature acquisition request and the target account corresponding to the target interface at the current moment.
The relationship data may be data of interaction between the local account and the target account, for example, may include interaction frequency, interaction quantity and the like.
In step 820, the current relationship feature between the local account and the target account is calculated according to the current relationship data and the preset relationship feature identification policy, and the current relationship feature is sent to the client.
The preset relationship feature identification strategy is used for identifying relationship features corresponding to different relationship data.
In implementation, the server may determine a current relationship feature corresponding to the current relationship data based on a pre-configured relationship feature identification policy, and feed back the determined current relationship feature to the client.
Based on the scheme, the relationship characteristics of the local account and the target account at the current moment can be accurately determined, the perception that the user can enhance the association relationship with other accounts for interactive operation is enhanced, and the enthusiasm of communication and interaction among the users is increased.
Hereinafter, the page display method provided by the above embodiment is described in detail with reference to a specific embodiment.
The client may be an electronic device installed with a target application that may be configured with various functions, such as an instant messaging function, a shopping function, and the like. The instant messaging function is illustrated below. The method and the device can determine the display parameters corresponding to the target interfaces based on the relation characteristics between the local accounts corresponding to the clients and the target accounts corresponding to the target interfaces, and display the corresponding chat interfaces on the clients based on the display parameters. That is, the display theme (display parameter) of the chat interface in the present disclosure may be determined based on the relationship feature between the local account and the target account corresponding to the chat interface. In this way, when the relationship characteristics of the local account and the target account are established, the target relationship type is established, and the target relationship level is reached, the chat interface of the corresponding type and the corresponding relationship level can be displayed. That is, the present disclosure may establish a relationship between the local account and the target account, and after the relationship reaches a certain level, determine display topics of different chat interfaces according to different relationship types and different relationship levels, so as to implement different relationship types and levels between different target accounts and the local account, and provide different display topic adaptations, so that the perception of the relationship by the user may be enhanced, and the chat enthusiasm of the user is also improved.
As shown in fig. 9, a detailed implementation procedure of the page display method is as follows:
step 1, the server maps the intimate relation with the subject to be displayed one by one. Specifically, the server acquires a affinity corresponding to the target service, where the affinity includes an affinity type and an affinity type level. In this way, the server can respectively determine the display parameters of each affinity type and the display parameters of each affinity type level, map each affinity type with the corresponding display parameters one by one, and map each affinity type level with the corresponding display parameters one by one to obtain the mapping relation table corresponding to the target service.
And 2, after cold start, requesting the mapping relation between the affinity level and the chat theme information from the server. After the client determines that the target program has been cold started, the client may generate a mapping table acquisition request and send the mapping table acquisition request to the server.
And 3, the client reads the mapping relation table issued by the server and stores the mapping relation table into a local storage space corresponding to the client.
And 4, the client pre-downloads the picture content in the theme information and stores the picture content in the local storage space. Specifically, the client performs a pre-downloading operation, downloads the picture data contained in the mapping relation table in advance, and stores the picture data in a local storage space of the client, that is, a local disk of the client.
And 5, when the user clicks the chat page, firstly using the locally cached chat corresponding affinity class to search the topic information through the mapping table for rendering. Specifically, the client responds to a chat interface display request of a user, acquires a corresponding relation feature of the chat interface in a local cache, and searches a display parameter (theme information) corresponding to the relation feature in a mapping relation table.
And 6, the client sends a request to the server to acquire the latest intimate relationship.
And 7, comparing the affinity level issued by the server with the level of the local cache by the client, and if the affinity level is different from the local cache, re-rendering the page and updating the cache.
The page display method provided by the disclosure can process the mapping relation table of the affinity relation and the chat theme configuration in a single issuing mode, ensures low coupling of the chat service and the affinity relation service, ensures universality of adaptation of the affinity relation service, can be combined with other services at low cost, and serves more service types and demand scenes.
In one embodiment, as shown in fig. 10, a schematic structure diagram of a page display device includes a topic management module (IMChat Theme Manager), a chat correspondence affinity cache module (IMConversation Theme DBRecord), a chat page affinity request module (IMChat Conversation Theme Config Request), and a chat page topic rendering plug-in (IMChat Theme Plugin), where:
And the topic management module is used for processing the close relationship and the configuration mapping relationship of the display topic of the chat interface. And managing the state change of the displayed theme, searching out the mapped theme configuration information through the affinity of the chat, and pre-downloading a chat page background diagram.
And the chat corresponding affinity cache module is used for storing the affinity type corresponding to each chat. So that the chat page can be accessed next time, and the correct theme style can be displayed in a quick response manner.
And the chat page affinity request module is used for requesting the latest affinity when entering a session each time, ensuring that the acquired affinities among different devices are the same, and ensuring the consistency experience of the cross-device.
And the chat page theme rendering plug-in is used for acquiring theme configuration information through the mapping table when the chat page has the intimacy, rendering a view component which needs to respond to theme change, and displaying the intimacy theme effect.
In one embodiment, a user enters a target program and initiates a display request for a target interface.
After the local account and the account 1 can establish a 'CP' intimate relationship and reach a level 3, the chat pages of the local account and the account 1 automatically become pink subjects, and the user can manually close the chat pages. As shown in fig. 11A, a target interface schematic diagram of the CP relationship between the local account and the target account may be shown; the target account may be account 1, the target interface may be a chat interface between the local account and account 1, the relationship characteristic between the local account and account 1 may be CP relationship type, and the relationship type level is level 3, at this time, the display parameter of the target interface may include a display color that is pink, and the chat frame background may be loving. The account 1 may send a request for establishing a target type to the local account, and the chat interface may display a prompt message of the request for establishing the target type, for example, may be: to establish CP relationship and intimate relationship with you, record emotion dropping. A virtual button may be displayed below the prompt, and may include a "consent" virtual button and a "disagree" virtual button. After the local account triggers the virtual button of ' consent ', the chat interface can display the prompt message of ' we become CP la multi chat to promote the intimacy value ', and display the prompt message of ' intimacy level up to 3 level, and the prompt message of ' CP exclusive chat background click setting ' is obtained.
After the local account and the account 2 can establish a 'classmate' intimate relationship and reach the level 3, the chat page of the local account and the account 1 automatically becomes a green theme, and the user can manually close the chat page. As shown in fig. 11B, a target interface schematic diagram of the local account and the target account in a classmate relationship may be shown; the target account may be account 2, the target interface may be a chat interface between the local account and account 2, the relationship characteristic between the local account and account 1 may be a classmate relationship type, and the relationship type level is level 3, at this time, the display parameter of the target interface may include a green display color, and the chat frame background may be a school uniform shape. The account 2 may send a request for establishing a target type to the local account, and the chat interface may display a prompt message of the request for establishing the target type, for example, may be: to establish a classmate relationship, a close relationship and record emotion spots with you.
The local account and the chat page of other friends (account 3) which do not have intimate relation are entered, and a white default chat pattern is displayed. As shown in fig. 11C, the display parameters of the target interface may include a display color of white, and the chat frame background may be a blank pattern.
The chat theme colors corresponding to the different relationship types and the relationship type grades can be gradient colors, for example, the relationship characteristics of the local account and the account 4 can be classmate relationship types, the display colors of the chat interface can comprise a plurality of colors, and the plurality of colors are sequentially displayed according to a preset direction, for example, as shown in fig. 11D, the theme colors of the classmate relationship types can comprise a first color, a second color and a third color, and the first color to the third color can be light to dark, so that the color display can also be from the first color to the third color corresponding to the position corresponding to the first color of the target page.
The display mode provided by the disclosure can provide a theme style which is based on the intimacy and can be customized for the user, and the perception of the intimacy is increased, so that the private message penetration and the message times between the user pairs are improved through the intimacy. The dependence of the user on the software is further improved, and the retention rate is improved. By adopting a mode of separating and issuing the intimate relation from the configuration information, a business party only needs to understand the intimate relation and does not need to understand the theme configuration information. When other services are multiplexed, the service side can continue to use the complete theme adaptation scheme by simply mapping the new parameters and the theme configuration. The flexibility is high, and the universality is strong. Can be combined with other services at low cost to serve more service types and demand scenarios.
It should be understood that, although the steps in the flowcharts of fig. 1 to 11 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 1-11 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
It should be understood that the same/similar parts of the embodiments of the method described above in this specification may be referred to each other, and each embodiment focuses on differences from other embodiments, and references to descriptions of other method embodiments are only needed.
Fig. 12 is a block diagram of a page display device 1200 according to an exemplary embodiment, applied to a client. Referring to fig. 12, the apparatus includes a first transmitting unit 1202, an acquiring unit 1204, and a display unit 1206.
A first sending unit 1202 configured to perform a process of obtaining a target relationship feature between a local account and a target account corresponding to a target interface in response to a display request of the target interface;
an obtaining unit 1204, configured to perform searching for a target display parameter corresponding to the target relationship feature in a target mapping relationship table, where the target mapping relationship table includes a relationship feature and a display parameter corresponding to the relationship feature, and the target mapping relationship table is determined by a server according to a service type of a target service and is sent to the client;
and a display unit 1206 configured to perform page rendering based on the target display parameters and display the target interface.
In one embodiment, the obtaining unit is specifically configured to:
responding to a display request of a target interface, sending a relation feature acquisition request to a server, wherein the relation feature acquisition request is used for enabling the server to acquire current relation features of a local account and a target account and feeding back the current relation features;
and receiving the current relation characteristic and taking the current relation characteristic as a target relation characteristic.
In one embodiment, the obtaining unit is specifically configured to:
responding to a display request of a target interface, and inquiring whether a relationship characteristic between a local account and a target account corresponding to the target interface is stored in a local cache;
And if the relationship features between the local account and the target account corresponding to the target interface are stored in the local cache, the relationship features in the local cache are used as target relationship features.
In one embodiment, the page display device further includes:
a third sending unit configured to perform sending a relationship feature acquisition request to the server, the relationship feature acquisition request being used to cause the server to feed back current relationship features of the local account and the target account;
the searching unit is configured to search the current display parameter corresponding to the current relation feature in the target mapping relation table under the condition that the target relation feature is inconsistent with the current relation feature, and re-conduct page rendering based on the current display parameter.
In one embodiment, the page display device further includes:
and the updating unit is configured to execute the updating of the relationship characteristic between the local account and the target account in the local cache to the current relationship characteristic.
In one embodiment, the page display device further includes:
and an image data acquisition unit configured to perform acquisition of image data based on the access information of the image data and store the image data in the local cache.
In one embodiment, the target relationship feature includes a target relationship type and a target relationship type level;
the acquisition unit is specifically configured to include:
and searching a plurality of groups of display parameters corresponding to the target relation type in the target mapping relation table, and searching target display parameters corresponding to the target relation type grade in the plurality of groups of display parameters.
In one embodiment, the page display device further includes:
a response unit configured to perform an access operation in response to a target service, and send a mapping relation table acquisition request to a server, where the mapping relation table acquisition request is used to enable the server to feed back a target mapping relation table corresponding to the target service;
and the target mapping relation table receiving unit is configured to execute a target mapping relation table corresponding to the target service fed back by the server.
Fig. 13 is a block diagram of a page display device 1300 according to an exemplary embodiment, which is applied to a server. Referring to fig. 13, the apparatus includes a receiving unit 1302, a determining unit 1304, and a second transmitting unit 1306.
A receiving unit 1302 configured to execute a reception map table acquisition request; the mapping relation table acquisition request is generated by the client in response to the access operation for the target service;
A determining unit 1304 configured to perform determining a service type of the target service according to the mapping relation table acquisition request, and acquiring a target mapping relation table corresponding to the service type;
the second sending unit 1306 is configured to send a target mapping relation table to the client, where the target mapping relation table includes a relation feature and a display parameter corresponding to the relation feature, and the target mapping relation table is used to enable the client to determine, in the target mapping relation table, a target display parameter corresponding to the target relation feature when acquiring the target relation feature between the local account and the target account corresponding to the target interface, and render a page and display the target interface based on the target display parameter.
In one embodiment, the page display device 1300 further includes:
the service type determining unit is configured to determine the service type of the target service, and acquire a plurality of relation features corresponding to the target service and display parameters corresponding to the relation features respectively according to the service type;
and the generating unit is configured to execute the generation of a target mapping relation table corresponding to the target service according to the plurality of relation features and the display parameters respectively corresponding to the relation features, wherein the relation features comprise relation types and relation type grades.
In one embodiment, the page display device 1300 further includes:
a request acquisition unit configured to perform acquisition of current relationship data between a local account and a target account in response to a relationship feature acquisition request sent by a client;
the identification unit is configured to execute a preset relationship feature identification strategy according to the current relationship data, calculate the current relationship feature between the local account and the target account, and send the current relationship feature to the client.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a display system including a client 110 and a server 120, wherein:
a client 110, configured to send a mapping relationship table acquisition request to a server in response to an access operation for a target service;
a server 120 for receiving a mapping relation table acquisition request; according to the mapping relation table obtaining request, determining the service type of the target service and obtaining a target mapping relation table corresponding to the service type; sending a target mapping relation table to a client;
The client 110 is further configured to, in response to a display request of the target interface, obtain a target relationship feature between the local account and a target account corresponding to the target interface, and find a target display parameter corresponding to the target relationship feature in a target mapping relationship table; and rendering the page based on the target display parameters and displaying a target interface.
Fig. 14 is a block diagram of an electronic device 1400 for a page display method, according to an example embodiment. For example, electronic device 1400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 14, an electronic device 1400 may include one or more of the following components: processing component 1402, memory 1404, power component 1406, multimedia component 1408, audio component 1410, input/output (I/O) interface 1412, sensor component 1414, and communication component 1416.
The processing component 1402 generally controls overall operation of the electronic device 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1402 can include one or more modules that facilitate interaction between the processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
The memory 1404 is configured to store various types of data to support operations at the electronic device 1400. Examples of such data include instructions for any application or method operating on the electronic device 1400, contact data, phonebook data, messages, pictures, video, and so forth. The memory 1404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component 1406 provides power to the various components of the electronic device 1400. Power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1400.
The multimedia component 1408 includes a screen between the electronic device 1400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 1408 includes a front camera and/or a rear camera. When the electronic device 1400 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1400 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 further comprises a speaker for outputting audio signals.
The I/O interface 1412 provides an interface between the processing component 1402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1414 includes one or more sensors for providing status assessment of various aspects of the electronic device 1400. For example, the sensor assembly 1414 may detect an on/off state of the electronic device 1400, a relative positioning of the components, such as a display and keypad of the electronic device 1400, the sensor assembly 1414 may also detect a change in position of the electronic device 1400 or a component of the electronic device 1400, the presence or absence of a user's contact with the electronic device 1400, an orientation or acceleration/deceleration of the device 1400, and a change in temperature of the electronic device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1416 is configured to facilitate communication between the electronic device 1400 and other devices, either wired or wireless. The electronic device 1400 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory 1404 including instructions executable by the processor 1420 of the electronic device 1400 to perform the above-described method. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising instructions executable by the processor 1420 of the electronic device 1400 to perform the above-described method.
It should be noted that the descriptions of the foregoing apparatus, the electronic device, the computer readable storage medium, the computer program product, and the like according to the method embodiments may further include other implementations, and the specific implementation may refer to the descriptions of the related method embodiments and are not described herein in detail.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. The page display method is characterized by being applied to a client and comprising the following steps of:
responding to a display request of a target interface, and acquiring target relation characteristics between a local account and a target account corresponding to the target interface;
searching a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of a target service and is sent to the client;
and rendering a page based on the target display parameters and displaying the target interface.
2. The method for displaying a page according to claim 1, wherein the obtaining, in response to the display request of the target interface, the target relationship feature between the local account and the target account corresponding to the target interface includes:
responding to a display request of a target interface, and sending a relation feature acquisition request to the server, wherein the relation feature acquisition request is used for enabling the server to acquire the current relation features of the local account and the target account and feeding back the current relation features;
And receiving the current relation feature and taking the current relation feature as a target relation feature.
3. The method for displaying a page according to claim 1, wherein the obtaining, in response to the display request of the target interface, the target relationship feature between the local account and the target account corresponding to the target interface includes:
responding to a display request of a target interface, and inquiring whether a relationship characteristic between a local account and a target account corresponding to the target interface is stored in a local cache;
and if the relationship features between the local account and the target account corresponding to the target interface are stored in the local cache, the relationship features in the local cache are used as target relationship features.
4. The page display method as recited in claim 3, further comprising, after the step of searching the target mapping table for the target display parameter corresponding to the target relation feature:
sending a relation characteristic acquisition request to the server, wherein the relation characteristic acquisition request is used for enabling the server to feed back the current relation characteristics of the local account and the target account;
and under the condition that the target relation characteristic is inconsistent with the current relation characteristic, searching a current display parameter corresponding to the current relation characteristic in the target mapping relation table, and re-rendering the page based on the current display parameter.
5. The page display method as recited in claim 4, wherein the method further comprises:
and updating the relation characteristic between the local account and the target account in the local cache to the current relation characteristic.
6. The page display method as recited in claim 1, wherein the display parameter includes access information of image data;
the method further comprises the steps of:
and acquiring the image data based on the access information of the image data, and storing the image data into a local cache.
7. The page display method as recited in claim 1, wherein the target relationship feature comprises a target relationship type and a target relationship type level;
the searching the target display parameters corresponding to the target relation features in the target mapping relation table comprises the following steps:
and searching a plurality of groups of display parameters corresponding to the target relation type in the target mapping relation table, and searching target display parameters corresponding to the target relation type grade in the plurality of groups of display parameters.
8. The page display method as recited in claim 1, wherein the method further comprises:
Responding to access operation aiming at a target service, sending a mapping relation table acquisition request to a server, wherein the mapping relation table acquisition request is used for enabling the server to feed back a target mapping relation table corresponding to the target service;
and receiving a target mapping relation table corresponding to the target service fed back by the server.
9. A page display method, applied to a server, comprising:
receiving a mapping relation table acquisition request; the mapping relation table acquisition request is generated by the client in response to the access operation for the target service;
determining the service type of the target service according to the mapping relation table acquisition request, and acquiring a target mapping relation table corresponding to the service type;
the target mapping relation table is sent to the client, the target mapping relation table comprises relation characteristics and display parameters corresponding to the relation characteristics, and the target mapping relation table is used for enabling the client to determine target display parameters corresponding to the target relation characteristics in the target mapping relation table under the condition that the target relation characteristics between a local account and a target account corresponding to the target interface are obtained, and page rendering is conducted based on the target display parameters and the target interface is displayed.
10. The page display method as recited in claim 9, further comprising, prior to said receiving a map acquisition request:
determining a service type of a target service, and acquiring a plurality of relation features corresponding to the target service and display parameters corresponding to the relation features respectively according to the service type;
and generating a target mapping relation table corresponding to the target service according to the plurality of relation features and the display parameters respectively corresponding to the relation features, wherein the relation features comprise relation types and relation type grades.
11. The page display method as recited in claim 9, wherein the method further comprises:
responding to a relation characteristic acquisition request sent by the client, and acquiring current relation data between the local account and the target account;
and calculating the current relation characteristic between the local account and the target account according to the current relation data and a preset relation characteristic identification strategy, and sending the current relation characteristic to the client.
12. A page display device, applied to a client, comprising:
the first sending unit is configured to respond to the display request of the target interface and acquire the target relation characteristic between the local account and the target account corresponding to the target interface;
The acquisition unit is configured to perform searching for a target display parameter corresponding to the target relation feature in a target mapping relation table, wherein the target mapping relation table comprises the relation feature and the display parameter corresponding to the relation feature, and the target mapping relation table is determined by a server according to the service type of a target service and is sent to the client;
and the display unit is configured to perform page rendering based on the target display parameters and display the target interface.
13. A page display device, characterized by being applied to a server, comprising:
a receiving unit configured to execute a reception map table acquisition request; the mapping relation table acquisition request is generated by the client in response to the access operation for the target service;
a determining unit configured to perform determining a service type of the target service according to the mapping relation table obtaining request, and obtaining a target mapping relation table corresponding to the service type;
the second sending unit is configured to send the target mapping relation table to the client, wherein the target mapping relation table comprises relation features and display parameters corresponding to the relation features, and the target mapping relation table is used for enabling the client to determine target display parameters corresponding to the target relation features in the target mapping relation table under the condition that the target mapping relation table obtains the target relation features between a local account and a target account corresponding to the target interface, and render pages and display the target interface based on the target display parameters.
14. A display system, the display system comprising a client and a server, wherein:
the client is used for responding to the access operation aiming at the target service and sending a mapping relation table acquisition request to the server;
the server is used for receiving the mapping relation table acquisition request; determining the service type of the target service according to the mapping relation table acquisition request, and acquiring a target mapping relation table corresponding to the service type; sending the target mapping relation table to the client;
the client is also used for responding to a display request of a target interface, acquiring target relation characteristics between a local account and a target account corresponding to the target interface, and searching target display parameters corresponding to the target relation characteristics in the target mapping relation table; and rendering a page based on the target display parameters and displaying the target interface.
15. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page display method of any one of claims 1 to 8 or the page display method of any one of claims 9 to 10.
16. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page display method of any one of claims 1 to 8 or the page display method of any one of claims 9-10.
CN202310085126.2A 2023-01-17 2023-01-17 Page display method, device and system, electronic equipment and storage medium Pending CN116112332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310085126.2A CN116112332A (en) 2023-01-17 2023-01-17 Page display method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310085126.2A CN116112332A (en) 2023-01-17 2023-01-17 Page display method, device and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116112332A true CN116112332A (en) 2023-05-12

Family

ID=86259485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310085126.2A Pending CN116112332A (en) 2023-01-17 2023-01-17 Page display method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116112332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627544A (en) * 2023-07-24 2023-08-22 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627544A (en) * 2023-07-24 2023-08-22 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium
CN116627544B (en) * 2023-07-24 2023-10-31 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113099262B (en) Information display method and device, electronic equipment and storage medium
CN107220059B (en) Application interface display method and device
CN112367554B (en) Message interaction method and device, electronic equipment and storage medium
US11949979B2 (en) Image acquisition method with augmented reality anchor, device, apparatus and storage medium
CN110737844B (en) Data recommendation method and device, terminal equipment and storage medium
CN109922098B (en) Content sharing method and device for content sharing
CN110704054A (en) Method and device for accessing target application program through applet, electronic equipment and storage medium
CN113254784A (en) Information display method and device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107395624B (en) Information processing method and device
CN112231727A (en) Data processing method and device, electronic equipment, server and storage medium
CN116112332A (en) Page display method, device and system, electronic equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN113556614A (en) Information issuing method and device and electronic equipment
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN111782997A (en) Method and device for loading webpage and storage medium
CN110764847A (en) User information processing method and device, electronic equipment and storage medium
CN113965768B (en) Live broadcasting room information display method and device, electronic equipment and server
CN114567790A (en) Information display method and device, electronic equipment and storage medium
CN105827854B (en) Operation processing method and device
CN110113256B (en) Information interaction method and device, server, user terminal and readable storage medium
CN114024931A (en) Information display method, device, terminal, server and storage medium
CN113901353A (en) Information display method, device and system, electronic equipment and server
CN113259995A (en) Information processing method, device and storage medium
CN109120499B (en) Information processing method and device

Legal Events

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