CN109460201A - The methods of exhibiting of information, device, hardware device - Google Patents
The methods of exhibiting of information, device, hardware device Download PDFInfo
- Publication number
- CN109460201A CN109460201A CN201811138489.3A CN201811138489A CN109460201A CN 109460201 A CN109460201 A CN 109460201A CN 201811138489 A CN201811138489 A CN 201811138489A CN 109460201 A CN109460201 A CN 109460201A
- Authority
- CN
- China
- Prior art keywords
- data
- numerical value
- progress bar
- class
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000001747 exhibiting effect Effects 0.000 title abstract 4
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013479 data entry Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 241000283690 Bos taurus Species 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Game Theory and Decision Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure discloses the methods of exhibiting, device, hardware device of a kind of information.Wherein, the methods of exhibiting of the information includes: that client sends connection request to server-side;Client sends data ID and data acquisition instruction to server-side;Client receives the primary sources relevant to the data ID and secondary sources that server-side is sent, wherein respectively including the data of multiple and different numerical value in the primary sources and secondary sources;For the data of each numerical value in every one kind, mesh shows its numerical value and quantity one by one in the display page, and shows the progress bar of the data of the numerical value.The methods of exhibiting of the information of the embodiment of the present disclosure can make the displaying of fast-changing data quicker, comprehensive and accurate.
Description
Technical Field
The present disclosure relates to the field of information display, and in particular, to a method, an apparatus, and a hardware apparatus for displaying information.
Background
Level2 is a new generation real-time market data product of Shanghai-Shen exchange, and is an upgraded version of the common market. Investors can purchase Level2 market conditions to obtain more market information and better perform investment analysis. Currently, there are companies that provide Level2 market: the same-flower direction, rich cattle, big wisdom, etc. Compared with the traditional market, the Level2 market has the characteristics of high speed and large information amount, and when the data are displayed, the data are difficult to be displayed quickly, comprehensively and accurately by using the traditional display method due to the large data amount and the quick change of the data. Therefore, how to display and refresh Level2 market data becomes the key point and difficulty of various stock market apps.
Disclosure of Invention
According to one aspect of the present disclosure, the following technical solutions are provided:
a method for displaying information comprises the following steps: the client sends a connection request to the server; the client sends a data ID and a data acquisition instruction to the server; the client receives first-class data and second-class data which are sent by a server and are related to the data ID, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values; for each numerical value data in each class, displaying the numerical value and the number of the numerical value data item by item in a display page, and displaying a progress bar of the numerical value data; wherein, L ═ L (A/B) × LmaxL is the length of the progress bar, A is the data number of the value in the class, B is the total number of the data in the class, LmaxThe maximum length of the progress bar.
Further, the information display method further comprises the following steps: the client receives incremental data related to the data ID pushed by the server; and the client updates the quantity of the data of each numerical value in each class in the page and the progress bar according to the incremental data.
Further, the updating the number of data of each numerical value in each category in the page and the progress bar according to the incremental data includes: deleting the entry and the progress bar of the deleted data, adding the entry and the progress bar of the added data, and changing the entry and the progress bar of the data according to the changed amount of the data.
Further, the progress bar further includes a comparison area, where the comparison area indicates a proportion of data meeting a predetermined condition in the data of the value, where the length of the comparison area is: l isd(C/a) × L, wherein LdFor the length of the comparison area, C is the number of data meeting the preset condition in the data of the numerical value, A is the number of the data of the numerical value in the category, and L is the length of the progress bar.
Further, the information display method further comprises the following steps: the client receives a click instruction of a data item of a first numerical value; the client sends a detail checking instruction of a first numerical value to the server; the method comprises the steps that a client receives detailed information of data of a first numerical value sent by a server, wherein the detailed information comprises a plurality of groups of data with the first numerical value; and the client updates a display page according to the detail information, wherein each group in the plurality of groups of data with the first data value is displayed in the display page in the form of a data item.
Further, each of the plurality of groups of data having the first data value has a number, and the number of the group having the data quantity larger than the first threshold is marked on the display page.
Further, the data items of the group whose data quantity is greater than the first threshold value are displayed in a first color, and the data items of the group whose data quantity is not greater than the first threshold value are displayed in a second color.
Further, the display page comprises a first type data display area and a second type data display area; displaying the total data amount of each numerical value in the first-class data and a progress bar of the data corresponding to the numerical value in the first-class data display area one by one; displaying the total data amount of each numerical value in the second type data and a progress bar of the data corresponding to the numerical value in the second type data display area one by one; the entries are ordered in order of magnitude of the data values.
According to another aspect of the present disclosure, the following technical solutions are also provided:
an apparatus for displaying information, comprising:
the connection request module is used for sending a connection request to the server by the client;
the instruction sending module is used for sending the data ID and the data acquisition instruction to the server side by the client side;
the data receiving module is used for receiving first-class data and second-class data which are related to the data ID and are sent by a server side by a client side, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values;
the display module is used for displaying the numerical value and the number of the numerical value data in each category in a display page item by item and displaying a progress bar of the numerical value data;
wherein, L ═ L (A/B) × LmaxL is the length of the progress bar, A is the data number of the value in the class, B is the total number of the data in the class, LmaxThe maximum length of the progress bar.
Further, the data receiving module is further configured to receive, by the client, incremental data related to the data ID pushed by the server; the display module is further configured to update, by the client, the number of data of each numerical value in each category in the page and the progress bar according to the incremental data.
Further, the incremental data includes deleted data, added data, and changed data, and the display module is further configured to delete an entry of the deleted data and a progress bar, add an entry of the added data and a progress bar, and change the entry of the data and the progress bar according to the number of the changed data.
Further, the progress bar further comprises a dark color area, wherein the length of the dark color area is as follows:
Ld(C/a) × L, wherein LdThe length of the dark region is C, the number of data representing the dark region in the data of the numerical value in the class of data, A is the number of the data of the numerical value in the class, and L is the length of the progress bar.
Further, the information display device further includes: the click instruction receiving module is used for receiving a click instruction of the data item of the first numerical value by the client; the detail checking instruction sending module is used for sending a detail checking instruction of a first numerical value to the server side by the client side; the detail information receiving module is used for receiving the detail information of the data of the first numerical value sent by the server side by the client side, wherein the detail information comprises a plurality of groups of data with the first numerical value; and the page updating module is used for updating a display page according to the detail information by the client, wherein each group of the plurality of groups of data with the first data value is displayed in the display page in a data item form.
Further, each of the plurality of groups of data having the first data value has a number, and the number of the group having the data quantity larger than the first threshold is marked on the display page.
Further, the data items of the group whose data quantity is greater than the first threshold value are displayed in a first color, and the data items of the group whose data quantity is not greater than the first threshold value are displayed in a second color.
Further, the display page comprises a first type data display area and a second type data display area; displaying the total data amount of each numerical value in the first-class data and a progress bar of the data corresponding to the numerical value in the first-class data display area one by one; displaying the total data amount of each numerical value in the second type data and a progress bar of the data corresponding to the numerical value in the second type data display area one by one; the entries are ordered in order of magnitude of the data values.
According to still another aspect of the present disclosure, there is also provided the following technical solution:
an electronic device, comprising: a memory for storing non-transitory computer readable instructions; and the processor is used for executing the computer readable instructions, so that the processor realizes the steps of any information display method when executing.
According to still another aspect of the present disclosure, there is also provided the following technical solution:
a computer readable storage medium storing non-transitory computer readable instructions which, when executed by a computer, cause the computer to perform the steps of any of the methods described above.
The disclosure discloses an information display method, an information display device and a hardware device. The information display method comprises the following steps: the client sends a connection request to the server; the client sends a data ID and a data acquisition instruction to the server; the client receives first-class data and second-class data which are sent by a server and are related to the data ID, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values; for each numerical value data in each category, the numerical value and the number thereof are displayed item by item in the display page, and the progress bar of the numerical value data is displayed. The information display method disclosed by the embodiment of the disclosure can enable the display of the rapidly changing data to be faster, more comprehensive and more accurate.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
Fig. 1 is a schematic flow chart diagram of a method for displaying information according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of a method for presenting information according to another embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of a method for presenting information according to another embodiment of the present disclosure;
FIG. 4 is an example schematic diagram of an information presentation page according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an information display device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides an information display method. The information presentation method provided by the embodiment may be executed by a computing device, the computing device may be implemented as software, or implemented as a combination of software and hardware, and the computing device may be integrally disposed in a server, a terminal device, or the like. As shown in fig. 1, the information display method mainly includes the following steps S101 to S104. Wherein:
step S101: the client sends a connection request to the server;
in this step, the client sends a connection request to the server to request the data to be presented. The connection request can be a websocket long connection so as to ensure that the connection between the client and the server is stable. The client may be a terminal device installed with APP, including but not limited to a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), etc., and a fixed terminal such as a digital TV, a desktop computer, etc. The server may be a server or a server cluster providing data services, etc.
Step S102: the client sends a data ID and a data acquisition instruction to the server;
in this step, when the client and the server have established a connection, the client may send ID information of data to be acquired and an acquisition instruction of the data to the server according to an instruction of the user. In one embodiment, the ID of the data is a stock code, and the acquisition instruction of the data entrusts data information for the thousand files of the coded stock.
Step S103: the client receives first-class data and second-class data which are sent by a server and are related to the data ID, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values;
in the step, after receiving a data ID and a data acquisition instruction sent by a client, a server inquires data related to the data ID and sends the data to the client, and the client receives data related to the data ID and sent by the server, wherein the data comprise two types of data which are first type data and second type data respectively; the first type data and the second type data respectively comprise a plurality of data with different values. In one embodiment, the first type of data is order data, the second type of data is order data, and the order data each include multiple levels of data, each level of data including a price, that is, data of multiple different values in the first type of data and the second type of data, where the price is a value of the data. And each price includes a quantity representing the quantity of the order and the trade, that is, the quantity of data for each value.
Step S104: for each numerical value data in each class, displaying the numerical value and the number of the numerical value data item by item in a display page, and displaying a progress bar of the numerical value data;
in this step, for each numerical value of data in each class, the numerical value and the number of the data are displayed in a display page of the client in entries, one by one, and a progress bar of the numerical value of data is displayed. The progress bar here indicates the proportion of the number of data of the value in the class data. In one embodiment, taking the data of the bought dishes as an example, which includes multi-level data, assuming that the bought dishes have three-level data, 1000 entrusts with a price of 420, 2000 entrusts with a price of 421, and 2500 entrusts with a price of 422, the price and the entrusted quantity in the multi-level data are displayed according to different itemizations of the price, and the progress bar of the level is displayed, and the length of the progress bar is set to be L, the length of the progress bar can be calculated according to the following formula:
L=(A/B)*Lmaxwherein A is the number of data of the value in the class, B is the total number of the data in the class, and LmaxThe maximum length of the progress bar.
Specifically, in the above embodiment, a is 1000 for a purchase of 420, 2000 for a purchase of 421, 2000 for a purchase of 422, and 5000 for B, 1000+2000+ 2000. L ismaxIs a fixed value representing the maximum length of the progress bar, which may be an absolute fixed value such as 200pix, the maximum length of the progress bar being 200pix regardless of the change in the total amount of data of the purchase tray, or a relative fixed value, which varies according to the change in the total amount of data of the purchase tray, such as when purchasing 1000 traysThe maximum length is 100pix, the maximum length is 200pix when buying the disc 2000, and the maximum length is 300pix when buying the disc 3000. The above correspondence relationship is only an example, and is not a limitation to the present disclosure.
In the above embodiment, the maximum length is 500pix, and then for a purchase price of 420, which includes 1000 data, then L ═ (1000/5000) × 500pix ═ 100pix, then the length of the progress bar displaying the price on the display page is 100 pix; for a purchase price of 421, which includes 2000 data, L ═ 2000/5000 × 500pix ═ 200pix, the length of the progress bar showing the price on the display page is 200 pix.
In one embodiment, the display page is divided into two display regions: a first type data display area and a second type data display area; displaying the total data amount of each numerical value in the first-class data and a progress bar of the data corresponding to the numerical value in the first-class data display area one by one; displaying the total data amount of each numerical value in the second type data and a progress bar of the data corresponding to the numerical value in the second type data display area one by one; the entries are ordered in order of magnitude of the data values. Based on the above embodiment, if the order and the trade include items of three prices 420, 421 and 422, the display page may be divided into two display areas, left and right, in which data of the order is displayed on the left and data of the order is displayed on the right, three items 420, 421 and 422 are displayed in the two areas, respectively, item by item, and the items are arranged in order of the prices from small to large, each item including a price, a quantity and a progress bar, wherein the progress bar is located between the price and the quantity. It should be noted that the above-mentioned embodiments are only for convenience of understanding and do not limit the present disclosure.
In one embodiment, the progress bar may further include a comparison area indicating a proportion of data meeting a predetermined condition among the data of the value. Wherein L isd(C/a) × L, wherein LdFor the length of the comparison area, C is the number of data meeting the preset condition in the data of the numerical value, A is the number of the data of the numerical value in the category, and L is the length of the progress bar. And A is the data number of the numerical value in the class, and L is the length of the progress bar. In one embodiment, the comparison area is a dark area, for example, 2000 data with a purchase price of 421 includes a plurality of orders for order, wherein an order with a purchase price of more than 200 is a large order, and assuming that there is an order containing 300 data and an order containing 700 data in the order with a purchase price of 421, the number of the large order is 300+700 ═ 1000, and L is LdAt (1000/2000) × 200pix ═ 100pix, the progress bar can be divided into two parts, with a dark part 100pix and a light part pix, to indicate that 50% of the buy disks in gear 421 are large.
The disclosure discloses an information display method, an information display device and a hardware device. The information display method comprises the following steps: the client sends a connection request to the server; the client sends a data ID and a data acquisition instruction to the server; the client receives first-class data and second-class data which are sent by a server and are related to the data ID, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values; for each numerical value data in each category, the numerical value and the number thereof are displayed item by item in the display page, and the progress bar of the numerical value data is displayed. The information display method disclosed by the embodiment of the disclosure can enable the display of the rapidly changing data to be faster, more comprehensive and more accurate.
Fig. 2 illustrates another embodiment of the information displaying method of the present disclosure. The embodiment further includes step S201 and step S202 on the basis of the embodiment of fig. 1:
step S201: the client receives incremental data related to the data ID pushed by the server;
step S202: and the client updates the quantity of the data of each numerical value in each class in the page and the progress bar according to the incremental data.
In this embodiment, after the client finishes loading all data for the first time, if there is data incremental data, the server pushes the incremental data to the client through the connection established in step S101, where the server stores the ID and the data ID of the client after sending all data to the client for the first time, and when the data of the data ID changes, triggers an incremental data sending operation of the server to send the data incremental of the data ID to all clients that display the data of the data ID. It is understood that the incremental data includes at least three types: deleted data, added data, and changed data. The deleted data is data which is originally deleted after the data in the full amount of data, specifically, the deleted data can be first-gear data in the disk purchasing data, for example, a disk purchasing price 420 gear is purchased, 1000 data are purchased, then the gear 420 does not exist, so that the server side can send incremental data, delete the data in the gear, no longer display the data in the gear in the client side at this time, delete the items related to the gear data, and update the progress bars of all the items based on the current data amount; the added data is that no data exists in the total data originally, if the price of 433 for buying a disk appears and 100 data exist in total, the server side pushes incremental data to the client side, the client side adds an entry in a page to display the data, and the progress bars of all entries are updated based on the current data amount; the changed data is data with changed quantity, such as that the gear of the buying disc 420 is originally 1000 data, after 500 deals, the number is reduced to 500 data, or after 500 data are added, the number is changed to 1500, and then the length of the new progress bar needs to be calculated based on the new data quantity from the number of the newly displayed data.
Fig. 3 illustrates another embodiment of the information displaying method of the present disclosure. The embodiment further includes steps S301 to S304 on the basis of the embodiment of fig. 1:
step 301: the client receives a click instruction of a data item of a first numerical value;
step 302: the client sends a detail checking instruction of a first numerical value to the server;
step 303: the method comprises the steps that a client receives detailed information of data of a first numerical value sent by a server, wherein the detailed information comprises a plurality of groups of data with the first numerical value;
step 304: and the client updates a display page according to the detail information, wherein each group in the plurality of groups of data with the first data value is displayed in the display page in the form of a data item.
In this embodiment, the client has shown data in the page, when the user clicks a data entry in the page, after receiving the click signal, the client sends a detail view instruction for the entry, and after receiving the detail view instruction, the server searches for detail information of the value entry and sends the detail information to the client, where the detail information may be a data item including multiple sets of data with a first value, in one embodiment, the user clicks a purchase order data entry with a price of 420, and the server feeds back details of the data entry, where the details include a purchase order with a price of 420, specifically, assuming that the total number of purchase orders with a price of 420 is 1000, including 3 orders, including 200, 300, and 500 data, respectively. And the client updates a display page according to the detail information, and displays each group of the data with the first data value in the display page in the form of a data item. Specifically, the display of data may be organized according to 3 orders, divided into 3 data items, and the data items having 200, 300, and 500 data items are displayed, respectively.
In one embodiment, each of the plurality of sets of data having the first data value has a number, and the display page is marked with the number of the set having the data quantity larger than the first threshold value. Specifically, if the order is set to have the data number equal to 300, and the three orders in the above example are numbered 1, 2, and 3, respectively, a style of [2,3] may be displayed on the display page to indicate that the order No. 2 and the order No. 3 are large orders.
In one embodiment, the data items of the group whose data amount is greater than the first threshold are displayed in a first color, and the data items of the group whose data amount is not greater than the first threshold are displayed in a second color. The large sheets in the above-described embodiment display blue, and the non-large sheets may display black, which makes it easy to distinguish different data.
In one embodiment, when the data amount is too large and a page cannot be displayed, a scroll window may be set in the page to display all the data.
Fig. 4 shows a specific example of a page displayed by the method for displaying information in the present disclosure. As shown in fig. 4, the display page includes the order data and the order data, the order data and the order data are respectively displayed in two areas, the order data and the order data respectively include the price, the quantity and the progress bar, the progress bar indicates the quantity of the large order with dark color, the quantity of the non-large order with light color, and the whole progress bar indicates the proportion of the data of the price in the whole order data.
In the above, although the steps in the above method embodiments are described in the above sequence, it should be clear to those skilled in the art that the steps in the embodiments of the present disclosure are not necessarily performed in the above sequence, and may also be performed in other sequences such as reverse, parallel, and cross, and further, on the basis of the above steps, other steps may also be added by those skilled in the art, and these obvious modifications or equivalents should also be included in the protection scope of the present disclosure, and are not described herein again.
For convenience of description, only the relevant parts of the embodiments of the present disclosure are shown, and details of the specific techniques are not disclosed, please refer to the embodiments of the method of the present disclosure.
In order to solve the technical problem of how to improve the confidentiality of the two-dimensional code, the embodiment of the disclosure provides an information display device. The device can execute the steps in the embodiment of the information display method. As shown in fig. 5, the apparatus 50 mainly includes: a connection request module 51, an instruction sending module 52, a data receiving module 53 and a display module 54. Wherein,
a connection request module 51, configured to send a connection request to a server by a client;
the instruction sending module 52 is configured to send a data ID and a data obtaining instruction to the server by the client;
a data receiving module 53, configured to receive, by a client, first-class data and second-class data related to the data ID, where the first-class data and the second-class data respectively include data with multiple different values;
a display module 54, configured to display the numerical value and the number of the data of each numerical value in each category item by item in a display page, and display a progress bar of the data of the numerical value;
wherein, L ═ L (A/B) × LmaxL is the length of the progress bar, A is the data number of the value in the class, B is the total number of the data in the class, LmaxThe maximum length of the progress bar.
Further, the data receiving module 53 is further configured to receive, by the client, incremental data related to the data ID pushed by the server; the display module 54 is further configured to update, by the client, the number of data of each numerical value in each category in the page and the progress bar according to the incremental data.
Further, the incremental data includes deleted data, added data, and changed data, and the display module 54 is further configured to delete an entry of the deleted data and a progress bar, add an entry of the added data and a progress bar, and change the entry of the data and the progress bar according to the number of changed data.
Further, the progress bar further comprises a comparison area, the comparison area represents the proportion of data meeting a predetermined condition in the data of the value, wherein the length of the comparison area is as follows: and Ld is (C/A) × L, wherein Ld is the length of the comparison area, C is the number of data meeting the preset condition in the data of the numerical value, A is the number of the data of the numerical value in the category, and L is the length of the progress bar.
Further, the information display device 50 further includes: the click instruction receiving module is used for receiving a click instruction of the data item of the first numerical value by the client; the detail checking instruction sending module is used for sending a detail checking instruction of a first numerical value to the server side by the client side; the detail information receiving module is used for receiving the detail information of the data of the first numerical value sent by the server side by the client side, wherein the detail information comprises a plurality of groups of data with the first numerical value; and the page updating module is used for updating a display page according to the detail information by the client, wherein each group of the plurality of groups of data with the first data value is displayed in the display page in a data item form.
Further, each of the plurality of groups of data having the first data value has a number, and the number of the group having the data quantity larger than the first threshold is marked on the display page.
Further, the data items of the group whose data quantity is greater than the first threshold value are displayed in a first color, and the data items of the group whose data quantity is not greater than the first threshold value are displayed in a second color.
Further, the display page comprises a first type data display area and a second type data display area; displaying the total data amount of each numerical value in the first-class data and a progress bar of the data corresponding to the numerical value in the first-class data display area one by one; displaying the total data amount of each numerical value in the second type data and a progress bar of the data corresponding to the numerical value in the second type data display area one by one; the entries are ordered in order of magnitude of the data values.
The apparatus shown in fig. 5 can perform the method of the embodiment shown in fig. 1, and reference may be made to the related description of the embodiment shown in fig. 1 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 1, and are not described herein again.
Referring now to FIG. 6, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Claims (11)
1. A method for displaying information is characterized by comprising the following steps:
the client sends a connection request to the server;
the client sends a data ID and a data acquisition instruction to the server;
the client receives first-class data and second-class data which are sent by a server and are related to the data ID, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values;
for each numerical value data in each class, displaying the numerical value and the number of the numerical value data item by item in a display page, and displaying a progress bar of the numerical value data;
wherein, L ═ L (A/B) × LmaxL is the length of the progress bar, A is the data number of the value in the class, B is the total number of the data in the class, LmaxThe maximum length of the progress bar.
2. The method of claim 1, further comprising:
the client receives incremental data related to the data ID pushed by the server;
and the client updates the quantity of the data of each numerical value in each class in the page and the progress bar according to the incremental data.
3. The method for displaying information according to claim 2, wherein the incremental data includes deleted data, added data, and changed data, and the updating the number of data of each value in each of the classes in the page and the progress bar according to the incremental data includes:
deleting the entry and the progress bar of the deleted data, adding the entry and the progress bar of the added data, and changing the entry and the progress bar of the data according to the changed amount of the data.
4. The information presentation method according to claim 1, wherein the progress bar further includes a comparison area, the comparison area indicates a proportion of data meeting a predetermined condition in the data of the value, wherein the length of the comparison area is:
Ld(C/a) × L, wherein LdFor the length of the comparison area, C is the number of data meeting the preset condition in the data of the numerical value, A is the number of the data of the numerical value in the category, and L is the length of the progress bar.
5. The method of claim 1, further comprising:
the client receives a click instruction of a data item of a first numerical value;
the client sends a detail checking instruction of a first numerical value to the server;
the method comprises the steps that a client receives detailed information of data of a first numerical value sent by a server, wherein the detailed information comprises a plurality of groups of data with the first numerical value;
and the client updates a display page according to the detail information, wherein each group in the plurality of groups of data with the first data value is displayed in the display page in the form of a data item.
6. The method for displaying information as claimed in claim 5, wherein each of the plurality of sets of data having the first data value has a number, and the display page is marked with the number of the set having the data amount greater than the first threshold.
7. The method for displaying information as claimed in claim 5, wherein the data items of the group whose data quantity is greater than the first threshold value are displayed in a first color, and the data items of the group whose data quantity is not greater than the first threshold value are displayed in a second color.
8. The method of claim 1, wherein:
the display page comprises a first type data display area and a second type data display area;
displaying the total data amount of each numerical value in the first-class data and a progress bar of the data corresponding to the numerical value in the first-class data display area one by one;
displaying the total data amount of each numerical value in the second type data and a progress bar of the data corresponding to the numerical value in the second type data display area one by one;
the entries are ordered in order of magnitude of the data values.
9. An apparatus for displaying information, comprising:
the connection request module is used for sending a connection request to the server by the client;
the instruction sending module is used for sending the data ID and the data acquisition instruction to the server side by the client side;
the data receiving module is used for receiving first-class data and second-class data which are related to the data ID and are sent by a server side by a client side, wherein the first-class data and the second-class data respectively comprise a plurality of data with different numerical values;
the display module is used for displaying the numerical value and the number of the numerical value data in each category in a display page item by item and displaying a progress bar of the numerical value data;
wherein, L ═ L (A/B) × LmaxL is the length of the progress bar, A is the data number of the value in the class, B is the total number of the data in the class, LmaxThe maximum length of the progress bar.
10. An electronic device, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions, such that the processor when executing implements the method of presenting information according to any one of claims 1-8.
11. A computer-readable storage medium storing non-transitory computer-readable instructions which, when executed by a computer, cause the computer to perform a method of presenting information as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811138489.3A CN109460201A (en) | 2018-09-28 | 2018-09-28 | The methods of exhibiting of information, device, hardware device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811138489.3A CN109460201A (en) | 2018-09-28 | 2018-09-28 | The methods of exhibiting of information, device, hardware device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109460201A true CN109460201A (en) | 2019-03-12 |
Family
ID=65607068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811138489.3A Pending CN109460201A (en) | 2018-09-28 | 2018-09-28 | The methods of exhibiting of information, device, hardware device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460201A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221636A (en) * | 2019-12-31 | 2020-06-02 | 北京银企融合技术开发有限公司 | Cross-service task progress measuring and displaying method and system |
CN111241320A (en) * | 2020-01-13 | 2020-06-05 | 北京明略软件系统有限公司 | Information display method and device |
CN111669447A (en) * | 2020-06-16 | 2020-09-15 | 中国建设银行股份有限公司 | Page display method, device, equipment and medium |
CN112149020A (en) * | 2020-09-17 | 2020-12-29 | 成都知道创宇信息技术有限公司 | Progress bar display method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991900A (en) * | 2005-12-29 | 2007-07-04 | 宇龙计算机通信科技(深圳)有限公司 | Method for realizing mobile security exchange |
CN102542505A (en) * | 2010-12-09 | 2012-07-04 | 三竹资讯股份有限公司 | Device and method for counting price and volume and displaying price marks for financial tape reading software on touch-screen mobile device |
CN106155511A (en) * | 2015-03-06 | 2016-11-23 | 三竹资讯股份有限公司 | Multi-mode detailed stock information device and method |
CN106997561A (en) * | 2017-04-18 | 2017-08-01 | 湖南福米信息科技有限责任公司 | Display methods, system and the terminal device of stock market data |
CN107066175A (en) * | 2017-04-18 | 2017-08-18 | 湖南福米信息科技有限责任公司 | Method and device for generating display interface of securities |
CN107093140A (en) * | 2017-03-10 | 2017-08-25 | 谢汉铭 | Financial commodity transaction data handling system |
CN108446977A (en) * | 2018-02-10 | 2018-08-24 | 灯塔财经信息有限公司 | A kind of acquisition of stock value distribution and rendering method and related device |
-
2018
- 2018-09-28 CN CN201811138489.3A patent/CN109460201A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991900A (en) * | 2005-12-29 | 2007-07-04 | 宇龙计算机通信科技(深圳)有限公司 | Method for realizing mobile security exchange |
CN102542505A (en) * | 2010-12-09 | 2012-07-04 | 三竹资讯股份有限公司 | Device and method for counting price and volume and displaying price marks for financial tape reading software on touch-screen mobile device |
CN106155511A (en) * | 2015-03-06 | 2016-11-23 | 三竹资讯股份有限公司 | Multi-mode detailed stock information device and method |
CN107093140A (en) * | 2017-03-10 | 2017-08-25 | 谢汉铭 | Financial commodity transaction data handling system |
CN106997561A (en) * | 2017-04-18 | 2017-08-01 | 湖南福米信息科技有限责任公司 | Display methods, system and the terminal device of stock market data |
CN107066175A (en) * | 2017-04-18 | 2017-08-18 | 湖南福米信息科技有限责任公司 | Method and device for generating display interface of securities |
CN108446977A (en) * | 2018-02-10 | 2018-08-24 | 灯塔财经信息有限公司 | A kind of acquisition of stock value distribution and rendering method and related device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221636A (en) * | 2019-12-31 | 2020-06-02 | 北京银企融合技术开发有限公司 | Cross-service task progress measuring and displaying method and system |
CN111241320A (en) * | 2020-01-13 | 2020-06-05 | 北京明略软件系统有限公司 | Information display method and device |
CN111669447A (en) * | 2020-06-16 | 2020-09-15 | 中国建设银行股份有限公司 | Page display method, device, equipment and medium |
CN112149020A (en) * | 2020-09-17 | 2020-12-29 | 成都知道创宇信息技术有限公司 | Progress bar display method and device, electronic equipment and storage medium |
CN112149020B (en) * | 2020-09-17 | 2023-04-28 | 成都知道创宇信息技术有限公司 | Progress bar display method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109460201A (en) | The methods of exhibiting of information, device, hardware device | |
CN111444356B (en) | Recommendation method and device based on search | |
CN109491742B (en) | Page table rendering method and device | |
CN115757400B (en) | Data table processing method, device, electronic equipment and computer readable medium | |
CN111950857A (en) | Index system management method and device based on service indexes and electronic equipment | |
CN109726390A (en) | Document processing method, device, electronic equipment and storage medium | |
CN111273830A (en) | Data display method and device, electronic equipment and computer readable medium | |
CN112905090A (en) | Spreadsheet processing method, device, terminal and storage medium | |
CN109635263B (en) | Column width fixed display method and device based on WEB ultra-wide table and electronic equipment | |
CN112214665A (en) | Content display method and device, electronic equipment and computer readable storage medium | |
CN112102043B (en) | Item recommendation page generation method and device, electronic equipment and readable medium | |
CN112100211B (en) | Data storage method, apparatus, electronic device, and computer readable medium | |
CN110113416B (en) | Method and device for displaying information | |
CN109684015B (en) | Interface data loading method and device, electronic equipment and storage medium | |
CN112333462A (en) | Live broadcast room page jumping method, returning device and electronic equipment | |
CN109598562A (en) | The method, apparatus and electronic equipment of information publication | |
CN113177174B (en) | Feature construction method, content display method and related device | |
CN111723274A (en) | Method and apparatus for processing information | |
CN111367517B (en) | Information generation method and device | |
CN111488537A (en) | Page display method and device | |
CN114040014B (en) | Content pushing method, device, electronic equipment and computer readable storage medium | |
CN111857879B (en) | Data processing method, device, electronic equipment and computer readable medium | |
CN113032808B (en) | Data processing method and device, readable medium and electronic equipment | |
CN112949670B (en) | Data set switching method and device for federal learning model | |
CN111026983B (en) | Method, device, medium and electronic equipment for realizing hyperlink |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190312 |