CN104462123B - A kind of acquisition data method and electronic equipment - Google Patents
A kind of acquisition data method and electronic equipment Download PDFInfo
- Publication number
- CN104462123B CN104462123B CN201310430796.XA CN201310430796A CN104462123B CN 104462123 B CN104462123 B CN 104462123B CN 201310430796 A CN201310430796 A CN 201310430796A CN 104462123 B CN104462123 B CN 104462123B
- Authority
- CN
- China
- Prior art keywords
- data
- value
- adjusted
- electronic equipment
- parameter
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to multimedia technology field, a kind of acquisition data method and electronic equipment are disclosed, to solve to consult technical problem larger there are electronic equipment processing load when associated file on the time in the prior art.Method comprises determining that, there are associated M data on the time, M is positive integer;The first data are determined from M data;The parameter value of the second parameter in first data is adjusted to the second value different from the first value by the first value, and then obtains the second data;Wherein, parameter value of the adjustment of the parameter value of the second parameter in the first data according to the second parameter of N number of data in M data, the integer of N≤M;Subtracting 1 for the M in the second data and M data in addition to the first data, a data synthesize third data.
Description
Technical field
The present invention relates to multimedia technology field, in particular to a kind of acquisition data method and electronic equipment.
Background technique
With the fast development of electronic technology, the function of various electronic equipments is also more and more abundant, more and more humanized, enables
User has better Experience Degree during using electronic equipment.For adept machine, present smart phone can be with
A small-sized computer has been modified to and is said, and not only there is powerful memory space, various softwares can be installed, and it is various
Cell-phone function is also made more and more finely and human nature.
User can obtain various data by electronic equipment, such as: recording data, video data, shorthand content,
Take pictures etc..
Present inventor's discovery at least has the following technical problems in the prior art:
Since in the prior art, the various data that user is obtained by electronic equipment are associated with even if existing on the time, than
Such as: writing record is obtained while obtaining recording data, these data are also self-existent, so user is needing to consult
When these data, need to search in the electronic device respectively, therefore there is the heavier technologies of the processing load of electronic equipment to ask
Topic.
Summary of the invention
The embodiment of the present invention provides the method and mobile terminal of a kind of controlling electronic devices, looks into the prior art for solving
Read on the time that there are the technical problems that electronic equipment processing load when associated file is larger.
According to the first aspect of the invention, a kind of acquisition data method is provided, comprising: determine that there are associated M on the time
A data, M are positive integer;The first data are determined from the M data;By the ginseng of the second parameter in first data
Numerical value is adjusted to the second value different from first value by the first value, and then obtains the second data;Wherein, first data
In the second parameter parameter value parameter value of the adjustment according to the second parameter of N number of data in the M data, N≤M's is whole
Number;M-1 data in second data and the M data in addition to first data are synthesized into third data.
With reference to first aspect, in the first possible implementation, when first data include lteral data, institute
It states and the parameter value of the first parameter in first data is adjusted to the second value different from described first by the first value, specifically
Are as follows: the text size of the lteral data is adjusted to the second sizes values by the first sizes values;And/or by the lteral data
Font is adjusted to the second font by the first font;And/or the display effect of the lteral data is adjusted by the first display effect
For the second display effect;And/or the text color of the lteral data is adjusted to the second color by the first color.
The possible implementation of with reference to first aspect the first, it is in the second possible implementation, described by institute
The text size for stating lteral data is adjusted to the second sizes values by the first sizes values, specifically includes: determining the aobvious of N number of data
Show size;According to the display size, the text size is adjusted to second sizes values by first sizes values;Or
The font by the lteral data is adjusted to the second font by the first font, specifically includes: determining the number of N number of data
According to content;The font is adjusted to second font by first font by content based on the data;Or by the text
The display effect of digital data is adjusted to the second display effect by the first display effect, specifically includes: determining the number of N number of data
According to content and/or the first dominant hue;Content and/or the first dominant hue based on the data imitate the display of the lteral data
Fruit is adjusted to second display effect by first display effect;Or the text color by the lteral data is by
One color is adjusted to the second color, specifically includes: determining the first dominant hue of N number of data;Based on first dominant hue,
The text color of the lteral data is adjusted to second color by first color.
With reference to first aspect, in the third possible implementation, first data include image data and/or
When video data, the parameter value by the first parameter in first data is adjusted to different from described first by the first value
Second value, specifically: the display size of described image data and/or video data is adjusted by the first display size value
For the second display size value;And/or by the second dominant hue of described image data and/or video data by first tone value
It is adjusted to the second tone value;And/or by the first resolution of described image data and/or video data by the first resolution
Value is adjusted to second resolution value.
The third possible implementation with reference to first aspect, it is in the fourth possible implementation, described by institute
The display size for stating image data and/or video data is adjusted to the second display size value by the first display size value, tool
Body includes: based on first display size, by the second display size of described image data and/or video data by described
One display size value is adjusted to the first display size that the second display size value determines N number of data content;Based on described aobvious
Show size, the display size of described image data and/or video data is adjusted to second by the first display size value and is shown
Show size value;Or described second dominant hue of described image data and/or video data is adjusted to by first tone value
Second tone value, specifically includes: determining the first dominant hue of N number of data content;It, will be described based on first dominant hue
Second dominant hue is adjusted to second tone value by first tone value;It is described by described image data and/or video counts
According to first resolution second resolution value is adjusted to by the first resolution value, specifically include: determining in N number of data
The second resolution of appearance;Based on the second resolution, the first resolution is adjusted to institute by the first resolution value
State second resolution value.
With reference to first aspect, in a fifth possible implementation, when first data include audio data, institute
It states and the parameter value of the first parameter in first data is adjusted to the second value different from described first by the first value, specifically
Are as follows: the output volume value of the audio data is adjusted to the second volume value by the first volume value value;And/or by the audio number
According to bit rate be adjusted to the second bit-rates values by the first bit-rates values.
With reference to first aspect, in a sixth possible implementation, there are associated M numbers on the determining time
According to, specifically: during the admission of recording data or in the acquisition process of video data, obtain comprising the recording data or
The M data including the video data.
With reference to first aspect, in the 7th kind of possible implementation, there are associated M numbers on the determining time
According to specifically including: obtaining the L data stored in electronic equipment, L is the integer more than or equal to M;From the L data
Determining acquisition time, there are the associated M data.
With reference to first aspect, in the 8th kind of possible implementation, second parameter by first data
Parameter value the second value different from first value is adjusted to by the first value, specifically include: whether judging the electronic equipment
Meet predetermined condition;When the electronic equipment meets the predetermined condition, the parameter value is adjusted to by first value
The second value.
The 8th kind of possible implementation with reference to first aspect, in the 9th kind of possible implementation, the judgement
Whether the electronic equipment meets predetermined condition, specifically: judge whether the electronic equipment receives and drags first data
It moves to the drag operation of N number of data;Wherein, when there are the drag operation, then show that the electronic equipment meets institute
State predetermined condition.
According to the second aspect of the invention, a kind of electronic equipment is provided, comprising: the first determining module, for determining the time
On there are associated M data, M is positive integer;Second determining module, for determining the first data from the M data;
Module is adjusted, for the parameter value of the second parameter in first data to be adjusted to different from first value by the first value
Second value, and then obtain the second data;Wherein, the adjustment of the parameter value of the second parameter in first data is according to described in
The parameter value of the second parameter of N number of data in M data, the integer of N≤M;Synthesis module is used for second data and institute
It states M-1 data in M data in addition to first data and synthesizes third data.
In conjunction with second aspect, in the first possible implementation, when first data include lteral data, institute
Adjustment module is stated, is specifically used for: the text size of the lteral data is adjusted to the second sizes values by the first sizes values;With/
Or the font of the lteral data is adjusted to the second font by the first font;And/or by the display effect of the lteral data
Second display effect is adjusted to by the first display effect;And/or the text color of the lteral data is adjusted by the first color
For the second color.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the adjustment
Module specifically includes: the first determination unit, for determining the display size of N number of data;The first adjustment unit is used for root
According to the display size, the text size is adjusted to second sizes values by first sizes values;Or second determine
Unit, for determining the data content of N number of data;Second adjustment unit, for content based on the data by the word
Body is adjusted to second font by first font;Or third determination unit, in the data for determining N number of data
Appearance and/or the first dominant hue;Third adjustment unit, for content and/or the first dominant hue based on the data, by the text
The display effect of data is adjusted to second display effect by first display effect;Or the 4th determination unit, for true
First dominant hue of fixed N number of data;4th adjustment unit, for being based on first dominant hue, by the lteral data
Text color second color is adjusted to by first color.
In conjunction with second aspect, in the third possible implementation, first data include image data and/or
When video data, the adjustment module is specifically used for: by the display size of described image data and/or video data by described
First display size value is adjusted to the second display size value;And/or by described image data and/or the second mass-tone of video data
It adjusts and the second tone value is adjusted to by first tone value;And/or by described image data and/or the resolution ratio of video data by
The first resolution value is adjusted to second resolution value.
In conjunction with the third possible implementation of second aspect, in the fourth possible implementation, the adjustment
Module specifically includes: the 5th determination unit, for being based on first display size, by described image data and/or video counts
According to the second display size the second display size value be adjusted to by the first display size value determine N number of data content
First display size;5th adjustment unit, for being based on the display size, by described image data and/or video data
Display size is adjusted to the second display size value by the first display size value;Or the 6th determination unit, for determining the N
First dominant hue of a data content;6th adjustment unit, for be based on first dominant hue, by second dominant hue by
First tone value is adjusted to second tone value;7th determination unit, for determining the second of N number of data content
Resolution ratio;7th adjustment unit, for being based on the second resolution, by the first resolution by the first resolution value
It is adjusted to the second resolution value.
In conjunction with second aspect, in a fifth possible implementation, when first data include audio data, institute
Adjustment module is stated, is specifically used for: the output volume value of the audio data is adjusted to the second volume value by the first volume value value;
And/or the bit rate of the audio data is adjusted to the second bit-rates values by the first bit-rates values.
In conjunction with second aspect, in a sixth possible implementation, first determining module is specifically used for: recording
During the admission of sound data or in the acquisition process of video data, obtains and exist comprising the recording data or the video data
The interior M data.
In conjunction with second aspect, in the 7th kind of possible implementation, first determining module is specifically included: first
Acquiring unit, for obtaining the L data stored in electronic equipment, L is the integer more than or equal to M;Second acquisition unit is used
In determining acquisition time from the L data, there are the associated M data.
In conjunction with second aspect, in the 8th kind of possible implementation, the adjustment module is specifically included: judging unit,
For judging whether the electronic equipment meets predetermined condition;8th adjustment unit, described in meeting in the electronic equipment
When predetermined condition, the parameter value is adjusted to the second value by first value.
In conjunction with the 8th kind of possible implementation of second aspect, in the 9th kind of possible implementation, the judgement
Unit is specifically used for: judging whether the electronic equipment receives the dragging behaviour that first data are dragged to N number of data
Make;Wherein, when there are the drag operation, then show that the electronic equipment meets the predetermined condition.
The present invention has the beneficial effect that:
Due in embodiments of the present invention, it is first determined there are associated M data on the time, then from this M data
In determine the first data, and the parameter value of the first parameter of the first data is adjusted to different from the first value by the first value
Two-value, and then the second data are obtained, it is finally third data by other Data Synthesis in this M data of the second data field, therefore
And user needs when searching this M data, it is only necessary to third data are searched, so, reduce the consumption for searching this M data
When and number, and then reached reduce electronic equipment processing load technical effect;
Further, due to can be based on the N in this M data during M data are synthesized third data
The parameter value of partial data in this M data is adjusted to second value by the first value by a data, so can be based on different
M data are synthesized different third data by application demand, so reached the more accurate skill of synthesized third data
Art effect.
Detailed description of the invention
Fig. 1 is the flow chart that data method is obtained in the embodiment of the present invention;
Fig. 2 is to determine that there are the flow charts of associated M data on the time in the embodiment of the present invention;
Fig. 3 a is that the writings and image of the display interface of electronic equipment in the embodiment of the present invention is independent file respectively
Schematic diagram;
Fig. 3 b is that the text that the display unit surface of electronic equipment is shown is dragged to imaging surface in the embodiment of the present invention
Schematic diagram;
Fig. 3 c is that text is dragged to after imaging surface to the schematic diagram for adjusting text color in the embodiment of the present invention;
Fig. 4 is the structure chart of electronic equipment in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of acquisition data method and electronic equipment, for solving in the prior art when consulting
Between on the technical problem heavier there are electronic equipment processing load when associated multiple files.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present invention:
It determines that there are associated M data on the time first, then determines the first data from this M data;And it will
The parameter value of the second parameter in first data is adjusted to the second value different from the first value by the first value, and then obtains the second number
According to;Wherein, ginseng of the adjustment of the parameter value of the second parameter in the first data according to the second parameter of N number of data in M data
Numerical value, the integer of N≤M;;It is finally third data by other Data Synthesis in this M data of the second data field.It that is to say use
Family need when searching this M data, it is only necessary to search third data, so, reduce lookup this M data time-consuming with
And number, and then reached the technical effect for reducing electronic equipment processing load;
Further, due to can be by the part in this M data during M data are synthesized third data
The parameter value of data is adjusted to second value by the first value, so can be synthesized M data not based on different application demands
With third data, so reached the more accurate technical effect of synthesized third data.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, electronic equipment can be PC(personal computer), notebook, PAD(tablet computer), mobile phone
Etc. different electronic equipments, the invention is not limited in this regard.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist
Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately
Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
On the one hand, the embodiment of the present invention provides a kind of acquisition data method, specifically wraps referring to FIG. 1, obtaining data method
Include following steps:
Step S101: determine that, there are associated M data on the time, M is positive integer;
Step S102: the first data are determined from M data;
Step S103: the parameter value of the second parameter in the first data is adjusted to different from the first value by the first value
Two-value, and then obtain the second data;Wherein, the adjustment of the parameter value of the second parameter in the first data is according to the N in M data
The parameter value of a the second parameter of data, the integer of N≤M;
Step S104: subtracting 1 for the M in the second data and M data in addition to the first data, a data synthesize third number
According to.
In step S101, there are associated M data on the time, it can obtain, be set forth below wherein in several ways
Two kinds be introduced, certainly, in the specific implementation process, be not limited to following two situation.
The first, determines on the time there are associated M data, specifically:
During the admission of recording data or in the acquisition process of video data, obtaining includes recording data or video counts
According to M data inside.
Specifically, that is, in Recording Process some other data may be obtained, such as: lteral data, image
Data etc., and then other data form M data together with recording data.
It second, referring to FIG. 2, determining on the time there are associated M data, specifically includes:
Step S201: obtaining the L data stored in electronic equipment, and L is the integer more than or equal to M;
Step S202: acquisition time is determined from L data, and there are associated M data.
In the specific implementation process, some other data may be obtained during obtaining recording data, such as: text
Digital data, image data etc., but it is not inserted into recording data, but stored, in post-processing,
Other data are inserted into recording data, and then obtain third data.In this case, one data of every acquisition are it is necessary at this
Its corresponding acquisition time is saved in data.
So the acquisition time for being directly based upon each data just can determine that there are associated on the time in step S202
M data.
Wherein, in step S102, the first data can with a variety of data, such as are as follows: lteral data, image data, video counts
According to, audio data etc., with no restriction to this embodiment of the present invention.
It is based on the difference of the first data, the first data point reuse is also different for the mode of the second data in step S103, under
Face will enumerate it is therein it is several be introduced, certainly, in the specific implementation process, be not limited to following several situations.
The first, when the first data include lteral data, by the parameter value of the first parameter in the first data by first
Value is adjusted to the second value different from first, and can be set forth below four kinds therein there are many situation and be introduced, when
So, in the specific implementation process, several situations can be applied in combination below.
1. the text size of lteral data is adjusted to the second sizes values by the first sizes values.
Further, the text size of lteral data is adjusted to the second sizes values by the first sizes values, specifically included: really
The display size of fixed N number of data;According to display size, text size is adjusted to the second sizes values by the first sizes values.
In the specific implementation process, N number of data are for example are as follows: image data, video data etc., wherein image data and view
Frequency may be exactly in this case by text by the process of M Data Synthesis third data according to all having display size
Data are set to the process on the surface of image data or video data, in this case, it is possible to the text of lteral data
Word size is smaller for the display size of image data or video data, and in this case, will lead to user can not
Identification, so need to increase text size, so that the display size of itself and image data or video data is to matching, such as: the
One sizes values are 14px, and image data or video data show dimensions as 200px*200px, and in this case, first is big
Small value is too small, so its display size is adjusted to the second sizes values, such as: it is big to increase text in this case by 28px
It is small, and then user is facilitated to check;Another example is: if text size is larger, and the display size of image data or video data compared with
It is small, in this case, it will lead to image data and covered by lteral data large area, and then cause image data can not be by user
It is checked, so in this case it is necessary to reduce text size, such as: the first sizes values are 60px and image data or view
Frequency evidence shows dimensions as 100px*100px, so text size is adjusted to the second sizes values, such as: 20px.Certainly,
Above-mentioned data are only a citing to the first sizes values and the second sizes values, are not intended as limiting, in specific implementation process
In, the first sizes values and the second sizes values can be arbitrary value.2. the font of lteral data is adjusted to second by the first font
Font.
Further, the font of lteral data is adjusted to the second font by the first font, specifically included: determining N number of number
According to data content;Font is adjusted to the second font by the first font based on data content.
Or for including image data or video data in N number of data, wherein image data or video can be based on
The difference of the data content (such as: image style) of data, is adjusted to the second font for the first font, such as: image data or
Content included in video data is enjoyable scenery with hills and waters, and the first font are as follows: the Song typeface, it is generally the case that enjoyable scenery with hills and waters is relatively more suitable
Collocation rapid style of writing is closed, so the second font is arranged are as follows: rapid style of writing;Another example is: content included in image data or video book is
Scribble cartoon, and the first font is rapid style of writing, cartoon of scribbling under normal conditions is suitble to more lovely font, so by second
Font setting are as follows: Chinese instrument doll's body, and then it is better to merge lteral data with image data or video data, is having certainly
In body implementation process, above-mentioned font is also only to illustrate, and is not intended as limiting, the first font and the second font can be any
Font.3. the display effect of lteral data is adjusted to the second display effect by the first display effect.
Further, the display effect of lteral data is adjusted to the second display effect by the first display effect, it is specific to wrap
It includes: determining the data content and/or the first dominant hue of N number of data;Based on data content and/or the first dominant hue, by text number
According to display effect the second display effect is adjusted to by the first display effect.
Or by taking N number of data include image data or video data as an example, it is assumed that the first of image data or video data
Mass-tone is adjusted to cyan, and the color of lteral data is also cyan, and the first display effect is default display effect, in such case
Under, user will be difficult to discover lteral data, in such a case, it is possible to which the display effect of lteral data is adjusted to the second display
Effect, such as: retouching white edge, increase black projection etc.;In another example the data content of image data or video data includes freehand brushwork
Scenery with hills and waters, and the first display effect is default display effect, in this case, lteral data will be with image data or video data
Syncretizing effect it is not so good, so ink and wash effect etc. can be set by the second display effect.Naturally the above display effect is only
An only citing of the embodiment of the present invention, is not intended as limiting.
4. the text color of lteral data is adjusted to the second color by the first color.
In the specific implementation process, the first color and the second color can be random color, such as: the first color is black
Color, the second color are white etc., with no restriction to this embodiment of the present invention.
Further, the text color of lteral data is adjusted to the second color by the first color, specifically includes: determines N
First dominant hue of a data;Based on the first dominant hue, the text color of lteral data is adjusted to the second face by the first color
Color.
Or by taking N number of data include image data or lteral data as an example, wherein if the first color and N of text effects
If first dominant hue of a data is similar, it will lead to lteral data and be not easy to be watched by user, so in this case, it can
Text color is adjusted to the second color by the first color, such as: the first color is black, the first dominant hue of image data
Are as follows: blackish green, in this case, lteral data is not easy it is clear that so text color can be adjusted to the second color, example
Such as: white.Certainly, above-mentioned color is also only a citing, is not intended as limiting.
Second, when the first data include image data and/or video data, by the first parameter in the first data
Parameter value is adjusted to the second value different from first by the first value, the first value can also be adjusted to second in several ways
Value, is set forth below three kinds therein and is introduced, and certainly, in the specific implementation process, is not limited to following three kinds of situations, and with
Lower three kinds of situations can be applied in combination.
1. the display size of image data and/or video data is adjusted to the second display size by the first display size value
Value.
Further, the display size of image data and/or video data is adjusted to second by the first display size value
Display size value, specifically includes: determining the first display size of N number of data content;Based on display size, by image data and/
Or the display size of video data is adjusted to the second display size value by the first display size value.
In the specific implementation process, N number of data hypothesis includes image data or video data, then it can include first
Display size has preferable second display size when in order to combine image data and/or video data with N number of data, can
It is adjusted with the second display size to image data and/or video data, it is assumed for example that the first display size of N number of data
For 200px*100px, then the second display size is adjusted to 100px*50px by 300px*200px, naturally it is also possible to be it
Its display size, with no restriction to this embodiment of the present invention, in addition, display size is adjusted to by the first display size value
When two display size values, can shear, equal proportion compression, non-equal proportion compression etc., with no restriction to this embodiment of the present invention.
2. the dominant hue of image data and/or video data is adjusted to the second tone value by the first tone value.
Further, the second dominant hue of image data and/or video data is adjusted to the second color by the first tone value
Tone pitch specifically includes: determining the first dominant hue of N number of data content;Based on the first dominant hue, by the second dominant hue by the first color
Tone pitch is adjusted to the second tone value.
Or by taking N number of data include image data or video data as an example, in order to make N number of data and image data and/or
Video data after fusion more close to theme or more beautiful, can be to the mass-tone of image data and/or video data
Row one adjustment is transferred in, such as: the first mass-tone of N number of data is adjusted to yellow, then the second dominant hue can be adjusted by cyan
For yellow, the theme missed old times or old friends is compared with fitting;It, can be by the second dominant hue by red color tone if the first mass-tone is adjusted to grey
Whole is black and white, to be bonded sad theme etc., certainly, and in the specific implementation process, the first tone value and the second tone value
It can be arbitrary hue value, with no restriction to this embodiment of the present invention.3. by image data and/or the resolution ratio of video data by
First resolution value is adjusted to second resolution value.
In the specific implementation process, image data and/or the resolution ratio of video data are higher, and image quality is better, but institute
The memory space occupied is also higher, so figure can be reduced in order to reach the technical effect for the storage burden for reducing electronic equipment
As data and/or the resolution ratio of video data, such as: resolution ratio is reduced to 1280*720px etc. by 1440*900px, the
One resolution value and fall resolution value can for arbitrary value to this embodiment of the present invention with no restriction.
Further, the first resolution of image data and/or video data is adjusted to second by first resolution value
Resolution value specifically includes: determining the second resolution of N number of data content;Based on second resolution, by first resolution by
One resolution value is adjusted to second resolution value.
Or by taking N number of data include image data or video data as an example, it is generally the case that multiple images or video it
Between if resolution ratio is similar, image or video council are more merged, so can pass through the second resolution of N number of data
The second resolution of image data and/or video data is adjusted, such as: first resolution 1280*720px, then can incite somebody to action
Second resolution is adjusted to by 1440*900px as 1280*720px etc., and certain above-mentioned resolution ratio is illustrated as just one,
It is not intended as limiting.The third, the first data include audio data when, by the parameter value of the first parameter in the first data by
First value is adjusted to the second value different from first, and can be set forth below two kinds therein there are many situation and be introduced,
Certainly, in the specific implementation process, it is not limited to following two situation.
1. the output volume value of audio data is adjusted to the second volume value by the first volume value value.
In the specific implementation process, it is smaller that the first volume value corresponding when audio data may be acquired, so in order to protect
The acquired third data of card can be easily heard by the user when playing, so need to increase the first volume value, such as:
First volume value is 30dB, and the second volume value is 70dB etc., and certain above-mentioned data are only to the first volume value and the second sound
One citing of magnitude, is not intended as limiting.
2. the bit rate of audio data is adjusted to the second bit-rates values by the first bit-rates values.
In the specific implementation process, the bit rate of audio data is relatively high, and then keeps the sound quality of audio data preferable, but
It is the memory space in order to save electronic equipment, it usually needs by the smaller of the bit rate adjustment of audio data, so usually
In the case of, it needs saving memory space and guaranteeing to select a suitable bit rate between sound quality, the first bit rate is for example are as follows:
192KBPS, the second bit rate are as follows: 72KBPS etc., certain above-mentioned data are only to the first bit rate and the second bit rate
Citing, is not intended as limiting.
In the specific implementation process, the parameter value of the second parameter in the first data is adjusted to and the first value by the first value
Different second values, specifically includes: judging whether electronic equipment meets predetermined condition;When electronic equipment meets predetermined condition,
Parameter value is adjusted to second value by the first value.
In the specific implementation process, predetermined condition can be any condition, such as: click operation, the acquisition of pre-set button
M data etc. are completed, the embodiment of the present invention is with no restriction.
Further, judge whether electronic equipment meets predetermined condition, specifically:
Judge whether electronic equipment receives the drag operation that the first data are dragged to N number of data;Wherein, there is dragging
When operation, then show that electronic equipment meets predetermined condition.
In the specific implementation process, by taking N number of data include image data or video data as an example, user is if it is desired to by literary
Digital data is synthesized with image data or video data, and lteral data may be dragged to image data or video data, so
First data can be dragged to the drag operation of N number of data by detecting, and then determine that electronic equipment meets preset condition.
Fig. 3 a is please referred to, shows image 31 on the display interface 30 of electronic equipment, shows one in 31 bottom of image
Section text 32, such as: " Sankt Peterburg, I is coming!", the text color of text 32 is black, and as shown in Figure 3b, user drags text
Word 32, so the tone of text is adjusted to white by black, is such as schemed to 31 surface of image since 31 mass-tone of image is adjusted to black
Shown in 3c, checked so that user is more convenient.
On the other hand, the embodiment of the present invention provides a kind of electronic equipment, referring to FIG. 4, electronic equipment specifically includes:
First determining module 40, for determining that, there are associated M data on the time, M is positive integer;
Second determining module 41, for determining the first data from M data;
Module 42 is adjusted, for being adjusted to the parameter value of the second parameter in the first data with the first value not by the first value
Same second value, and then obtain the second data;Wherein, the adjustment of the parameter value of the second parameter in the first data is according to M number
The parameter value of the second parameter of N number of data in, the integer of N≤M;
Synthesis module 43, for subtracting 1 with the M in M data in addition to the first data for the second data, a data are synthesized
Third data.
Optionally, when the first data include lteral data, module 42 is adjusted, is specifically used for:
The text size of lteral data is adjusted to the second sizes values by the first sizes values;And/or
The font of lteral data is adjusted to the second font by the first font;And/or
The display effect of lteral data is adjusted to the second display effect by the first display effect;And/or
The text color of lteral data is adjusted to the second color by the first color.
Optionally, module 42 is adjusted, is specifically included:
First determination unit, for determining the display size of N number of data;
The first adjustment unit, for according to display size, text size to be adjusted to the second sizes values by the first sizes values;
Or
Second determination unit, for determining the data content of N number of data;
Second adjustment unit, for font to be adjusted to the second font by the first font based on data content;Or
Third determination unit, for determining the data content and/or the first dominant hue of N number of data;
Third adjustment unit, for being based on data content and/or the first dominant hue, by the display effect of lteral data by the
One display effect is adjusted to the second display effect;Or
4th determination unit, for determining the first dominant hue of N number of data;
The text color of lteral data is adjusted to by the 4th adjustment unit for being based on the first dominant hue by the first color
Second color.
Optionally, when the first data include image data and/or video data, module is adjusted, is specifically used for:
The display size of image data and/or video data is adjusted to the second display size by the first display size value
Value;And/or
Second dominant hue of image data and/or video data is adjusted to the second tone value by the first tone value;And/or
Image data and/or the resolution ratio of video data are adjusted to second resolution value by first resolution value.
Optionally, module 42 is adjusted, is specifically included:
5th determination unit, for being based on the first display size, by image data and/or the second display ruler of video data
It is very little that the first display size that the second display size value determines N number of data content is adjusted to by the first display size value;
5th adjustment unit, for being based on display size, by the display size of image data and/or video data by first
Display size value is adjusted to the second display size value;Or
6th determination unit, for determining the first dominant hue of N number of data content;
Second dominant hue is adjusted to the second color by the first tone value for being based on the first dominant hue by the 6th adjustment unit
Tone pitch;
7th determination unit, for determining the second resolution of N number of data content;
First resolution is adjusted to second by first resolution value for being based on second resolution by the 7th adjustment unit
Resolution value.
Optionally, when the first data include audio data, module 42 is adjusted, is specifically used for:
The output volume value of audio data is adjusted to the second volume value by the first volume value value;And/or
The bit rate of audio data is adjusted to the second bit-rates values by the first bit-rates values.
Optionally, the first determining module is specifically used for:
During the admission of recording data or in the acquisition process of video data, obtaining includes recording data or video counts
According to M data inside.
Optionally, the first determining module 40, specifically includes:
First acquisition unit, for obtaining the L data stored in electronic equipment, L is the integer more than or equal to M;
Second acquisition unit, for determining acquisition time from L data, there are associated M data.
Optionally, module 42 is adjusted, is specifically included:
Judging unit, for judging whether electronic equipment meets predetermined condition;
8th adjustment unit, for when electronic equipment meets predetermined condition, parameter value to be adjusted to second by the first value
Value.
Optionally, judging unit is specifically used for:
Judge whether electronic equipment receives the drag operation that the first data are dragged to N number of data;Wherein, there is dragging
When operation, then show that electronic equipment meets predetermined condition.
By the electronic equipment that the embodiment of the present invention is introduced, to implement the acquisition data side that the embodiment of the present invention is introduced
Electronic equipment used by method, so based on the acquisition data method that the embodiment of the present invention is introduced, the affiliated technology people in this field
Member can understand the structure and deformation of the electronic equipment that the embodiment of the present invention is introduced, so details are not described herein.
One or more technical solution provided by the present application, has at least the following technical effects or advantages:
Due in embodiments of the present invention, it is first determined there are associated M data on the time, then from this M data
In determine the first data, and the parameter value of the first parameter of the first data is adjusted to different from the first value by the first value
Two-value, and then the second data are obtained, it is finally third data by other Data Synthesis in this M data of the second data field, therefore
And user needs when searching this M data, it is only necessary to third data are searched, so, reduce the consumption for searching this M data
When and number, and then reached reduce electronic equipment processing load technical effect;
Further, due to can be based on the N in this M data during M data are synthesized third data
The parameter value of partial data in this M data is adjusted to second value by the first value by a data, so can be based on different
M data are synthesized different third data by application demand, so reached the more accurate skill of synthesized third data
Art effect.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (20)
1. a kind of acquisition data method characterized by comprising
Determine that, there are associated M data on the time, M is positive integer;
The first data are determined from the M data;
The parameter value of the first parameter in first data is adjusted to the second value different from first value by the first value,
And then obtain the second data;Wherein, the adjustment of the parameter value of the first parameter in first data is according in the M data
The first parameter of N number of data parameter value, the integer of N≤M;
M-1 data in second data and the M data in addition to first data are synthesized into third data.
2. the method as described in claim 1, which is characterized in that described by institute when first data include lteral data
The parameter value for stating the first parameter in the first data is adjusted to the second value different from first value by the first value, specifically:
The text size of the lteral data is adjusted to the second sizes values by the first sizes values;And/or
The font of the lteral data is adjusted to the second font by the first font;And/or
The display effect of the lteral data is adjusted to the second display effect by the first display effect;And/or
The text color of the lteral data is adjusted to the second color by the first color.
3. method according to claim 2, which is characterized in that the text size by the lteral data is by the first size
Value is adjusted to the second sizes values, specifically includes:
Determine the display size of N number of data;
According to the display size, the text size is adjusted to second sizes values by first sizes values;Or
The font by the lteral data is adjusted to the second font by the first font, specifically includes:
Determine the data content of N number of data;
The font is adjusted to second font by first font by content based on the data;Or
The display effect of the lteral data is adjusted to the second display effect by the first display effect, is specifically included:
Determine the data content and/or the first dominant hue of N number of data;
Content and/or the first dominant hue based on the data are imitated the display effect of the lteral data by first display
Fruit is adjusted to second display effect;Or
The text color by the lteral data is adjusted to the second color by the first color, specifically includes:
Determine the first dominant hue of N number of data;
Based on first dominant hue, the text color of the lteral data is adjusted to second face by first color
Color.
4. the method as described in claim 1, which is characterized in that include image data and/or video counts in first data
According to when, the parameter value by the first parameter in first data is adjusted to different from first value by the first value
Two-value, specifically: the display size of described image data and/or video data is adjusted to second by the first display size value and is shown
Show size value;And/or
Second dominant hue of described image data and/or video data is adjusted to the second tone value by the first tone value;And/or
The first resolution of described image data and/or video data is adjusted to second resolution value by first resolution value.
5. method as claimed in claim 4, which is characterized in that the display by described image data and/or video data
Size is adjusted to the second display size value by the first display size value, specifically includes:
Based on first display size, by the second display size of described image data and/or video data by described first
Display size value is adjusted to the first display size that the second display size value determines N number of data content;
Based on the display size, by the display size of described image data and/or video data by first display size
Value is adjusted to the second display size value;Or
It is described that second dominant hue of described image data and/or video data is adjusted to the second tone by first tone value
Value, specifically includes:
Determine the first dominant hue of N number of data content;
Based on first dominant hue, second dominant hue is adjusted to second tone value by first tone value;
It is described that the first resolution of described image data and/or video data is adjusted to second point by the first resolution value
Resolution value, specifically includes:
Determine the second resolution of N number of data content;
Based on the second resolution, the first resolution is adjusted to the second resolution by the first resolution value
Value.
6. the method as described in claim 1, which is characterized in that described by institute when first data include audio data
The parameter value for stating the first parameter in the first data is adjusted to the second value different from first value by the first value, specifically:
The output volume value of the audio data is adjusted to the second volume value by the first volume value;And/or
The bit rate of the audio data is adjusted to the second bit-rates values by the first bit-rates values.
7. the method as described in claim 1, which is characterized in that there are associated M data on the determining time, specifically
Are as follows:
During the admission of recording data or in the acquisition process of video data, obtaining includes the recording data or the view
The M data of the frequency including.
8. the method as described in claim 1, which is characterized in that there are associated M data on the determining time, specific to wrap
It includes:
The L data stored in electronic equipment are obtained, L is the integer more than or equal to M;
Acquisition time is determined from the L data, and there are the associated M data.
9. the method as described in claim 1, which is characterized in that the parameter value by the first parameter in first data
The second value different from first value is adjusted to by the first value, is specifically included:
Judge whether electronic equipment meets predetermined condition;
When the electronic equipment meets the predetermined condition, the parameter value is adjusted to described second by first value
Value.
10. method as claimed in claim 9, which is characterized in that it is described to judge whether the electronic equipment meets predetermined condition,
Specifically:
Judge whether the electronic equipment receives the drag operation that first data are dragged to N number of data;Wherein, exist
There are when the drag operation, then show that the electronic equipment meets the predetermined condition.
11. a kind of electronic equipment characterized by comprising
First determining module, for determining that, there are associated M data on the time, M is positive integer;
Second determining module, for determining the first data from the M data;
Module is adjusted, for the parameter value of the first parameter in first data to be adjusted to and first value by the first value
Different second values, and then obtain the second data;Wherein, the adjustment foundation of the parameter value of the first parameter in first data
The parameter value of the first parameter of N number of data in the M data, the integer of N≤M;
Synthesis module, for closing M-1 data in second data and the M data in addition to first data
As third data.
12. electronic equipment as claimed in claim 11, which is characterized in that when first data include lteral data, institute
Adjustment module is stated, is specifically used for:
The text size of the lteral data is adjusted to the second sizes values by the first sizes values;And/or
The font of the lteral data is adjusted to the second font by the first font;And/or
The display effect of the lteral data is adjusted to the second display effect by the first display effect;And/or
The text color of the lteral data is adjusted to the second color by the first color.
13. electronic equipment as claimed in claim 12, which is characterized in that the adjustment module specifically includes:
First determination unit, for determining the display size of N number of data;
The first adjustment unit, for according to the display size, the text size to be adjusted to institute by first sizes values
State the second sizes values;Or
Second determination unit, for determining the data content of N number of data;
The font is adjusted to second word by first font for content based on the data by second adjustment unit
Body;Or
Third determination unit, for determining the data content and/or the first dominant hue of N number of data;
Third adjustment unit, for content and/or the first dominant hue based on the data, by the display effect of the lteral data
Second display effect is adjusted to by first display effect;Or
4th determination unit, for determining the first dominant hue of N number of data;
4th adjustment unit, for being based on first dominant hue, by the text color of the lteral data by first face
Color adjustment is second color.
14. electronic equipment as claimed in claim 11, which is characterized in that first data include image data and/or
When video data, the adjustment module is specifically used for:
The display size of described image data and/or video data is adjusted to the second display size by the first display size value
Value;And/or
Second dominant hue of described image data and/or video data is adjusted to the second tone value by the first tone value;And/or
Described image data and/or the resolution ratio of video data are adjusted to second resolution value by first resolution value.
15. electronic equipment as claimed in claim 14, which is characterized in that the adjustment module specifically includes:
5th determination unit is shown for being based on first display size by the second of described image data and/or video data
Show that size is adjusted to the first display ruler that the second display size value determines N number of data content by the first display size value
It is very little;
5th adjustment unit, for be based on the display size, by the display size of described image data and/or video data by
The first display size value is adjusted to the second display size value;Or
6th determination unit, for determining the first dominant hue of N number of data content;
6th adjustment unit is adjusted second dominant hue by first tone value for being based on first dominant hue
For second tone value;
7th determination unit, for determining the second resolution of N number of data content;
7th adjustment unit, for being based on the second resolution, by the first resolution by the first resolution value tune
Whole is the second resolution value.
16. electronic equipment as claimed in claim 11, which is characterized in that when first data include audio data, institute
Adjustment module is stated, is specifically used for:
The output volume value of the audio data is adjusted to the second volume value by the first volume value;And/or
The bit rate of the audio data is adjusted to the second bit-rates values by the first bit-rates values.
17. electronic equipment as claimed in claim 11, which is characterized in that first determining module is specifically used for:
During the admission of recording data or in the acquisition process of video data, obtaining includes the recording data or the view
The M data of the frequency including.
18. electronic equipment as claimed in claim 11, which is characterized in that first determining module specifically includes:
First acquisition unit, for obtaining the L data stored in electronic equipment, L is the integer more than or equal to M;
Second acquisition unit, for determining acquisition time from the L data, there are the associated M data.
19. electronic equipment as claimed in claim 11, which is characterized in that the adjustment module specifically includes:
Judging unit, for judging whether the electronic equipment meets predetermined condition;
8th adjustment unit, for when the electronic equipment meets the predetermined condition, by the parameter value by described first
Value is adjusted to the second value.
20. electronic equipment as claimed in claim 19, which is characterized in that the judging unit is specifically used for:
Judge whether the electronic equipment receives the drag operation that first data are dragged to N number of data;Wherein, exist
There are when the drag operation, then show that the electronic equipment meets the predetermined condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310430796.XA CN104462123B (en) | 2013-09-18 | 2013-09-18 | A kind of acquisition data method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310430796.XA CN104462123B (en) | 2013-09-18 | 2013-09-18 | A kind of acquisition data method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104462123A CN104462123A (en) | 2015-03-25 |
CN104462123B true CN104462123B (en) | 2019-01-15 |
Family
ID=52908181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310430796.XA Active CN104462123B (en) | 2013-09-18 | 2013-09-18 | A kind of acquisition data method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104462123B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102800045A (en) * | 2012-07-12 | 2012-11-28 | 北京小米科技有限责任公司 | Image processing method and device |
CN103049471A (en) * | 2012-09-15 | 2013-04-17 | 珠海金山办公软件有限公司 | Method and system for adjusting colors of characters or backgrounds in presentation documents automatically |
-
2013
- 2013-09-18 CN CN201310430796.XA patent/CN104462123B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102800045A (en) * | 2012-07-12 | 2012-11-28 | 北京小米科技有限责任公司 | Image processing method and device |
CN103049471A (en) * | 2012-09-15 | 2013-04-17 | 珠海金山办公软件有限公司 | Method and system for adjusting colors of characters or backgrounds in presentation documents automatically |
Also Published As
Publication number | Publication date |
---|---|
CN104462123A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110706310B (en) | Image-text fusion method and device and electronic equipment | |
CN115145529B (en) | Voice control device method and electronic device | |
CN107622518B (en) | Picture synthetic method, device, equipment and storage medium | |
KR102045575B1 (en) | Smart mirror display device | |
US20160328877A1 (en) | Method and apparatus for making personalized dynamic emoticon | |
US9247199B2 (en) | Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof | |
CN107391062A (en) | Method and device for adjusting screen display and mobile terminal thereof | |
JP5999359B2 (en) | Image processing apparatus and image processing program | |
CN102831209B (en) | Rendering method and rendering device for webpage browsing and mobile terminal | |
CN106233706A (en) | For providing the apparatus and method of the back compatible of the video with standard dynamic range and HDR | |
CN102437825B (en) | Control device and control method | |
KR102640234B1 (en) | Method for controlling of a display apparatus and display apparatus thereof | |
CN105118444B (en) | A kind of information processing method and electronic equipment | |
JP2022518520A (en) | Image deformation control method, equipment and hardware equipment | |
KR102546016B1 (en) | Systems and methods for providing personalized video | |
CN104094246A (en) | User effected adaptive streaming | |
CN109213557A (en) | Browser skin change method, device, computing device and storage medium | |
CN106507200A (en) | Video-frequency playing content insertion method and system | |
CN105409202A (en) | User terminal device and the control method thereof | |
CN110377220A (en) | A kind of instruction response method, device, storage medium and electronic equipment | |
US20210110220A1 (en) | Electronic apparatus and controlling method thereof | |
CN104462123B (en) | A kind of acquisition data method and electronic equipment | |
CN109426522A (en) | Interface processing method, device, equipment, medium and the operating system of mobile device | |
US20110193873A1 (en) | Device and method for generating mosaic image including text | |
CN107734164A (en) | Parameter setting window treating method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |