CN105788349B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105788349B
CN105788349B CN201410811831.7A CN201410811831A CN105788349B CN 105788349 B CN105788349 B CN 105788349B CN 201410811831 A CN201410811831 A CN 201410811831A CN 105788349 B CN105788349 B CN 105788349B
Authority
CN
China
Prior art keywords
preset condition
judging result
kinematic parameter
electronic equipment
moving direction
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
Application number
CN201410811831.7A
Other languages
Chinese (zh)
Other versions
CN105788349A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410811831.7A priority Critical patent/CN105788349B/en
Publication of CN105788349A publication Critical patent/CN105788349A/en
Application granted granted Critical
Publication of CN105788349B publication Critical patent/CN105788349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of information processing method and electronic equipments, and wherein method includes: that detection unit detects to obtain kinematic parameter;The detection unit detects to obtain moving direction;Judge whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein first preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge whether the moving direction meets the second preset condition, obtain the second judging result, wherein it is preset direction that second preset condition, which characterizes the moving direction,;According to first judging result and second judging result, the state of the electronic equipment is determined, respective handling is carried out according to the state of the electronic equipment.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the detection techniques more particularly to a kind of information processing method and electronic equipment in terminal.
Background technique
When using electronic equipment, usually all position can be detected using the detection unit in electronic equipment, can also utilize inspection Survey the movement speed that unit gets itself.But electronic equipment can not be user's choosing according to the behavior of user, intelligence at present Take the service of target position.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of information processing method and electronic equipment, it can be at least Solve the above-mentioned problems in the prior art.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of information processing methods, are applied to electronic equipment, which comprises
Detection unit detects to obtain kinematic parameter;
The detection unit detects to obtain moving direction;
Judge whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein described first is pre- If condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge whether the moving direction meets Second preset condition obtains the second judging result, wherein it is default side that second preset condition, which characterizes the moving direction, To;
According to first judging result and second judging result, the state of the electronic equipment is determined, according to The state of the electronic equipment carries out respective handling.
It is described according to first judging result and second judging result in above scheme, determine the electronics The state of equipment carries out respective handling according to the state of the electronic equipment, comprising:
When first judging result characterization kinematic parameter meets the first preset condition and the second judging result characterization institute When stating moving direction the second preset condition of satisfaction,
It determines that the operation object is in first state, generates the first instruction, obtained in place according to first command detection Confidence breath, gets the first cartographic information, determines mesh according to first cartographic information got and the location information Cursor position.
In above scheme, first cartographic information and the location information that the basis is got determine target position It sets, comprising:
M position for meeting third preset condition, the third preset condition table are obtained from first cartographic information Levying the position is clear position;
The position for meeting the 4th preset condition is chosen from the M position according to the positional information as target position It sets, wherein it is the location information and M that the 4th preset condition, which characterizes the distance between the location information and target position, Minimum range between a position.
In above scheme, first cartographic information and the location information that the basis is got determine target position After setting, the method also includes:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result;
When first judging result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judging result characterization When the moving direction is unsatisfactory for the second preset condition,
It determines that the operation object is in the second state, generates the second instruction, instruct according to described second by target position It saves to storage unit.
It is described according to first judging result and second judging result in above scheme, determine the electronics The state of equipment carries out respective handling according to the state of the electronic equipment, comprising:
When first judging result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judging result characterization When the moving direction meets the second preset condition,
It determines that the operation object is in the third state, generates third instruction, instructed according to the third and extract preservation Target position shows the target position in the first cartographic information.
In above scheme, it is described the target position is shown in the first cartographic information after, the method also includes:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result;
When first judging result characterization kinematic parameter meets the first preset condition and the second judging result characterization institute When stating moving direction and being unsatisfactory for the second preset condition,
It determines that the operation object is in the 4th state, generates the 4th instruction, will be stored in and be deposited according to the 4th instruction It deletes the target position of storage unit.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment includes:
Detection unit obtains kinematic parameter for detecting;Detection obtains moving direction;
Processing unit obtains the first judging result for judging whether the kinematic parameter meets the first preset condition, In, first preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result, wherein second preset condition characterizes the movement Direction is preset direction;According to first judging result and second judging result, the shape of the electronic equipment is determined State carries out respective handling according to the state of the electronic equipment.
In above scheme, the processing unit is specifically used for meeting the when first judging result characterization kinematic parameter When one preset condition and the second judging result characterize second preset condition of moving direction satisfaction, the operation pair is determined As being in first state, the first instruction is generated, location information is obtained according to first command detection, gets the first map letter Breath, determines target position according to first cartographic information got and the location information.
In above scheme, the processing unit, specifically for obtaining from first cartographic information, to meet third default M position of condition, it is clear position that the third preset condition, which characterizes the position,;
The position for meeting the 4th preset condition is chosen from the M position according to the positional information as target position It sets, wherein it is the location information and M that the 4th preset condition, which characterizes the distance between the location information and target position, Minimum range between a position.
In above scheme, the electronic equipment further include: storage unit, for saving target position;Correspondingly, the place Manage unit, first cartographic information and the location information got specifically for the basis determine target position it Afterwards, judge whether the kinematic parameter meets the first preset condition, obtain the first judging result;And judge the moving direction Whether meet the second preset condition, obtains the second judging result;When first judging result characterization kinematic parameter is unsatisfactory for the When one preset condition and the second judging result characterize the moving direction and be unsatisfactory for the second preset condition, the operation is determined Object is in the second state, generates the second instruction, is saved target position to storage unit according to second instruction.
In above scheme, the processing unit, specifically for being unsatisfactory for when first judging result characterization kinematic parameter When first preset condition and the second judging result characterize second preset condition of moving direction satisfaction, the operation is determined Object is in the third state, generates third instruction, the target position extracted and saved is instructed according to the third, believes in the first map The target position is shown in breath.
In above scheme, the processing unit, specifically for judging whether the kinematic parameter meets the first preset condition, Obtain the first judging result;And judges whether the moving direction meets the second preset condition, obtain the second judging result;When The first judging result characterization kinematic parameter meets the first preset condition and the second judging result characterizes the moving direction It when being unsatisfactory for the second preset condition, determines that the operation object is in the 4th state, generates the 4th instruction, refer to according to the described 4th It enables and deletes the target position for being stored in storage unit.
Electronic equipment provided by the embodiment of the present invention can be determined in conjunction with the kinematic parameter and moving direction of electronic equipment The state of electronic equipment, and then respective handling is carried out according to state.To, realize according to the condition intelligent of electronic equipment be with Family provides the processing scheme for being best suitable for current state, and promote user goes out line efficiency, ensure that the usage experience of user.
Detailed description of the invention
Fig. 1 is information processing method of embodiment of the present invention flow diagram one;
Fig. 2 is information processing method of embodiment of the present invention flow diagram two;
Fig. 3 is implement scene schematic diagram one of the present invention;
Fig. 4 is information processing method of embodiment of the present invention flow diagram three;
Fig. 5 is schematic diagram of a scenario of the embodiment of the present invention two;
Fig. 6 is electronic equipment of embodiment of the present invention composed structure schematic diagram one;
Fig. 7 is electronic equipment of embodiment of the present invention composed structure schematic diagram two.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is further described in more detail.
Embodiment one,
The embodiment of the invention provides a kind of information processing methods, are applied to electronic equipment, as shown in Figure 1, the method Include:
Step 101: detection unit detects to obtain kinematic parameter;
Step 102: the detection unit detects to obtain moving direction;
Step 103: judging whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein institute It states the speed that the first preset condition characterizes in the kinematic parameter and is greater than the first pre-set velocity value;And judge the moving direction Whether meet the second preset condition, obtain the second judging result, wherein second preset condition characterizes the moving direction and is Preset direction;
Step 104: according to first judging result and second judging result, determining the shape of the electronic equipment State carries out respective handling according to the state of the electronic equipment.
The execution of above-mentioned steps 101 and step 102 in no particular order sequentially can be first carried out step 102 and execute again Step 101, it can also be performed simultaneously with step 101 and step 102.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
It may include: to work as to detect the kinematic parameter less than the first pre-set velocity value that the detection, which obtains moving direction, When, by the location information that specified cycle detection obtains before location information and current period that current period detects It is compared, determines the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
A scene is provided below for above-described embodiment, comprising:
User starts the GPS unit on mobile phone, periodically obtains location information by GPS unit;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking , the current state of user is determined according to judging result and then is performed corresponding processing.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
Embodiment two,
The embodiment of the invention provides a kind of information processing methods, are applied to electronic equipment, as shown in Fig. 2, the method Include:
Step 201: detection unit detects to obtain kinematic parameter;
Step 202: the detection unit detects to obtain moving direction;
Step 203: judging whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein institute It states the speed that the first preset condition characterizes in the kinematic parameter and is greater than the first pre-set velocity value;And judge the moving direction Whether meet the second preset condition, obtain the second judging result, wherein second preset condition characterizes the moving direction and is Preset direction;
Step 204: when first judging result characterization kinematic parameter meets the first preset condition and the second judgement knot It when fruit characterizes second preset condition of moving direction satisfaction, determines that the operation object is in first state, generates first and refer to It enables, location information is obtained according to first command detection, gets the first cartographic information, according to first ground got Figure information and the location information determine target position.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
It may include: to work as to detect the kinematic parameter less than the first pre-set velocity value that the detection, which obtains moving direction, When, by the location information that specified cycle detection obtains before location information and current period that current period detects It is compared, determines the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
The determination operation object is in first state and can drive or cycle to determine user to enter parking lot, And it can further determine that user is currently in the state for wanting to look for parking stall.
First cartographic information that gets is different from above-mentioned cartographic information, and above-mentioned cartographic information can mention for navigation software The map in some city supplied;First cartographic information is then that the target nearest apart from user has been determined according to cartographic information After object, the specific map of the target object got, such as.It is recently apart from user when information according to the map has been determined The market XX, then target object is just the parking lot in the market XX, correspondingly, the first cartographic information is then the parking lot in the market XX Parking stall distribution map, wherein specifically can wrap the location information containing the free parking space in the parking lot and occupy parking stall Location information.
The acquisition methods of first cartographic information can be the parking stall distribution map that a parking lot is preset by trade company, then The current state in each parking stall is obtained according to the detector of free time or occupancy that each parking stall is arranged in, by idle or The mark of occupancy is shown in preset parking stall distribution map.
Preferably, first cartographic information and the location information that the basis is got determine target position, May include:
M position for meeting third preset condition is obtained from the first cartographic information, the third preset condition characterizes institute Rheme is set to clear position;
The position for meeting the 4th preset condition is chosen from the M position according to the positional information as target position It sets, wherein it is the location information and M that the 4th preset condition, which characterizes the distance between the location information and target position, Minimum range between a position.
Wherein, M position for meeting third preset condition can be the idle parking stall in parking lot;The location information Acquisition methods GPS unit can detect longitude and latitude at present position according to.
The position for choosing the 4th preset condition of satisfaction can be the idle parking stall selected distance from parking lot recently one A free time parking stall is as target position.
It should be noted that a premise can also be had by executing the judgement of step 204, exactly when detection unit detects Kinematic parameter is greater than after the first preset condition, detected again in preset duration kinematic parameter less than the first preset condition, that It is assured that user rapidly enters to slow down after parking lot and begins look for parking stall, at this point, beginning to execute step 204 Operation, displays for a user target position.Preset duration actual conditions can be arranged according to, for example can be set to 2 minutes.
Further, first cartographic information and the location information that the basis is got determine target position Later, can also include:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result;
When first judging result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judging result characterization When the moving direction is unsatisfactory for the second preset condition,
It determines that the operation object is in the second state, generates the second instruction, instruct according to described second by target position It saves to storage unit.
It is understood that executing aforesaid operations object to be in the judgement of the second state is based on the lasting detection of detection odd number On the basis of kinematic parameter and moving direction, i.e., according to first cartographic information and the location information got When determining target position, also further secondary control detection unit it can start to detect.
Pass through aforesaid operations, it will be able to combine the first cartographic information got to be stored with storage target position single Member.
A scene is provided below for above-described embodiment, as shown in Figure 3, comprising:
User opens the GPS unit on mobile phone, periodically obtains location information by GPS unit;
It drives into the parking lot in the market A;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking ?;
If it is determined that kinematic parameter is greater than the first pre-set velocity value and moving direction is directed toward apart from nearest parking lot, just obtain Parking position distribution map as shown in Figure 3 is taken, while showing the pattern of user's driving position on the distribution map;
Then the free time of current parking stall is provided for user or occupy prompt information, indicate to occupy using black circles in Fig. 3 The prompt information of parking stall, white circle indicate the prompt information of idle parking stall;
It is that a parking stall 31 nearest at user's selection is used as target and according to the vehicle position of active user Position, in this way, user can find as soon as possible target position, raising efficiency according to the prompt information got.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
Embodiment three,
The embodiment of the invention provides a kind of information processing methods, are applied to electronic equipment, as shown in figure 4, the method Include:
Step 401: detection unit detects to obtain kinematic parameter;
Step 402: the detection unit detects to obtain moving direction;
Step 403: judging whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein institute It states the speed that the first preset condition characterizes in the kinematic parameter and is greater than the first pre-set velocity value;And judge the moving direction Whether meet the second preset condition, obtain the second judging result, wherein second preset condition characterizes the moving direction and is Preset direction;
Step 404: when first judging result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judgement When as a result characterizing second preset condition of moving direction satisfaction, determines that the operation object is in the third state, generate third Instruction instructs the target position extracted and saved according to the third, the target position is shown in preset cartographic information.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
It may include: to work as to detect the kinematic parameter less than the first pre-set velocity value that the detection, which obtains moving direction, When, by the location information that specified cycle detection obtains before location information and current period that current period detects It is compared, determines the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
The determination operation object, which is in the third state, can enter parking lot for determining user's walking, and can It is further to determine that user is currently in the state for wanting to look for vehicle position.
First cartographic information that gets is different from above-mentioned cartographic information, and above-mentioned cartographic information can mention for navigation software The map in some city supplied;First cartographic information is then that the target nearest apart from user has been determined according to cartographic information After object, the specific map of the target object got, such as.It is recently apart from user when information according to the map has been determined The market XX, then target object is just the parking lot in the market XX, correspondingly, the first cartographic information is then the parking lot in the market XX Parking stall distribution map, wherein specifically can wrap the location information containing the free parking space in the parking lot and occupy parking stall Location information.
Above-mentioned steps 404 can also include: whether to be stored with the first cartographic information and target position in detection storage unit It sets, if do not stored, ends processing process.
Preferably, it completes after showing the target position in the first cartographic information described in above-mentioned steps 404, the side Method further include:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result;
When first judging result characterization kinematic parameter meets the first preset condition and the second judging result characterization institute When stating moving direction and being unsatisfactory for the second preset condition,
It determines that the operation object is in the 4th state, generates the 4th instruction, will be stored in and be deposited according to the 4th instruction It deletes the target position of storage unit.
It further include the detection campaign ginseng of detection unit hold period before the operation for carrying out above-mentioned the 4th state of judgement Several and moving direction operation.
Described deleted the target position for being stored in storage unit according to the 4th instruction can also include that will store list The target position and the first cartographic information that member saves are deleted jointly.To guarantee that the memory space of electronic equipment will not be for a long time Preservation after unwanted information, guarantee memory space.
A scene is provided below for above-described embodiment, as shown in Figure 5, comprising:
User opens the GPS unit on mobile phone, periodically obtains location information by GPS unit;
Walking enters the parking lot in the market A;Parking is come into along the direction of the arrow than user identifier 52 as shown in Figure 5 ?;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking ?;
If it is determined that kinematic parameter is no more than the first pre-set velocity value and moving direction is directed toward apart from nearest parking lot, just Parking position distribution map as shown in Figure 5 is obtained, while showing the target position 51 where user's vehicle on the distribution map, such as This, user can find as soon as possible target position, raising efficiency according to the prompt information got.
Further, when detect user be greater than the first pre-set velocity value kinematic parameter, moving direction be not directed to stop When reversely leaving of parking lot, the parking position distribution map saved and target position are deleted together.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
Example IV,
The embodiment of the invention provides a kind of electronic equipment, as shown in fig. 6, the electronic equipment includes:
Detection unit 61 obtains kinematic parameter for detecting;Detection obtains moving direction;
Processing unit 62 obtains the first judging result for judging whether the kinematic parameter meets the first preset condition, Wherein, first preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And described in judging Whether moving direction meets the second preset condition, obtains the second judging result, wherein second preset condition characterizes the shifting Dynamic direction is preset direction;According to first judging result and second judging result, the electronic equipment is determined State carries out respective handling according to the state of the electronic equipment.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
The processing unit will be current specifically for when detecting the kinematic parameter less than the first pre-set velocity value The location information that specified cycle detection obtains before the location information and current period that cycle detection obtains is compared, Determine the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
A scene is provided below for above-described embodiment, comprising:
User starts the GPS unit on mobile phone, periodically obtains location information by GPS unit;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking , the current state of user is determined according to judging result and then is performed corresponding processing.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
Embodiment five,
The embodiment of the invention provides a kind of electronic equipment, as shown in fig. 7, the electronic equipment includes:
Detection unit 71 obtains kinematic parameter for detecting;Detection obtains moving direction;
Processing unit 72 obtains the first judging result for judging whether the kinematic parameter meets the first preset condition, Wherein, first preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And described in judging Whether moving direction meets the second preset condition, obtains the second judging result, wherein second preset condition characterizes the shifting Dynamic direction is preset direction;According to first judging result and second judging result, the electronic equipment is determined State carries out respective handling according to the state of the electronic equipment.
The processing unit, be specifically used for when first judging result characterization kinematic parameter meet the first preset condition, And when the second judging result characterizes second preset condition of moving direction satisfaction, determine that the operation object is in the first shape State generates the first instruction, obtains location information according to first command detection, the first cartographic information is got, according to acquisition To first cartographic information and the location information determine target position.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
The processing unit will be current specifically for when detecting the kinematic parameter less than the first pre-set velocity value The location information that specified cycle detection obtains before the location information and current period that cycle detection obtains is compared, Determine the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
The determination operation object is in first state and can drive or cycle to determine user to enter parking lot, And it can further determine that user is currently in the state for wanting to look for parking stall.
First cartographic information that gets is different from above-mentioned cartographic information, and above-mentioned cartographic information can mention for navigation software The map in some city supplied;First cartographic information is then that the target nearest apart from user has been determined according to cartographic information After object, the specific map of the target object got, such as.It is recently apart from user when information according to the map has been determined The market XX, then target object is just the parking lot in the market XX, correspondingly, the first cartographic information is then the parking lot in the market XX Parking stall distribution map, wherein specifically can wrap the location information containing the free parking space in the parking lot and occupy parking stall Location information.
The acquisition methods of first cartographic information can be the parking stall distribution map that a parking lot is preset by trade company, then The current state in each parking stall is obtained according to the detector of free time or occupancy that each parking stall is arranged in, by idle or The mark of occupancy is shown in preset parking stall distribution map.
Preferably, the processing unit meets the M of third preset condition specifically for obtaining from the first cartographic information Position, it is clear position that the third preset condition, which characterizes the position,;It is selected from the M position according to the positional information Take the position for meeting the 4th preset condition as target position, wherein the 4th preset condition characterize the location information and Minimum range of the distance between the target position between the location information and M position.
Wherein, M position for meeting third preset condition can be the idle parking stall in parking lot;The location information Acquisition methods GPS unit can detect longitude and latitude at present position according to.
The position for choosing the 4th preset condition of satisfaction can be the idle parking stall selected distance from parking lot recently one A free time parking stall is as target position.
Judge whether can also have a premise in first state it should be noted that executing, is exactly when detection is single Member detects that kinematic parameter is greater than after the first preset condition, detects that kinematic parameter is default less than first in preset duration again Condition, then being assured that user rapidly enters to slow down after parking lot begins look for parking stall, at this point, begin to operate, Display for a user target position.Preset duration actual conditions can be arranged according to, for example can be set to 2 minutes.
Further, the electronic equipment further include:
Storage unit 73, for saving target position;
Correspondingly, the processing unit 72, first cartographic information got specifically for the basis and institute It states after location information determines target position, judges whether the kinematic parameter meets the first preset condition, obtain the first judgement As a result;And judges whether the moving direction meets the second preset condition, obtain the second judging result;When first judgement As a result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judging result characterizes the moving direction and is unsatisfactory for second It when preset condition, determines that the operation object is in the second state, generates the second instruction, instruct according to described second by target position Preservation is set to storage unit.
It is understood that executing aforesaid operations object to be in the judgement of the second state is based on the lasting detection of detection odd number On the basis of kinematic parameter and moving direction, i.e., according to first cartographic information and the location information got When determining target position, also further secondary control detection unit it can start to detect.
Pass through aforesaid operations, it will be able to combine the first cartographic information got to be stored with storage target position single Member.
A scene is provided below for above-described embodiment, as shown in Figure 3, comprising:
User opens the GPS unit on mobile phone, periodically obtains location information by GPS unit;
It drives into the parking lot in the market A;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking ?;
If it is determined that kinematic parameter is greater than the first pre-set velocity value and moving direction is directed toward apart from nearest parking lot, just obtain Parking position distribution map as shown in Figure 3 is taken, while showing the pattern of user's driving position on the distribution map;
Then the free time of current parking stall is provided for user or occupy prompt information, indicate to occupy using black circles in Fig. 3 The prompt information of parking stall, white circle indicate the prompt information of idle parking stall;
It is that a parking stall 31 nearest at user's selection is used as target and according to the vehicle position of active user Position, in this way, user can find as soon as possible target position, raising efficiency according to the prompt information got.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
Embodiment six,
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment includes:
Detection unit obtains kinematic parameter for detecting;Detection obtains moving direction;
Processing unit obtains the first judging result for judging whether the kinematic parameter meets the first preset condition, In, first preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge the shifting Whether dynamic direction meets the second preset condition, obtains the second judging result, wherein second preset condition characterizes the movement Direction is preset direction;According to first judging result and second judging result, the shape of the electronic equipment is determined State carries out respective handling according to the state of the electronic equipment.
The processing unit, specifically for being unsatisfactory for the first default item when first judging result characterization kinematic parameter When part and the second judging result characterize the moving direction and meet the second preset condition, determine that the operation object is in the Three condition generates third instruction, the target position extracted and saved is instructed according to the third, institute is shown in the first cartographic information State target position.
Here, the detection unit may include: GPS unit.
Correspondingly, the detection unit detects to obtain kinematic parameter to may include: periodically to detect institute using GPS unit The position letter that the location information for stating electronic equipment, the location information detected using current period and upper a cycle are detected Breath, is calculated the moving distance of current period;According to the moving distance being calculated and cycle duration, calculate Movement velocity is obtained, using the movement velocity as kinematic parameter;Wherein, the cycle duration can be set according to the actual situation It sets, for example, can be set to 1 minute as a cycle;The location information may include longitude and latitude.
The processing unit will be current specifically for when detecting the kinematic parameter less than the first pre-set velocity value The location information that specified cycle detection obtains before the location information and current period that cycle detection obtains is compared, Determine the moving direction of the electronic equipment.
The method of determination of above-mentioned preset direction can be with are as follows: electronic equipment obtains cartographic information, is examined according to the detection unit The location information measured gets the direction with the location information apart from nearest target object from cartographic information; Wherein, the target object can be parking lot.
The determination operation object, which is in the third state, can enter parking lot for determining user's walking, and can It is further to determine that user is currently in the state for wanting to look for vehicle position.
First cartographic information that gets is different from above-mentioned cartographic information, and above-mentioned cartographic information can mention for navigation software The map in some city supplied;First cartographic information is then that the target nearest apart from user has been determined according to cartographic information After object, the specific map of the target object got, such as.It is recently apart from user when information according to the map has been determined The market XX, then target object is just the parking lot in the market XX, correspondingly, the first cartographic information is then the parking lot in the market XX Parking stall distribution map, wherein specifically can wrap the location information containing the free parking space in the parking lot and occupy parking stall Location information.
The processing unit, specifically for whether being stored with the first cartographic information and target position in detection storage unit It sets, if do not stored, ends processing process.
The processing unit obtains first and sentences specifically for judging whether the kinematic parameter meets the first preset condition Disconnected result;And judges whether the moving direction meets the second preset condition, obtain the second judging result;Sentence when described first Disconnected result characterization kinematic parameter meets the first preset condition and the second judging result characterizes the moving direction and is unsatisfactory for second It when preset condition, determines that the operation object is in the 4th state, generates the 4th instruction, will be stored according to the 4th instruction It deletes the target position of storage unit
It further include the detection campaign ginseng of detection unit hold period before the operation for carrying out above-mentioned the 4th state of judgement Several and moving direction operation.
Described deleted the target position for being stored in storage unit according to the 4th instruction can also include that will store list The target position and the first cartographic information that member saves are deleted jointly.To guarantee that the memory space of electronic equipment will not be for a long time Preservation after unwanted information, guarantee memory space.
A scene is provided below for above-described embodiment, as shown in Figure 5, comprising:
User opens the GPS unit on mobile phone, periodically obtains location information by GPS unit;
Walking enters the parking lot in the market A;Parking is come into along the direction of the arrow than user identifier 52 as shown in Figure 5 ?;
Kinematic parameter and moving direction are determined using the location information got;
Judge whether kinematic parameter is greater than the first pre-set velocity value;Judge whether moving direction is directed toward apart from nearest parking ?;
If it is determined that kinematic parameter is no more than the first pre-set velocity value and moving direction is directed toward apart from nearest parking lot, just Parking position distribution map as shown in Figure 5 is obtained, while showing the target position 51 where user's vehicle on the distribution map, such as This, user can find as soon as possible target position, raising efficiency according to the prompt information got.
Further, when detect user be greater than the first pre-set velocity value kinematic parameter, moving direction be not directed to stop When reversely leaving of parking lot, the parking position distribution map saved and target position are deleted together.
As it can be seen that by using above scheme, it will be able to determine electronics in conjunction with the kinematic parameter and moving direction of electronic equipment The state of equipment, and then respective handling is carried out according to state.To realize according to the condition intelligent of electronic equipment to be that user mentions For being best suitable for the processing scheme of current state, promote user goes out line efficiency, ensure that the usage experience of user.
In several embodiments provided herein, it should be understood that disclosed equipment can be by others side Formula is realized.Apparatus embodiments described above are merely indicative, there may be another division manner in actual implementation, such as Some features can be ignored.In addition, coupling or direct-coupling or logical that shown or discussed each component part is mutual Letter connection can be through some interfaces, the indirect coupling or communication connection of equipment or unit, can be it is electrical, mechanical or Other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Some or all of lists can be selected according to the actual needs Member achieves the purpose of the solution of this embodiment.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (8)

1. a kind of information processing method is applied to electronic equipment, which is characterized in that the described method includes:
Detection unit detects to obtain kinematic parameter;
The detection unit detects to obtain moving direction;
Judge whether the kinematic parameter meets the first preset condition, obtain the first judging result, wherein the first default item Part characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge whether the moving direction meets second Preset condition obtains the second judging result, wherein it is preset direction that second preset condition, which characterizes the moving direction,;
According to first judging result and second judging result, the state of the electronic equipment is determined, according to described The state of electronic equipment carries out respective handling;
It is described to determine the state of the electronic equipment according to first judging result and second judging result, according to The state of the electronic equipment carries out respective handling, comprising: when first judging result characterization kinematic parameter meets first in advance If condition and the second judging result characterize the moving direction when meeting the second preset condition, determine that operation object is in the One state generates the first instruction, obtains location information according to first command detection, get the first cartographic information, according to First cartographic information got and the location information determine target position;
First cartographic information and the location information that the basis is got determine target position, comprising: from described M position for meeting third preset condition is obtained in first cartographic information, it is sky that the third preset condition, which characterizes the position, Not busy position;The position for meeting the 4th preset condition is chosen from the M position according to the positional information as target position, Wherein, the 4th preset condition characterizes the distance between the location information and target position as the location information and M Minimum range between position.
2. the method according to claim 1, wherein first cartographic information that the basis is got and After the location information determines target position, the method also includes:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the movement side To whether the second preset condition is met, the second judging result is obtained;
When first judging result characterization kinematic parameter is unsatisfactory for described in the first preset condition and the second judging result characterization When moving direction is unsatisfactory for the second preset condition,
It determines that the operation object is in the second state, generates the second instruction, saved target position according to second instruction To storage unit.
3. the method according to claim 1, wherein described according to first judging result and described second Judging result determines the state of the electronic equipment, carries out respective handling according to the state of the electronic equipment, comprising:
When first judging result characterization kinematic parameter is unsatisfactory for described in the first preset condition and the second judging result characterization When moving direction meets the second preset condition,
It determines that operation object is in the third state, generates third instruction, the target position extracted and saved is instructed according to the third, The target position is shown in the first cartographic information.
4. according to the method described in claim 3, it is characterized in that, described show the target position in the first cartographic information Later, the method also includes:
Judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And judge the movement side To whether the second preset condition is met, the second judging result is obtained;
When first judging result characterization kinematic parameter meets the first preset condition and the shifting of the second judging result characterization When dynamic direction is unsatisfactory for the second preset condition,
It determines that the operation object is in the 4th state, generates the 4th instruction, it is single to be stored in storage according to the 4th instruction It deletes the target position of member.
5. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Detection unit obtains kinematic parameter for detecting;Detection obtains moving direction;
Processing unit obtains the first judging result for judging whether the kinematic parameter meets the first preset condition, wherein First preset condition characterizes the speed in the kinematic parameter greater than the first pre-set velocity value;And judge the movement side To whether the second preset condition is met, the second judging result is obtained, wherein second preset condition characterizes the moving direction For preset direction;According to first judging result and second judging result, the state of the electronic equipment, root are determined Respective handling is carried out according to the state of the electronic equipment;
The processing unit, be specifically used for when first judging result characterization kinematic parameter meet the first preset condition and It when second judging result characterizes second preset condition of moving direction satisfaction, determines that operation object is in first state, generates First instruction, obtains location information according to first command detection, the first cartographic information is got, according to getting First cartographic information and the location information determine target position;
The processing unit meets M position of third preset condition, institute specifically for obtaining from first cartographic information Stating third preset condition and characterizing the position is clear position;It chooses and meets from the M position according to the positional information The position of 4th preset condition is as target position, wherein the 4th preset condition characterizes the location information and target position The distance between set the minimum range between the location information and M position.
6. electronic equipment according to claim 5, which is characterized in that the electronic equipment further include:
Storage unit, for saving target position;
Correspondingly, the processing unit, first cartographic information got specifically for the basis and the position After information determines target position, judge whether the kinematic parameter meets the first preset condition, obtains the first judging result;And And judge whether the moving direction meets the second preset condition, obtain the second judging result;When the first judging result table Sign kinematic parameter is unsatisfactory for the first preset condition and the second judging result characterizes the moving direction and is unsatisfactory for the second default item It when part, determines that the operation object is in the second state, generates the second instruction, saved target position according to second instruction To storage unit.
7. electronic equipment according to claim 5, which is characterized in that the processing unit is specifically used for working as described first Judging result characterization kinematic parameter is unsatisfactory for the first preset condition and the second judging result and characterizes the moving direction meeting the It when two preset conditions, determines that operation object is in the third state, generates third instruction, instructed according to the third and extract preservation Target position shows the target position in the first cartographic information.
8. electronic equipment according to claim 7, which is characterized in that the processing unit is specifically used for judging the fortune Whether dynamic parameter meets the first preset condition, obtains the first judging result;And judge whether the moving direction meets second Preset condition obtains the second judging result;When first judging result characterization kinematic parameter meet the first preset condition and When the second judging result characterization moving direction is unsatisfactory for the second preset condition, determine that the operation object is in the 4th shape State generates the 4th instruction, is deleted the target position for being stored in storage unit according to the 4th instruction.
CN201410811831.7A 2014-12-22 2014-12-22 A kind of information processing method and electronic equipment Active CN105788349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410811831.7A CN105788349B (en) 2014-12-22 2014-12-22 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410811831.7A CN105788349B (en) 2014-12-22 2014-12-22 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105788349A CN105788349A (en) 2016-07-20
CN105788349B true CN105788349B (en) 2019-01-15

Family

ID=56377215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410811831.7A Active CN105788349B (en) 2014-12-22 2014-12-22 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105788349B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018074047A1 (en) * 2016-10-18 2018-04-26 シャープ株式会社 Information processing device, electronic device, and control method and control program of information processing device
CN108109423B (en) * 2017-12-26 2021-04-06 武汉创驰蓝天信息科技有限公司 Underground parking lot intelligent navigation method and system based on WiFi indoor positioning
CN109101048A (en) * 2018-08-07 2018-12-28 上海恒润申启多媒体有限公司 A kind of localization method of kinematic system, system, device and readable storage medium storing program for executing
CN111898622B (en) * 2019-05-05 2022-07-15 阿里巴巴集团控股有限公司 Information processing method, information display method, model training method, information display system, model training system and equipment
CN117793179A (en) * 2022-09-28 2024-03-29 华为技术有限公司 Service providing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651886A (en) * 2008-08-11 2010-02-17 中国移动通信集团公司 Method and device for predicting mobile terminal locations
CN102023793A (en) * 2009-09-15 2011-04-20 英华达(上海)电子有限公司 Event notification method and mobile device using same
CN102821356A (en) * 2012-08-31 2012-12-12 李友林 Device and method for positioning cellphones on basis of various information aggregation
CN103471586A (en) * 2013-09-22 2013-12-25 重庆绿色智能技术研究院 Sensor-assisted terminal combination positioning method and sensor-assisted terminal combination positioning device
CN104184779A (en) * 2013-05-27 2014-12-03 牛帅 Time, geographic location, and network-based social networking system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651886A (en) * 2008-08-11 2010-02-17 中国移动通信集团公司 Method and device for predicting mobile terminal locations
CN102023793A (en) * 2009-09-15 2011-04-20 英华达(上海)电子有限公司 Event notification method and mobile device using same
CN102821356A (en) * 2012-08-31 2012-12-12 李友林 Device and method for positioning cellphones on basis of various information aggregation
CN104184779A (en) * 2013-05-27 2014-12-03 牛帅 Time, geographic location, and network-based social networking system and method
CN103471586A (en) * 2013-09-22 2013-12-25 重庆绿色智能技术研究院 Sensor-assisted terminal combination positioning method and sensor-assisted terminal combination positioning device

Also Published As

Publication number Publication date
CN105788349A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105788349B (en) A kind of information processing method and electronic equipment
CN104825101B (en) Robot cleaner and its control method
CN105518702A (en) Method, device and robot for detecting target object
CN104363339B (en) A kind of mobile terminal mode switching method and system based on speed
CN105180956B (en) Air navigation aid, device, navigation equipment and the vehicles of energy website
CN109785368A (en) A kind of method for tracking target and device
CN104145173A (en) Visual ocr for positioning
CN105930762A (en) Eyeball tracking method and device
EP2306154A3 (en) Navigation device and program
CN103968824A (en) Method for discovering augmented reality target, and terminal
CN102607645A (en) Data acquisition method, data acquisition device and mobile terminal
EP2960829A3 (en) Lane boundary estimation device and lane boundary estimation method
CN109905906A (en) Network signal search control method, device, mobile terminal and storage medium
CN106197427A (en) Method, device and the robot of a kind of indoor positioning navigation
US20130155190A1 (en) Driving assistance device and method
CN105868074A (en) Method and device for controlling use time of terminal
CN109495846A (en) A kind of localization method and mobile terminal
RU2006106204A (en) METHOD AND DEVICE OF COMMUNICATION WITH INTELLECTUAL CONTROL OF COMMUNICATION
CN106339083A (en) Method and system for automatically switching to driving mode based on intelligent wearable device
CN110148147A (en) Image detecting method, device, storage medium and electronic device
CN109359043A (en) A kind of moving game automated testing method based on machine learning
CN110349294A (en) The offline mode recognition methods of flying quality and device
CN105152012B (en) Method and system for automatically identifying crane conditions
CN104536652B (en) A kind of list display method and terminal
CN108253961A (en) A kind of wheeled robot localization method based on IMU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant