CN109934659B - Information display method, server, terminal and system - Google Patents

Information display method, server, terminal and system Download PDF

Info

Publication number
CN109934659B
CN109934659B CN201711375887.2A CN201711375887A CN109934659B CN 109934659 B CN109934659 B CN 109934659B CN 201711375887 A CN201711375887 A CN 201711375887A CN 109934659 B CN109934659 B CN 109934659B
Authority
CN
China
Prior art keywords
information
display
transaction
virtual space
list
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.)
Active
Application number
CN201711375887.2A
Other languages
Chinese (zh)
Other versions
CN109934659A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711375887.2A priority Critical patent/CN109934659B/en
Publication of CN109934659A publication Critical patent/CN109934659A/en
Application granted granted Critical
Publication of CN109934659B publication Critical patent/CN109934659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides an information display method, a server, a terminal and a system, wherein at least one piece of transaction information to be displayed is determined by receiving an information display request sent by a client; determining transaction objects and the number of each transaction object indicated by at least one piece of transaction information; determining the transaction object meeting the preset object display condition as a display object; generating presentation object information indicating the determined presentation object; the display object information is returned to the client side, so that the client side can display the determined display object in the set virtual space conveniently, visual display of the information to be displayed is achieved based on the display object displayed in the set virtual space, and the problem that in the prior art, when information display is carried out through a list, the user experience is poor due to the fact that the information display result cannot be directly perceived by a user is solved.

Description

Information display method, server, terminal and system
Technical Field
The invention relates to the technical field of computers, in particular to an information display method, a server, a terminal and a system.
Background
With the rapid development of network technology, especially with the arrival of big data, people have higher and higher requirements on information display, and therefore, the research on the information display technology becomes more and more important.
At present, the way of displaying information still stays in the level of list display, that is, all information is listed in a list for information display, however, the list often cannot give the user an intuitive feeling. For example, when transaction record information is displayed, the list often cannot intuitively reflect the consumption situation of the user.
In view of the above, it is an urgent need to provide an information display method, server, terminal and system to achieve intuitive display of information.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information display method, a server, a terminal, and a system, so as to implement visual display of information.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
an information display method, the method comprising:
receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
determining each transaction object indicated by the at least one piece of transaction information and the transaction quantity of each transaction object;
determining the transaction object meeting the preset object display condition as a display object;
generating presentation object information indicating the determined presentation object;
and returning the display object information to the client so that the client can display the determined display object in the set virtual space.
An information display method, the method comprising:
sending an information display request to a server;
receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, wherein the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the transaction objects indicated by the at least one piece of transaction information;
and displaying the display object in a set virtual space based on the display object information.
A server comprising a memory for storing a program and a processor that invokes the program, the program being for:
receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
determining transaction objects indicated by the at least one piece of transaction information and the number of each transaction object;
determining the transaction object meeting the preset object display condition as a display object;
generating presentation object information indicating the determined presentation object;
and returning the display object information to the client so that the client can display the determined display object in the set virtual space.
A terminal comprising a memory for storing a program and a processor for invoking the program, the program for:
sending an information display request to a server;
receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, wherein the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the transaction objects indicated by the at least one piece of transaction information;
and displaying the display object in a set virtual space based on the display object information.
An information presentation system comprises the server and the terminal.
The embodiment of the application provides an information display method, a server, a terminal and a system, and at least one piece of transaction information to be displayed is determined by receiving an information display request sent by a client; determining transaction objects and the number of each transaction object indicated by at least one piece of transaction information; determining the transaction objects meeting preset object display conditions as display objects; generating presentation object information indicating the determined presentation object; the information of the display objects is returned to the client side so that the client side can display the determined display objects in the set virtual space, visual display of the information to be displayed is achieved based on the display objects displayed in the set virtual space, and the problem that in the prior art, when information display is carried out through a list, the information display result cannot be directly perceived by a user, and therefore user experience is poor is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 2 is a flowchart of an information displaying method according to an embodiment of the present application;
fig. 3 is a flowchart of a method for receiving an information display request sent by a client and determining at least one piece of transaction information to be displayed according to an embodiment of the present application;
fig. 4 is a flowchart of another information displaying method provided in the embodiment of the present application;
fig. 5 is a flowchart of another information displaying method provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of an information display apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 8 is a flowchart of another information displaying method provided in the embodiment of the present application;
FIG. 9 is a schematic structural diagram of another information display device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an information presentation system according to an embodiment of the present application;
fig. 11 is a schematic view of information of a virtual space interface according to an embodiment of the present disclosure;
fig. 12 is a schematic view of another virtual space interface information provided in the embodiment of the present application;
fig. 13 is a schematic view of still another virtual space interface information provided in the embodiment of the present application;
fig. 14 is a schematic view of still another virtual space interface information provided in the embodiment of the present application;
fig. 15 is a schematic view of still another piece of virtual space interface information provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides an information display method which is applied to a server.
Optionally, the function of the server to which the information display method provided in the embodiment of the present application is applied may be implemented by a single server or a server cluster formed by multiple servers, which is not limited herein.
Fig. 1 shows a schematic structural diagram of a server according to an embodiment of the present application. Specifically, the server includes: a processor 11 and a memory 12.
The processor 11, the memory 12 and the communication interface 13 complete communication with each other through the communication bus 14.
Alternatively, the communication interface 13 may be an interface of a communication module, such as an interface of a GSM module. And a processor 11 for executing the program.
The processor 11 may be a central processing unit CPU or an Application Specific Integrated Circuit ASIC or one or more Integrated circuits configured to implement embodiments of the present invention.
And a memory 12 for storing a program.
The program may include program code including computer operating instructions. In the embodiment of the present invention, the program may include a program corresponding to the user interface editor.
The memory 12 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the procedure can be specifically used for:
receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
determining at least one transaction object indicated by the transaction information and the transaction quantity of each transaction object;
determining the transaction object meeting the preset object display condition as a display object;
generating presentation object information indicating the determined presentation object;
and returning the display object information to the client so that the client displays the determined display object in the set virtual space.
Accordingly, an embodiment of the present application provides a flowchart of an information displaying method, please refer to fig. 2.
As shown in fig. 2, the method includes:
s201, receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
optionally, the information display method provided in the embodiment of the present application is pre-bound with an information storage platform, where information is stored in the information storage platform, and the information carries an information generation time point. Preferably, the information stored in the information storage platform is transaction information, and the transaction success time of the transaction information is the information generation time point of the transaction information.
In the embodiment of the present application, preferably, the information storage platform may be an application program.
The above is only a preferred mode of the information storage platform provided in the embodiment of the present application, and the inventor can arbitrarily set a specific expression form of the information storage platform according to his own needs, which is not limited herein.
Optionally, the information display method provided in the embodiment of the present application may be applied to a pre-bound information storage platform, and implemented as a function in the information storage platform. For example, when the information storage platform provided in the embodiment of the application is an application, the server is an application server, and a user may send an information display request to the application server through an application client, and accordingly, after receiving the information display request, the application server may determine at least one piece of transaction information to be displayed, and further determine transaction objects indicated by the at least one piece of transaction information and the transaction quantity of each transaction object, determine display objects based on the determined transaction objects, generate display object information indicating the determined display objects, and further return the generated display object information to the application client, so that the application client displays the display objects indicated by the generated display object information in a set virtual space.
Optionally, the information display method provided in the embodiment of the present application may also not be applied to a pre-bound information storage platform, but only determine and pull at least one piece of transaction information to be displayed from the pre-bound information storage platform after the server receives an information display request sent by the client; and further determining at least one transaction object indicated by the transaction information pulled from the information storage platform and the transaction quantity of each transaction object, determining a display object based on the determined transaction objects and generating display object information used for indicating the determined display object, and further returning the generated display object information to the application client so that the application client displays each display object indicated by the generated display object information in a set virtual space.
Optionally, the number of the information storage platforms pre-bound by the information presentation method provided by the embodiment of the present application may be multiple. That is to say, when the information display method provided in the embodiment of the present application is executed, after an information display request sent by a client is received, information to be displayed in each information storage platform that is bound in advance may be determined, and then transaction information to be displayed in each information storage platform is pulled, and all pulled transaction information to be displayed are determined as at least one piece of transaction information that is determined and is sent by the client to receive the information display request sent by the client.
S202, determining at least one transaction object indicated by the transaction information and the transaction quantity of each transaction object;
optionally, after determining at least one piece of transaction information to be displayed, determining each transaction object and the transaction quantity of each transaction object in the at least one piece of transaction information. For example, if at least one piece of transaction information is 2 pieces of transaction information; wherein, one piece of transaction information indicates a transaction object A, and the transaction quantity of the transaction object A is 2; the other piece of transaction information indicates a transaction object A and a transaction object B, and the number of transactions of the transaction object A is 1, and the number of transactions of the transaction object B is 2; at least one piece of transaction information indicates the transaction object a and the transaction object B, and the transaction amount of the transaction object a indicated by the at least one piece of transaction information is 3 and the transaction amount of the transaction object B indicated by the at least one piece of transaction information is 2.
S203, determining the transaction object meeting the preset object display condition as a display object;
optionally, in an implementation of the present application, at least one transaction object indicated by the transaction information and meeting a preset object display condition is determined as a display object.
S204, generating display object information used for indicating the determined display object;
and S205, returning the display object information to the client so that the client can display the determined display object in the set virtual space.
In order to facilitate understanding of an information presentation method provided in the embodiment of the present application, a flowchart of a method for receiving an information presentation request sent by a client and determining at least one piece of transaction information to be presented is provided, please refer to fig. 3.
As shown in fig. 3, the method includes:
s301, receiving an information display request sent by a client, and determining a first time point of receiving the information display request;
s302, determining a time period formed by a first time point and a second time point of last time when an information display request is received;
s303, determining each piece of transaction information of the information generation time point in the time period as a piece of transaction information to be displayed.
Optionally, each piece of transaction information in the time period at the information generation time point in the pre-bound information storage platform is determined as a piece of transaction information to be displayed.
The above is only a preferred manner for receiving an information display request sent by a client and determining at least one piece of transaction information to be displayed provided in the embodiment of the present application, and the inventor may also arbitrarily set the manner for receiving the information display request sent by the client and determining at least one piece of transaction information to be displayed according to the own needs (for example, each piece of transaction information in a pre-bound information storage platform is used as one piece of transaction information to be displayed), which is not limited herein.
For example, after an information display request sent by a client is received, a first time point at which the information display request is received can be determined, a time period formed by the first time point and a second time point at which the information display request is received last time is determined, and then each transaction information in the time period at which the information generation time point of the transaction information in the information storage platform is located is determined as a transaction information to be displayed. Or after receiving an information display request sent by the client, determining each piece of transaction information stored in the information storage platform as one piece of transaction information to be displayed.
Through the above detailed description of the method for receiving the information display request sent by the client and determining at least one piece of transaction information to be displayed, the information display method provided by the embodiment of the present application is clearer and more complete, and is convenient for a person skilled in the art to understand.
In order to facilitate understanding of an information presentation method provided in the embodiments of the present application, a flowchart of another information presentation method is now provided, please refer to fig. 4.
As shown in fig. 4, the method includes:
s401, receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
s402, determining at least one transaction object indicated by the transaction information and the transaction quantity of each transaction object;
optionally, one way of determining each transaction object in at least one piece of transaction information includes: determining each commodity transaction type indicated by the transaction information aiming at each transaction information in at least one transaction information; further determining each commodity transaction type indicated by at least one transaction message; and searching a preset corresponding relation between the commodity transaction types and the transaction objects, and determining the transaction objects which are uniquely corresponding to each commodity transaction type.
Optionally, another way of determining each transaction object in the at least one transaction message includes: determining at least one specific commodity indicated by the transaction information; searching a preset corresponding relation between a specific commodity and a transaction object, and determining the transaction object corresponding to the specific commodity; determining each commodity transaction type corresponding to all the commodities except the specific commodity indicated by at least one piece of transaction information, searching the corresponding relation between the preset commodity transaction type and the transaction object, and determining the transaction object which is uniquely corresponding to each commodity transaction type; the determined transaction object corresponding to the specific commodity and the transaction object corresponding to the commodity transaction type are the transaction objects indicated by the determined at least one piece of transaction information.
In the embodiment of the present application, it is preferable that the specific commodity is, for example, kanmaster jasmine honey tea, kanmaster jasmine clear tea, or the like. The above is only a preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the specific content of the specific product according to his own needs, and is not limited herein.
In the embodiment of the present application, it is preferable that the commodity transaction type includes a food type, a traffic type, a communication type, a clothing type, and the like. Correspondingly, if the commodity transaction type is the food type, the transaction object corresponding to the commodity transaction type is the food transaction object; if the commodity transaction type is the traffic type, the transaction object corresponding to the commodity transaction type is the traffic transaction object; if the commodity transaction type is the communication type, the transaction object corresponding to the commodity transaction type is a communication transaction object; and if the commodity transaction type is the clothing type, the transaction object corresponding to the commodity transaction type is the clothing transaction object.
The above is only a preferred way of dividing the commodity transaction types provided in the embodiments of the present application, and specifically, the inventor can arbitrarily divide the commodity transaction types according to the needs of the inventor (for example, further divide the garment types into a jacket, a skirt and a lower garment, divide the jacket into a coat and a T-shirt, divide the skirt into a skirt and a skirt, divide the lower garment into trousers and shorts, and at this time, the jacket, the skirt, the lower garment, the coat, the T-shirt, the skirt and the skirt correspond to one commodity transaction type respectively), and the present invention is not limited herein.
Further, if at least one piece of transaction information contains a commodity of which the commodity transaction type cannot be determined, determining a target commodity transaction type to which the commodity belongs based on a preset rule, and determining a transaction object corresponding to the target commodity transaction type as a transaction object corresponding to the commodity based on a preset corresponding relation between the commodity transaction type and the transaction object. For example, if there is a commodity in at least one transaction message, which can only be determined as a skirt, but cannot be determined as a long skirt or a short skirt (i.e., cannot be determined as the commodity transaction type of the commodity), the following process is performed: determining the skirt as the commodity transaction type of the commodity, and taking a transaction object corresponding to the skirt as a transaction object corresponding to the commodity; or determining the longuette as the commodity transaction type of the commodity, and taking the transaction object corresponding to the longuette as the transaction object corresponding to the commodity; or determining the skirt as the commodity transaction type of the commodity, and taking the transaction object corresponding to the skirt as the transaction object corresponding to the commodity; or determining the commodity transaction type of the commodity as a preset commodity transaction type, and taking a transaction object corresponding to the preset commodity transaction type as a transaction object corresponding to the commodity.
Optionally, in addition to determining each transaction object indicated by at least one piece of transaction information, in the embodiment of the present application, a transaction quantity of the transaction object indicated by the at least one piece of transaction information may be determined for each determined transaction object.
S403, determining whether at least one preset initial position corresponding to the transaction object and located in the virtual space exists; if at least one preset initial position corresponding to the transaction object and located in the virtual space exists, executing step S404; if at least one preset initial position corresponding to the transaction object and located in the virtual space does not exist, executing step S410;
optionally, if at least one initial position corresponding to the transaction object is preset in the virtual space, and the at least one initial position in the virtual space is not fully occupied due to movement of the display object for displaying in the virtual space, it may be determined that there is an initial position that is not occupied by the display object in the at least one initial position in the virtual space, which is preset and corresponds to the transaction object.
S404, determining whether an initial position which is not occupied by the display object displayed in the virtual space exists in at least one initial position; if yes, go to step S405; if not, executing step S410;
s405, determining the transaction object as a display object;
optionally, the transaction object is determined as a display object, that is, the transaction object is determined as a display object.
S406, determining the number of initial positions which are not occupied by the display object displayed in the virtual space in at least one initial position corresponding to the transaction object;
s407, obtaining the number of the display objects determined by the trading objects based on the trading number of the trading objects and the number of the determined initial positions corresponding to the trading objects;
s408, generating display object information, wherein the display object information is used for indicating the determined display objects and the number of each display object;
s409, returning display object information to the client so that the client can display the determined display object in the set virtual space;
and S410, determining the transaction object as a list object.
Further, the information display method provided by the embodiment of the present application further includes step 410, configured to determine the transaction object as a list object.
Fig. 5 is a flowchart of another information displaying method provided in the embodiment of the present application.
As shown in fig. 5, the method includes:
s501, receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
s502, determining at least one transaction object indicated by the transaction information and the transaction quantity of each transaction object;
s503, determining whether at least one preset initial position corresponding to the transaction object and located in the virtual space exists; if at least one preset initial position corresponding to the transaction object and located in the virtual space exists, executing step S504; if there is no preset at least one initial position corresponding to the transaction object and located in the virtual space, performing step S513;
s504, determining whether an initial position which is not occupied by a display object displayed in the virtual space exists in at least one initial position; if yes, go to step S505; if not, go to step S513;
optionally, if it is determined that there is no initial position in the at least one initial position that is not occupied by the presentation object presented in the virtual space, it is determined that the transaction object is a first transaction object in the target transaction objects, and step S513 is performed.
S505, determining the transaction object as a display object;
s506, determining the number of initial positions which are not occupied by the display objects displayed in the virtual space in at least one initial position corresponding to the transaction objects;
s507, obtaining the number of the display objects determined by the trading objects based on the trading number of the trading objects and the number of the determined initial positions corresponding to the trading objects;
s508, judging whether the transaction quantity of the transaction object is larger than the quantity of the determined initial positions corresponding to the transaction object; if not, go to step S509; if yes, executing step S510 and step S513;
optionally, if the transaction amount of the transaction object is greater than the determined number of the initial positions corresponding to the transaction object, it is determined that the transaction object is a second transaction object in the target transaction objects, and step S513 is executed.
S509, selecting initial positions of the number of the determined transaction objects from the determined initial positions corresponding to the transaction objects as initial positions in a virtual space occupied by a display object determined by the transaction objects when the display object is displayed in the virtual space;
s510, taking the determined initial positions corresponding to the transaction objects as initial positions in a virtual space occupied by the display objects determined by the transaction objects when the virtual space is displayed;
s511, for each determined display object, generating object information of the display object based on the determined number of the display objects and the determined initial positions in the virtual space occupied by the display object;
optionally, the object information of the display object indicates the display object, the number of the display objects, and the determined initial positions in the virtual space occupied by the display object. For example, if the display object is a longuette and the number of display objects is 3, the object information of the display object indicates: the positions of the longuets, 3 longuets, and 3 longuets (when the object information of the display object is generated in step S512, the position of the display object indicated by the generated object information is the determined initial position in the virtual space occupied by the display object; subsequently, if the user adjusts the position of the display object displayed in the virtual space, the position of the display object indicated by the object information is updated, that is, the position of the moved display object in the virtual space).
The above is only the preferred content of the object information of the display object provided in the embodiment of the present application, and a specific inventor may set the specific content of the object information of the display object according to a person who needs the inventor, which is not limited herein.
S512, forming display object information by the generated object information;
s513, determining the transaction object as a list object;
s514, acquiring the number of each determined list object;
optionally, when the target transaction object is the first transaction object, the transaction quantity of the target transaction object indicated by the at least one piece of transaction information is determined as the quantity of the list object determined by the target transaction object.
When the target trading object is the second trading object, the preset number of initial positions which correspond to the target trading object and are not occupied by the displayed object in at least one initial position in the virtual space is determined as the number of list objects determined by the target trading object.
S515, list object information indicating the determined list objects and the number of each list object is generated.
Further, as shown in fig. 5, the information presentation method provided in the embodiment of the present application may further include steps S514-S515 to generate list object information.
Further, in the information display method provided in the embodiment of the present application, the method may further include: and updating the cache display object information cached locally by the server based on the display object information to obtain updated cache display object information.
Correspondingly, returning the display object information to the client so that the client displays the determined display object in the set virtual space, including: and returning the display object information to the client so that the client updates the cache display object information of the local cache based on the display object information to obtain the updated cache display object information, and displaying each display object indicated by the updated cache display object information in the set virtual space.
Further, the information display method provided in the embodiment of the present application may further include: and updating the cache list object information cached locally by the server based on the list object information to obtain the updated cache list object information.
Correspondingly, the list object information is sent to the client, so that the client can update the cache list object information cached locally at the client based on the list object information to obtain the updated cache list object information, and each list object indicated by the updated cache list object information is displayed in the set virtual space.
In this embodiment of the present application, preferably, before the information presentation method provided in this embodiment of the present application is started and executed for the first time, the cache presentation object information locally cached by the initialization server is empty, and the cache presentation object information locally cached by the initialization client is empty.
Further, in the embodiment of the present application, it is preferable that, in at least one initial position corresponding to the transaction objects, which is preset in the set virtual space, there may be a case where one initial position corresponds to a preset number of transaction objects. For example, an initial position preset in the virtual space and corresponding to the transaction object may be used to display a plurality of transaction objects. In this case, the one initial position may be regarded as a plurality of initial positions (the number of the plurality of initial positions regarded as one initial position here is the same as the number of the plurality of transaction objects used for presentation at the one initial position).
For example, if the preset initial position B corresponding to the transaction object a in the virtual space can be used to display 5 transaction objects a; then, at this time, the initial position B is regarded as the number of initial positions B corresponding to the transaction object a which are located in the virtual space and set in advance is 5.
Through the above detailed description of the other information display method provided by the embodiment of the present application, the information display method provided by the embodiment of the present application is clearer and more complete, which is convenient for a person skilled in the art to understand.
In order to facilitate understanding of the information display method provided in the embodiment of the present application, a process of generating operation update information by a client in response to an operation of a user on display content of a virtual space is described in detail.
In the embodiment of the present application, preferably, a list button is set in a virtual space displayed by a client, after the list button is triggered, a list display request is sent to the client, the client receives the list display request, and each list object indicated by cache list object information locally cached by the client is displayed in the virtual space.
The above is only one display mode of the list object provided in the embodiment of the present application, and specifically, the inventor may arbitrarily set the specific display mode and the display position of the list object according to his own needs, which is not limited herein.
In this embodiment of the present application, preferably, if the display content of the virtual space includes a display object and a list object, the information display method provided in this embodiment of the present application further includes: and receiving operation updating information generated and sent by a client in response to the operation of the user on the display content of the virtual space.
Optionally, the operation update information is used to trigger the client to update the updated cache display object information and/or the updated cache list object information of the local cache based on the operation update information, and is used to trigger the server to update the updated cache display object information and/or the updated cache list object information of the local cache based on the operation update information.
In this embodiment, preferably, the user may operate the display content in the virtual space through the client, and the client responds to the operation performed on the display content in the virtual space to generate operation update information and send the operation update information to the server.
Correspondingly, after the client generates the operation updating information, the operation updating information is used for triggering the client to update the cache display object information and/or the cache list object information of the local cache based on the operation updating information; after the server receives the operation updating information sent by the client, the operation updating information is used for triggering the server to update the cache display object information and/or the cache list object information of the local cache based on the operation updating information.
In this embodiment of the present application, preferably, the operation update information includes at least one piece of operation information, where the operation information includes an operated object and an operation type in the presentation content, and the operation type includes deleting the operated object or changing the operated object, and the object includes a presentation object and/or a list object.
In this embodiment of the present application, preferably, the operation types of the user operating the presentation content in the virtual space presented by the client through the client include: deleting the operated object or changing the operated object.
The deletion of the operated object comprises the following three modes:
the first mode is as follows: deleting the list object in the list content; at this time, the operation update information is used to trigger the client to update the cache list object information of the local cache based on the operation update information, and is used to trigger the server to update the cache list object information of the local cache based on the operation update information.
The second way is: deleting the list object in the list content, determining the deleted list object as a display object to be displayed in the virtual space/deleting the display object in the display content in the virtual space, and determining the deleted display object as the list object in the list content; at this time, the operation update information is used for triggering the client to update the cache list object information and the cache display object information of the local cache based on the operation update information, and is used for triggering the server to update the cache list object information and the cache display object information of the local cache based on the operation update information.
The second way is: and deleting the display object in the display content in the virtual space, wherein the operation updating information is used for triggering the client to update the cache display object information of the local cache based on the operation updating information, and is used for triggering the server to update the cache display object information of the local cache based on the operation updating information.
In the embodiment of the present application, preferably, the changing the operated object includes: and replacing the operated object with a target object, wherein the target object is a display object/list object, or moving the operated object from a first position of the virtual space to a second position of the virtual space.
Optionally, replacing the operated object with a target object, including: and replacing the operated object meeting the replacement rule with a target object, wherein the target object is a presentation object or a list object. At this time, if the operated object and the target object are both list objects, the operation update information is used for triggering the client to update the cache list object information of the local cache based on the operation update information, and is used for triggering the server to update the cache list object information of the local cache based on the operation update information; if the operated object and the target object are both display objects, the operation updating information is used for triggering the client to update the cache display object information of the local cache based on the operation updating information, and is used for triggering the server to update the cache display object information of the local cache based on the operation updating information; if the list object and the display object exist in the operated object and the target object, the operation updating information is used for triggering the client to update the cache display object information and the cache list object information of the local cache based on the operation updating information, and is used for triggering the server to update the cache display object information and the cache list object information of the local cache based on the operation updating information.
If the preset target object is the display object, presetting an initial position corresponding to the target object; determining the target object as a list object if it is determined that the initial position of the target object has been occupied after the operated object is replaced with the target object; and if the initial position of the target object is determined to be not occupied after the operated object is replaced by the target object, determining the target object as the presentation object.
If the target object is set as the list object in advance, the target object is directly determined as the list object after the operated object is replaced by the target object.
Optionally, the replacement rule is set to satisfy that a set number of the operated objects (no matter whether the operated objects are list objects or display objects or both the list objects and the display objects; the operated objects should be the same object to be displayed) are replaced by the target objects. For example, the display content of the virtual space includes 2 display objects and the list content of the virtual space includes 3 list objects, and the 2 display objects and the 3 list objects are replaced with one target object.
The above is only a preferred mode of the replacement rule provided in the embodiment of the present application, and specifically, the inventor may set the replacement rule arbitrarily according to his own needs, which is not limited herein.
Optionally, replacing the operated object with the target object includes: the operated object is moved from a first position in the virtual space to a second position in the virtual space. At this time, the operated object is a display object, the operation update information is used for triggering the client to update the cache display object information of the local cache based on the operation update information, and is used for triggering the server to update the cache display object information of the local cache based on the operation update information.
Through the above detailed description of the process of generating operation update information by the client in response to the operation of the user on the display content of the virtual space, the information display method provided by the embodiment of the present application is clearer and more complete, and is convenient for the understanding of the skilled person in the art.
The method is described in detail in the embodiment disclosed in the invention, and the method can be realized by adopting devices in various forms, so that the invention also discloses an information display device, and the specific embodiment is given below for detailed description.
Fig. 6 is a schematic structural diagram of an information display apparatus according to an embodiment of the present application.
As shown in fig. 6, the apparatus includes:
the information display request receiving unit 61 is configured to receive an information display request sent by a client, and determine at least one piece of transaction information to be displayed;
a data determining unit 62 for determining the transaction objects and the number of each transaction object indicated by at least one piece of transaction information;
a display object determining unit 63, configured to determine a transaction object meeting a preset object display condition as a display object;
a display object information generating unit 64 for generating display object information indicating the determined display object;
a presentation object information returning unit 65, configured to return presentation object information to the client so that the client presents the determined presentation object in the set virtual space.
Optionally, the information display request receiving unit is specifically configured to determine at least one preset initial position, corresponding to the transaction object, located in the virtual space; determining whether there is an initial position in the at least one initial position that is not occupied by a presentation object presented in the virtual space; and if so, determining the transaction object as a display object.
Optionally, the display object information generating unit specifically includes:
a first determination unit for determining the number of initial positions, which are not occupied by the presentation object presented in the virtual space, among the at least one initial position corresponding to the transaction object;
the second determining unit is used for obtaining the number of the display objects determined by the trading objects based on the trading number of the trading objects and the determined number of the initial positions corresponding to the trading objects;
a generating unit configured to generate display object information indicating the determined display objects and the number of each display object.
Optionally, the display object information generating unit further includes a third determining unit, configured to, if the transaction amount of the transaction object is not greater than the number of the determined initial positions corresponding to the transaction object, select the initial positions of the determined number of the transaction objects from the determined initial positions corresponding to the transaction object, as each initial position in a virtual space occupied by the display object determined by the transaction object when the display object is displayed in the virtual space; and if the transaction quantity of the transaction objects is greater than the quantity of the determined initial positions corresponding to the transaction objects, taking the determined initial positions corresponding to the transaction objects as the initial positions in the virtual space occupied by the display object determined by the transaction objects when the virtual space is displayed.
In the embodiment of the present application, preferably, the generating unit is specifically configured to, for each determined display object, generate object information of the display object based on the determined number of the display objects and the determined initial positions in the virtual space occupied by the display object; the generated object information constitutes display object information.
Further, an information display device provided in an embodiment of the present application further includes: a list object information generating unit that includes:
the list object determining unit is used for determining a target trading object as a list object, the target trading object comprises a first trading object and/or a second trading object, the first trading object is a trading object which does not meet the object display condition, and the number of the second trading objects indicated by at least one piece of trading information is smaller than the number of initial positions which are preset, correspond to the second trading objects and are not occupied by the displayed objects and are located in at least one initial position in the virtual space;
a list object information generating subunit operable to generate list object information indicating the determined list object.
Optionally, the list object information generating subunit is specifically configured to obtain the determined number of each list object; when the target trading object is the first trading object, determining the number of the target trading objects indicated by the at least one piece of trading information as the number of the list objects determined by the target trading object; when the target trading object is a second trading object, determining the number of initial positions which are not occupied by the displayed object and correspond to the target trading object and are located in at least one initial position in the virtual space, as the number of list objects determined by the target trading object; list object information indicating the determined list objects and the number of each list object is generated.
Further, the information display device provided in the embodiment of the present application further includes a first updating unit, configured to update the cache display object information cached locally by the server based on the display object information, so as to obtain updated cache display object information.
Correspondingly, the display object information returning unit is specifically configured to return the display object information to the client, so that the client updates the cache display object information cached locally based on the display object information to obtain updated cache display object information, and displays each display object indicated by the updated cache display object information in the set virtual space.
Further, the information display device provided by the embodiment of the application further includes a second updating unit, configured to update, based on the list object information, cache list object information locally cached by the server, to obtain updated cache list object information; and sending the list object information to the client so that the client updates the cache list object information cached locally at the client based on the list object information to obtain the updated cache list object information, and displaying each list object indicated by the updated cache list object information in a set virtual space.
Further, the information display apparatus provided in the embodiment of the present application further includes an operation update unit, configured to receive operation update information generated and sent by a client in response to an operation of a user on display content of a virtual space, where the display content includes a display object and/or a list object; the operation updating information is used for triggering the client to update the updated cache display object information and/or cache list object information of the local cache based on the operation updating information, and is used for triggering the server to update the updated cache display object information and/or cache list object information of the local cache based on the operation updating information.
In this embodiment of the present application, preferably, the operation update information includes at least one piece of operation information, where the operation information includes an operated object and an operation type in the presentation content, and the operation type includes deleting the operated object or changing the operated object, and the object includes a presentation object and/or a list object; wherein changing the operated object comprises: and replacing the operated object with a target object, wherein the target object is a display object/list object or a second position of the virtual space.
The embodiment of the application provides an information display method and a server, and at least one piece of transaction information to be displayed is determined by receiving an information display request sent by a client; determining transaction objects and the number of each transaction object indicated by at least one piece of transaction information; determining the transaction object meeting the preset object display condition as a display object; generating presentation object information indicating the determined presentation object; the display object information is returned to the client side, so that the client side can display the determined display object in the set virtual space conveniently, visual display of the information to be displayed is achieved based on the display object displayed in the set virtual space, and the problem that in the prior art, when information display is carried out through a list, the user experience is poor due to the fact that the information display result cannot be directly perceived by a user is solved.
The embodiment of the application provides another information display method which is applied to a terminal.
Optionally, the terminal is an electronic device, for example, a mobile terminal, a desktop, or the like. The above is only a preferred mode of the terminal provided in the embodiment of the present application, and the inventor may set a specific expression form of the terminal arbitrarily according to his own needs, which is not limited herein.
Fig. 7 shows a schematic structural diagram of a terminal according to an embodiment of the present application. Specifically, the terminal includes: a processor 71 and a memory 72.
The processor 71, the memory 72, and the communication interface 73 communicate with each other via the communication bus 74.
Alternatively, the communication interface 73 may be an interface of a communication module, such as an interface of a GSM module. And a processor 71 for executing the program.
The processor 71 may be a central processing unit CPU, or an Application Specific Integrated Circuit ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement embodiments of the present invention.
A memory 72 for storing programs.
The program may include program code including computer operating instructions. In an embodiment of the present invention, the program may include a program corresponding to the user interface editor.
The memory 72 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the procedure can be specifically used for:
sending an information display request to a server;
receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, wherein the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the at least one piece of transaction object indicated by the transaction information;
and displaying the display object in the set virtual space based on the display object information.
Accordingly, the present embodiment provides a flowchart of another information displaying method, specifically please refer to fig. 8.
As shown in fig. 8, the method includes:
s801, sending an information display request to a server;
optionally, the user may send an information display request to the server through a client on the terminal.
S802, receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, wherein the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the transaction objects indicated by the at least one piece of transaction information;
and S803, displaying the display object in the set virtual space based on the display object information.
Further, another information presentation method provided in the embodiment of the present application further includes receiving a virtual space access request, where the virtual space access request indicates a visitor who accesses the virtual space; determining access rights of the visitor with respect to the virtual space; and displaying the display object in the virtual space to the visitor based on the access right.
Optionally, the user may send a virtual space access request to the client by triggering a virtual space access mechanism (e.g., triggering a virtual space access button on the client, etc.) on the client on the terminal, where the virtual space access request indicates a visitor accessing the virtual space; after receiving the virtual space access request, the client determines the access authority of an accessor relative to the virtual space; and then the display object in the virtual space is displayed to the visitor on the client based on the access authority.
The method is described in detail in the embodiment disclosed in the invention, and the method can be realized by adopting devices in various forms, so that the invention also discloses another information display device, and the specific embodiment is given below for detailed description.
Fig. 9 is a schematic structural diagram of another information display device according to an embodiment of the present application.
As shown in fig. 9, the apparatus includes:
the information display request sending unit is used for sending an information display request to the server;
the display object information receiving unit is used for receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the transaction objects indicated by the at least one piece of transaction information;
and the display unit is used for displaying the display object in the set virtual space based on the display object information.
Further, an information display device provided in the embodiment of the present application further includes: a virtual space access unit for receiving a virtual space access request indicating a visitor accessing a virtual space; determining an access right of a visitor with respect to the virtual space; and displaying the display object in the virtual space to the visitor based on the access right.
The embodiment of the application provides an information display method and a terminal, wherein an information display request is sent to a server; receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, wherein the display object information indicates a display object, and the display object is a transaction object meeting preset object display conditions in the at least one piece of transaction object indicated by the transaction information; the mode of displaying the display object in the set virtual space based on the display object information enables the display object displayed in the set virtual space to realize visual display of the information to be displayed, and the problem of poor user experience caused by the fact that an information display result cannot be directly perceived by a user when information display is carried out through a list in the prior art is solved.
Further, an information display system is further provided in the embodiments of the present application, please refer to fig. 10 specifically.
As shown in fig. 10, the information presentation system includes: a server 101 and at least one terminal 102. As shown in fig. 10, only three terminals 102 are illustrated, but it can be understood by those skilled in the art based on the contents provided in the embodiment of the present application that the number of the terminals 102 in an information presentation system provided in the embodiment of the present application is not limited, and the number of the terminals 102 in an information presentation system provided in the embodiment of the present application is at least one.
Further, to facilitate understanding of the information display method provided in the embodiment of the present application, the information display method provided in the embodiment of the present application is described in detail from an application scene perspective:
optionally, before the client applies the information display method provided in this embodiment for the first time, cache display object information and cache list object information are set locally for the client, and cache object information and cache list object information corresponding to the client are set locally in the server, and the cache display object information and cache list object information cached locally by the client are initialized to be null, and the cache object information and cache list information cached locally by the server and corresponding to the client are initialized to be null; and, a virtual space is set for the client, and the virtual space is initialized, where no display object and no list object are displayed in the initialized virtual space, and a display position of the display object and a display position of the list object are set in the virtual space, where the display position of the display object includes at least one initial position corresponding to each display object, for example, 5 initial positions (initial position 111, initial position 112, initial position 113, initial position 114, and initial position 115) are included in the virtual space 11 initialized for the client in fig. 11.
The manner of the initial position 111 for displaying the "skirt" transaction object [ displaying the transaction object ] may be to display a display model (e.g., a "skirt" display model) corresponding to the "skirt" transaction object at the initial position 111, and the initial position 111 may be set to display at most 2 "skirt" transaction objects.
The method for displaying the "shoe" transaction object at the initial position 112 may be to display a display model (e.g., a "shoe" display model) corresponding to the "shoe" transaction object at the initial position 112, and the initial position 112 may be set to display 5 "shoe" transaction objects at most.
The method for displaying the "download" transaction object at the initial position 113 may be to display a display model (e.g., "download" display model) corresponding to the "download" transaction object at the initial position 113, and set the initial position 113 to display 1 "download" transaction object at most.
The trading object at the initial position 114 for displaying the "jacket" may be displayed in a display model (e.g., "jacket" display model) corresponding to the "jacket" trading object at the initial position 114, and the initial position 114 may be set for displaying at most 1 "jacket" trading object.
The method for displaying the "shoe" transaction object at the initial position 115 may be to display a display model (e.g., a "shoe" display model) corresponding to the "shoe" transaction object at the initial position 115, and set the initial position 115 to display 1 "shoe" transaction object at most.
If an information display request sent by a client is received, determining at least one piece of transaction information corresponding to the client; and determining the transaction objects and the transaction quantity of each transaction object indicated by the at least one transaction message. The method comprises the steps of determining each commodity transaction type indicated by at least one piece of transaction information, searching the corresponding relation between the preset commodity transaction type and a transaction object, and determining the transaction object uniquely corresponding to each commodity transaction type.
Optionally, if at least one piece of transaction information indicates 3 commodity transaction types, which are respectively 2 "shorts" commodity transaction types, 1 "skirt" commodity transaction types, and 2 "boots" commodity transaction types; determining the transaction object uniquely corresponding to the commodity transaction type of the pants to be a 'downloading' transaction object based on the preset corresponding relation between the commodity transaction type and the transaction object; the transaction object uniquely corresponding to the commodity transaction type of the short skirt is a skirt transaction object; the transaction object uniquely corresponding to the transaction type of the boot commodity is a shoe transaction object.
Based on this, it is determined that at least one piece of transaction information indicates that: 2 'downloading' transaction objects and 1 'skirt' transaction object; 2 "shoes" transaction objects.
Correspondingly, if the virtual space is not used for displaying any display object at the moment, the initial position which is preset in the virtual space and corresponds to the 'downloading' transaction object is determined to be the initial position 113; the number of initial positions corresponding to the 'downloading' transaction objects, which are not occupied by the displayed objects, in the virtual space is 1, and the initial positions are 113; therefore, at least one transaction information indicates 2 'downloading' transaction objects, wherein 1 'downloading' transaction object is a display object, and the other 'downloading' transaction object is a list object. That is, the "download" transaction object is determined to be the display object, and the number of the determined "download" display objects is 1; and determines that the "download" transaction object is a list object and the number of determined "download" list objects is 1.
Correspondingly, for 1 'skirt' transaction object indicated by at least one transaction object, determining that the 'skirt' transaction object is a 'skirt' display object, and the number of the determined 'skirt' display objects is 1;
for 2 "shoes" transaction objects indicated by the at least one transaction object, the "shoes" transaction object is determined to be a "shoes" display object, and the number of the determined "shoes" display objects is 2.
Generating presentation object information indicating the determined presentation object and list object information indicating the determined list object, wherein the generated presentation object information includes: 1 "drop-off" display object, the position in the virtual space occupied by the "drop-off" display object being an initial position 113;1 "skirt" display object occupying a position in virtual space that is an initial position 111;2 "shoes" display objects that occupy 5 initial positions 112 (initial positions 112 are considered 5 initial positions 112) and any two of 1 initial positions 115 in the virtual space. The generated list object information includes: 1 "download" list object.
Updating cache display object information cached locally by the server based on the generated display object information, and updating cache list object information cached locally by the server based on the generated list object information; and returning the generated display object information and the list object information to the client, so that the client updates the cache list object information locally cached at the client according to the received list object information and updates the cache display object information locally cached at the client according to the received display object information.
After the client updates the cache display object information and the cache list object information of the local cache, the client displays each display object indicated by the cache display object information of the local cache of the client in a set virtual space (displays a display model corresponding to a 'download' display object at an initial position 113 of the virtual space); displaying a display model corresponding to the skirt display object at an initial position 111 of the virtual space; displaying the display models corresponding to the two "shoe" display objects at any two initial positions among the initial positions 115 and the 5 initial positions 112 in the virtual space (as shown in fig. 11, two initial positions 112 are selected to display the display models corresponding to the two "shoe" display objects at the 5 initial positions 112 in the virtual space, which may be displaying the display model corresponding to one "shoe" display object at the initial position 112, and marking the number of the display models with 2).
Further, the client may receive the list object display request, and display each list object indicated by the cache list object information locally cached by the client. For example, a user sends a list object display request to a client by triggering a "list object" button 116 in a virtual space displayed by the client, and the client receives the list object display request and displays cache list object information locally cached by the client in the virtual space; wherein the cache list object information indicates the list objects and the number of the list objects.
For example, after the user triggers the "list object" button 116 shown in fig. 11, the cache list object information 117 is presented in the virtual space, and the presented cache list object information 117 includes: 1 "download" list object.
Further, the display object and the list object information displayed in the virtual space may be regarded as the display content of the virtual space, where the list object information includes the list object.
The client can receive the operation of the user on the display content in the virtual space and generate operation updating information.
For example, the list object (1 "download" list object) in the list object information of the presentation content in the virtual space shown in fig. 11 is updated as the presentation object, and a presentation position (such as the initial position 114 in the virtual space) is set for the presentation object; see fig. 12 for corresponding updated virtual space interface information [ note: at this point it is determined that the initial position 114 in virtual space for displaying the "top" display object is occupied by a display object for displaying in virtual space (the "bottom" display object);
for example, moving the display object in the display space from the current position to another position (e.g., moving the "skirt" display object displayed in the display content of the virtual space shown in fig. 11 from the initial position 111 to the position 115 in the virtual space), the corresponding updated virtual space interface information please refer to fig. 13 [ note that: at this point, it is determined that the initial position 115 in the virtual space for displaying the "shoe" display object is occupied by the display object for displaying in the virtual space (the "skirt" display object), while the initial position 111 in the virtual space for displaying the "skirt" display object is not occupied by the display object for displaying in the virtual space);
for example, the display object in the display content of the virtual space shown in fig. 11 is updated to be the list object (for example, 1 "shoe" display object displayed in the virtual space shown in fig. 11 is updated to be the list display object), and accordingly, the updated virtual space interface information please refer to fig. 14 [ it should be noted that: it is determined at this time that there are 4 initial positions 112 in the virtual space for displaying the "shoes" display object that are not occupied by the display object for displaying in the virtual space.
Accordingly, it should be noted that: the client receives the operation of the user on the display content in the virtual space, and after the operation updating information is generated, not only the cache display object information and the cache list object information cached locally at the client need to be updated based on the generated operation updating information, but also the operation updating information needs to be returned to the server, so that the server can update the cache list object information and the cache display object information cached locally at the server based on the received operation updating information.
Taking the virtual space interface information shown in fig. 12 as an example, at this time, the cache list object information after the client locally updates does not include any information; the cache object list information after the local update of the client comprises the following information: 1 "skirt" display object occupying a position in virtual space that is an initial position 111;2 "shoe" display objects, which occupy 5 initial positions 112 (taking initial position 112 as 5 initial positions 112) and any two of 1 initial positions 115 in the virtual space; 2 "drop-down" display objects occupying positions in virtual space that are an initial position 113 and an initial position 114. Correspondingly, the cache list object information of the local cache of the server after the server is updated is the same as the cache list object information of the local cache of the client after the client is updated; the cache display object information of the server local cache after the server is updated is the same as the cache display object information of the client local cache after the client is updated.
If on the basis of the virtual space interface information shown in fig. 12, after receiving an information display request sent by a client, at least one piece of determined transaction information indicates 2 commodity transaction types, which are respectively 1 "coat" commodity transaction type and 1 "T-shirt" transaction type; determining a transaction object which is uniquely corresponding to the transaction type of the jacket commodity as a jacket transaction object based on a preset corresponding relation between the transaction type of the commodity and the transaction object; the transaction object which is only corresponding to the transaction type of the T-shirt commodity is a coat transaction object; it is determined that at least one piece of transaction information corresponding to the information presentation request indicates 2 "jacket" transaction objects.
Further, it is determined that the initial position corresponding to the "jacket" transaction type in the initialized virtual space is 1 (i.e., the initial position 114 located in the virtual space), but since this initial position 114 in the virtual space is occupied by the "down-loading" presentation object presented in the virtual space, 2 "jacket" transaction objects indicated by at least one piece of transaction information are determined as 2 list objects, and list object information is generated, and cache list object information locally cached at the client and cache list object information locally cached at the server are updated based on the list object information. After the update is completed, if the user triggers a "list object" button in the virtual space interface information shown in fig. 12, or after the user refreshes the virtual space interface information, the updated virtual space interface information is displayed, where a display object displayed in the updated virtual space interface information is the same as the display object displayed in fig. 12, but the list object displayed in the updated virtual space interface information is different from the list object displayed in fig. 12. Specifically, please refer to fig. 15 for the updated virtual space interface information.
The above is to facilitate understanding of an information display manner provided in the embodiment of the present application, and an embodiment of an application scenario for displaying information is provided, and specifically, an application scenario inventor regarding an information display method provided in the embodiment of the present application may perform corresponding setting according to a need of the inventor, which is not limited herein, and based on detailed description of the embodiment of the application scenario, an information display manner provided in the embodiment of the present application is made clearer and more complete.
To sum up:
the embodiment of the application provides an information display method, a server, a terminal and a system, and at least one piece of transaction information to be displayed is determined by receiving an information display request sent by a client; determining transaction objects and the number of each transaction object indicated by at least one piece of transaction information; determining the transaction objects meeting preset object display conditions as display objects; generating presentation object information indicating the determined presentation object; the display object information is returned to the client side, so that the client side can display the determined display object in the set virtual space conveniently, visual display of the information to be displayed is achieved based on the display object displayed in the set virtual space, and the problem that in the prior art, when information display is carried out through a list, the user experience is poor due to the fact that the information display result cannot be directly perceived by a user is solved.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (19)

1. An information display method, characterized in that the method comprises:
receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
determining each transaction object indicated by the at least one piece of transaction information;
determining at least one preset initial position corresponding to the transaction object and located in a virtual space;
determining whether there is an initial position in the at least one initial position that is not occupied by a presentation object presented in the virtual space;
if yes, determining the transaction object as a display object;
generating presentation object information indicating the determined presentation object;
and returning the display object information to the client so that the client can display the determined display object at the initial position in the set virtual space, wherein the initial position is used for displaying the corresponding transaction object.
2. The method of claim 1, wherein generating the presentation object information indicating the determined presentation object comprises:
determining a number of initial positions of the at least one initial position corresponding to the transaction object that are not occupied by a presentation object presented in the virtual space;
obtaining the number of the display objects determined by the trading objects based on the trading number of the trading objects and the determined number of the initial positions corresponding to the trading objects;
generating display object information indicating the determined number of each of the display objects and each of the display objects.
3. The method of claim 2, further comprising:
if the transaction quantity of the transaction objects is not larger than the quantity of the determined initial positions corresponding to the transaction objects, selecting the initial positions of the determined quantity of the transaction objects from the determined initial positions corresponding to the transaction objects as each initial position in the virtual space occupied by the display object determined by the transaction objects when the virtual space is displayed;
if the transaction number of the transaction objects is larger than the number of the determined initial positions corresponding to the transaction objects, taking the determined initial positions corresponding to the transaction objects as the initial positions of the virtual space occupied by the display object determined by the transaction objects when the virtual space is displayed.
4. The method of claim 3, wherein the generating the presentation object information comprises:
for each determined display object, generating object information of the display object based on the determined number of the display objects and the determined initial positions in the virtual space occupied by the display object;
the generated object information constitutes display object information.
5. The method of claim 4, further comprising:
determining a target transaction object as a list object, wherein the target transaction object comprises a first transaction object and/or a second transaction object, the first transaction object is a transaction object which does not meet an object display condition, and the number of the second transaction objects indicated by the at least one piece of transaction information is less than the number of initial positions which are preset and correspond to the second transaction objects and are not occupied by the displayed objects in at least one initial position in the virtual space;
list object information indicating the determined list object is generated.
6. The method of claim 5, wherein generating list object information indicating the determined list object comprises:
acquiring the determined number of each list object; when the target trading object is the first trading object, determining the number of the target trading objects indicated by the at least one piece of trading information as the number of the list objects determined by the target trading object; when the target trading object is a second trading object, determining the preset number of initial positions which correspond to the target trading object and are not occupied by the displayed object in at least one initial position in the virtual space as the number of list objects determined by the target trading object;
generating list object information indicating the determined list objects and the number of each of the list objects.
7. The method of claim 1, further comprising:
updating the cache display object information cached locally by the server based on the display object information to obtain updated cache display object information;
the returning of the display object information to the client so that the client displays the determined display object in the set virtual space includes:
and returning the display object information to the client so that the client updates the cache display object information of the local cache based on the display object information to obtain updated cache display object information, and displaying each display object indicated by the updated cache display object information in a set virtual space.
8. The method of claim 5, further comprising:
updating cache list object information cached locally by a server based on the list object information to obtain updated cache list object information;
and sending the list object information to the client so that the client can update the cache list object information cached locally at the client based on the list object information to obtain updated cache list object information, and displaying each list object indicated by the updated cache list object information in a set virtual space.
9. The method according to any one of claims 7-8, further comprising:
receiving operation updating information generated and sent by the client in response to the operation of the user on the display content of the virtual space, wherein the display content comprises a display object and/or a list object;
the operation update information is used for triggering the client to update the updated cache display object information and/or cache list object information of the local cache based on the operation update information, and is used for triggering the server to update the updated cache display object information and/or cache list object information of the local cache based on the operation update information.
10. The method according to claim 9, wherein the operation update information includes at least one piece of operation information, the operation information includes an operated object and an operation type in the presentation content, the operation type includes deleting the operated object or changing the operated object, and the object includes a presentation object and/or a list object;
wherein changing the operated object comprises:
replacing the operated object with a target object, wherein the target object is a display object/list object,
alternatively, the first and second electrodes may be,
and moving the operated object from the first position of the virtual space to the second position of the virtual space.
11. An information display method, characterized in that the method comprises:
sending an information display request to a server;
receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, where the display object information indicates a display object, and the display object is a transaction object meeting a preset object display condition in the transaction objects indicated by the at least one piece of transaction information, where the display object is a transaction object meeting a preset object display condition in the transaction objects indicated by the at least one piece of transaction information, and specifically includes: determining at least one preset initial position corresponding to the transaction object and located in a virtual space; determining whether there is an initial position in the at least one initial position that is not occupied by a presentation object presented in the virtual space; if yes, determining the transaction object as a display object;
and displaying the display object at an initial position in a set virtual space based on the display object information, wherein the initial position is used for displaying a corresponding transaction object.
12. The method according to claim 11, wherein the presenting the presentation object in a set virtual space based on the presentation object information comprises:
and updating the cache display object information of the local cache based on the display object information to obtain updated cache display object information, and displaying each display object indicated by the updated cache display object information in a set virtual space.
13. The method of claim 12, further comprising:
receiving list object information which is returned by the server and is generated according to at least one piece of transaction information to be displayed and determined by the information display request;
and updating the cache list object information of the local cache based on the list object information to obtain updated cache list object information, and displaying each list object indicated by the updated cache list object information in a set virtual space.
14. The method according to any one of claims 12-13, further comprising:
responding to the operation of the user on the display content of the virtual space, and generating and updating the updated cache display object information and/or cache list object information of the local cache based on the operation updating information;
and sending the operation updating information to the server to trigger the server to update the updated cache display object information and/or cache list object information of the local cache based on the operation updating information.
15. The method according to claim 14, wherein the operation update information includes at least one piece of operation information, the operation information includes an operated object and an operation type in the presentation content, the operation type includes deleting the operated object or changing the operated object, and the object includes a presentation object and/or a list object;
wherein changing the operated object comprises:
replacing the operated object with a target object, wherein the target object is a display object/list object,
alternatively, the first and second liquid crystal display panels may be,
and moving the operated object from the first position of the virtual space to the second position of the virtual space.
16. A server comprising a memory for storing a program and a processor for invoking the program, the program for:
receiving an information display request sent by a client, and determining at least one piece of transaction information to be displayed;
determining each transaction object indicated by the at least one piece of transaction information;
determining at least one preset initial position corresponding to the transaction object and located in a virtual space;
determining whether there is an initial position in the at least one initial position that is not occupied by a presentation object presented in the virtual space;
if yes, determining the transaction object as a display object;
generating presentation object information indicating the determined presentation object;
and returning the display object information to the client so that the client can display the determined display object at the initial position in the set virtual space, wherein the initial position is used for displaying the corresponding transaction object.
17. A terminal comprising a memory for storing a program and a processor for invoking the program, the program for:
sending an information display request to a server;
receiving at least one piece of transaction information to be displayed, which is returned by the server and determined according to the information display request, to generate display object information, where the display object information indicates a display object, and the display object is a transaction object meeting a preset object display condition in the transaction objects indicated by the at least one piece of transaction information, where the display object is a transaction object meeting a preset object display condition in the transaction objects indicated by the at least one piece of transaction information, and the method specifically includes: determining at least one preset initial position corresponding to the transaction object and located in a virtual space; determining whether there is an initial position in the at least one initial position that is not occupied by a presentation object presented in the virtual space; if yes, determining the transaction object as a display object;
and displaying the display object at an initial position in a set virtual space based on the display object information, wherein the initial position is used for displaying a corresponding transaction object.
18. An information presentation system comprising a server as claimed in claim 16 and a terminal as claimed in claim 17.
19. A computer-readable storage medium having stored thereon computer-executable instructions for performing the information presentation method of any one of claims 1-10 or the information presentation method of any one of claims 11-15.
CN201711375887.2A 2017-12-19 2017-12-19 Information display method, server, terminal and system Active CN109934659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711375887.2A CN109934659B (en) 2017-12-19 2017-12-19 Information display method, server, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711375887.2A CN109934659B (en) 2017-12-19 2017-12-19 Information display method, server, terminal and system

Publications (2)

Publication Number Publication Date
CN109934659A CN109934659A (en) 2019-06-25
CN109934659B true CN109934659B (en) 2022-11-11

Family

ID=66983763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711375887.2A Active CN109934659B (en) 2017-12-19 2017-12-19 Information display method, server, terminal and system

Country Status (1)

Country Link
CN (1) CN109934659B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282573A (en) * 2014-07-24 2016-01-27 腾讯科技(北京)有限公司 Embedded information processing method, client side and server

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6320687B2 (en) * 2013-05-23 2018-05-09 任天堂株式会社 Information processing system, information processing apparatus, program, and display method
CN105653545B (en) * 2014-11-10 2020-01-31 阿里巴巴集团控股有限公司 Method and device for providing service object information in page
CN113114743B (en) * 2014-12-08 2023-06-02 创新先进技术有限公司 Method and server for displaying access content
CN106033576B (en) * 2015-03-11 2020-08-11 哈尔滨工业大学深圳研究生院 Object information display method and device
US20160328797A1 (en) * 2015-05-08 2016-11-10 Trading Technologies International Inc. Generation and display of figure charts representing trading activity
CN106610984B (en) * 2015-10-22 2020-12-01 阿里巴巴集团控股有限公司 Commodity object page information processing method and device
CN107291718B (en) * 2016-03-30 2021-10-08 阿里巴巴集团控股有限公司 Page resource delivery method and device
CN106815757A (en) * 2016-12-12 2017-06-09 北京微影时代科技有限公司 A kind of order methods of exhibiting, apparatus and system
CN107229604B (en) * 2017-05-27 2020-12-18 北京小米移动软件有限公司 Transaction record information display method and device and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282573A (en) * 2014-07-24 2016-01-27 腾讯科技(北京)有限公司 Embedded information processing method, client side and server

Also Published As

Publication number Publication date
CN109934659A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN106846040B (en) Virtual gift display method and system in live broadcast room
AU2014235484B2 (en) Contextual local image recognition dataset
EP2895952B1 (en) Displaying an application set identifier
US8949739B2 (en) Creating and maintaining images of browsed documents
US20190208037A1 (en) Method, device and system for information interaction in application service
US10867426B2 (en) Image rendering method and system
CN104504106B (en) A kind of map covering zone rendering method and relevant device
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
WO2021258938A1 (en) Live broadcast message display method and apparatus
EP2857948A1 (en) Method, device and system for shunting information in graphic code
US20150312164A1 (en) Mobile information terminal and program thereof
CN109587031A (en) Data processing method
EP4287015A2 (en) Data processing method, and electronic terminal
CN108228715A (en) A kind of method, terminal and computer readable storage medium for showing image
CN108920037B (en) Method and device for displaying virtual three-dimensional space of house
CN110362766B (en) Page display control method and terminal
CN115454233A (en) Multi-screen interaction method and device
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
WO2017205188A1 (en) Multi-level font substitution control
CN109934659B (en) Information display method, server, terminal and system
CN113704653A (en) Data display method and related device
CN113318428A (en) Game display control method, non-volatile storage medium, and electronic device
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
EP3048524A1 (en) Document display support device, terminal, document display method, and computer-readable storage medium for computer program
CN114020396A (en) Display method of application program and data generation method of application program

Legal Events

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