Embodiment
The embodiment of the invention provides a kind of portable terminal amusing method, and the embodiment of the invention also provides corresponding intelligent entertainment portable terminal.Below be elaborated respectively.
A kind of portable terminal amusing method comprises:
Obtain the terminal input information;
Described input information is converted to the pet state parameter;
Export described pet state according to described pet state parameter.
With the mobile phone is example, the information of the camera of mobile phone, microphone, button, note and recreation input can be as the setup parameter of pet, and the display screen of mobile phone, receiver and shell that can turn colors can be simulated pet and done corresponding variation according to relevant parameters.
Seeing also Fig. 1 is the schematic diagram of an embodiment of a kind of portable terminal amusing method of the present invention; Present embodiment describes as portable terminal with mobile phone.
Step 101, collection input information;
The eyes of the camera simulation pet of mobile phone, when opening camera, the colouring information of acquisition camera picked-up, and calculate wherein trichromatic ratio value;
The ear of the microphone simulation pet of mobile phone, the user can set one or more sound as acquisition target; Mobile phone is analyzed call voice during conversation, in the time of in the voice in the conversation belong to the scope that the user sets, and every data of adding up this conversation, In Call for example, data such as air time;
The quantity that the cellphone subscriber sends note also can go on record, and writes down the note quantity of each group respectively according to the situation of dividing into groups in the address list in the mobile phone; The pairing note quantity of telephone number under for example friend's group, relatives' group, co-workers group etc. all write down in each group respectively in the address list;
When the user opens interactive model, can gather the state information of setting button this moment by by the action of key control virtual pet, for example the pressing of button, long by with the state information of upspringing.
The user is when carrying out mobile phone games, and some game datas also can be gathered, such as playtime and game type etc.; But also can be according to the game type difference recording game time.
According to the multiple input data that can obtain mobile phone are set, follow-up can be according to the more virtual pet information of these data transaction.
Step 102, input information is converted to the pet state parameter;
Multiple conversion regime can be set, and present embodiment adopts:
Key information is converted to action parameter; The left and right sides pin of the * of mobile phone and # key information Control virtual pet, the right-hand man of the key information control virtual pet of the right and left key of mobile phone; For example show by the * key table and lift left foot, loose * key table shows puts left foot, and the # key is similar; * can be used together with the numerical key of keyboard with the # key, numerical key 2,8,4,6 can be set like this represent direction control all around, can control pet like this and do some simple motions.Right and left key control right-hand man's operation is consistent with * # key principle.
To preset the mood state value described three primary colors ratio value will be converted to the mood state parameter, configure the color of the various mood correspondences of mobile phone, redly in for example red in the image of camera picked-up, yellow and the blueness surpass 50% o'clock mood state and correspond to happiness, bluely surpass 50% o'clock mood state and correspond to gloomy etc.;
The communicating data of default voice is converted to the mood parameter, and when default sound was conversed in the mobile phone, the air time degree of happiness of long more corresponding virtual pet was high more, such as set conversation in the time of 10 minutes virtual pet happiness degree correspond to 100;
According to the corresponding relation of default food species and each group of communication of mobile terminal record, be corresponding food species parameter with the number of communications information translation, according to the different food classifications of different group definition, for example: the household->meat dish; The colleague->vegetables; Friend->rice; The classmate->water etc.Every note is sorted out according to group under sender's the number, and a note is represented the portion of a group food, and for example: a note is that friend group sends, and just represents a rice.
The also corresponding different virtual pet state parameter of various recreation, for example:
The intelligence development class: some chess and card games, can be when recreation with virtual pet as the adversary, mobile phone is converted to the corresponding mental parameter of pet according to the excellent degree of recreation;
Sport category: when playing motor play, mobile phone is converted to the corresponding health parameters of pet according to the excellent degree of recreation.Also can be at built-in user movement intensity according to record in the mobile phone of passometer, the health parameters of corresponding raising pet.
Housework class: virtual pet can be set do housework, keep clean; Certainly, also can make some special foods by " cooking ", pet is grown up special benefit.
The state of the various parameter correspondences of step 103, demonstration virtual pet;
On display unit, show corresponding mood expression according to mood state parameter and mood extent index; Can adopt multiple display mode according to being provided with during demonstration, for example: add that by various expressions literal shows the various moods of virtual pet, the degree that shows the mood quality again with the bright degree of mobile phone screen, just can show very dejected face on screen when virtual pet is extremely out of sorts, background light can become the darkest simultaneously.
On display unit, show corresponding action according to described action parameter, when switching to interactive model, virtual pet is controlled by button;
Show corresponding hunger and thirsty degree according to described food parameter on display unit, virtual food can reduce the degree of hungering and thirst after use, and the degree of hungering and thirst and health degree all can influence vital values, can increase vital values after the use food etc.;
According to described mood state parameter, send corresponding voice at pronunciation device, send the state exchange prompt tone by receiver in the time of the thing state exchange, do not have in stable at state exchange that receiver or loud speaker can certain hour send voice prompt according to being provided with at interval, for example: pet is hungry, and just sends " I am hungry ".
If phone housing has colour change function, the mood state of virtual pet also can be represented by the color of phone housing.
If mobile phone can be surfed the Net, also can be undertaken alternately by virtual pet and other users; For example:
If operator provides some shops, can carry out some business activities.(, utilizing money can buy other article etc.) such as increasing the money parameter;
Special work functions is set, can utilizes virtual the work to obtain article and money;
Can be provided with in the network and can community to slip pet, also can set the chance event results, find money such as seeing, perhaps your pet baby meets the object of falling in love at first sight.Falling in love at first sight, small probability takes place on the close basis of each generic attribute; Also can make friends etc. with other users.
In the embodiment of the invention, utilize the various parameters of the daily input information simulation pet of mobile phone, virtual pet is controlled, mobile phone has been equivalent to a pet, the user also can be used as portable terminal pet and carry out alternately when using portable terminal, increase the function of mobile phone, bring better experience to the cellphone subscriber.
Seeing also Fig. 2 is the structure chart of an embodiment of a kind of intelligent entertainment portable terminal of the present invention; Comprise:
Input unit 201 is used to obtain the terminal input information;
Described input unit 201 can also comprise:
Record of keys unit 2011 is used for according to default keypress function, the state information of record button;
The state information of described button for example comprises: press, long by with various states information such as upspring.
Camera analytic unit 2012 is used to obtain the three primary colors ratio value of camera picked-up;
Analyze at the color of the image of camera picked-up at camera analytic unit 2012, calculate the ratio value of primary colors among wherein red, yellow and blue three.
Voice recognition unit 2013 is used to discern default voice, the communicating data of the voice that statistics is default;
The voice that voice recognition unit 2013 identification microphones obtain, the data of statistics conversation when default voice are conversed, for example: air time, volume etc.
Message accounting unit 2014, the number of communications information that is used for adding up each each communication object of group of communication of mobile terminal record in the Preset Time;
Game information collecting unit 2015 is used for gathering the game information of portable terminal.
Various game informations in 2015 pairs of portable terminals of game information collecting unit, for example: add up playtime etc. respectively at various recreation.
Central control unit 202 is used for described input information is converted to the pet state parameter;
Central control unit 202 is converted to corresponding pet state parameter with the various input informations that collect.
Described central control unit 202 can also comprise:
Action parameter unit 2021 is used for key information is converted to action parameter;
Mood state parameter unit 2022 is used for according to default mood state value described three primary colors ratio value being converted to the mood state parameter;
Mood parameter unit 2023 is used for the communicating data of default voice is converted to the mood parameter;
Food parameter unit 2024 is used for the corresponding relation according to default food species and each group of communication of mobile terminal record, is corresponding food species parameter with the number of communications information translation;
Game information converting unit 2025 is used for the time and the achievement of intelligence development class recreation are converted to the intelligence value parameter, and the time and the achievement of sport game in the parameter is converted to the health value parameter.
Output unit 203 is used for exporting described pet state according to the pet state parameter.
Described output unit 203 can also comprise:
Display unit 2031 is used for showing corresponding mood expression according to mood state parameter and mood extent index on display unit; On display unit, show corresponding action according to described action parameter; On display unit, show corresponding hunger and thirsty degree according to described food parameter;
Pronunciation unit 2032 is used for sending corresponding voice according to described mood state parameter at pronunciation device, shows intelligence value and health value;
Can also increase shell converter unit 2033 at the portable terminal with color of shell conversion, be used for according to mood state parameter and mood extent index, the shell that control has color of shell mapping function portable terminal shows corresponding color.
Gather the various state parameters of the daily input information simulation pet of portable terminal, portable terminal is equivalent to an electronic pet, and virtual pet is controlled, and increases the function of mobile phone, brings better experience to the cellphone subscriber.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than portable terminal amusing method and corresponding mobile terminal that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.