CN107678809A - The method and apparatus of display data - Google Patents

The method and apparatus of display data Download PDF

Info

Publication number
CN107678809A
CN107678809A CN201710784938.0A CN201710784938A CN107678809A CN 107678809 A CN107678809 A CN 107678809A CN 201710784938 A CN201710784938 A CN 201710784938A CN 107678809 A CN107678809 A CN 107678809A
Authority
CN
China
Prior art keywords
display data
extension element
user
displaying
information
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
CN201710784938.0A
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710784938.0A priority Critical patent/CN107678809A/en
Publication of CN107678809A publication Critical patent/CN107678809A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses the method and apparatus of display data, it is related to field of computer technology.One embodiment of this method includes:Display data is obtained according to the network request of user;Extension element is monitored, obtains the displaying instruction of user;When displaying is designated as expansion, deploy extension element, and the expansion information of display data is shown in extension element;Or when displaying is designated as folding, extension element is folded, and the folding information of display data is shown in extension element.The embodiment can show more rich information for user, improve the efficiency of space utilization and the vision of user and operating experience in limited visual space and memory headroom.

Description

The method and apparatus of display data
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus of display data.
Background technology
With the development of computer technology and the appearance of various operating systems, the function of smart machine is more and more, is The life of people brings more facilities.In order that user obtains good operating experience, many operating systems all with the addition of should With program window widget (i.e. extension element), extension element can be embedded in other application program or inserted in table top, be used for The partial content of application program is shown in the case of not opening in screen locking or application program for user.Extension element can be user The entrance of a quick important information for checking destination application is provided, for example user can quickly be looked into by extension element Current stock price and weather conditions, or the completed task of fast recording are seen, may be used also in the case where user allows To use extension element under screen lock state.
Generally, extension element has " expansion " and " folding " two states, in prescribed limit, can set extension element Deployed condition under size, but the size under folded state can not be changed.
Existing methods of exhibiting is that an extension element is divided into head and main body two parts, is only shown in a folded configuration The head of extension element, the content on the head of extension element is constant in the deployed state, but increases the master for showing extension element Body portion.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
Existing methods of exhibiting shows the Limited information of user, and the form list shown due to the limitation of display area Adjust, the vision and operating experience of user is poor.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of display data, can be empty in limited vision Between with memory headroom, showing more rich information for user, improving the efficiency of space utilization and the vision of user and operation Experience.
To achieve the above object, a kind of one side according to embodiments of the present invention, there is provided method of display data.
A kind of method of display data of the embodiment of the present invention includes:Display data is obtained according to the network request of user; Extension element is monitored, obtains the displaying instruction of user;When the displaying is designated as expansion, deploy the expanded set Part, and show in the extension element expansion information of the display data;Or when the displaying is designated as folding, folding The extension element is folded, and the folding information of the display data is shown in the extension element.
Alternatively, methods described also includes:Obtain the click event of user;When the click event is to redirect event, The application program page corresponding to the click event is inquired about, and jumps to the application program page.
Alternatively, obtaining display data according to the network request of user includes:According to the network request in caching system Middle inquiry is with the presence or absence of the effective display data;If in the presence of calling the display data;If being not present, to service End sends the network request to obtain the display data.
Alternatively, send the network request to service end is included with obtaining the display data:Sent out to the service end Send the network request;The display data that the service end returns is received, and the display data is write into the caching System, and effective time is set for the display data.
Alternatively, methods described also includes:When network state is abnormal or during the display data exception, in the expanded set Show that reveal all the details information or fold of default expansion is revealed all the details information in part.
Alternatively, the extension element is the Today Extension components of Apple Macintosh operating system.
To achieve the above object, according to another aspect of the present invention, there is provided a kind of device of display data.
A kind of device of display data of present example includes:Acquisition module, obtained for the network request according to user Take display data;Monitoring modular, for being monitored to extension element, obtain the displaying instruction of user;Display module, for working as When the displaying is designated as expansion, deploy the extension element, and the exhibition of the display data is shown in the extension element Open information;Or when the displaying is designated as folding, the extension element is folded, and in the extension element described in display The folding information of display data.
Alternatively, described device also includes:Jump module, for obtaining the click event of user;When the click event During to redirect event, the application program page corresponding to the click event is inquired about, and jumps to the application program page.
Alternatively, the acquisition module is additionally operable to:Inquiring about whether there is in caching system according to the network request has The display data of effect;If in the presence of calling the display data;If being not present, sending the network to service end please Ask to obtain the display data.
Alternatively, the acquisition module is further used for:The network request is sent to the service end;Receive the clothes The display data that business end returns, and the display data is write into the caching system, and set for the display data Effective time.
Alternatively, described device also includes:Exception processing module, for when network state is abnormal or the display data is different Chang Shi, show that reveal all the details information or fold of default expansion is revealed all the details information in the extension element.
Alternatively, the extension element is the Today Extension components of Apple Macintosh operating system.
To achieve the above object, in accordance with a further aspect of the present invention, there is provided a kind of electronic equipment of display data.
A kind of electronic equipment of display data of the embodiment of the present invention includes:One or more processors;Storage device, use In storing one or more programs, when one or more of programs are by one or more of computing devices so that described The method that one or more processors realize a kind of display data of the embodiment of the present invention.
To achieve the above object, in accordance with a further aspect of the present invention, there is provided a kind of computer-readable recording medium.
A kind of computer-readable recording medium of the embodiment of the present invention, it is stored thereon with computer program, described program quilt The method that a kind of display data of the embodiment of the present invention is realized during computing device.
One embodiment in foregoing invention has the following advantages that or beneficial effect:Because deploy and fold using in switching Different data content technological means is shown during state, display data is obtained according to the network request of user;Extension element is entered Row monitoring, obtain the displaying instruction of user;When displaying is designated as expansion, deploy extension element, and shown in extension element The expansion information of display data;Or when displaying is designated as folding, extension element is folded, and displaying is shown in extension element The folding information of data, so overcoming limitation of the existing methods of exhibiting due to display area, showing the information of user has Limit, and the form shown is dull, the technical problem of vision and the operating experience difference of user, and then virtually extend displaying Region, in limited visual space and memory headroom, more rich information is shown for user, improve the efficiency of space utilization with And the vision of user and the technique effect of operating experience.
Further effect adds hereinafter in conjunction with embodiment possessed by above-mentioned non-usual optional mode With explanation.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step of the method for display data according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of implementation process of the method for display data according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the processing network request of the method for display data according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the acquisition display data of the method for display data according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the switching display data of the method for display data according to embodiments of the present invention;
Fig. 6 is the deployed condition schematic diagram of the extension element of the method for display data according to embodiments of the present invention;
Fig. 7 is the folded state schematic diagram of the extension element of the method for display data according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the main modular of the device of display data according to embodiments of the present invention;
Fig. 9 is that the embodiment of the present invention can apply to exemplary system architecture figure therein;
Figure 10 is adapted for for realizing that the terminal device of the embodiment of the present invention or the structure of the computer system of server show It is intended to.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
The mode of existing extension element displaying information mainly has following several:
1. list mode:Information is showed with list mode, each extension element can show 2-5 list element, be equipped with Picture and word;
2. network style:Place information into a grid, to the effect that picture, may be selected to be equipped with a small amount of word Description;
3. self-defined mode:The container provided without using system, carries out self-defined to the view that shows, may be in random State.
But above-mentioned several exhibition methods, when showing information, the header contents of extension element are fixed, pass through expansion Or fold extension element main part come choose whether increase display content;Meanwhile the arrangement side of list type and grid type Formula, can be showed under limited space user Limited information and displaying form it is dull, random state it is self-defined Mode, showing the content quality of user can not ensure, therefore, the mode of existing extension element displaying information can not meet to use The usage experience at family, the vision and operating experience extreme difference of user.
Fig. 1 is the schematic diagram of the key step of the method for display data according to embodiments of the present invention.
As shown in figure 1, the method for the display data of the embodiment of the present invention mainly includes the following steps that:
Step S101:Display data is obtained according to the network request of user.
During user uses smart machine, when showing extension element or opening extension element, smart machine meeting Network request is sent, the embodiment of the present invention obtains according to the network request of user to be needed to show number shown in extension element According to show relevant information to user based on display data.
It should be noted that the display data includes being used in graph text information shown in extension element, and do not have temporarily There is the graph text information shown so that user is also an option that the information for refreshing in extension element and showing in use, from And in limited visual space and memory headroom, more rich information is shown for user.
The speed of display data is loaded during to improve network failure or excessively slow network speed, display data is cached to caching system Unite and effective time is set, to display data periodic cleaning, so as to reduce the consumption that user uses flow in process, while Improve loading velocity.According to the network request of user obtain display data when, first can be inquired about in caching system whether In the presence of effective display data, if so, the display data in caching system is then called, if it is not, being sent to service end Network request, display data is obtained from service end.In embodiments of the present invention, this step can be by delaying according to network request Inquiry whether there is effective display data in deposit system;If in the presence of calling display data;If being not present, to service end Network request is sent to obtain display data realization.
When effective display data is not present in caching system, the network for obtaining display data is sent to service end Request, is shown after getting display data in extension element, while sets effective time for display data, and will displaying Data write caching system, so as to which the display data can be directly invoked within effective time, or it is different there is network state Often or when display data exception the display data is called again.In embodiments of the present invention, network is sent to service end Request is included with obtaining display data:Network request is sent to service end;The display data that service end returns is received, and will displaying Data write caching system, and set effective time for display data.
In addition, the display data returned for service end takes fault tolerant mechanism, for example, the picture format for None- identified Or the picture format that can not be rendered, filtering function is taken, shows picture of revealing all the details.
Step S102:Extension element is monitored, obtains the displaying instruction of user.
Because extension element has expansion and folds two states, so needing to be monitored extension element, so as to obtain The displaying instruction at family is taken, to show the information of the display data accessed by step S101 to user exactly.
Step S103:When displaying is designated as expansion, deploy extension element, and display data is shown in extension element Deploy information;Or when displaying is designated as folding, extension element is folded, and the folding of display data is shown in extension element Information.
When the displaying of user is designated as folding, the extension element (head for only showing extension element) is folded, and will The folding information of display data is shown in extension element.When the displaying of user is designated as expansion, deploy the expanded set Part (head and the main body that show extension element simultaneously), and the expansion information of display data is shown in extension element Show.By deploying and folding the different information of two states displaying, display area is virtually extended, so as to be regarded in limited Feel space with memory headroom, more rich information is shown for user.
Due to the uncertain factor such as network state exception or display data exception be present, it can not ensure can be had always The display data of effect, to enable extension element to be that user shows more information, also in caching system or database in advance It is provided with reveal all the details information or fold of expansion to reveal all the details information, so as to avoid the occurrence of situation of the extension element without content.Of the invention real Apply in example, when network state exception or display data exception, show that default expansion is revealed all the details information or folding in extension element Folded information of revealing all the details.
In embodiments of the present invention, the method for display data can also include:Obtain the click event of user;When click thing Part is when redirecting event, to inquire about the application program page corresponding to click event, and jump to the application program page.To extension During component is monitored, if the click event of user were monitored, and the click event now, would need to redirect event The application program page corresponding to the click event is inquired about, and jumps to the application program page.It is it should be noted that same The different events that redirects can correspond to multiple application program pages in individual extension element, i.e., can be jumped by an extension element Go to different application programs.
Extension element can be the component that any operating system provides or the component of any developer exploitation. In the embodiment of the present invention, extension element is the Today Extension components of Apple Macintosh operating system.Today Extension groups Part is a kind of extension element in particular system region that Apple Inc. opens since eighth generation Apple Macintosh operating system to developer, It is not an independent application program, and the extension element being included under a primary application program, and any application program is all Today Extension components corresponding to can creating.
The method of display data according to embodiments of the present invention can be seen that because using in switching expansion and folded state When show different data content technological means, according to the network request of user obtain display data;Extension element is supervised Survey, obtain the displaying instruction of user;When displaying is designated as expansion, deploy extension element, and displaying is shown in extension element The expansion information of data;Or when displaying is designated as folding, extension element is folded, and display data is shown in extension element Folding information, so overcoming limitation of the existing methods of exhibiting due to display area, show the Limited information of user, and The form of displaying is dull, the technical problem of vision and the operating experience difference of user, and then virtually extends display area, In limited visual space and memory headroom, more rich information is shown for user, improves the efficiency and use of space utilization The vision at family and the technique effect of operating experience.
Fig. 2 is a kind of schematic diagram of implementation process of the method for display data according to embodiments of the present invention.
As shown in Fig. 2 a kind of implementation process of the method for the display data of the embodiment of the present invention mainly includes below scheme:
During user uses smart machine, when showing extension element or opening extension element, smart machine meeting Send network request, in the embodiment of the present invention, after the network request for getting processing user, the network request handled, Display data is obtained according to the network request.It should be noted that it can not connect, unstable networks or obtain if there is network During the abnormal conditions such as the display data got is wrong, directly displaying is revealed all the details data, the data of revealing all the details include expansion reveal all the details information with Folding is revealed all the details two kinds of information, can be shown according to the needs of user or the state of extension element.
Specifically, when obtaining display data, it whether there is effective display data in first query caching system, if deposited Then transferring the display data in caching system;If it does not exist, then network request is sent to service end to obtain displaying number According to, the display data setting effective time returned for service end, and cached in caching system.
After getting display data, can the current state based on extension element the display data is shown.Specifically Ground, monitoring extension element is to obtain the displaying of user instruction, if displaying instruction is expansion, then it represents that the state of extension element is Expansion, now, deploy the main body of extension element, i.e., head and the main body of extension element are shown simultaneously, to exhibition in extension element The expansion information of registration evidence is shown;If displaying instruction is to fold, then it represents that the state of extension element is to fold, now, The main body of extension element is folded, i.e., only shows the head of extension element, the folding information of display data is entered in extension element Row displaying.
Meanwhile monitoring extension element can also obtain the click event of user, if the click event applies journey The sequence page, then jump to the corresponding application program page.
Fig. 3 is the schematic diagram of the processing network request of the method for display data according to embodiments of the present invention.
As shown in figure 3, the process of the processing network request of the method for the display data of the embodiment of the present invention mainly includes:
Step S301:Obtain network request
After getting the network request of user, display data corresponding to the network request is searched in caching system.
Step S302:Judge whether the display data in caching system is expired
Whether the display data i.e. in caching system is effective, if not out of date, performs step S303;If out of date, Then perform step S304.
Step S303:Call the display data in caching system.
If not out of date expression display data is effective, the display data in caching system is called.
Step S304:Network request is sent to service end
If expression display data out of date is invalid, the network request of user is sent to service end to obtain displaying Data, if sent successfully, service end is waited to return to display data;If send failure, resend, until send into Work(.
Fig. 4 is the schematic diagram of the acquisition display data of the method for display data according to embodiments of the present invention.
In order to avoid user wastes in cellular network status down-off, while ensure that the poor user of network state can obtain Experience well is obtained, the embodiment of the present invention uses caching mechanism, the display data obtained from service end is cached.Specifically Ground, as shown in figure 4, the process of the acquisition display data of the method for the display data of the embodiment of the present invention mainly includes:
After getting the network request of user, the network state current to user judges, if network state is poor very To not connecting, then local cache is called, i.e., display data is called from caching system., can be normal if network state is normal Complete request.
Sent successfully in network request, and after meeting with a response, whether have caching, if having if first confiring that the display data of return Caching, then no longer download and directly invoke caching;If without caching, it is downloaded, and refreshes content shown in extension element.
Fig. 5 is the schematic diagram of the switching display data of the method for display data according to embodiments of the present invention.
Extension element has " expansion " and " folding " two states, because the display area of extension element is limited, in order to User provides good vision and operating experience, the embodiment of the present invention introduce the interactive conceptual of " cutting field ", can pass through extension " expansion " and " folding " button of component obtains the displaying instruction of user, so as to switch " expansion " and " folding " two states, enters And switched between two different displaying information.As shown in figure 5, the switching of the method for the display data of the embodiment of the present invention The process of display data mainly includes:
Extension element is monitored, obtains the current display state of extension element, if deployed condition, then deploys to extend simultaneously The head of component and main body, and the head of extension element and the content of main body are changed, as shown in fig. 6, being implemented according to the present invention The deployed condition schematic diagram of the extension element of the method for the display data of example;If folded state, then extension element is packed up Main body, and the content on the head of extension element is changed, as shown in fig. 7, being the method for display data according to embodiments of the present invention Extension element folded state schematic diagram.
It should be noted that if there is abnormal conditions, the process of above-mentioned switching display data is equally applicable, it is different Be extension element head and main body in the content changed be that expansion is revealed all the details information and the content that folds information of revealing all the details.
Fig. 8 is the schematic diagram of the main modular of the device of display data according to embodiments of the present invention.
As shown in figure 8, the device 800 of the display data of the embodiment of the present invention includes:Acquisition module 801, monitoring modular 802 With display module 803.
Wherein
Acquisition module 801, for obtaining display data according to the network request of user;
Monitoring modular 802, for being monitored to extension element, obtain the displaying instruction of user;
Display module 803, for when the displaying is designated as expansion, deploying the extension element, and in the extension The expansion information of the display data is shown in component;Or when the displaying is designated as folding, the extension element is folded, And the folding information of the display data is shown in the extension element.
In addition, described device also includes:Jump module, for obtaining the click event of user;When the click event is When redirecting event, the application program page corresponding to the click event is inquired about, and jumps to the application program page.
In embodiments of the present invention, the acquisition module is additionally operable to:Inquired about according to the network request in caching system With the presence or absence of the effective display data;If in the presence of calling the display data;If being not present, sent to service end The network request is to obtain the display data.
In embodiments of the present invention, the acquisition module is further used for:The network request is sent to the service end; The display data that the service end returns is received, and the display data is write into the caching system, and is the exhibition Registration is according to setting effective time.
In addition, described device also includes:Exception processing module, for when network state is abnormal or the display data is abnormal When, show that reveal all the details information or fold of default expansion is revealed all the details information in the extension element.
In embodiments of the present invention, the extension element is the Today Extension components of Apple Macintosh operating system.
The device of display data according to embodiments of the present invention can be seen that because using in switching expansion and folded state When show different data content technological means, according to the network request of user obtain display data;Extension element is supervised Survey, obtain the displaying instruction of user;When displaying is designated as expansion, deploy extension element, and displaying is shown in extension element The expansion information of data;Or when displaying is designated as folding, extension element is folded, and display data is shown in extension element Folding information, so overcoming limitation of the existing methods of exhibiting due to display area, show the Limited information of user, and The form of displaying is dull, the technical problem of vision and the operating experience difference of user, and then virtually extends display area, In limited visual space and memory headroom, more rich information is shown for user, improves the efficiency and use of space utilization The vision at family and the technique effect of operating experience.
Fig. 9 show can apply the embodiment of the present invention display data method or display data device it is exemplary System architecture 900.
As shown in figure 9, system architecture 900 can include terminal device 901,902,903, network 904 and server 905. Network 904 between terminal device 901,902,903 and server 905 provide communication link medium.Network 904 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 901,902,903 by network 904 with server 905, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 901,902,903 The application of page browsing device, searching class application, JICQ, mailbox client, social platform software etc..
Terminal device 901,902,903 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 905 can be to provide the server of various services, such as utilize terminal device 901,902,903 to user The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to receiving To the data such as information query request analyze etc. processing, and by result (such as target push information, product letter Breath -- merely illustrative) feed back to terminal device.
It should be noted that the method for the display data that the embodiment of the present invention is provided typically is performed by server 905, phase Ying Di, the device of display data are generally positioned in server 905.
It should be understood that the number of the terminal device, network and server in Fig. 9 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Below with reference to Figure 10, it illustrates suitable for for realizing the computer system of the terminal device of the embodiment of the present invention 1000 structural representation.Terminal device shown in Figure 10 is only an example, should not to the function of the embodiment of the present invention and Use range brings any restrictions.
As shown in Figure 10, computer system 1000 includes CPU (CPU) 1001, its can according to be stored in only Read the program in memory (ROM) 1002 or be loaded into from storage part 1008 in random access storage device (RAM) 1003 Program and perform various appropriate actions and processing.In RAM 1003, also it is stored with system 1000 and operates required various journeys Sequence and data.CPU 1001, ROM 1002 and RAM 1003 are connected with each other by bus 1004.Input/output (I/O) interface 1005 are also connected to bus 1004.
I/O interfaces 1005 are connected to lower component:Importation 1006 including keyboard, mouse etc.;Including such as negative electrode The output par, c 1007 of ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part including hard disk etc. 1008;And the communications portion 1009 of the NIC including LAN card, modem etc..Communications portion 1009 passes through Communication process is performed by the network of such as internet.Driver 1010 is also according to needing to be connected to I/O interfaces 1005.It is detachable to be situated between Matter 1011, such as disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 1010, so as to Storage part 1008 is mounted into as needed in the computer program read from it.
Especially, according to embodiment disclosed by the invention, may be implemented as counting above with reference to the process of flow chart description Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on computer Computer program on computer-readable recording medium, the computer program include the program code for being used for the method shown in execution flow chart. In such embodiment, the computer program can be downloaded and installed by communications portion 1009 from network, and/or from can Medium 1011 is dismantled to be mounted.When the computer program is performed by CPU (CPU) 1001, perform the present invention is The above-mentioned function of being limited in system.
It should be noted that the computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In invention, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bag Include acquisition module, monitoring modular and display module.Wherein, the title of these modules is not formed to the module under certain conditions The restriction of itself, for example, acquisition module is also described as " obtaining the mould of display data according to the network request of user Block ".
As on the other hand, present invention also offers a kind of computer-readable medium, the computer-readable medium can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes Obtaining the equipment includes:Step S101:Display data is obtained according to the network request of user;Step S102:Extension element is carried out Monitoring, obtain the displaying instruction of user;Step S103:When displaying is designated as expansion, deploy extension element, and in extension element The expansion information of middle display display data;Or when displaying is designated as folding, extension element is folded, and show in extension element Show the folding information of display data.
Technical scheme according to embodiments of the present invention, because showing different numbers using in switching expansion and folded state According to content technologies means, display data is obtained according to the network request of user;Extension element is monitored, obtains the exhibition of user Show instruction;When displaying is designated as expansion, deploy extension element, and the expansion information of display data is shown in extension element; Or when displaying is designated as folding, extension element is folded, and the folding information of display data is shown in extension element, so Limitation of the existing methods of exhibiting due to display area is overcome, shows the Limited information of user, and the form shown is dull, The technical problem of vision and the operating experience difference of user, and then display area is virtually extended, it is empty in limited vision Between with memory headroom, showing more rich information for user, improving the efficiency of space utilization and the vision of user and operation The technique effect of experience.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (14)

  1. A kind of 1. method of display data, it is characterised in that including:
    Display data is obtained according to the network request of user;
    Extension element is monitored, obtains the displaying instruction of user;
    When the displaying is designated as expansion, deploy the extension element, and the displaying number is shown in the extension element According to expansion information;Or
    When the displaying is designated as folding, the extension element is folded, and the displaying number is shown in the extension element According to folding information.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Obtain the click event of user;
    When the click event is to redirect event, the application program page corresponding to the click event is inquired about, and jump to The application program page.
  3. 3. according to the method for claim 1, it is characterised in that obtaining display data according to the network request of user includes:
    Inquired about according to the network request in caching system with the presence or absence of the effective display data;
    If in the presence of calling the display data;
    If being not present, the network request is sent to service end to obtain the display data.
  4. 4. according to the method for claim 3, it is characterised in that send the network request to service end to obtain the exhibition Registration evidence includes:
    The network request is sent to the service end;
    The display data that the service end returns is received, and the display data is write into the caching system, and is institute State display data and effective time is set.
  5. 5. according to the method for claim 1, it is characterised in that methods described also includes:
    When network state is abnormal or during the display data exception, show that default expansion is revealed all the details information in the extension element Or fold information of revealing all the details.
  6. 6. according to the method for claim 1, it is characterised in that
    The extension element is the Today Extension components of Apple Macintosh operating system.
  7. A kind of 7. device of display data, it is characterised in that including:
    Acquisition module, for obtaining display data according to the network request of user;
    Monitoring modular, for being monitored to extension element, obtain the displaying instruction of user;
    Display module, for when the displaying is designated as expansion, deploying the extension element, and show in the extension element Show the expansion information of the display data;Or when the displaying is designated as folding, the extension element is folded, and described The folding information of the display data is shown in extension element.
  8. 8. device according to claim 7, it is characterised in that described device also includes:
    Jump module, for obtaining the click event of user;When the click event is to redirect event, the click thing is inquired about The application program page corresponding to part, and jump to the application program page.
  9. 9. device according to claim 7, it is characterised in that the acquisition module is additionally operable to:
    Inquired about according to the network request in caching system with the presence or absence of the effective display data;
    If in the presence of calling the display data;
    If being not present, the network request is sent to service end to obtain the display data.
  10. 10. device according to claim 9, it is characterised in that the acquisition module is further used for:
    The network request is sent to the service end;
    The display data that the service end returns is received, and the display data is write into the caching system, and is institute State display data and effective time is set.
  11. 11. device according to claim 7, it is characterised in that described device also includes:
    Exception processing module, for when network state is abnormal or during the display data exception, is shown in the extension element Reveal all the details information or fold of default expansion is revealed all the details information.
  12. 12. device according to claim 7, it is characterised in that
    The extension element is the Today Extension components of Apple Macintosh operating system.
  13. A kind of 13. electronic equipment of display data, it is characterised in that including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method as described in any in claim 1-6.
  14. 14. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that described program is held by processor The method as described in any in claim 1-6 is realized during row.
CN201710784938.0A 2017-09-04 2017-09-04 The method and apparatus of display data Pending CN107678809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710784938.0A CN107678809A (en) 2017-09-04 2017-09-04 The method and apparatus of display data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710784938.0A CN107678809A (en) 2017-09-04 2017-09-04 The method and apparatus of display data

Publications (1)

Publication Number Publication Date
CN107678809A true CN107678809A (en) 2018-02-09

Family

ID=61135471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710784938.0A Pending CN107678809A (en) 2017-09-04 2017-09-04 The method and apparatus of display data

Country Status (1)

Country Link
CN (1) CN107678809A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819416A (en) * 2012-08-13 2012-12-12 华为终端有限公司 Method and device for realizing content display of component
CN103116452A (en) * 2013-01-31 2013-05-22 华为终端有限公司 Creating method and device and terminal equipment of tabletop component
CN106162306A (en) * 2016-07-05 2016-11-23 梁建峰 A kind of merchandise display for net cast shopping and the system for prompting that places an order
CN106201189A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Widget display packing, device and electronic equipment
CN106528136A (en) * 2016-10-27 2017-03-22 北京京东尚科信息技术有限公司 Widget-based display method and apparatus, and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819416A (en) * 2012-08-13 2012-12-12 华为终端有限公司 Method and device for realizing content display of component
CN103116452A (en) * 2013-01-31 2013-05-22 华为终端有限公司 Creating method and device and terminal equipment of tabletop component
CN106201189A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Widget display packing, device and electronic equipment
CN106162306A (en) * 2016-07-05 2016-11-23 梁建峰 A kind of merchandise display for net cast shopping and the system for prompting that places an order
CN106528136A (en) * 2016-10-27 2017-03-22 北京京东尚科信息技术有限公司 Widget-based display method and apparatus, and terminal device

Similar Documents

Publication Publication Date Title
CN103501340B (en) Information push method, device and client
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN107066609A (en) Image display method and device
Andreou et al. Key issues for the design and development of mobile commerce services and applications
CN103699635B (en) Information processing method and device
CN108536738A (en) The method and apparatus for generating and showing mobile specification
CN109062563A (en) Method and apparatus for generating the page
CN107465722A (en) The implementation method and device of web access
CN110109979A (en) A kind of allocation list radio button method and apparatus
CN107463657B (en) File operation method and terminal
CN109241033A (en) The method and apparatus for creating real-time data warehouse
CN109783757A (en) Render method and device, the system, storage medium, electronic device of webpage
CN106484831A (en) Search system, method and apparatus
CN108287925A (en) A kind of method and apparatus of display page elements
CN110019539A (en) A kind of method and apparatus that the data of data warehouse are synchronous
CN107479873A (en) A kind of APP page modules melt forwarding method, electronic equipment and storage medium
CN109343858A (en) A kind of build a station automatically container deployment system and its working method based on server-side rendering
CN110473036A (en) A kind of method and apparatus generating order number
CN110471848A (en) A kind of method and apparatus of dynamic returned packet
CN107515903A (en) A kind of method and apparatus for loading displaying scene webpage
CN109582317A (en) Method and apparatus for debugging boarding application
CN110445632A (en) A kind of method and apparatus for preventing client collapse
CN110119386A (en) Data processing method, data processing equipment, medium and calculating equipment
CN104182402A (en) Browser interface address bar input control method and browser interface address bar input control system
CN108959294A (en) A kind of method and apparatus accessing search engine

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: 20180209