CN109033287A - A kind of information processing method and device - Google Patents

A kind of information processing method and device Download PDF

Info

Publication number
CN109033287A
CN109033287A CN201810766339.0A CN201810766339A CN109033287A CN 109033287 A CN109033287 A CN 109033287A CN 201810766339 A CN201810766339 A CN 201810766339A CN 109033287 A CN109033287 A CN 109033287A
Authority
CN
China
Prior art keywords
detail information
information
line chart
target position
module
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
CN201810766339.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 Maoyan Cultural Media Co Ltd
Original Assignee
Beijing Maoyan Cultural Media 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 Maoyan Cultural Media Co Ltd filed Critical Beijing Maoyan Cultural Media Co Ltd
Priority to CN201810766339.0A priority Critical patent/CN109033287A/en
Publication of CN109033287A publication Critical patent/CN109033287A/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/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention provides a kind of information processing method and devices.In embodiments of the present invention, the detail information that each position is not originally shown in line chart can input clicking operation in target location when user needs to check the detail information of the target position in line chart;Terminal detects whether to receive the clicking operation of the target position on line chart;When receiving the clicking operation, the coordinate information of target position is obtained;The detail information of target position is obtained according to the coordinate information;Show the detail information.In this way, user can view the detail information of target position in line chart, display mode so can give user and intuitively experience, and give that user is good to check experience.

Description

A kind of information processing method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of information processing method and device.
Background technique
With the rapid development of technology, the information generated daily in all trades and professions is more and more, for the information to generation It is counted, to facilitate people to consult afterwards, people usually record the information generated at each moment using line chart.
Summary of the invention
The embodiment of the present invention shows a kind of information processing method and device.
In a first aspect, the embodiment of the present invention shows a kind of information processing method, which comprises
Detect whether to receive the clicking operation of the target position on line chart;
When receiving the clicking operation, the coordinate information of the target position is obtained;
The detail information of the target position is obtained according to the coordinate information;
Show the detail information.
In an optional implementation, the details for obtaining the target position according to the coordinate information are believed Breath, comprising:
In corresponding relationship between stored coordinate information and detail information, search corresponding with the coordinate information Detail information, and the detail information as the target position.
In an optional implementation, the display detail information, comprising:
Obtain stored display window body component;
The detail information is added in the display window body component;
Rendering is added to the display window body component of the detail information.
In an optional implementation, the display detail information, comprising:
Generate the animation including the detail information;
Play the animation.
In an optional implementation, the method also includes:
It detects whether to receive the drag operation on the line chart;
When receiving the drag operation, obtains the drag direction of the drag operation and pull distance;
New line chart is drawn according to the drag direction and the distance that pulls;
Show the new line chart.
Second aspect, the embodiment of the present invention show a kind of information processing unit, and described device includes:
First detection module, for detecting whether receiving the clicking operation of the target position on line chart;
First obtains module, for when receiving the clicking operation, obtaining the coordinate information of the target position;
Second obtains module, for obtaining the detail information of the target position according to the coordinate information;
First display module, for showing the detail information.
In an optional implementation, it is described second acquisition module is specifically used for: stored coordinate information with In corresponding relationship between detail information, detail information corresponding with the coordinate information is searched, and as the target position The detail information set.
In an optional implementation, first display module includes:
Acquiring unit, for obtaining stored display window body component;
Adding unit, for adding the detail information in the display window body component;
Rendering unit, for rendering the display window body component for being added to the detail information.
In an optional implementation, first display module includes:
Generation module, for generating the animation including the detail information;
Playing module, for playing the animation.
In an optional implementation, described device further include:
Second detection module, for detecting whether receiving the drag operation on the line chart;
Third obtain module, for when receiving the drag operation, obtain the drag operation drag direction and Pull distance;
Drafting module, for drawing new line chart according to the drag direction and the distance that pulls;
Second display module, for showing the new line chart.
Compared with prior art, the embodiment of the present invention includes following advantages:
In the prior art, the detail information of each position can not be shown in line chart, it can only be aobvious by form Show the detail information of the corresponding coordinate in each position and each position, however, the display mode of form can not give use Family is intuitively experienced, and can not give that user is good to check experience.
And in embodiments of the present invention, the detail information of each position is not originally shown in line chart, when user needs When checking the detail information of the target position in line chart, clicking operation can be inputted in target location;Terminal detects whether Receive the clicking operation of the target position on line chart;When receiving the clicking operation, the coordinate of target position is obtained Information;The detail information of target position is obtained according to the coordinate information;Show the detail information.In this way, user can roll over The detail information of target position is viewed in line chart, display mode so can give user and intuitively experience, and give User is good to check experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of information processing method embodiment of the invention;
Fig. 2 is a kind of structural block diagram of information processing unit embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of information processing method embodiment of the invention is shown, can specifically include Following steps:
In step s101, detect whether to receive the clicking operation of the target position on line chart;
In embodiments of the present invention, inherit View go rewrite onMeasure, onLayout or onDraw method, external When information transmitting is come in, go to render View view again, to obtain line chart.User can check broken line later Figure.However, user can not view the detail information of each position in line chart, user can only be according to the corresponding horizontal axis in position The simple information of the position in line chart is determined with the corresponding longitudinal axis, for example, as shown in Fig. 2, Fig. 2 is the shadow on each date The box office quantity of institute.Abscissa is the date, and ordinate is box office quantity, unit W.
It, can be in the target position on line chart when user needs to check the detail information of the target position on line chart Input clicking operation.For terminal, whether meeting real-time detection receives the clicking operation of the target position on line chart, When receiving the clicking operation, step S102 is executed.
When receiving the clicking operation, in step s 102, the coordinate information of target position is obtained;
Wherein, there is respective coordinate information in each of line chart position, and coordinate information includes abscissa and vertical seat Mark.
In step s 103, the detail information of target position is obtained according to the coordinate information;
In embodiments of the present invention, for any one position in line chart, the coordinate of the position can be believed in advance Breath and the detail information of the position form corresponding table item, and are stored in corresponding between stored coordinate information and detail information In relationship, for other each positions in line chart, equally execution aforesaid operations, in this way, in this step, it can be In corresponding relationship between the coordinate information and detail information of storage, detail information corresponding with the coordinate information is searched, and Detail information as target position.
In step S104, the detail information is shown.
When needing to show a certain information, generally require by display window body component.In one implementation, Ke Yishi When create a display window body component, then add the information in the display window body component;Rendering is added to being somebody's turn to do for the information It shows window body component, shows the detail information to realize.
However, it is found by the inventors that require to create a display window body component in real time whenever needing to show information, by It needs to expend more time in creation display window body component, causes the display efficiency of information lower, and more system can be expended Resource.
Therefore, in order to improve the display efficiency of information and save system resource, when first time to show a certain information and After creating display window body component, use when can store the display window body component for showing other information later.
So in this step, available stored display window body component, addition should in the display window body component Detail information;Rendering is added to the display window body component of the detail information.
Further, after display is added to the display window body component of the detail information, a direction can be generated Arrow, directional arrow are used to be directed toward target position from the display window body component or are directed toward the display forms group from target position Part, in this way, user can be easily discriminated out each by arrow when showing the detail information of multiple positions simultaneously The detail information of position.
Wherein, when showing the detail information, a display area centered on target position, Yong Hu can be determined When target position inputs the clicking operation, the operating bodies such as finger that user uses often block the part area in the display area Domain, since the partial region is blocked, even if showing the detail information in the partial region, user can not also see in the part The detail information that region is shown.
Therefore, in order to guarantee user it can be seen that display the detail information, terminal can determine in the display area The region being blocked, then other regions in addition to the region being blocked in the display area show the detail information.
In another implementation, in order to which that improves user checks experience, when showing the detail information, it can be generated Then animation including detail information plays the animation.
In the prior art, the detail information of each position can not be shown in line chart, it can only be aobvious by form Show the detail information of the corresponding coordinate in each position and each position, however, the display mode of form can not give use Family is intuitively experienced, and can not give that user is good to check experience.
And in embodiments of the present invention, the detail information of each position is not originally shown in line chart, when user needs When checking the detail information of the target position in line chart, clicking operation can be inputted in target location;Terminal detects whether Receive the clicking operation of the target position on line chart;When receiving the clicking operation, the coordinate of target position is obtained Information;The detail information of target position is obtained according to the coordinate information;Show the detail information.In this way, user can roll over The detail information of target position is viewed in line chart, display mode so can give user and intuitively experience, and give User is good to check experience.
Wherein, sometimes since the screen size of terminal is limited, the line chart that terminal is shown not is whole line charts, And it is only the part line chart in whole line charts, for example, being only able to display the broken line in April 12 to April 24 in Fig. 2 Figure, April 11 is pervious and later line chart on April 25 can not be shown since screen size is limited simultaneously.
It, can be on the line chart of display if user needs to check the other parts line chart in whole line charts Input drag operation;The drag operation includes: user using a certain position on the line chart of operating body touch display, then Operating body is moved to the operating body without departing from screen and on the screen.
Terminal detects whether to receive the drag operation on the line chart of display;When receiving the drag operation When, it obtains the drag direction of the drag operation and pulls distance;Drag direction includes: during operating body moves on the screen Initial position be directed toward projecting direction of the direction on horizontal axis or the longitudinal axis of final position, pull distance include initial position with The distance between final position, or, the projector distance of the distance between initial position and final position on horizontal axis or the longitudinal axis. Then new line chart is drawn according to the drag direction and dragging distance, and shows new line chart.
For example, the determining opposite direction with the drag direction, determines in the opposite direction on the line chart of display Marginal position, and as first edge position, according to first edge position of the dragging distance in whole line charts with this Opposite direction determines line chart to be viewed;Then the marginal position in the drag direction on the line chart of display is determined, And as second edge position, determined according to second edge position of the dragging distance in whole line charts with the opposite direction Line chart to be deleted;Then delete line chart to be deleted on the line chart of display, and in first edge position this is opposite Line chart to be viewed is compensated on direction, to obtain new line chart, and shows new line chart.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 2, a kind of structural block diagram of information processing unit embodiment of the present invention is shown, which specifically can wrap Include following module:
First detection module 11, for detecting whether receiving the clicking operation of the target position on line chart;
First obtains module 12, for when receiving the clicking operation, obtaining the coordinate information of the target position;
Second obtains module 13, for obtaining the detail information of the target position according to the coordinate information;
First display module 14, for showing the detail information.
In an optional implementation, the second acquisition module 13 is specifically used for: in stored coordinate information In corresponding relationship between detail information, detail information corresponding with the coordinate information is searched, and as the target The detail information of position.
In an optional implementation, first display module 14 includes:
Acquiring unit, for obtaining stored display window body component;
Adding unit, for adding the detail information in the display window body component;
Rendering unit, for rendering the display window body component for being added to the detail information.
In an optional implementation, first display module 14 includes:
Generation module, for generating the animation including the detail information;
Playing module, for playing the animation.
In an optional implementation, described device further include:
Second detection module, for detecting whether receiving the drag operation on the line chart;
Third obtain module, for when receiving the drag operation, obtain the drag operation drag direction and Pull distance;
Drafting module, for drawing new line chart according to the drag direction and the distance that pulls;
Second display module, for showing the new line chart.
In the prior art, the detail information of each position can not be shown in line chart, it can only be aobvious by form Show the detail information of the corresponding coordinate in each position and each position, however, the display mode of form can not give use Family is intuitively experienced, and can not give that user is good to check experience.
And in embodiments of the present invention, the detail information of each position is not originally shown in line chart, when user needs When checking the detail information of the target position in line chart, clicking operation can be inputted in target location;Terminal detects whether Receive the clicking operation of the target position on line chart;When receiving the clicking operation, the coordinate of target position is obtained Information;The detail information of target position is obtained according to the coordinate information;Show the detail information.In this way, user can roll over The detail information of target position is viewed in line chart, display mode so can give user and intuitively experience, and give User is good to check experience.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of information processing method device provided by the present invention, it is described in detail, it is used herein A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand originally The method and its core concept of invention;At the same time, for those skilled in the art, according to the thought of the present invention, specific There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to of the invention Limitation.

Claims (10)

1. a kind of information processing method, which is characterized in that the described method includes:
Detect whether to receive the clicking operation of the target position on line chart;
When receiving the clicking operation, the coordinate information of the target position is obtained;
The detail information of the target position is obtained according to the coordinate information;
Show the detail information.
2. the method according to claim 1, wherein described obtain the target position according to the coordinate information Detail information, comprising:
In corresponding relationship between stored coordinate information and detail information, search corresponding with the coordinate information detailed Feelings information, and the detail information as the target position.
3. the method according to claim 1, wherein the display detail information, comprising:
Obtain stored display window body component;
The detail information is added in the display window body component;
Rendering is added to the display window body component of the detail information.
4. the method according to claim 1, wherein the display detail information, comprising:
Generate the animation including the detail information;
Play the animation.
5. the method according to claim 1, wherein the method also includes:
It detects whether to receive the drag operation on the line chart;
When receiving the drag operation, obtains the drag direction of the drag operation and pull distance;
New line chart is drawn according to the drag direction and the distance that pulls;
Show the new line chart.
6. a kind of information processing unit, which is characterized in that described device includes:
First detection module, for detecting whether receiving the clicking operation of the target position on line chart;
First obtains module, for when receiving the clicking operation, obtaining the coordinate information of the target position;
Second obtains module, for obtaining the detail information of the target position according to the coordinate information;
First display module, for showing the detail information.
7. device according to claim 6, which is characterized in that the second acquisition module is specifically used for: stored In corresponding relationship between coordinate information and detail information, detail information corresponding with the coordinate information, and conduct are searched The detail information of the target position.
8. device according to claim 6, which is characterized in that first display module includes:
Acquiring unit, for obtaining stored display window body component;
Adding unit, for adding the detail information in the display window body component;
Rendering unit, for rendering the display window body component for being added to the detail information.
9. device according to claim 6, which is characterized in that first display module includes:
Generation module, for generating the animation including the detail information;
Playing module, for playing the animation.
10. device according to claim 6, which is characterized in that described device further include:
Second detection module, for detecting whether receiving the drag operation on the line chart;
Third obtains module, for when receiving the drag operation, obtaining the drag direction and dragging of the drag operation Distance;
Drafting module, for drawing new line chart according to the drag direction and the distance that pulls;
Second display module, for showing the new line chart.
CN201810766339.0A 2018-07-12 2018-07-12 A kind of information processing method and device Pending CN109033287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810766339.0A CN109033287A (en) 2018-07-12 2018-07-12 A kind of information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810766339.0A CN109033287A (en) 2018-07-12 2018-07-12 A kind of information processing method and device

Publications (1)

Publication Number Publication Date
CN109033287A true CN109033287A (en) 2018-12-18

Family

ID=64641988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810766339.0A Pending CN109033287A (en) 2018-07-12 2018-07-12 A kind of information processing method and device

Country Status (1)

Country Link
CN (1) CN109033287A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428427A (en) * 2009-04-02 2012-04-25 美尔默公司 Displaying pie charts in a limited display area
CN102479033B (en) * 2010-11-26 2014-06-25 金蝶软件(中国)有限公司 Chart browsing method, device and system
CN103941972A (en) * 2013-01-17 2014-07-23 金蝶软件(中国)有限公司 Diagram display method and device for data
US20150143279A1 (en) * 2013-11-19 2015-05-21 Vmware, Inc. Methods and systems for optimizing user interfacescreen space and content
CN106909273A (en) * 2017-02-22 2017-06-30 安徽华米信息科技有限公司 The inspection method of the page, device and mobile device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428427A (en) * 2009-04-02 2012-04-25 美尔默公司 Displaying pie charts in a limited display area
CN102479033B (en) * 2010-11-26 2014-06-25 金蝶软件(中国)有限公司 Chart browsing method, device and system
CN103941972A (en) * 2013-01-17 2014-07-23 金蝶软件(中国)有限公司 Diagram display method and device for data
US20150143279A1 (en) * 2013-11-19 2015-05-21 Vmware, Inc. Methods and systems for optimizing user interfacescreen space and content
CN106909273A (en) * 2017-02-22 2017-06-30 安徽华米信息科技有限公司 The inspection method of the page, device and mobile device

Similar Documents

Publication Publication Date Title
JP5956694B2 (en) Animation sequences associated with feedback user interface elements
US10175852B2 (en) Information processing methods and electronic devices for classifying applications
JP6434483B2 (en) Interactive elements for launching from the user interface
US9519401B2 (en) Providing context menu based on predicted commands
CN107924679A (en) Delayed binding during inputting understanding processing in response selects
CN108112270B (en) Providing collaborative communication tools within a document editor
US20110248939A1 (en) Apparatus and method for sensing touch
KR20170037957A (en) Presenting dataset of spreadsheet in form based view
JP2015532999A (en) Animation sequence associated with the image
JP2013527947A5 (en)
JP2012521043A (en) Dual module portable device
CN107281753B (en) Scene sound effect reverberation control method and device, storage medium and electronic equipment
KR20170055985A (en) Parametric inertia and apis
KR20160003683A (en) Automatically manipulating visualized data based on interactivity
KR20160125401A (en) Inline and context aware query box
WO2017032078A1 (en) Interface control method and mobile terminal
US10547582B1 (en) Methods and systems for enhancing viewer engagement with content portions
JP2016517578A (en) Modifying component content in the user interface
US20120284735A1 (en) Interaction-Based Interface to a Logical Client
US9891791B1 (en) Generating an interactive graph from a building information model
CN106293671B (en) Method and device for generating component template
CN106155513B (en) A kind of control method and device projecting touch screen
CN109033287A (en) A kind of information processing method and device
CN108351888B (en) Generating deferrable data streams
CN111324244B (en) Method and device for switching picture display types

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