CN106603684A - Information display method and device, and user terminal - Google Patents

Information display method and device, and user terminal Download PDF

Info

Publication number
CN106603684A
CN106603684A CN201611204284.1A CN201611204284A CN106603684A CN 106603684 A CN106603684 A CN 106603684A CN 201611204284 A CN201611204284 A CN 201611204284A CN 106603684 A CN106603684 A CN 106603684A
Authority
CN
China
Prior art keywords
data
response message
name
data name
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
Application number
CN201611204284.1A
Other languages
Chinese (zh)
Inventor
陈稳
甘立宁
何旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Micro Shadow Era Technology Co Ltd
Original Assignee
Beijing Micro Shadow Era Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Micro Shadow Era Technology Co Ltd filed Critical Beijing Micro Shadow Era Technology Co Ltd
Priority to CN201611204284.1A priority Critical patent/CN106603684A/en
Publication of CN106603684A publication Critical patent/CN106603684A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The embodiment of the invention provides an information display method and device, and a user terminal, and the method comprises the steps: obtaining a first selection instruction; transmitting a first request comprising a data name to a server if the first selection instruction is a first data selection instruction, and receiving first response information returned by the server according to the first request, and analyzing and displaying the first response information, wherein the first response information comprises the data name, first-level data which is corresponding to the data name and has a first data structure; transmitting a second request comprising the data name to the server if the first selection instruction is a second data selection instruction, and receiving second response information which is returned by the server according to the second request, and analyzing and displaying the second response information, wherein the second response information comprises the data name and second-level data which is corresponding to the data name and has a second data structure. The method enables a user to be able to carry out different display the same basic data corresponding to the data name according to the needs, and improves the user experience.

Description

Method for information display, device and user terminal
Technical field
The present invention relates to computer application field, in particular to a kind of method for information display, device and user's end End.
Background technology
With developing rapidly for the Internet, the growth of information explosion formula, as user is for the purposes of the data for getting Difference, the mode of the presentation of information of needs are just different, therefore, how according to the demand of user will with portion basic data, according to The demand of user carries out different displays, becomes problem demanding prompt solution.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of method for information display, device and user terminal, with Solve the above problems.
To achieve these goals, the technical scheme that the embodiment of the present invention is adopted is as follows:
In a first aspect, embodiments providing a kind of method for information display, methods described includes:Obtain first choice Instruction;When first choice instruction is the first data selection instruction, sending to server includes the first request of data name, connects The first response message that server is returned according to the first request is received, the first response message includes data name and and data name Claim the corresponding level one data with the first data structure, parse and show the first response message;When first choice instruction is the During two data selection instructions, sending to server includes the second request of data name, and the reception server is returned according to the second request The second response message returned, wherein, the second response message includes data name and corresponding with the data name has second The secondary data of data structure, parses and shows the second response message;Wherein, level one data and secondary data are based on and data The corresponding basic data of title.
Second aspect, embodiments provides a kind of information display device, and described device includes:Acquisition module, uses Instruct in first choice is obtained;First processing module, for when first choice instruction is the first data selection instruction, to service Device sends the first request for including data name, the first response message that the reception server is returned according to the first request, the first sound Answer information to include data name and the level one data with the first data structure corresponding with data name, parse and show First response message;Second processing module, for when first choice instruction is the second data selection instruction, sending to server Ask including the second of data name, the second response message that the reception server is returned according to the second request, wherein, the second response Information includes data name and the secondary data with the second data structure corresponding with the data name, parses and shows Second response message;Wherein, level one data and secondary data are based on basic data corresponding with data name.
The third aspect, embodiments provides a kind of user terminal, and the user terminal includes processor and deposits Reservoir, memorizer are couple to processor, and memory store instruction is made when instruction is by computing device below user terminal execution Operation:Obtain first choice instruction;When first choice instruction is the first data selection instruction, sending to server includes data First request of title, the first response message that the reception server is returned according to the first request, the first response message include number According to title and the level one data with the first data structure corresponding with data name, the first response message is parsed and shows;When When first choice instruction is the second data selection instruction, sending to server includes the second request of data name, receives service Device according to second request return the second response message, wherein, the second response message include data name and with the data name Claim the corresponding secondary data with the second data structure, parse and show the second response message;Wherein, level one data and two grades Data are based on basic data corresponding with data name.
Compared with prior art, a kind of method for information display provided in an embodiment of the present invention, device and user terminal, according to Judge that the first choice for obtaining instruction is the first data selection instruction or the second data selection instruction, initiate to server respectively Different request, to get the level one data with different pieces of information structure or secondary data of server return, and one-level Data and secondary data are based on basic data corresponding with data name, so that user terminal can be by with a and data name Corresponding basic data is claimed to be parsed and shown according to different data structures, so that user can pass through user according to demand Terminal will carry out different displays from the corresponding basic data of data name with portion, improve Consumer's Experience.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by to be used attached needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the schematic diagram that user terminal provided in an embodiment of the present invention is interacted with server.
Fig. 2 is the structural representation of user terminal provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart of method for information display provided in an embodiment of the present invention.
Fig. 4 is a kind of user terminal the first display interface schematic diagram of method for information display provided in an embodiment of the present invention.
Fig. 5 is the detail flowchart of step S400 in a kind of method for information display provided in an embodiment of the present invention.
Fig. 6 is a kind of user terminal the second display interface schematic diagram of method for information display provided in an embodiment of the present invention.
Fig. 7 is the detail flowchart of step S500 in a kind of method for information display provided in an embodiment of the present invention.
Fig. 8 is the detail flowchart of step S600 in a kind of method for information display provided in an embodiment of the present invention.
Fig. 9 is a kind of structured flowchart of information display device provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and be designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then in subsequent accompanying drawing which further need not be defined and is explained.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows the schematic diagram that server provided in an embodiment of the present invention 200 is interacted with user terminal 100.Clothes Business device 200 is communicatively coupled with one or more user terminals 100 by network 300, to enter row data communication or interaction.Clothes Business device 200 can be the webserver, database server etc..User terminal 100 can be PC (personal Computer, PC), panel computer, smart mobile phone, personal digital assistant (personal digital assistant, PDA), Mobile unit, wearable device etc..
Fig. 2 shows a kind of structured flowchart of the user terminal 100 that can be applicable in the embodiment of the present invention.As shown in Fig. 2 User terminal 100 includes memorizer 102, storage control 104, one or more (one is only illustrated in figure) processors 106, outer If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication Line/holding wire 116 is mutually communicated.
Memorizer 102 can be used to storing software program and module, such as the method for information display in the embodiment of the present invention with And the corresponding programmed instruction/module of device, processor 106 is by running the software program and mould being stored in memorizer 102 Block, so as to perform various function application and data processing, such as method for information display provided in an embodiment of the present invention.
Memorizer 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memorizer 102 by Peripheral Interface 108.In some enforcements In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 110 be used for receive and send electromagnetic wave, realize the mutual conversion of electromagnetic wave and the signal of telecommunication, so as to Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user with audio interface, and which may include one or more mikes, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface between user terminal 100 and user simultaneously.Specifically, Touch Screen 114 displays to the user that video frequency output, and the content of these video frequency outputs may include word, figure, video and its arbitrarily Combination.
It is appreciated that structure shown in Fig. 2 is only illustrated, user terminal 100 may also include it is more more than shown in Fig. 2 or Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its Combination is realized.
In the embodiment of the present invention, client is installed in user terminal 100, the client can be that third-party application is soft Part, such as browser or calendar date display etc., hold corresponding with server (Server), follow jointly same sets of data association View so that service end can parse mutually the data of other side with client, provides the user user interface and shows service.
The flow chart that Fig. 3 shows method for information display provided in an embodiment of the present invention, refers to Fig. 3, and the present embodiment is retouched What is stated is the handling process of user terminal, and methods described includes:
Step S300, obtains first choice instruction.
When user is selected by the screen of click user terminal, or user passes through gesture in user terminal When interface is selected, user terminal gets first choice instruction.
The species of first choice instruction can have various, can be the first following data selection instruction, the choosing of the second data Instruction, or other data selection instructions are selected, when first choice instruction is defined as one of which data selection instruction, which is right Answer a kind of data structure.
Step S400, when first choice instruction is the first data selection instruction, sending to server includes data name The first request, the first response message that the reception server is returned according to the first request, the first response message includes data name Claim, and the level one data with the first data structure corresponding with data name, parse and show the first response message.
When user terminal gets first choice instruction, can judge whether which is the first data according to default rule Selection instruction, for example, the header that can be instructed in being instructed according to first choice, or some default flag informations, come true Determine whether first choice instruction is the first data selection instruction.
First data selection instruction, first request, and the first response message mutually correspond to.For example, when user terminal judges Go out first choice instruction for the first data selection instruction when, then can send first to server and ask, when server receives the During one request, then can return to user terminal includes the of the level one data with the first data structure corresponding with data name One response.That is, the first choice instruction that user terminal gets, being practically used for indicating user terminal please to server Seek certain type of data structure.
Further, as a kind of embodiment, user terminal can pass through AJAX (Asynchronous Javascript And XML, asynchronous JavaScript and XML) mode to server initiate first ask.AJAX is a kind of For creating the technology of quick dynamic web page, webpage can be made to realize asynchronous refresh, it means that can not reload it is whole In the case of individual webpage, certain part of webpage is updated.Further, as a kind of embodiment, user terminal is to clothes The mode of business device request can be post.
Further, as a kind of embodiment, server can be carried out using JSON data forms with user terminal First response is packaged by interaction, server using JSON data forms, when user terminal receives the first response, first First parsed according to the analytic method of JSON data forms, obtain data name and corresponding with data name have first The level one data of data structure, further parses data name and corresponding with data name according to default analytic method Level one data with the first data structure.As JSON (JavaScript Object Notation) is a kind of lightweight Data interchange format, is packaged by JSON data forms so that the front-end interface of user terminal adopts JavaScript very Easily parse, accelerate the speed that user terminal information shows.
The embodiment of data name can have various, and for example, data name can be time title, month name etc..
Level one data with the first data structure, is according between the very first time by basic data corresponding with data name Data after segmentation.Wherein, the embodiment at very first time interval has various, can be configured according to the demand of user. For example, very first time interval could be arranged to the moon, it is also possible to is set to week, or is set to ten days as a time interval Cycle etc..
Hypothesis data name is time title, such as 2015, if the very first time is at intervals of the moon, the second of level one data One-dimension array is the one-dimension array for including 12 elements, and each array element is an object, and each object includes that first waits to show Show information, if the first information to be displayed can be month name, the second one-dimension array of the level one data is to include 12 units Element, respectively [January], [2 months] ..., [December] totally 12 elements.
If the first response message includes a data name and corresponding with the data name has the first data structure Level one data when, when user terminal receives first response message, can be parsed in such a way and be shown:
Data name is parsed first, the corresponding position of the data name is found at default interface according to the data name, so The corresponding level one data with the first data structure of the data name is parsed afterwards, if level one data is the second one-dimension array, according to The secondary array element read in second one-dimension array, and by the array element in second one-dimension array successively in corresponding position Put and shown.
Fig. 4 is referred to, step S400 is illustrated with a specific embodiment below.
When first choice instruction is the first data selection instruction, the first data selection instruction is used for indicating user terminal There is the level one data of the first data structure to server request.
User terminal sends the first request for including data name to server, and as shown in Figure 4, the data name is 2015.
The reception server according to first request return the first response message, first response message include [2015, The level one data with the first data structure corresponding with 2015].If the very first time is at intervals of the moon, as shown in figure 4, now with The level one data that 2015 corresponding to have the first data structure is the second one-dimension array for including 12 elements, array element point Not Wei [January], [2 months] ..., [December].
User terminal receives the first response message, parses data name, i.e., 2015 year first, finds in default interface Corresponding position, then parses corresponding with 2015 level one data with the first data structure, by the of the level one data Array element [January], [2 months] in two one-dimension arrays ..., [December] is shown in corresponding position respectively.
Further, now the data name corresponding position can be carried out ash aobvious or can be by the data using other The mode in the other positions region that the region of title correspondence position is different from interface shown, clearly pointed out to user, For example, the corresponding position of the data name further can be operated.In this way so that user uses more Plus it is convenient, improve Consumer's Experience.
Further, the first response message can include a data name and corresponding with the data name have the The level one data of one data structure;Can also include multiple data names, and multiple corresponding with data name respectively have the The level one data of one data structure.It is understood that when multiple data names in the first response message, and it is multiple respectively with When the corresponding level one data with the first data structure of data name is organized according to predetermined data structure, will be more favourable In parsing of the user terminal to the first response message.
Used as a kind of embodiment, the first response message includes the first one-dimension array, each in first one-dimension array Array element includes data name and level one data, wherein, level one data includes the second one-dimension array, second one-dimension array In each array element be an object, each object includes the first information to be displayed.
For example, the first response message is the first one-dimension array, wherein, array element number and the in first one-dimension array In one request, data name number is corresponding, for example, it is assumed that data name number is 5 in the first request.Then server is received First request, according to preset rules, obtains with the data of data name in the first request from data base as the 1st Array element in dimension group.If data name be time title, and respectively 2016,2015,2014,2013, 2012, then now server generates the first one-dimension array for including 5 array elements as the first response message, each array Element includes data name and level one data corresponding with the data name, respectively [2016,2016 corresponding one DBMS], [2015, corresponding level one data in 2015], [2014, corresponding level one data in 2014], [2013, Corresponding level one data in 2013], [2012, corresponding level one data in 2012].
For for first array element [2016, corresponding level one data in 2016], if the very first time at intervals of Month, then the second one-dimension array of the level one data is the second one-dimension array for including 12 array elements, and each array element is One object, each object include the first information to be displayed, and first information to be displayed can be month name, i.e. level one data The second one-dimension array include 12 array elements, respectively [January], [2 months] ..., [December] totally 12 array elements.Its Remaining array element is similar with first array element, just repeats no more herein.
Refer to Fig. 5, when the first response message be the first one-dimension array, each array element in first one-dimension array Including data name and the level one data with the first data structure corresponding with the data name, wherein, the level one data Including the second one-dimension array, each array element in second one-dimension array is an object, and each object includes that first treats Display information, as a kind of embodiment, parses and shows the first response message, may comprise steps of:
Step S410, using the one of array element in the first response message as pending element, travels through this and waits to locate Second one-dimension array of the level one data in reason element, by the first information to be displayed in second one-dimension array successively default Position display corresponding with the data name in pending element in interface.
Step S420, the next array element obtained in the first response message are processed as pending element, directly All show to the array element in the first response message and complete.
Name a specific embodiment to illustrate.
When first choice instruction for the first data selection instruction when, the first data selection instruction be used for indicating user terminal to Server request has the level one data of the first data structure.
User terminal sends the first request for including data name to server, wherein, data name can be multiple, example Such as, the first request includes 2016,2015,2014,2013,2012.
The first response message that user terminal the reception server is returned according to the first request, the first response message is to include 5 First one-dimension array of individual array element, each array element include data name and one-level corresponding with the data name Data, respectively [2016, corresponding level one data in 2016], [2015, corresponding level one data in 2015], [2014 Year, corresponding level one data in 2014], [2013, corresponding level one data in 2013], [2012,2012 corresponding one DBMS].If the very first time, the level one data with the first data structure now corresponding with 2016 was to include at intervals of the moon Second one-dimension array of 12 elements, the array element of second one-dimension array be respectively [January], [2 months] ..., [December]. Remaining array element is similar to, and here is omitted.
After user terminal receives first response message, using the one of array element in the first response message as Pending element, i.e., now by [2016, corresponding level one data in 2016] as pending element, travel through pending element Level one data the second one-dimension array, i.e., now travel through corresponding second one-dimension array of corresponding level one data in 2016, point Not by the array element [January] of second one-dimension array, [2 months] ..., [December] successively in default interface with data name Corresponding position display in 2016.
The next array element in the first response message is obtained, will [2015, corresponding level one data in 2015] Processed as pending element, the array element in the first response message all shows and completes.
In this way, can disposably from server obtain multiple data names and it is multiple respectively with data name pair The level one data with the first data structure answered, reduces user terminal by repeatedly respectively to the number of server request data According to amount and request time, and multiple data names of display and multiple corresponding with data name respectively disposably can be parsed successively Level one data with the first data structure, improves Consumer's Experience.
Step S500, when first choice instruction is the second data selection instruction, sending to server includes data name Second request, the reception server according to second request return the second response message, wherein, the second response message include count According to title and the secondary data with the second data structure corresponding with the data name, the second response message is parsed and shows; Wherein, level one data and secondary data are based on basic data corresponding with data name.
It is understood that when first choice instruction for the second data selection instruction when, its be used for indicating user terminal to The data of server request another kind data structure.
The embodiment of data name can have various, and for example, data name can be time title, month name etc..
Secondary data with the second data structure, is according between the second time by basic data corresponding with data name Data after segmentation.
Wherein, the embodiment of the second time interval also has various, and for example, the second time interval could be arranged to the moon, Week is could be arranged to, or is set to ten days cycles as a time interval etc..Only need to arrange and be spaced with the very first time It is different.Used as a kind of embodiment, the second time interval is set to week.
The data name is assumed for time title, such as 2015, if the second time interval is week, the secondary data 4th one-dimension array is the 4th one-dimension array for including 52 array elements, and each array element is an object, each object Including the second information to be displayed, wherein, the second information to be displayed can be all titles, all from dates, all Close Dates, i.e., should 4th one-dimension array of level one data is to include 52 array elements, respectively [the 1st week, January 1, January 7], [the 2nd week, 1 Months 8 days, January 15] ..., [the 52nd week, December 25, December 31] totally 52 array elements.
If the second response message includes a data name and corresponding with the data name has the second data structure Secondary data when, when user terminal receives the second response message, can be parsed in such a way and be shown:
Data name is parsed first, the corresponding position of the data name is found at default interface according to the data name, so The corresponding secondary data with the second data structure of the data name is parsed afterwards, if secondary data is the 4th one-dimension array, according to Secondary the second information to be displayed by the 4th one-dimension array position display corresponding with the data name in default interface.
Fig. 6 is referred to, step S500 is illustrated with a specific embodiment below.
When first choice instruction is the second data selection instruction, the second data selection instruction is used for indicating user terminal There is the secondary data of the second data structure to server request.
User terminal sends the first request for including data name to server, and as shown in Figure 6, the data name is 2015.
The reception server according to second request return the second response message, the second response message include [2015, with The corresponding secondary data with the second data structure in 2015].If the second time interval for week, as shown in fig. 6, now with The secondary data that 2015 corresponding to have the second data structure is the 4th one-dimension array for including 52 array elements, the 4th Array element in one-dimension array be respectively [the 1st week, January 1, January 7], [the 2nd week, January 8, January 15] ..., [the 52nd week, December 25, December 31].
User terminal receives the second response message, parses data name, i.e., 2015 year first, finds in default interface Corresponding position, then parses the secondary data with the second data structure corresponding with 2015, by the array of secondary data Element [the 1st week, January 1, January 7], [the 2nd week, January 8, January 15] ..., [the 52nd week, December 25, December 31 Day] shown in corresponding position respectively.
Further, now data name corresponding position can be carried out ash aobvious or can be by data name using other The mode in the other positions region that the region of correspondence position is different from interface shown, clearly pointed out to user, for example, Point out the corresponding position of the data name further can be operated.In this way so that user uses more Plus it is convenient, improve Consumer's Experience.
Further, the second response message can include a data name and corresponding with the data name have the The secondary data of two data structures;Can also include multiple data names, and multiple corresponding with data name respectively have the The secondary data of two data structures.It is understood that when multiple data names in the second response message, and it is multiple respectively with When the corresponding secondary data with the second data structure of data name is organized according to predetermined data structure, will be more favourable In parsing of the user terminal to the second response message.
Used as a kind of embodiment, the second response message is the 3rd one-dimension array, the every number in the 3rd one-dimension array Constituent element element includes data name and secondary data corresponding with the data name, wherein, secondary data is the 4th one-dimension array, Each array element in 4th one-dimension array is an object, and each object includes the second information to be displayed.
It is understood that specific embodiment is similar with step S400, just repeat no more herein.
Refer to Fig. 7, when the second response message be the 3rd one-dimension array, each array element in the 3rd one-dimension array Including data name and secondary data corresponding with the data name, wherein, secondary data be the 4th one-dimension array, the 4th Each array element in one-dimension array is an object, and each object includes the second information to be displayed, used as a kind of embodiment party Formula, step S500 can include:
Step S510, using the one of array element in the second response message as pending element, travels through pending 4th one-dimension array of the secondary data in element, by the second information to be displayed in the 4th one-dimension array successively at default interface In position display corresponding with the data name in pending element.
Step S520, the next array element obtained in the second response message are processed as pending element, directly All show to the array element in the second response message and complete.
The embodiment of step S510 to step S520 is similar to the embodiment of step S410 to step S420, herein Repeat no more.
If it is understood that by based on tying according to different data from the corresponding basic data of data name in server Structure constructs various data, and user terminal belongs to the present invention by sending request, the data of the different pieces of information structure for getting The scope of protection, it is not limited to level one data and secondary data.
Fig. 8 is referred to, used as a kind of embodiment, methods described can also include step S600:
Step S610, obtains the second selection instruction.
When interface of the user by user terminal displays, further can be selected on the interface that present terminal shows Select, user terminal gets the second selection instruction.
Step S620, when the second selection instruction is the 3rd data selection instruction, sending to server includes that first waits to show Show the 3rd request of information, the 3rd response message that the reception server is returned according to the 3rd request, wherein, in the 3rd response message Including three DBMSs corresponding with the first information to be displayed, the 3rd response message is parsed and shows.
If it is understood that user terminal parse and show for the first response message, now user is according to Further selected on the user terminal interface that one response message shows, so that user terminal is sent to server includes first 3rd request of information to be displayed.
Used as a kind of embodiment, if the first information to be displayed month name, three DBMS is and month name pair The 3rd information to be displayed answered.For example, the 3rd information to be displayed is the corresponding season information of current month title.For example, if the moon Part entitled December, then the 3rd information to be displayed is the fourth quarter.It is understood that the 3rd information to be displayed not office It is limited to the corresponding season information of current month title, or other statistical information, for example, the corresponding ticket of current month title Room information etc., so that user can be by parsing the 3rd response information acquisition to the corresponding related letter of required month name Breath.
Step S630, when first choice instruction is the 4th data selection instruction, sending to server includes that second waits to show Show the 4th request of information, the 4th response message that the reception server is returned according to the 4th request, wherein, in the 4th response message Including four DBMSs corresponding with the second information to be displayed, the 4th response message is parsed and shows.
If it is understood that user terminal parse and show for the second response message, now user is according to Further selected on the user terminal interface that two response messages show, so that user terminal is sent to server includes second 4th request of information to be displayed.
As a kind of embodiment, if the second information to be displayed week title, four DBMSs are corresponding with all titles the Four information to be displayed, for example, the 4th information to be displayed is the corresponding season information of current week title.For example, if week the entitled 1st Week, then the 4th information to be displayed is the first quarter.It is understood that the 4th information to be displayed is not limited to current week title Corresponding season information, or other statistical information, for example, corresponding box office information of current week title etc., so that user Can be by parsing the 4th response information acquisition to the corresponding relevant information of required all title.
Method for information display provided in an embodiment of the present invention, is the choosing of the first data according to the first choice instruction for judging to obtain Instruction or the second data selection instruction are selected, different requests is initiated to server respectively, to get the tool of server return Have a level one data or secondary data of different pieces of information structure, and level one data and secondary data be based on it is corresponding with data name Basic data so that user terminal can by with portion from the corresponding basic data of data name according to different data structures Parsed and shown, so that user can according to demand will be with a basic number corresponding with data name by user terminal According to different displays are carried out, Consumer's Experience is improve.
Fig. 9 is referred to, is the high-level schematic functional block diagram of information display device provided in an embodiment of the present invention 700.Information shows Showing device 700 runs on user terminal 100, and information display device 700 includes acquisition module 710, first processing module 720, with And Second processing module 730.
Acquisition module 710, for obtaining first choice instruction.
First processing module 720, for when first choice instruction is the first data selection instruction, sending to server and wrapping Include the first request of data name, the first response message that the reception server is returned according to the first request, in the first response message Including data name and the level one data with the first data structure corresponding with data name, the first response is parsed and shows Information.
Used as a kind of embodiment, the first response message includes the first one-dimension array, the every number in the first one-dimension array Constituent element element includes data name and level one data;Level one data includes the second one-dimension array, each in the second one-dimension array Array element includes the first information to be displayed.
Further, as a kind of embodiment, first processing module 720, specifically for will be every in the first response message Individual array element travels through the second one-dimension array of the level one data in pending element as pending element, one-dimensional by second The position display corresponding with the data name in pending element in default interface successively of the first information to be displayed in array.
As a kind of embodiment, the level one data with the first data structure, it is by basis corresponding with data name Data are spaced the data after segmentation according to the very first time.Preferably, the very first time is at intervals of the moon.Further, data name is Time title, the first information to be displayed are month name.
Second processing module 730, for when first choice instruction is the second data selection instruction, sending to server and wrapping Include the second request of data name, the second response message that the reception server is returned according to the second request, in the second response message Including data name and the secondary data with the second data structure corresponding with data name, the second response is parsed and shows Information;Wherein, level one data and secondary data are based on basic data corresponding with data name.
Used as a kind of embodiment, the second response message includes the 3rd one-dimension array, the every number in the 3rd one-dimension array Constituent element element includes data name and secondary data;Secondary data includes the 4th one-dimension array, each in the 4th one-dimension array Array element includes the second information to be displayed.
Further, as a kind of embodiment, Second processing module 730, specifically for by the second response message Each array element travels through the 4th one-dimension array of the secondary data in pending element, by the 4th 1 as pending element In default interface, position corresponding with the data name in pending element shows the second information to be displayed in dimension group successively Show.
As a kind of embodiment, the secondary data with the second data structure, it is by basis corresponding with data name Data are according to the data after the segmentation of the second time interval.Preferably, the second time interval is week, and the second information to be displayed includes week Title, all from dates and all Close Dates.
Each module can be that now, above-mentioned each module can be stored in user terminal 100 by software code realization above In memorizer 102.Each module equally can be realized by hardware such as IC chip above.
The embodiment of the present invention further discloses a kind of user terminal, and the user terminal includes processor and memorizer, storage Device is couple to processor, and memory store instruction makes to operate below user terminal execution when instruction is by computing device:
Obtain first choice instruction;
When first choice instruction is the first data selection instruction, sending to server includes that the first of data name please Ask, the first response message that the reception server is returned according to the first request, wherein, first response message includes data name Claim, and the level one data with the first data structure corresponding with data name, parse and show the first response message;
When first choice instruction is the second data selection instruction, sending to server includes that the second of data name please Ask, the second response message that the reception server is returned according to the second request, wherein, second response message includes data name Claim, and the secondary data with the second data structure corresponding with data name, parse and show the second response message;
Wherein, level one data and secondary data are based on basic data corresponding with data name.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
The information display device provided by the embodiment of the present invention, which realizes the technique effect and preceding method of principle and generation Embodiment is identical, is brief description, and device embodiment part does not refer to part, refers in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematically, for example flow chart and block diagram in accompanying drawing Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of module, program segment or a code Part, a part for the module, program segment or code are used to realize holding for the logic function for specifying comprising one or more Row instruction.It should also be noted that at some as in the implementations replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, and they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing the function or action of regulation Realize in the system of hardware, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is realized using in the form of software function module and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory Memorizer (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Make a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.And, term " including ", "comprising" or its any other variant are intended to nonexcludability Comprising so that a series of process, method, article or equipment including key elements not only includes those key elements, but also wrapping Other key elements being not expressly set out are included, or also includes intrinsic for this process, method, article or equipment wanting Element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including key element Also there is other identical element in process, method, article or equipment.
The preferred embodiments of the present invention are these are only, the present invention is not limited to, for those skilled in the art For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made, Equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter are under Similar terms is represented in the accompanying drawing in face, therefore, once be defined in a certain Xiang Yi accompanying drawing, then need not in subsequent accompanying drawing Which is further defined and is explained.
More than, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any to be familiar with Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method for information display, it is characterised in that methods described includes:
Obtain first choice instruction;
When first choice instruction is the first data selection instruction, sending to server includes that the first of data name please Ask, receive the first response message that the server is returned according to the described first request, first response message includes institute Data name and the level one data with the first data structure corresponding with the data name are stated, described is parsed and show One response message;
When first choice instruction is the second data selection instruction, sending to the server includes the second of data name Request, receives the second response message that the server is returned according to the described second request, and second response message includes The data name and the secondary data with the second data structure corresponding with the data name, parse and show described Second response message;
Wherein, the level one data and the secondary data are based on basic data corresponding with the data name.
2. method according to claim 1, it is characterised in that first response message includes the first one-dimension array, institute Stating each array element in the first one-dimension array includes the data name and the level one data;
The level one data includes the second one-dimension array, and each array element in second one-dimension array includes that first waits to show Show information;
Second response message includes the 3rd one-dimension array, and each array element in the 3rd one-dimension array includes described Data name and the secondary data;
The secondary data includes the 4th one-dimension array, and each array element in the 4th one-dimension array includes that second waits to show Show information.
3. method according to claim 2, it is characterised in that the parsing simultaneously shows first response message, including:
Using each array element in first response message as pending element, the institute in the pending element is traveled through Second one-dimension array of level one data is stated, first of each array element described in second one-dimension array is waited to show Show the information position display corresponding with the data name in the pending element in default interface successively.
4. method according to claim 2, it is characterised in that the parsing simultaneously shows second response message, including:
Using each array element in second response message as pending element, the institute in the pending element is traveled through The 4th one-dimension array of secondary data is stated, second of each array element described in the 4th one-dimension array is waited to show Show the information position display corresponding with the data name in the pending element in default interface successively.
5. method according to any one of claim 1 to 4, it is characterised in that described to have the one of the first data structure DBMS, is that basic data corresponding with the data name is spaced the data after segmentation according to the very first time;With second The secondary data of data structure, is according to the number after the segmentation of the second time interval by basic data corresponding with the data name According to.
6. method according to claim 5, it is characterised in that the very first time at intervals of the moon, between second time It is divided into week.
7. the method according to any one of claim 2 to 4, it is characterised in that the data name is time title, institute The first information to be displayed is stated for month name, second information to be displayed includes all titles, all from dates and all closing days Phase.
8. method according to claim 7, it is characterised in that methods described also includes:
Obtain the second selection instruction;
When second selection instruction is the 3rd data selection instruction, sending to the server includes that described first is to be shown 3rd request of information, receives the 3rd response message that the server is returned according to the described 3rd request, the 3rd response Information includes three DBMS corresponding with first information to be displayed, parses and show the 3rd response message;
When first choice instruction is the 4th data selection instruction, sending to the server includes that described second is to be shown 4th request of information, receives the 4th response message that the server is returned according to the described 4th request, the 4th response Information includes four DBMS corresponding with second information to be displayed, parses and show the 4th response message.
9. a kind of information display device, it is characterised in that described device includes:
Acquisition module, for obtaining first choice instruction;
First processing module, for when first choice instruction is the first data selection instruction, sending to server includes First request of data name, the first response message that the reception server is returned according to the described first request, described first Response message includes the data name and the level one data with the first data structure corresponding with the data name, Parse and show first response message;
Second processing module, for when first choice instruction is the second data selection instruction, sending to the server Ask including the second of data name, receive the second response message that the server is returned according to the described second request, it is described Second response message includes the data name and two series with the second data structure corresponding with the data name According to parsing and show second response message;Wherein, the level one data and the secondary data are based on and the data The corresponding basic data of title.
10. a kind of user terminal, it is characterised in that the user terminal includes processor and memorizer, the memorizer coupling The processor is connected to, the memory store instruction makes the user terminal when executed by the processor Perform following operation:
Obtain first choice instruction;
When first choice instruction is the first data selection instruction, sending to server includes that the first of data name please Ask, receive the first response message that the server is returned according to the described first request, first response message includes institute Data name and the level one data with the first data structure corresponding with the data name are stated, described is parsed and show One response message;
When first choice instruction is the second data selection instruction, sending to the server includes the second of data name Request, receives the second response message that the server is returned according to the described second request, and second response message includes The data name and the secondary data with the second data structure corresponding with the data name, parse and show described Second response message;
Wherein, the level one data and the secondary data are based on basic data corresponding with the data name.
CN201611204284.1A 2016-12-22 2016-12-22 Information display method and device, and user terminal Pending CN106603684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611204284.1A CN106603684A (en) 2016-12-22 2016-12-22 Information display method and device, and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611204284.1A CN106603684A (en) 2016-12-22 2016-12-22 Information display method and device, and user terminal

Publications (1)

Publication Number Publication Date
CN106603684A true CN106603684A (en) 2017-04-26

Family

ID=58603235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611204284.1A Pending CN106603684A (en) 2016-12-22 2016-12-22 Information display method and device, and user terminal

Country Status (1)

Country Link
CN (1) CN106603684A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377385A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 Front end obtaining value method, device, computer readable storage medium and terminal
CN111081365A (en) * 2018-10-22 2020-04-28 深圳迈瑞生物医疗电子股份有限公司 Information display method, sample analysis assembly line and computer storage medium
CN111081365B (en) * 2018-10-22 2024-04-19 深圳迈瑞生物医疗电子股份有限公司 Information display method, sample analysis assembly line and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012916A (en) * 2010-11-24 2011-04-13 深圳市五巨科技有限公司 Method and device for realizing display of dynamic page table data
CN102135972A (en) * 2010-07-30 2011-07-27 华为软件技术有限公司 Service tree data processing method, system, client and server
CN103778117A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal message loading method and system
CN104115169A (en) * 2012-02-17 2014-10-22 微软公司 Aggregating availability status information on shared calendars
US20160140192A1 (en) * 2013-02-07 2016-05-19 Google Inc. Systems, methods and computer-readable media for searching for events from a computer-implemented calendar
CN105824636A (en) * 2016-03-17 2016-08-03 青岛海信移动通信技术股份有限公司 Intelligent terminal calendar display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135972A (en) * 2010-07-30 2011-07-27 华为软件技术有限公司 Service tree data processing method, system, client and server
CN102012916A (en) * 2010-11-24 2011-04-13 深圳市五巨科技有限公司 Method and device for realizing display of dynamic page table data
CN104115169A (en) * 2012-02-17 2014-10-22 微软公司 Aggregating availability status information on shared calendars
CN103778117A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal message loading method and system
US20160140192A1 (en) * 2013-02-07 2016-05-19 Google Inc. Systems, methods and computer-readable media for searching for events from a computer-implemented calendar
CN105824636A (en) * 2016-03-17 2016-08-03 青岛海信移动通信技术股份有限公司 Intelligent terminal calendar display method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377385A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 Front end obtaining value method, device, computer readable storage medium and terminal
CN111081365A (en) * 2018-10-22 2020-04-28 深圳迈瑞生物医疗电子股份有限公司 Information display method, sample analysis assembly line and computer storage medium
CN111081365B (en) * 2018-10-22 2024-04-19 深圳迈瑞生物医疗电子股份有限公司 Information display method, sample analysis assembly line and computer storage medium

Similar Documents

Publication Publication Date Title
CN110781391B (en) Information recommendation method, device, equipment and storage medium
Wu et al. Smart cities in Taiwan: A perspective on big data applications
JP6495303B2 (en) Automatic determination of content item size for web pages
CN106462559B (en) Arbitrary size content item generates
US10817911B2 (en) Programmatic generation of graphical display source code for a computerized graphical advertisement display
US10977264B2 (en) Selecting supplemental content for inclusion in a network page
CN105027026A (en) Method and system for analyzing the level of user engagement within an electronic document
CN102419776A (en) Method and equipment for meeting multi-dimensional search requirement of user
EP4310698A1 (en) Method and apparatus for implementing search, and device
Feng et al. An integer program and a hybrid genetic algorithm for the university timetabling problem
CN107870984A (en) The method and apparatus for identifying the intention of search term
CN106030566A (en) Systems and methods for content processing
Mansor et al. Perceptions, awareness and acceptance of library 2.0 applications among librarians at the International Islamic University Malaysia
US20200210640A1 (en) Method and apparatus for displaying textual information
CN107332905A (en) Information-pushing method, device and server
WO2021098310A1 (en) Video generation method and device, and terminal and storage medium
CN107463619A (en) Searching method, search equipment and terminal device
CN108027934A (en) Detect the observability of the content item in the content item groove position in resource
CN107256266A (en) One kind inquiry content displaying method and its system
US8355972B2 (en) Systems and methods for displaying information about financial markets
CN114493786A (en) Information recommendation method and device
CN109800165A (en) A kind of front end system test method and device
CN106603684A (en) Information display method and device, and user terminal
CN109857473A (en) A kind of loading method and device of page data
CN106649724A (en) Information display method and device and user terminal

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20210312