Movatterモバイル変換


[0]ホーム

URL:


CN103294722A - An information processing method and system - Google Patents

An information processing method and system
Download PDF

Info

Publication number
CN103294722A
CN103294722ACN201210053620.2ACN201210053620ACN103294722ACN 103294722 ACN103294722 ACN 103294722ACN 201210053620 ACN201210053620 ACN 201210053620ACN 103294722 ACN103294722 ACN 103294722A
Authority
CN
China
Prior art keywords
information
data
type
view
queue
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.)
Granted
Application number
CN201210053620.2A
Other languages
Chinese (zh)
Other versions
CN103294722B (en
Inventor
丁寻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201210053620.2ApriorityCriticalpatent/CN103294722B/en
Publication of CN103294722ApublicationCriticalpatent/CN103294722A/en
Application grantedgrantedCritical
Publication of CN103294722BpublicationCriticalpatent/CN103294722B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses an information processing method and an information processing system. The information processing method comprises the following steps: acquiring information to be processed; determining the data type of the information, and converting data in the information into a placer corresponding to the data type of the information; and converting the data in the placer into a view, and displaying the view in the same interface. In allusion to defects of the conventional information display technology, by the information processing method and the information processing system, an aim of displaying information of different data types in different forms in the same page is achieved and the page switching time is saved for a user.

Description

A kind of information processing method and system
Technical field
The present invention relates to field of computer technology, in particular, relate to a kind of information processing method and system.
Background technology
Information is that people are at event, things and phenomenon etc., represent content, quantity or the feature that the back obtains with media such as literal, numeral, symbol, language and images, can provide about the fact and the knowledge new to real world, as the foundation of production, construction, operation, management, analysis and decision to people.
At present, mainly be divided into text display mode and graphical display mode at the displaying scheme of information, wherein, the text display mode refers to come statement information with literal; Graphical display mode refers to represent presenting information with means such as figure, chart or images.
Fast development along with computing machine and internet, come demonstration information to become more and more general with graphical display mode, for example, people can use dynamic picture to express expression information, use photo to describe landscape information, make the form that represents of information become directly perceived and rich and varied more.
But on the portable terminal such as this class of mobile phone, because the restriction of the bandwidth of wireless network, the restriction of hardware performance and the factors such as restriction of screen size, in a very long time, limited the development of graphical display mode on mobile phone, the user only can use mobile phone to represent text message.Along with the continuous development of Internet technology, mobile Internet is accepted by most netizen, becomes one of requisite online approach of many users, so the user is more and more urgent by the demand that mobile Internet obtains graphical information.
In implementation procedure of the present invention, the inventor finds:
Traditional graphical information displaying scheme, data type and corresponding ways of presentation by pre-set information can directly be presented at the information of single data type on the same interface of terminal screen, for example: the note that shows a plain text; Show a photo; Because existing scheme is the displaying scheme of realizing at the information with single data type, therefore when having comprised a plurality of data type in the information, also just this complex information can't be shown at same interface.
Summary of the invention
The purpose of this invention is to provide a kind of information processing method and system, in the time of can comprising a plurality of data type in an information, realization will show in the same interface of this complex information on terminal, has reduced the number of times that user interface is switched.
The objective of the invention is to be achieved through the following technical solutions:
The present invention proposes a kind of information processing method, comprising:
Obtain pending information;
Determine the data type of described information, and the data in the described information are transformed in the layout device corresponding with the data type of described information;
Data in the layout device are converted into view, and show at same interface.
The present invention also proposes a kind of information handling system, comprising:
Data processor is used for obtaining pending information;
Adaptation processor be used for to be determined the data type of the described information of described data processor storage, and the data in the described information are transformed in the layout device corresponding with the data type of described information;
Viewing processor is used for the data of layout device are converted into view, and shows at same interface.
As seen from the above technical solution provided by the invention, a kind of information processing method and system that the embodiment of the invention provides, data type according to information described in the pending information that gets access to, data in the described information are transformed in the layout device corresponding with the data type of described information, data in the layout device are converted into view, and show at same interface.The realization of technical solution of the present invention has solved the existing information displaying scheme can only be to having the limitation that single data type information shows, realized that the complex information that has comprised a plurality of data types in an information shows at same interface, has reduced the number of times of user's interface switching.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite of not paying creative work, can also obtain other accompanying drawings according to these accompanying drawings.
The process flow diagram of the information processing method that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the particular flow sheet of the described information processing method of the embodiment of the invention;
The static layer aggregated(particle) structure synoptic diagram of the information processing method that Fig. 3 provides for the embodiment of the invention;
Fig. 4 is the interface synoptic diagram of text layout's device described in the embodiment of the invention;
Fig. 5 is the interface synoptic diagram of the device of figure chip layout described in the embodiment of the invention;
Fig. 6 is the interface synoptic diagram of filling single type layout device of video and music information in the embodiment of the invention;
The interface synoptic diagram of the paging type layout device that Fig. 7 provides for the embodiment of the invention;
Fig. 8 is the application scenarios figure of the embodiment of the invention;
The interface synoptic diagram of the self-defined layout device that Fig. 9 provides for the embodiment of the invention;
The edit page synoptic diagram of the self-defined layout device that Figure 10 provides for the embodiment of the invention;
The structural representation of the information handling system that Figure 11 provides for the embodiment of the invention;
The concrete structure synoptic diagram of the information handling system that Figure 12 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on embodiments of the invention, those of ordinary skills belong to protection scope of the present invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 1, the present invention proposes a kind of information processing method, and this method comprises:
Step 100, obtain pending information;
Step 101, determine the data type of described information, and the data in the described information are transformed in the layout device corresponding with the data type of described information;
Step 102, the data in the layout device are converted into view, and show at same interface.
As seen, can be according to the selected corresponding layout device of the data type of information by technique scheme the present invention, not only make the information of different types of data to show with optimised form by the layout device, and at the complex information that has comprised a plurality of data types in the information, the present invention also can adopt corresponding layout device this information to be presented on the same interface of terminal, reduce the time of user's interface switching, improved user's experience.
Below in conjunction with accompanying drawing the embodiment of the invention is described in further detail.
As shown in Figure 2, the present invention proposes a kind of information processing method, and this method comprises:
Step 200, obtain pending information;
Step 201, the described information that will get access to are classified according to information type; Wherein, with the source of described information as information type; And store according to the information type of described information;
Step 202, determine the data type of described information, and the data in the described information are transformed in the layout device corresponding with the data type of described information;
Step 203, the data in the layout device are converted into view, and show at same interface.
In the scheme of the invention described above embodiment, above-mentioned information processing method can be divided into three levels, wherein,step 200 and 201 is to carry out the process that data are handled at the information that gets access to, and therefore the level corresponding withstep 200 and 201 is data analysis layer;Step 202 is converted into the processing procedure of layout device for information data, and therefore the level corresponding withstep 202 is the adaptation processing layer;Step 203 is for being converted into the data in the layout device processing procedure of view, and therefore the level corresponding withstep 102 is the view processing layer; The overall process of technical solution of the present invention is described out with the hierarchical structure of static state as shown in Figure 3.
Concrete, in above-mentionedsteps 200, obtain pending information, this information can be divided into short message, instant messaging information and microblogging information etc. according to the source of information, also can be for from the information in other system, and the present invention treats the source of process information and does not do concrete restriction.
Concrete, above-mentioned steps 201 can comprise two processes:
(1) the described information that will get access to is classified according to information type; Wherein, can be with the source of described information as information type in the embodiment of the invention;
In the embodiment of the invention, for every information can knowing that complete description gets access to, can describe with reference to the field form in the following table, also can revise voluntarily according to self-demand:
idThe unique identification of information
senderInformation data sender
TypeData type
Content listThe data content formation
timeThe information time of reception
(2) store according to the information type of described information;
In the embodiment of the invention, according to the information type of described information, the mode that adopts traversal to have information data determines to preserve the information type formation of described information;
When in existing information type formation, finding the information type formation of preserving described information, described information is inserted into the stem of this formation; In existing information type when not finding the information type formation of preserving described information in not, can be according to the newly-built information type formation of the information type of described information, and described information is inserted in this formation.
In addition, when the mode of the existing information data of above-mentioned employing traversal was added information data, the mode of the existing information data of traversal can be achieved through the following technical solutions:
Travel through all data that have in the information type formation by the type_index of queue pointer and offset pointer offset_index, specifically comprise:
The described type_index of queue pointer is from first information type formation, and is each along moving described offset pointer offset_index until described first information type formation afterbody;
After having traveled through described first information type formation, the mobile described type_index of queue pointer is to next information type formation, and along moving the traversal that offset pointer offset_index carries out each data in this information type formation, to the last an information type formation traversal finishes.
In the embodiment of the invention, the mode of the existing information data of traversal can adopt the mode of traversal fully, that is to say the data in all existing information type formations of traversal; Can also adopt the mode of part traversal, that is to say the mode of a certain or some information type formation in the existing information type formation of traversal.
Concrete,step 202 can comprise:
(1) determine the data type that comprises in the described information, described data type comprises single type and polymorphic type;
Wherein, described single type is any one in text message, pictorial information, video or the music information; Described polymorphic type is at least two kinds that have comprised in the described information in text message, pictorial information, video or the music information;
(2) according to the data type of the described information of determining, select corresponding layout device, wherein, described layout device comprises single type layout device and polymorphic type layout device; Data in the described information are filled in the selected described layout device.
Need to prove, related layout device in the embodiment of the invention, its function is that the data for the information that will get access to change into the utilizable assembly of view, wherein " conversion " refer to the data in the information are filled in the layout device, the data in this layout device can generate the view of these data afterwards.
Data type at information in the embodiment of the invention provides different layout devices respectively, wherein single type layout device can adopt the technical scheme of single type layout device of the prior art to realize, for example: when the data type of this information only is text message, use the text layout's device as shown in Figure 4 in single type layout device to come padding data; When the data type of this information is pictorial information, can use in single type layout device figure chip layout device as shown in Figure 5 to come padding data; When the data type of this information is video or music information, use in single type layout device layout device as shown in Figure 6 to come padding data;
In addition, when in this information, having comprised at least two kinds of data types, can adopt as shown in Figure 7 polymorphic type layout device to fill data in this information.
Specifically, described data in the described information are filled in the selected described layout device, comprise:
When the data type of described information is polymorphic type, the data in the described information are filled in the selected polymorphic type layout device, described polymorphic type layout device is paging type layout device, specifically comprises:
With the data of every kind of data type correspondence in the described information, be filled into successively among every Pageview figure that paging type layout device provides, wherein, only limit to fill the data of a kind of data type that comprises in the described information among described every Pageview figure; That is to say each page or leaf that text message, pictorial information, video and the music information that comprises in the same information will be filled into respectively in the paging type layout device;
Described paging type layout device provides two page-turning button to carry out the page turn over operation of view, so that check the page up of having filled or the data of descending one page.
Concrete, step 203 can comprise:
According to the data in the described layout device, determine in view, to show the needed position of described data, and according to the described position of determining the data in the described layout device are changed into view.
Further concrete, step 203 can be achieved through the following technical solutions:
(1) calculates needed Gao Yukuan when institute's padding data shows in the described layout device, in order to determine the zone that described layout device is placed in view;
(2) find the upper left corner of described layout device put area in view with respect to the coordinate in the whole view upper left corner (x, y);
(3) in the painting canvas of whole view, take out so that (x y) is upper left corner coordinate, and wide and high is the rectangle of needed Gao Yukuan when institute's padding data shows in the described layout device, as the painting canvas of the described layout device of doing;
(4) successively the data of filling in the described layout device are plotted on the painting canvas of described layout device, finish the conversion process from described layout device to view.
In addition, the detailed process for description of step more clearly 203 realizes is elaborated below in conjunction with accompanying drawing:
At first, calculate in the layout device of padding data data at view necessary for displaying height (height) and wide (width), and the zone that current layout device can be placed in definite view;
As shown in Figure 8, if the wide width<width_1 of current layout device is positioned over the A district with current layout device so; If width_2>width and width>width_1 are positioned over the B district with current layout device so; If width>width_2 then is positioned over the C district with current layout device;
Secondly, find the upper left corner of put area with respect to the coordinate in the whole view upper left corner (x, y);
Then, will in the painting canvas of whole view, downcut so that (x y) is the coordinate in the upper left corner, and wide is that width, height are the rectangle of height, as the painting canvas of current layout device;
At last, successively the data of filling in the current layout device are plotted on this painting canvas, finish the conversion from the layout device to view.
Need to prove, all data all are converted to corresponding layout device in the information that gets access to, and when all layout devices all are converted to view, whole view processing procedure finishes, at this moment, adopt on the screen of terminal of above-mentioned information processing method, can demonstrate the information of various different types of data.
In addition, the function of self-defined layout device can also be provided to the user in the embodiment of the invention, can pre-configured some kinds of information types in this self-defined layout device, and with these information types with the tabulation mode offer the user, for example: the user can select message among Fig. 9 in some information types, comes to carry out self-defined to the layout device of selected message by self-defined layout device.In addition, be to set up tabulation with the source of information as information type in the embodiment of the invention, in implementation procedure of the present invention, also can define information type according to actual needs voluntarily, among the present invention not the particular content to information type limit;
In this self-defined layout device, diversified self-defined style can be provided, as shown in Figure 9, the user is after selected information type, can be in a plurality of self-defined style on right side come selectedly according to self hobby, wherein self-defined style can comprise styles such as pivoted, grid type, tabulation formula and self-defined formula;
After the selected self-defined style of user, this self-defined layout device can provide a layout device edit page, and the ways of presentation that the user can self-defined information specifically can adopt the mode of gridding to realize, as shown in figure 10.In this way the user can definition information in the size of viewing area of each data block and the placement location and size of determining positions data,
The user is after setting personalized layout device by self-defined layout device, self-defined layout device will be integrated in the adaptation processing layer, when receiving the information corresponding with the information type of personalized layout device, data in this information directly are filled in the personalized layout device, in order to carry out the view switch process.
By self-defined layout device is provided to the user, the user can setting individual the layout device, data are converted into the individual demand that can satisfy the user in the process of view in the layout device, and the information that makes the user to browse to conform to self-demand is showed the interface.
The described information processing method of the embodiment of the invention can be applied on the terminal device, and this terminal device can be mobile phone, panel computer etc., but terminal device is not limited to mobile communication terminal described in the embodiment of the invention.
As shown in figure 11, based on the information processing method that above-described embodiment proposes, the present invention also proposes a kind of information handling system, and this system comprises:
Data processor 91 is used for obtaining pending information;
Adaptation processor 92 be used for to be determined the data type of the described information of described data processor storage, and the data in the described information are transformed in the layout device corresponding with the data type of described information;
Viewing processor 93 is used for the data of layout device are converted into view, and shows at same interface.
As seen, can be according to the selected corresponding layout device of the data type of information by technique scheme the present invention, not only make the information of different types of data to show with optimised form by the layout device, and at the complex information that has comprised a plurality of data types in the information, the present invention also can adopt corresponding layout device that this information is presented on the same interface of terminal, has reduced the time of user's interface switching.
Concrete, describeddata processor 91 also is used for:
The described information that gets access to is classified according to information type; Wherein, with the source of described information as information type; And store according to the information type of described information.
Concrete, as shown in figure 12, describeddata processor 91 further comprises:
Data acquisition module 911 is used for obtaining pending information;
Data sort module 912, the described information that is used for getting access to is classified according to information type;
Data Control module 913 is used for the information type according to the definite described information of described data sort module, and the mode that adopts traversal to have information data determines to preserve the information type formation of described information;
When in existing information type formation, finding the information type formation of preserving described information, described information is inserted into the stem of this formation; Otherwise, according to the newly-built information type formation of the information type of described information, and described information is inserted in this formation.
Further, in the data sort module after data acquisition module gets access to pending information, to classify to the information that receives according to information type earlier, the source of preference information is as information type in the embodiment of the invention, wherein, the source of information can comprise that short message, instant messaging information, microblogging information etc. are from the information of different communication systems;
In addition, in order clearly to describe every the information that gets access to, every information can be represented with some fields that for example some fields can comprise: id (unique identification of information), sender (information data sender), Type (data type), Content list (data content formation) and ime (information time of reception).In specific implementation of the present invention, can improve voluntarily according to self-demand.
Concrete, the mode of the existing information data of described traversal comprises:
Travel through all data that have in the information type formation by queue pointer and offset pointer;
Described queue pointer is from first information type formation, and is each along moving described offset pointer until described first information type formation afterbody;
After having traveled through described first information type formation, mobile described queue pointer is to next information type formation, and along moving the traversal that offset pointer is carried out each data in this information type formation, to the last an information type formation traversal finishes.
In the embodiment of the invention, the mode of the existing information data of traversal can adopt the mode of traversal fully, that is to say the data in all existing information type formations of traversal; Can also adopt the mode of part traversal, that is to say the mode of a certain or some information type formation in the existing information type formation of traversal.
Concrete, as shown in figure 12, describedadaptation processor 92 comprises:
Type determination module 921 is used for the data type that definite described information comprises, and described data type comprises single type and polymorphic type;
Wherein, described single type is any one in text message, pictorial information, video or the music information; Described polymorphic type is at least two kinds that have comprised in the described information in text message, pictorial information, video or the music information;
Data conversion module 922 is used for the data type according to the definite described information of described type determination module, selects corresponding layout device, and wherein, described layout device comprises single type layout device and polymorphic type layout device; And the data in the described information are filled in the selected described layout device.
Concrete, as shown in figure 12, describeddata conversion module 922 specifically comprises:
Layout device selectedcell 9221 is used for the data type according to the definite described information of described type determination module, selects corresponding layout device;
Data filler cells 9222, be used for when the described layout device that described layout device selected cell is selected is polymorphic type layout device, data with every kind of data type correspondence in the described information, be filled into successively among every Pageview figure that polymorphic type layout device provides, wherein, only limit to fill the data of a kind of data type that comprises in the described information among described every Pageview figure; Described polymorphic type layout device is paging type layout device:
Described paging type layout device provides two page-turning button to carry out the page turn over operation of view, so that check the page up of having filled or the data of descending one page.
Further, data type at information in the embodiment of the invention provides different layout devices respectively, wherein single type layout device can adopt the technical scheme of single type layout device of the prior art to realize, for example: when the data type of this information only is text message, use the text layout's device as shown in Figure 4 in single type layout device to come padding data; When the data type of this information is pictorial information, can use in single type layout device figure chip layout device as shown in Figure 5 to come padding data; When the data type of this information is video or music information, use in single type layout device layout device as shown in Figure 6 to come padding data;
In addition, when in this information, having comprised at least two kinds of data types, can adopt as shown in Figure 7 polymorphic type layout device to fill data in this information.
Concrete, viewingprocessor 93 specifically is used for:
Be transformed into data in the described layout device according to described adaptation processor, determine to show described data needed position in view, according to the described position of determining the data in the described layout device are changed into view.
Further concrete, as shown in figure 12, describedviewing processor 93 comprises:
Zone determination module 931 is used for calculating data needed Gao Yukuan when showing that described layout device is filled, in order to determine the zone that described layout device is placed in view; Also be used for finding described layout device in the upper left corner of view put area with respect to the coordinate in the whole view upper left corner (x, y);
Paintingcanvas generation module 932 is used for the painting canvas at whole view, takes out so that (x y) is upper left corner coordinate, and wide and high is the rectangle of needed Gao Yukuan when institute's padding data shows in the described layout device, as the painting canvas of the described layout device of doing;
View conversion module 933, the data that are used for successively described layout device being filled are plotted in the painting canvas of described layout device, finish the conversion process from described layout device to view.
Need to prove, all data all are converted to corresponding layout device in the information that gets access to, and when all layout devices all are converted to view, whole view processing procedure finishes, at this moment, adopt on the screen of terminal of above-mentioned information processing method, can demonstrate the information of various different types of data.
The described information processing method of the embodiment of the invention can be applied on the terminal device, and this terminal device can be mobile phone, panel computer etc., but terminal device is not limited to mobile communication terminal described in the embodiment of the invention.
Need to prove, the embodiment of the invention is based on the system embodiment that method embodiment shown in Figure 1 obtains, comprised with Fig. 1 embodiment in identical or corresponding technical scheme, therefore, relate in embodiments of the present invention with Fig. 1 method embodiment in identical technical scheme can not give unnecessary details one by one at this referring to the associated description of Fig. 1 embodiment.
As seen from the above technical solution provided by the invention, a kind of information processing method and system that the embodiment of the invention provides, at the information that receives, can be at the selected corresponding layout device of the data type of information, make the information that receives to be presented on the same interface of terminal, technical solution of the present invention has solved the existing information displaying scheme can only be to having the limitation that single data type information shows, realized that the complex information that has comprised a plurality of data types in an information shows at same interface, reduce the number of times of user's interface switching, improved user's experience.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (16)

Translated fromChinese
1.一种信息处理方法,其特征在于,包括:1. An information processing method, characterized in that, comprising:获取待处理的信息;obtain pending information;确定所述信息的数据类型,并将所述信息中的数据转化到与所述信息的数据类型对应的布局器中;determining the data type of the information, and converting the data in the information into a layouter corresponding to the data type of the information;将布局器中的数据转化为视图,并在同一界面进行显示。Convert the data in the layouter into a view and display it on the same interface.2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises:将获取到的所述信息按照信息类型进行分类;其中,将所述信息的来源作为信息类型;Classify the obtained information according to the type of information; where the source of the information is used as the type of information;按照所述信息的信息类型进行存储。Store according to the information type of the information.3.根据权利要求2所述的方法,其特征在于,所述按照所述信息的信息类型进行存储,包括:3. The method according to claim 2, wherein the storing according to the information type of the information comprises:根据所述信息的信息类型,采用遍历已有信息数据的方式来确定保存所述信息的信息类型队列;According to the information type of the information, the information type queue for storing the information is determined by traversing the existing information data;在已有信息类型队列中找到保存所述信息的信息类型队列时,将所述信息插入到该队列的首部;否则,根据所述信息的信息类型新建一个信息类型队列,并将所述信息插入到该队列中。When an information type queue for storing the information is found in an existing information type queue, insert the information into the head of the queue; otherwise, create a new information type queue according to the information type of the information, and insert the information into the queue.4.根据权利要求3所述的方法,其特征在于,所述遍历已有信息数据的方式包括:4. The method according to claim 3, wherein the manner of traversing existing information data comprises:通过队列指针和偏移指针来遍历已有信息类型队列中的所有数据,具体包括:Use the queue pointer and offset pointer to traverse all the data in the existing information type queue, including:所述队列指针从第一个信息类型队列开始,每次顺移所述偏移指针直至所述第一个信息类型队列尾部;The queue pointer starts from the first information type queue, and moves the offset pointer each time until the end of the first information type queue;在遍历完所述第一个信息类型队列后,移动所述队列指针到下一个信息类型队列,并顺移偏移指针进行该信息类型队列中每个数据的遍历,直到最后一个信息类型队列遍历完毕。After traversing the first information type queue, move the queue pointer to the next information type queue, and move the offset pointer to traverse each data in the information type queue until the last information type queue is traversed complete.5.根据权利要求1所述的方法,其特征在于,所述确定所述信息的数据类型,并将所述信息中的数据转化到与所述信息的数据类型对应的布局器中,包括:5. The method according to claim 1, wherein the determining the data type of the information and converting the data in the information into a layout device corresponding to the data type of the information comprises:确定所述信息中包含的数据类型,所述数据类型包括单类型和多类型;determining the data type contained in the information, the data type including single type and multi-type;其中,所述单类型为文本信息、图片信息、视频或音乐信息中的任意一种;所述多类型为所述信息中包含了文本信息、图片信息、视频或音乐信息中的至少两种;Wherein, the single type is any one of text information, picture information, video or music information; the multi-type is that the information contains at least two of text information, picture information, video or music information;根据确定的所述信息的数据类型,选择对应的布局器,其中,所述布局器包括单类型布局器和多类型布局器;Selecting a corresponding layouter according to the determined data type of the information, wherein the layouter includes a single-type layouter and a multi-type layouter;将所述信息中的数据填充到选定的所述布局器中。Fill the data in the information into the selected placer.6.根据权利要求5所述的方法,其特征在于,所述将所述信息中的数据填充到选定的所述布局器中,包括:6. The method according to claim 5, wherein the filling the data in the information into the selected layout device comprises:在所述信息的数据类型为多类型时,将所述信息中的数据填充到选定的多类型布局器中,所述多类型布局器为分页式布局器,具体包括:When the data type of the information is multi-type, fill the data in the information into the selected multi-type layout device, and the multi-type layout device is a paging layout device, specifically including:将所述信息中每种数据类型对应的数据,依次填充到分页式布局器提供的每页视图中,其中,所述每页视图中仅限于填充所述信息中包含的一种数据类型的数据;The data corresponding to each data type in the information is sequentially filled into each page view provided by the pagination layout device, wherein each page view is limited to filling data of one data type contained in the information ;所述分页式布局器提供两个翻页按钮进行视图的翻页操作,以便于查看已填充的上一页或者下一页的数据。The page-by-page layout device provides two page-turning buttons to perform the page-turning operation of the view, so as to view the filled data of the previous or next page.7.根据权利要求1所述的方法,其特征在于,所述将布局器中的数据转化为视图,并在同一界面进行显示,包括:7. The method according to claim 1, wherein said converting the data in the layout device into a view and displaying it on the same interface comprises:根据所述布局器中的数据,确定在视图中显示所述数据所需要的位置,并按照确定的所述位置将所述布局器中的数据转化成视图。According to the data in the layouter, determine the position required to display the data in the view, and transform the data in the layouter into a view according to the determined position.8.根据权利要求7所述的方法,其特征在于,所述根据所述布局器中的数据,确定在视图中显示所述数据所需要的位置,并按照确定的所述位置将所述布局器中的数据转化成视图,包括:8. The method according to claim 7, characterized in that, according to the data in the layout device, the position required for displaying the data in the view is determined, and the layout is arranged according to the determined position The data in the browser is converted into a view, including:计算所述布局器中所填充的数据在显示时所需要的高与宽,以便确定所述布局器在视图中放置的区域;calculating the required height and width of the data filled in the layout device when displayed, so as to determine the area placed by the layout device in the view;找到所述布局器在视图中放置区域的左上角相对于整个视图左上角的坐标(x,y);Find the coordinates (x, y) of the upper left corner of the layout area placed in the view relative to the upper left corner of the entire view;在整个视图的画布中,取出以(x,y)为左上角坐标,宽和高为所述布局器中所填充数据显示时所需要的高与宽的矩形,作为所为所述布局器的画布;In the canvas of the entire view, take (x, y) as the coordinates of the upper left corner, and the width and height are the height and width rectangles required for the display of the data filled in the layouter, as the layouter canvas;依次将所述布局器中所填充的数据绘制在所述布局器的画布上,完成从所述布局器到视图的转化过程。The data filled in the layouter is sequentially drawn on the canvas of the layouter to complete the conversion process from the layouter to the view.9.一种信息处理系统,其特征在于,包括:9. An information processing system, characterized in that it comprises:数据处理器,用于获取待处理的信息;data processors for obtaining information to be processed;适配处理器,用于确定所述数据处理器存储的所述信息的数据类型,并将所述信息中的数据转化到与所述信息的数据类型对应的布局器中;an adaptation processor, configured to determine the data type of the information stored by the data processor, and convert the data in the information into a layouter corresponding to the data type of the information;视图处理器,用于将布局器中的数据转化为视图,并在同一界面进行显示。The view processor is used to convert the data in the layouter into a view and display it on the same interface.10.根据权利要求9所述的系统,其特征在于,所述数据处理器还用于:10. The system according to claim 9, wherein the data processor is also used for:将获取到的所述信息按照信息类型进行分类;其中,将所述信息的来源作为信息类型;并按照所述信息的信息类型进行存储。The obtained information is classified according to the information type; wherein, the source of the information is used as the information type; and the information is stored according to the information type of the information.11.根据权利要求9所述的系统,其特征在于,所述数据处理器包括:11. The system according to claim 9, wherein the data processor comprises:数据获取模块,用于获取待处理的信息;A data acquisition module, configured to acquire information to be processed;数据分类模块,用于将获取到的所述信息按照信息类型进行分类;A data classification module, configured to classify the obtained information according to the type of information;数据控制模块,用于根据所述数据分类模块确定的所述信息的信息类型,采用遍历已有信息数据的方式来确定保存所述信息的信息类型队列;The data control module is used to determine the information type queue for storing the information by traversing the existing information data according to the information type of the information determined by the data classification module;在已有信息类型队列中找到保存所述信息的信息类型队列时,将所述信息插入到该队列的首部;否则,根据所述信息的信息类型新建一个信息类型队列,并将所述信息插入到该队列中。When an information type queue for storing the information is found in an existing information type queue, insert the information into the head of the queue; otherwise, create a new information type queue according to the information type of the information, and insert the information into the queue.12.根据权利要求11所述的系统,其特征在于,所述遍历已有信息数据的方式包括:12. The system according to claim 11, wherein the way of traversing existing information data comprises:通过队列指针和偏移指针来遍历已有信息类型队列中的所有数据;Through the queue pointer and offset pointer to traverse all the data in the existing information type queue;所述队列指针从第一个信息类型队列开始,每次顺移所述偏移指针直至所述第一个信息类型队列尾部;The queue pointer starts from the first information type queue, and moves the offset pointer each time until the end of the first information type queue;在遍历完所述第一个信息类型队列后,移动所述队列指针到下一个信息类型队列,并顺移偏移指针进行该信息类型队列中每个数据的遍历,直到最后一个信息类型队列遍历完毕。After traversing the first information type queue, move the queue pointer to the next information type queue, and move the offset pointer to traverse each data in the information type queue until the last information type queue is traversed complete.13.根据权利要求9所述的系统,其特征在于,所述适配处理器包括:13. The system according to claim 9, wherein the adaptation processor comprises:类型确定模块,用于确定所述信息中包含的数据类型,所述数据类型包括单类型和多类型;A type determining module, configured to determine the data type contained in the information, the data type including single type and multi-type;其中,所述单类型为文本信息、图片信息、视频或音乐信息中的任意一种;所述多类型为所述信息中包含了文本信息、图片信息、视频或音乐信息中的至少两种;Wherein, the single type is any one of text information, picture information, video or music information; the multi-type is that the information contains at least two of text information, picture information, video or music information;数据转化模块,用于根据所述类型确定模块确定的所述信息的数据类型,选择对应的布局器,其中,所述布局器包括单类型布局器和多类型布局器;并将所述信息中的数据填充到选定的所述布局器中。A data conversion module, configured to select a corresponding layouter according to the data type of the information determined by the type determination module, wherein the layouter includes a single-type layouter and a multi-type layouter; The data from is populated into the selected placer.14.根据权利要求13所述的系统,其特征在于,所述数据转化模块具体包括:14. The system according to claim 13, wherein the data conversion module specifically comprises:布局器选择单元,用于根据所述类型确定模块确定的所述信息的数据类型,选择对应的布局器;a layouter selection unit, configured to select a corresponding layouter according to the data type of the information determined by the type determination module;数据填充单元,用于在所述布局器选择单元选择的所述布局器为多类型布局器时,将所述信息中每种数据类型对应的数据,依次填充到多类型布局器提供的每页视图中,其中,所述每页视图中仅限于填充所述信息中包含的一种数据类型的数据;所述多类型布局器为分页式布局器:A data filling unit, configured to sequentially fill the data corresponding to each data type in the information into each page provided by the multi-type placer when the placer selected by the placer selection unit is a multi-type placer view, wherein, the view per page is limited to filling data of one data type contained in the information; the multi-type layouter is a pagination layouter:所述分页式布局器提供两个翻页按钮进行视图的翻页操作,以便于查看已填充的上一页或者下一页的数据。The page-by-page layout device provides two page-turning buttons to perform the page-turning operation of the view, so as to view the filled data of the previous or next page.15.根据权利要求9所述的系统,其特征在于,所述视图处理器具体用于:15. The system according to claim 9, wherein the view processor is specifically used for:根据所述适配处理器转化到所述布局器中的数据,确定显示所述数据在视图中所需要的位置,按照确定的所述位置将所述布局器中的数据转化成视图。According to the data converted by the adaptation processor into the layout device, determine the position required to display the data in the view, and convert the data in the layout device into a view according to the determined position.16.根据权利要求15所述的系统,其特征在于,所述视图处理器包括:16. The system according to claim 15, wherein the view processor comprises:区域确定模块,用于计算所述布局器中所填充的数据在显示时所需要的高与宽,以便确定所述布局器在视图中放置的区域;还用于找到所述布局器在视图中放置区域的左上角相对于整个视图左上角的坐标(x,y);The area determination module is used to calculate the height and width required by the data filled in the layout device when displayed, so as to determine the area where the layout device is placed in the view; it is also used to find the location of the layout device in the view The coordinates (x, y) of the upper left corner of the drop area relative to the upper left corner of the entire view;画布生成模块,用于在整个视图的画布中,取出以(x,y)为左上角坐标,宽和高为所述布局器中所填充数据显示时所需要的高与宽的矩形,作为所为所述布局器的画布;The canvas generation module is used to take (x, y) as the coordinates of the upper left corner in the canvas of the entire view, and the width and height are the height and width rectangles required for the display of the data filled in the layout device, as the required a canvas for the layouter;视图转化模块,用于依次将所述布局器中所填充的数据绘制在所述布局器的画布上,完成从所述布局器到视图的转化过程。The view conversion module is used to sequentially draw the data filled in the layouter on the canvas of the layouter to complete the conversion process from the layouter to the view.
CN201210053620.2A2012-03-022012-03-02A kind of information processing method and systemActiveCN103294722B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210053620.2ACN103294722B (en)2012-03-022012-03-02A kind of information processing method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210053620.2ACN103294722B (en)2012-03-022012-03-02A kind of information processing method and system

Publications (2)

Publication NumberPublication Date
CN103294722Atrue CN103294722A (en)2013-09-11
CN103294722B CN103294722B (en)2018-09-04

Family

ID=49095608

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210053620.2AActiveCN103294722B (en)2012-03-022012-03-02A kind of information processing method and system

Country Status (1)

CountryLink
CN (1)CN103294722B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2015172317A1 (en)*2014-05-132015-11-19华为技术有限公司Information providing method and device
CN105227426A (en)*2014-05-302016-01-06小米科技有限责任公司A kind of application interface changing method, device and terminal equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100631604B1 (en)*2004-10-262006-10-09엘지전자 주식회사 How to Display MMS Messages in a Mobile Device
CN101193337A (en)*2006-11-202008-06-04中兴通讯股份有限公司MMS coding device
CN101083800A (en)*2007-07-242007-12-05华为技术有限公司Method, system and apparatus for realizing multimedia information storage
CN101170736B (en)*2007-11-272010-08-04中兴通讯股份有限公司MMS playing method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2015172317A1 (en)*2014-05-132015-11-19华为技术有限公司Information providing method and device
CN105264871A (en)*2014-05-132016-01-20华为技术有限公司 Information providing method and device
JP2016541190A (en)*2014-05-132016-12-28華為技術有限公司Huawei Technologies Co.,Ltd. Information providing method and apparatus
CN105264871B (en)*2014-05-132018-03-09华为技术有限公司Information providing method and device
CN105227426A (en)*2014-05-302016-01-06小米科技有限责任公司A kind of application interface changing method, device and terminal equipment
CN105227426B (en)*2014-05-302019-12-13小米科技有限责任公司Application interface switching method and device and terminal equipment

Also Published As

Publication numberPublication date
CN103294722B (en)2018-09-04

Similar Documents

PublicationPublication DateTitle
KR101397685B1 (en)User terminal and method for displaying screen
US20200050632A1 (en)Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN103003789B (en)Adjustable and progressive mobile device street view
TWI453658B (en)A dynamic composing method for displayed screen
US20150206446A1 (en)Authoring, sharing, and consumption of online courses
CN104471565A (en)Abstract relational model for transforming data into consumable content
CN106796582A (en)The dynamic presentation of suggestion content
US20160092404A1 (en)Intent Based Feedback
US11314408B2 (en)Computationally efficient human-computer interface for collaborative modification of content
US20160012129A1 (en)Visualization suggestions
CN104350493A (en)Transforming data into consumable content
US11526322B2 (en)Enhanced techniques for merging content from separate computing devices
CN107765938B (en)Picture interaction method and device
JP2022526514A (en) Character string display processing method and its devices, terminals and computer programs
US10839148B2 (en)Coordination of storyline content composed in multiple productivity applications
CN106021436A (en)Vector tile map making method
US9084023B2 (en)Image processing device, image processing method and image processing program
CN102662595A (en)Magazine graphic and context mixed composing method for mobile terminal screen
CN114239524A (en) Questionnaire generating method, device, computer equipment and storage medium
CN103294722A (en) An information processing method and system
CN104268174A (en)Information displaying method and client
CN102436369B (en)Method and device for displaying data
JP5389851B2 (en) Map providing server, map providing method and program
CN104133845A (en)Multimedia information display method and multimedia information display processing equipment
CN103593118A (en)Irregular figure bookmark adding method and system based on Android platform reader

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp