CN102419749B - Electronic equipment and file saving method thereof - Google Patents

Electronic equipment and file saving method thereof Download PDF

Info

Publication number
CN102419749B
CN102419749B CN201010294527.1A CN201010294527A CN102419749B CN 102419749 B CN102419749 B CN 102419749B CN 201010294527 A CN201010294527 A CN 201010294527A CN 102419749 B CN102419749 B CN 102419749B
Authority
CN
China
Prior art keywords
mark
image
information
electronic equipment
item
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
CN201010294527.1A
Other languages
Chinese (zh)
Other versions
CN102419749A (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 CN201010294527.1A priority Critical patent/CN102419749B/en
Priority to US13/824,144 priority patent/US9507485B2/en
Priority to PCT/CN2011/080228 priority patent/WO2012041221A1/en
Publication of CN102419749A publication Critical patent/CN102419749A/en
Application granted granted Critical
Publication of CN102419749B publication Critical patent/CN102419749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides electronic equipment and a file saving method thereof. The file saving method comprises the following steps of: acquiring a first image which comprises a plurality of objects; acquiring a plurality of information items, wherein a first information item in the information items corresponds to a first object in the objects and corresponds to a first mark; generating an image file which at least comprises the first mark and the first image; and saving the image file.

Description

Electronic equipment and file saving method thereof
Technical field
The present invention relates to the field of electronic equipment, particularly, the present invention relates to a kind of electronic equipment and file saving method thereof.
Background technology
In recent years, along with the development of infotech, there is various image file and utilized the various application of image file.Such as, in navigation application, there is a kind of air navigation aid, it utilizes existing map, by marking the mode of information point on map, for user provides navigation.But such navigate mode is only suitable for user and grasps route on the whole, when user arrives near target location, usually because various situation is difficult to find target.Now, existing navigate mode is difficult to play a role.In addition, existing method uses the linguistic notation of artificial definition to carry out record substantially, adds user to a certain extent and understands and cognitive difficulty, not intuitively.
Summary of the invention
Because above-mentioned situation, the invention provides a kind of electronic equipment and file saving method thereof, it can generate and preserve the image file comprising information point mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, improve Consumer's Experience.
According to the embodiment of the present invention, provide a kind of file saving method, be applied in an electronic equipment, described file saving method comprises: obtain one first image, described first image comprises multiple object; Obtain multiple item of information, wherein, the first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item; Generate an image file, in described image file, at least comprise the first mark and described first image; And preserve described image file.
Described file saving method also can comprise: when opening described image file, shows described first image and described first mark; And when receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding.
Described generation one image file can comprise: on described first image, superpose described first mark.
Described generation one image file also can comprise: described first image superposing described first mark and described first information item are combined.
The multiple item of information of described acquisition can comprise: the positional information obtaining described electronic equipment; Based on positional information and the predetermined condition of described electronic equipment, obtain the candidate information item meeting predetermined condition; Obtain the orientation information of described electronic equipment; And based on the orientation information of described electronic equipment, from described candidate information item, select described multiple item of information.
Described multiple object can with multiple practical object one_to_one corresponding, described first information item can comprise the positional information of corresponding practical object; Further, described superpose on described first image described first mark can comprise: based on the positional information of described practical object and the positional information of described electronic equipment, calculate the distance of described practical object and described electronic equipment; Based on described distance, the first kind is divided into identify and Equations of The Second Kind mark described first mark; And described first kind mark is superimposed upon in the first area on described first image with the first display effect, and described Equations of The Second Kind mark is superimposed upon in the second area on described first image with the second display effect.
According to another embodiment of the present invention, provide a kind of electronic equipment, comprising: image acquiring unit, for obtaining one first image, described first image comprises multiple object; Item of information obtains unit, and for obtaining multiple item of information, wherein, the first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item; Generation unit, for generating an image file, at least comprises the first mark and described first image in described image file; And storage unit, for preserving described image file.
Described electronic equipment also can comprise: display unit, for when opening described image file, shows described first image and described first mark; And when receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding.
Described generation unit can comprise: superpositing unit, for superposing described first mark on described first image.
Described generation unit also can comprise: assembled unit, for described first image superposing described first mark and described first information item being combined.
Described item of information obtains unit and can comprise: first obtains unit, for obtaining the positional information of described electronic equipment; Second obtains unit, for based on the positional information of described electronic equipment and predetermined condition, obtains the candidate information item meeting predetermined condition; 3rd obtains unit, for obtaining the orientation information of described electronic equipment; And selection unit, for the orientation information based on described electronic equipment, from described candidate information item, select described multiple item of information.
Described multiple object can with multiple practical object one_to_one corresponding, described first information item can comprise the positional information of corresponding practical object; Further, described superpositing unit can comprise: computing unit, for based on the positional information of described practical object and the positional information of described electronic equipment, calculates the distance of described practical object and described electronic equipment; Division unit, for based on described distance, is divided into the first kind to identify and Equations of The Second Kind mark described first mark; First area superpositing unit, for being superimposed upon in the first area on described first image with the first display effect by described first kind mark; And second area superpositing unit, for described Equations of The Second Kind mark being superimposed upon with the second display effect in the second area on described first image.
According to another embodiment of the present invention, provide a kind of file saving method, comprising: obtain one first image, described first image comprises multiple object; Obtain multiple mark, wherein, the first mark in described multiple mark is corresponding with the first object in described multiple object, and described first mark is for obtaining first information item, and described first information item is used to indicate the information of described first object corresponding to described first mark; Generate an image file, in described image file, at least comprise the first mark and described first image; And preserve described image file.
Described file saving method also can comprise: when opening described image file, shows described first image and described first mark; And when receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding.
Described generation one image file can comprise: on described first image, superpose described first mark, generate described image file.
By according to the electronic equipment of the embodiment of the present invention and file saving method thereof, can generate and preserve the image file comprising information point mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of diagram according to the file saving method of the embodiment of the present invention;
Fig. 2 is the process flow diagram of the file saving method illustrated more in detail according to the embodiment of the present invention;
Fig. 3 is the process flow diagram illustrating file saving method according to another embodiment of the present invention;
Fig. 4 is the block diagram of diagram according to the main configuration of the electronic equipment of the embodiment of the present invention; And
Fig. 5 is the block diagram of the main configuration of the electronic equipment illustrated more in detail according to the embodiment of the present invention.
Embodiment
Below, the electronic equipment according to the embodiment of the present invention and file saving method thereof is described with reference to the accompanying drawings.
First, the file saving method according to the embodiment of the present invention will be described with reference to the drawings.Be applied in an electronic equipment according to the file saving method of the embodiment of the present invention.Described electronic equipment is such as mobile terminal etc.
Fig. 1 is the process flow diagram of diagram according to the file saving method of the embodiment of the present invention.As shown in Figure 1, described file saving method comprises:
Step S101: obtain one first image, described first image comprises multiple object.
In the file saving method of the embodiment of the present invention, described electronic equipment such as comprises image unit.Described file saving method such as obtains described first image by described image unit.Alternatively, described electronic equipment also can not comprise image unit, but obtains described first image from internal storage or by network from outside.Described first image is such as real scene image.Certainly, described first image also can be other images.In addition, described first image comprises multiple object, described multiple object can with multiple practical object one_to_one corresponding.That is, " object " here can refer to the object corresponding with practical object included in the first image, that is, scenery object.Certainly, it will be appreciated by those skilled in the art that described multiple object need not with multiple practical object one_to_one corresponding.
Step S102: obtain multiple item of information.
In various location Based service, usually use described item of information, it is in the art also known as information point, is the combination of the various information corresponding with practical object and scenery object.Described item of information such as comprises the classification of practical object, as dining room, hospital, school etc.; The geographical location information of practical object; The title of practical object; User comment etc.In addition, described item of information also can be for obtaining linking of the various information corresponding with practical object and scenery object.
Described file saving method such as can obtain described item of information from remote server.Certainly, described file saving method also can obtain described item of information from the storer of described electronic equipment internal or outside.
It is pointed out that the first information item in described multiple item of information is corresponding with the first object in described multiple object.Particularly, described first information item be described multiple item of information at least partially.Described first to liking described multiple object at least partially.That is, in the multiple items of information obtained, at least part of item of information (that is, first information item) is corresponding with at least part of object (that is, the first object) in the first image obtained in step S101.In other words, in obtained multiple items of information, the item of information not corresponding with all objects in the first image obtained in step S101 may be there is.In addition, described first mark is mark for identifying described first information item in the first image or symbol.That is, corresponding first mark of described first information item.Therefore, described first information item, first identifies between the first object is one to one.
Step S103: generate an image file, at least comprises the first mark and described first image in described image file.
The first image is obtained and after step S102 obtains multiple item of information in step S101, described file saving method utilizes described first image and corresponding with the first information item in described multiple item of information first to identify in step S103, generate an image file, thus make at least to comprise the first mark and described first image in the image file generated.It should be noted that, described file saving method also can utilize the mark corresponding with other items of information beyond obtained first information item, make generate image file in except comprising the first mark and described first image, also comprise the mark corresponding with other items of information beyond obtained first information item.
Step S104: preserve described image file.
After step S103 generates described image file, described image file is kept in inside or external memory storage by described file saving method, also by network, described image file is kept at remote server place, so that application afterwards.
Such as, after the described image file of preservation, when opening described image file, described first image and described first mark can be shown.Now, when receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding.Such as, when described first information item is the classification of practical object, when receive be designated the clicking operation of Action Target with described first time, the classification that display and described first identifies corresponding practical object.When described first information item is the link of relevant information for obtaining practical object, when receive be designated the clicking operation of Action Target with described first time, show described link.Now, if receive the clicking operation of user for described link, then access described link by network, thus obtain the relevant information of practical object, and present to user.
Thus, by the file saving method according to the embodiment of the present invention, obtain the first image and multiple item of information, generate and preserve the image file at least comprising the first mark and described first image, wherein, first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item.Pass through the generated image file comprising item of information mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
Below with reference to Fig. 2, the file saving method according to the embodiment of the present invention is described in more detail.
Fig. 2 is the process flow diagram of the file saving method illustrated more in detail according to the embodiment of the present invention.As shown in Figure 2, described file saving method comprises:
Step S201: obtain one first image.
The class of operation of the step S101 in the operation of step S201 and the process flow diagram of Fig. 1 seemingly, is not described in detail in this.
Step S202: the positional information obtaining electronic equipment.
Such as, described electronic equipment can comprise the GPS unit for locating.Described file saving method obtains the positional information of described electronic equipment by described GPS unit.Described positional information is such as latitude and the longitude of described electronic equipment.
Step S203: based on positional information and the predetermined condition of described electronic equipment, obtains the candidate information item meeting predetermined condition.
Such as, the positional information of described electronic equipment and predetermined condition (such as, 2km) are sent to remote server by network by described file saving method.Described remote server, based on the positional information of described electronic equipment and predetermined condition, determines the candidate information item that will send to described electronic equipment from database.As mentioned above, item of information such as comprises the data entries of the title, positional information, classification, comment etc. of the practical object corresponding to item of information.After this, described file saving method receives the candidate information item that described remote server sends.The candidate information item now obtained is item of information corresponding to all practical objects of meeting predetermined condition (such as, with described electronic equipment at a distance of preset distance).
Step S204: the orientation information obtaining described electronic equipment.
Such as, described electronic equipment can comprise the electronic compass unit for orientation.Described file saving method such as obtains the orientation information of described electronic equipment by described electronic compass unit.Described orientation information be such as described electronic equipment towards direction and the angle of direct north.
Step S205: based on the orientation information of described electronic equipment, selects described multiple item of information from described candidate information item.
Because the image unit in described electronic equipment has certain visual angle, and described electronic equipment is towards specific direction, therefore in the image obtained by image unit, does not comprise the scenery object corresponding to above-mentioned all practical objects.Therefore, described file saving method needs based on the orientation information of described electronic equipment and the visual angle of image unit, from described candidate information item, select final described multiple item of information.Certainly, described electronic equipment also can obtain described multiple item of information from its inside or external memory storage.
It should be noted that the operation of step S202-S205 corresponds to the operation of the step S102 in the process flow diagram of Fig. 1.In addition, above-mentioned steps S201-S205 need not perform by the order described in process flow diagram, but can perform with any order as required.Such as, step S201, step S202 and step S204 can with any sequencing or executed in parallel.In addition, as mentioned above, the first information item in the multiple items of information obtained is corresponding with the first object in described multiple object, corresponding first mark of described first information item.
Step S206: superpose described first mark on described first image, generate described image file.
Particularly, in the file saving method of the embodiment of the present invention, described first information item comprises the positional information of corresponding practical object.The positional information of described file saving method based on described practical object and the positional information of described electronic equipment, calculate the distance of described practical object and described electronic equipment, and its computing method are conventionally known to one of skill in the art, are not described in detail in this.
After this, described first mark, based on described distance, is divided into the first kind to identify and Equations of The Second Kind mark by described file saving method.Such as, the practical object that described first kind mark is corresponding and described electronic equipment close together.Practical object and the described electronic equipment of described Equations of The Second Kind mark correspondence are distant.Particularly, described file saving method presets a threshold value, such as 1km.When distance between the practical object and described electronic equipment of described first mark correspondence is less than described threshold value, judge that described first mark belongs to first kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is more than or equal to described threshold value, judge that described first mark belongs to Equations of The Second Kind mark.
Certainly, described file saving method also can identify described first the class be categorized as in multiclass item of information.Such as, described first mark also can comprise the 3rd class mark.The practical object that described 3rd class mark is corresponding and described electronic equipment distance are between two parties.Now, described file saving method presets more than one threshold value, and such as first threshold is 0.5km, and Second Threshold is 1.5km.When distance between the practical object and described electronic equipment of described first mark correspondence is less than or equal to described first threshold, judge that described first mark belongs to first kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is more than or equal to described Second Threshold, judge that described first mark belongs to Equations of The Second Kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is greater than first threshold but is less than Second Threshold, judge that described first mark belongs to the 3rd class mark.
After this, described first kind mark is superimposed upon in the first area on described first image with the first display effect by described file saving method, and described Equations of The Second Kind mark is superimposed upon in the second area on described first image with the second display effect.Described first area and described second area can not overlap.Such as, described first area is positioned at the below of described viewing area, and described second area is positioned at the top of described viewing area.Alternatively, described first area and described second area also can be overlap at least partly.In the case, the area of described first area is greater than the area of described second area.That is, described second area can be included in described first area.In addition, described first display effect and described second display effect can be different, and it is distinguished by various ways such as displaying ratio, color, transparencies.Such as, first kind mark shows with larger proportion by described first display effect, and Equations of The Second Kind identifies with comparatively small scale display by described second display effect.Again such as, first kind mark shows in opaque mode by described first display effect, and Equations of The Second Kind mark shows in translucent mode by described second display effect.Alternatively, described first display effect and described second display effect also can be identical.
In addition, preferably, also can based on the orientation information of the positional information of the positional information of electronic equipment, practical object and described electronic equipment, the line between calculating electronic equipment and practical object and described electronic equipment towards between angle.After this, based on calculated angle, determine that described first kind mark and described Equations of The Second Kind mark are presented at the still right side, left side in described first image, make the mark of item of information and real scene image merge better thus.
Certainly, described file saving method also described first can not mark the specific location be superimposed upon on described first image, but can mark described first any position be superimposed upon on described first image.
Step S207: preserve described image file.The class of operation of the step S104 in the process flow diagram of its operation and Fig. 1 seemingly, is not described in detail in this.
It is pointed out that the operation by step S206, generate image file.The first mark and described first image is at least comprised in described image file.After this, when opening described image file, show described first image and described first mark.When receive be designated the operation of Action Target with described first time, local or identify corresponding first information item by network in long-range acquisition and described first, and show described first information item.
Alternatively, in addition, step S206 also can comprise and described first image and described first information item that have superposed described first mark being combined, thus synthetic image file.That is, in the case, comprise the first mark in the image file generated, identify corresponding first information item and the first image with first.Thus, when opening described image file, show described first image and described first mark.When receive be designated the operation of Action Target with described first time, obtain self comprise in described image file identify corresponding first information item with first, and show described first information item.
Thus, by the file saving method according to the embodiment of the present invention, obtain the first image and multiple item of information, generate and preserve the image file at least comprising the first mark and described first image, wherein, first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item.Pass through the generated image file comprising item of information mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
In addition, by the file saving method of the embodiment of the present invention, also can the first kind mark in described first mark be superimposed upon in the first area in described first image, and the Equations of The Second Kind mark in described first mark is superimposed upon in the second area in described first image, thus, according to the difference of the attribute of the practical object of the first mark correspondence, described mark is superimposed upon in the zones of different in described first image.Such as, when the practical object that described first mark is corresponding belongs to close objects, described first mark display is superimposed upon in the first area in described first image, and when the practical object that described first mark is corresponding belongs to remote object, described first mark is superimposed upon in the second area in described first image.By superposing not isolabeling in zones of different, make with not according to Region dividing to compared with the technology showing each mark, the display of mark more meets human vision custom, and avoid the situation of mark overlap display when there is multiple mark to the full extent, mark and image are merged better more realistically, further improves Consumer's Experience.
The process flow diagram of file saving method is according to another embodiment of the present invention described below with reference to Fig. 3.
Fig. 3 is the process flow diagram illustrating file saving method according to another embodiment of the present invention.As shown in Figure 3, described file saving method comprises:
Step S301: obtain one first image, described first image comprises multiple object;
The class of operation of the step S101 in the operation of step S301 and the process flow diagram of Fig. 1 seemingly, is not described in detail in this.
Step S302: obtain multiple mark.
With step S101 unlike, in embodiments of the present invention, acquisition be not item of information, but mark.Described file saving method can obtain described multiple mark from the inside of this locality or external memory storage, also obtains described multiple mark by network from remote server.
The first mark in described multiple mark is corresponding with the first object in described multiple object.Particularly, described first mark be described multiple mark at least partially.Described first to liking described multiple object at least partially.That is, in the multiple marks obtained, mark (that is, the first mark) is corresponding with at least part of object (that is, the first object) in the first image obtained in step S301 at least partly.In other words, in obtained multiple marks, the mark not corresponding with all objects in the first image obtained in step S101 may be there is.In addition, described first mark is mark for obtaining first information item or symbol, the mark of such as circular, triangle or other shape.Described first information item is used to indicate the information of described first object corresponding to described first mark.That is, described first information item, first identifies between the first object is one to one.
Step S303: generate an image file, at least comprises the first mark and described first image in described image file.
Step S304: preserve described image file.
Step S103 in the operation of step S303 and step S304 and the process flow diagram of Fig. 1 and the class of operation of S104 seemingly, are not described in detail in this.
When generating as mentioned above and after preserving image file, if described file saving method detects that described image file is opened, then showing described first image and described first and identify.When receive be designated the operation of Action Target with described first time, described file saving method can obtain and identify corresponding first information item with described first from the storer of electronic equipment internal or outside, also obtains described first information item by network from remote server.Alternatively, in described image file except comprising the first mark and described first image, also comprise and identify corresponding first information item with described first.In the case, when receive be designated the operation of Action Target with described first time, described file saving method self can obtain described first information item from described image file.After this, the described first information item that described first mark of described file saving method display is corresponding.
Thus, by the file saving method according to the embodiment of the present invention, obtain the first image and multiple mark, generate and preserve the image file at least comprising the first mark and described first image, wherein, the first mark in described multiple mark is corresponding with the first object in described multiple object, and described first mark is for obtaining first information item, and described first information item is used to indicate the information of described first object corresponding to described first mark.Pass through the generated image file comprising item of information mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
Below with reference to Fig. 4 and Fig. 5, the electronic equipment according to the embodiment of the present invention is described.
Fig. 4 is the block diagram of diagram according to the main configuration of the electronic equipment 400 of the embodiment of the present invention.
As shown in Figure 4, described electronic equipment 400 comprises:
Image acquiring unit 401, for obtaining one first image, described first image comprises multiple object;
Item of information obtains unit 402, and for obtaining multiple item of information, wherein, the first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item;
Generation unit 403, for generating an image file, at least comprises the first mark and described first image in described image file; And
Storage unit 404, for preserving described image file.
Described image acquiring unit 401 is such as image unit.Described electronic equipment 400 such as obtains described first image by described image unit.Alternatively, described electronic equipment 400 also can not comprise image unit, but obtains described first image from internal storage or by network from outside.Described first image is such as real scene image.Certainly, described first image also can be other images.In addition, described first image comprises multiple object.
Described item of information obtains unit 402 such as can obtain described item of information from remote server.Certainly, described item of information obtains unit 402 and also can obtain described item of information from the storer of described electronic equipment internal or outside.
It is pointed out that the first information item in described multiple item of information is corresponding with the first object in described multiple object.Particularly, described first information item be described multiple item of information at least partially.Described first to liking described multiple object at least partially.That is, in the multiple items of information obtained, at least part of object (that is, the first object) in the first image that at least part of item of information (that is, first information item) and described image acquiring unit 401 obtain is corresponding.In other words, obtain in multiple items of information that unit 402 obtains at described item of information, the item of information that all objects in the first image obtained with described image acquiring unit 401 are not corresponding may be there is.In addition, described first mark is mark for identifying described first information item in the first image or symbol.That is, corresponding first mark of described first information item.Therefore, described first information item, first identifies between the first object is one to one.
Described generation unit 403 utilizes described first image and corresponding with the first information item in described multiple item of information first to identify, and generates an image file, thus makes at least to comprise the first mark and described first image in the image file generated.It should be noted that, described generation unit 403 also can utilize the mark corresponding with other items of information beyond obtained first information item, make generate image file in except comprising the first mark and described first image, also comprise the mark corresponding with other items of information beyond obtained first information item.
Described image file is kept in inside or external memory storage by described storage unit 404, also by network, described image file is kept at remote server place, so that application afterwards.
In addition, described electronic equipment also can comprise: display unit (not shown), for when opening described image file, shows described first image and described first mark; And receiving element (not shown), for receiving the operation being designated Action Target with described first.Now, when described receiving element receive be designated the operation of Action Target with described first time, the described first information item that described first mark of described display unit display is corresponding.Such as, when described first information item is the classification of practical object, when described receiving element receive be designated the clicking operation of Action Target with described first time, described display unit display and described first identifies the classification of corresponding practical object.When described first information item is the link of relevant information for obtaining practical object, when described receiving element receive be designated the clicking operation of Action Target with described first time, described display unit shows described link.Now, if described receiving element receives the clicking operation of user for described link, then described electronic equipment accesses described link by network, thus obtains the relevant information of practical object, and presents to user by described display unit.
Thus, by the electronic equipment according to the embodiment of the present invention, obtain the first image and multiple item of information, generate and preserve the image file at least comprising the first mark and described first image, wherein, first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item.Pass through the generated image file comprising item of information mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
It is pointed out that in superincumbent electronic equipment 400, described item of information obtains unit and obtains multiple item of information.Alternatively, electronic equipment also can carry out alternative described item of information acquisition unit with mark acquisition unit according to another embodiment of the present invention.Described mark obtains unit can obtain described multiple mark from the inside of this locality or external memory storage, also obtains described multiple mark by network from remote server.
The first mark in described multiple mark is corresponding with the first object in described multiple object.Particularly, described first mark be described multiple mark at least partially.Described first to liking described multiple object at least partially.That is, obtain in multiple marks of unit acquisition in described mark, mark (that is, the first mark) is corresponding with at least part of object (that is, the first object) in the first image at least partly.In other words, in multiple marks that described mark acquisition unit obtains, the mark not corresponding with all objects in the first image may be there is.In addition, described first mark is mark for obtaining first information item or symbol, the mark of such as circular, triangle or other shape.Described first information item is used to indicate the information of described first object corresponding to described first mark.That is, described first information item, first identifies between the first object is one to one.
When generating as mentioned above and after preserving image file, if described electronic equipment detects that described image file is opened, then showing described first image and described first and identify.When receive be designated the operation of Action Target with described first time, described electronic equipment can obtain and identify corresponding first information item with described first from the storer of electronic equipment internal or outside, also obtains described first information item by network from remote server.Alternatively, in described image file except comprising the first mark and described first image, also comprise and identify corresponding first information item with described first.In the case, when receive be designated the operation of Action Target with described first time, described electronic equipment self can obtain described first information item from described image file.After this, described electronic equipment is by the described first information item of the described first mark correspondence of described display unit display.
Below with reference to Fig. 5, configuration according to the electronic equipment of the embodiment of the present invention and operation are described in more detail.
Fig. 5 is the block diagram of the main configuration of the electronic equipment illustrated more in detail according to the embodiment of the present invention.
As shown in Figure 5, comprise according to the electronic equipment 500 of the embodiment of the present invention: image acquiring unit 501, item of information obtain unit 502, generation unit 503 and storage unit 504.Wherein, the image acquiring unit 401 in the block diagram of the configuration of image acquiring unit 501 and storage unit 504 and operation and Fig. 4 and the configuration of storage unit 404 and class of operation seemingly, are not described in detail in this.
In the block diagram of Fig. 5, more specifically show the configuration that item of information obtains unit 502 and generation unit 503.
Particularly, described item of information acquisition unit 502 comprises:
First obtains unit 5021, for obtaining the positional information of described electronic equipment;
Second obtains unit 5022, for based on the positional information of described electronic equipment and predetermined condition, obtains the candidate information item meeting predetermined condition;
3rd obtains unit 5023, for obtaining the orientation information of described electronic equipment; And
Selection unit 5024, for the orientation information based on described electronic equipment, selects described multiple item of information from described candidate information item.
Described first acquisition unit 5021 is such as the GPS unit for locating.Described electronic equipment 500 obtains the positional information of described electronic equipment by described GPS unit.Described positional information is such as latitude and the longitude of described electronic equipment.
Described second obtains unit 5022 is such as sent to remote server by the positional information of described electronic equipment and predetermined condition (such as, 2km) by network.Described remote server, based on the positional information of described electronic equipment and predetermined condition, determines the candidate information item that will send to described electronic equipment from database.As mentioned above, item of information such as comprises the data entries of the title, positional information, classification, comment etc. of the practical object corresponding to item of information.After this, described second the candidate information item that unit 5022 receives the transmission of described remote server is obtained.The candidate information item now obtained is item of information corresponding to all practical objects of meeting predetermined condition (such as, with described electronic equipment at a distance of preset distance).
Described 3rd acquisition unit 5023 is such as the electronic compass unit for orientation.Described electronic equipment 500 such as obtains the orientation information of described electronic equipment by described electronic compass unit.Described orientation information be such as described electronic equipment towards direction and the angle of direct north.
Because the image unit in described electronic equipment 500 has certain visual angle, and described electronic equipment is towards specific direction, therefore in the image obtained by image unit, does not comprise the scenery object corresponding to above-mentioned all practical objects.Therefore, described electronic equipment 500 needs the visual angle of orientation information based on described electronic equipment and image unit, from described candidate information item, select final described multiple item of information.Certainly, described electronic equipment 500 also can obtain described multiple item of information from its inside or external memory storage.
Described generation unit 503 comprises:
Superpositing unit 5031, for superposing described first mark on described first image, generates described image file.
Described superpositing unit 5031 can comprise further:
Computing unit (not shown), for based on the positional information of described practical object and the positional information of described electronic equipment, calculates the distance of described practical object and described electronic equipment;
Division unit (not shown), it is connected with described computing unit, for based on described distance, is divided into the first kind to identify and Equations of The Second Kind mark described first mark;
First area superpositing unit (not shown), it is connected with described division unit, for described first kind mark being superimposed upon in the first area on described first image with the first display effect; And
Second area superpositing unit (not shown), it is connected with described division unit, for described Equations of The Second Kind mark being superimposed upon with the second display effect in the second area on described first image.
Particularly, described first information item comprises the positional information of corresponding practical object.The positional information of described computing unit based on described practical object and the positional information of described electronic equipment, calculate the distance of described practical object and described electronic equipment, and its computing method are conventionally known to one of skill in the art, are not described in detail in this.
Described first mark, based on described distance, is divided into the first kind to identify and Equations of The Second Kind mark by described division unit.Such as, the practical object that described first kind mark is corresponding and described electronic equipment close together.Practical object and the described electronic equipment of described Equations of The Second Kind mark correspondence are distant.Particularly, described division unit presets a threshold value, such as 1km.When distance between the practical object and described electronic equipment of described first mark correspondence is less than described threshold value, judge that described first mark belongs to first kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is more than or equal to described threshold value, judge that described first mark belongs to Equations of The Second Kind mark.
Certainly, described division unit also can identify described first the class be categorized as in multiclass item of information.Such as, described first mark also can comprise the 3rd class mark.The practical object that described 3rd class mark is corresponding and described electronic equipment distance are between two parties.Now, described division unit presets more than one threshold value, and such as first threshold is 0.5km, and Second Threshold is 1.5km.When distance between the practical object and described electronic equipment of described first mark correspondence is less than or equal to described first threshold, judge that described first mark belongs to first kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is more than or equal to described Second Threshold, judge that described first mark belongs to Equations of The Second Kind mark.When distance between the practical object and described electronic equipment of described first mark correspondence is greater than first threshold but is less than Second Threshold, judge that described first mark belongs to the 3rd class mark.
After this, described first kind mark is superimposed upon in the first area on described first image with the first display effect by described first area superpositing unit.Described Equations of The Second Kind mark is superimposed upon in the second area on described first image with the second display effect by described second area superpositing unit.Described first area and described second area can not overlap.Such as, described first area is positioned at the below of described viewing area, and described second area is positioned at the top of described viewing area.Alternatively, described first area and described second area also can be overlap at least partly.In the case, the area of described first area is greater than the area of described second area.That is, described second area can be included in described first area.In addition, described first display effect and described second display effect can be different, and it is distinguished by various ways such as displaying ratio, color, transparencies.Such as, first kind mark shows with larger proportion by described first display effect, and Equations of The Second Kind identifies with comparatively small scale display by described second display effect.Again such as, first kind mark shows in opaque mode by described first display effect, and Equations of The Second Kind mark shows in translucent mode by described second display effect.Alternatively, described first display effect and described second display effect also can be identical.That is, described first area superpositing unit can be identical with described second area superpositing unit, also can be different.
In addition, preferably, described computing unit also can based on the orientation information of the positional information of the positional information of electronic equipment, practical object and described electronic equipment, the line between calculating electronic equipment and practical object and described electronic equipment towards between angle.After this, described division unit, based on calculated angle, is determined that described first kind mark and described Equations of The Second Kind mark are presented at the still right side, left side in described first image, is made the mark of item of information and real scene image merge better thus.
Certainly, described superpositing unit also described first can not mark the specific location be superimposed upon on described first image, but can mark described first any position be superimposed upon on described first image.
It is pointed out that in the image file that described storage unit 504 is preserved and at least comprise the first mark and described first image.After this, when opening described image file, described display unit described first image of display and described first mark.When described receiving element receive be designated the operation of Action Target with described first time, local or identify corresponding first information item by network in long-range acquisition and described first, and show described first information item.
Alternatively, described generation unit 503 also can comprise assembled unit (not shown), it is connected with described superpositing unit 5031, for described first image superposing described first mark and described first information item being combined, generates described image file.That is, in the case, comprise the first mark in the image file generated, identify corresponding first information item and the first image with first.Thus, when opening described image file, described display unit described first image of display and described first mark.When described receiving element receive be designated the operation of Action Target with described first time, obtain self comprise in described image file identify corresponding first information item with first, and described display unit shows described first information item.
Thus, by the electronic equipment according to the embodiment of the present invention, obtain the first image and multiple item of information, generate and preserve the image file at least comprising the first mark and described first image, wherein, first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item.Pass through the generated image file comprising item of information mark and image, make when utilizing described image file closely to navigate, shown image is consistent with the scene that user sees, thus be convenient to user and utilize described image file to navigate intuitively, and obtain the relevant information of the practical object inside and outside described scene, improve Consumer's Experience.
In addition, by the electronic equipment of the embodiment of the present invention, also can the first kind mark in described first mark be superimposed upon in the first area in described first image, and the Equations of The Second Kind mark in described first mark is superimposed upon in the second area in described first image, thus, according to the difference of the attribute of the practical object of the first mark correspondence, described mark is superimposed upon in the zones of different in described first image.Such as, when the practical object that described first mark is corresponding belongs to close objects, described first mark display is superimposed upon in the first area in described first image, and when the practical object that described first mark is corresponding belongs to remote object, described first mark is superimposed upon in the second area in described first image.By superposing not isolabeling in zones of different, make with not according to Region dividing to compared with the technology showing each mark, the display of mark more meets human vision custom, and avoid the situation of mark overlap display when there is multiple mark to the full extent, mark and image are merged better more realistically, further improves Consumer's Experience.
Above, the electronic equipment according to the embodiment of the present invention and file saving method thereof is described with reference to the accompanying drawings.
It should be noted that, in this manual, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Finally, also it should be noted that, above-mentioned a series of process not only comprises with the order described here temporally process that performs of sequence, and comprises process that is parallel or that perform respectively instead of in chronological order.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, and can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Above to invention has been detailed introduction, applying specific case herein and setting forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (9)

1. a file saving method, be applied in an electronic equipment, described file saving method comprises:
Obtain one first image by the image unit of described electronic equipment, described first image comprises multiple object, and described first image is real scene image;
Obtain multiple item of information, wherein, the first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item;
Generate an image file, in described image file, at least comprise the first mark and described first image; And
Preserve described image file;
Described file saving method also comprises:
When opening described image file, show described first image and described first mark; And
When receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding;
Described generation one image file comprises:
Described first image superposes described first mark; Wherein, when the practical object that described first mark is corresponding belongs to close objects, described first mark display is superimposed upon in the first area in described first image, and when the practical object that described first mark is corresponding belongs to remote object, described first mark is superimposed upon in the second area in described first image, makes the display of described first mark meet human vision custom.
2. file saving method as claimed in claim 1, wherein, described generation one image file also comprises:
Described first image superposing described first mark and described first information item are combined.
3. file saving method as claimed in claim 1 or 2, wherein, the multiple item of information of described acquisition comprises:
Obtain the positional information of described electronic equipment;
Based on positional information and the predetermined condition of described electronic equipment, obtain the candidate information item meeting predetermined condition;
Obtain the orientation information of described electronic equipment; And
Based on the orientation information of described electronic equipment, from described candidate information item, select described multiple item of information.
4. file saving method as claimed in claim 3, wherein, described multiple object and multiple practical object one_to_one corresponding, described first information item comprises the positional information of corresponding practical object; Further, described superpose on described first image described first mark comprise:
Based on the positional information of described practical object and the positional information of described electronic equipment, calculate the distance of described practical object and described electronic equipment;
Based on described distance, the first kind is divided into identify and Equations of The Second Kind mark described first mark; And
Described first kind mark is superimposed upon in the first area on described first image with the first display effect, and described Equations of The Second Kind mark is superimposed upon in the second area on described first image with the second display effect.
5. an electronic equipment, comprising:
Image acquiring unit, obtain one first image for the image unit by described electronic equipment, described first image comprises multiple object, and described first image is real scene image;
Item of information obtains unit, and for obtaining multiple item of information, wherein, the first information item in described multiple item of information is corresponding with the first object in described multiple object, corresponding first mark of described first information item;
Generation unit, for generating an image file, at least comprises the first mark and described first image in described image file; And
Storage unit, for preserving described image file;
Described electronic equipment also comprises:
Display unit, for when opening described image file, shows described first image and described first mark; And
When receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding;
Wherein, described generation unit comprises:
Superpositing unit, for superposing described first mark on described first image; Wherein, when the practical object that described first mark is corresponding belongs to close objects, described first mark display is superimposed upon in the first area in described first image, and when the practical object that described first mark is corresponding belongs to remote object, described first mark is superimposed upon in the second area in described first image, makes the display of described first mark meet human vision custom.
6. electronic equipment as claimed in claim 5, wherein, described generation unit also comprises:
Assembled unit, for combining described first image superposing described first mark and described first information item.
7. the electronic equipment as described in claim 5 or 6, wherein, described item of information obtains unit and comprises:
First obtains unit, for obtaining the positional information of described electronic equipment;
Second obtains unit, for based on the positional information of described electronic equipment and predetermined condition, obtains the candidate information item meeting predetermined condition;
3rd obtains unit, for obtaining the orientation information of described electronic equipment; And
Selection unit, for the orientation information based on described electronic equipment, selects described multiple item of information from described candidate information item.
8. electronic equipment as claimed in claim 7, wherein, described multiple object and multiple practical object one_to_one corresponding, described first information item comprises the positional information of corresponding practical object; Further, described superpositing unit comprises:
Computing unit, for based on the positional information of described practical object and the positional information of described electronic equipment, calculates the distance of described practical object and described electronic equipment;
Division unit, for based on described distance, is divided into the first kind to identify and Equations of The Second Kind mark described first mark;
First area superpositing unit, for being superimposed upon in the first area on described first image with the first display effect by described first kind mark; And
Second area superpositing unit, for being superimposed upon described Equations of The Second Kind mark with the second display effect in the second area on described first image.
9. a file saving method, comprising:
Obtain one first image by the image unit of electronic equipment, described first image comprises multiple object, and described first image is real scene image;
Obtain multiple mark, wherein, the first mark in described multiple mark is corresponding with the first object in described multiple object, and described first mark is for obtaining first information item, and described first information item is used to indicate the information of described first object corresponding to described first mark;
Generate an image file, in described image file, at least comprise the first mark and described first image; And
Preserve described image file;
Described file saving method also comprises:
When opening described image file, show described first image and described first mark; And
When receive be designated the operation of Action Target with described first time, show the described first information item that described first mark is corresponding;
Wherein, described generation one image file comprises:
Described first image superposes described first mark, generates described image file; Wherein, when the practical object that described first mark is corresponding belongs to close objects, described first mark display is superimposed upon in the first area in described first image, and when the practical object that described first mark is corresponding belongs to remote object, described first mark is superimposed upon in the second area in described first image, makes the display of described first mark meet human vision custom.
CN201010294527.1A 2010-09-27 2010-09-27 Electronic equipment and file saving method thereof Active CN102419749B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201010294527.1A CN102419749B (en) 2010-09-27 2010-09-27 Electronic equipment and file saving method thereof
US13/824,144 US9507485B2 (en) 2010-09-27 2011-09-27 Electronic device, displaying method and file saving method
PCT/CN2011/080228 WO2012041221A1 (en) 2010-09-27 2011-09-27 Electronic device, displaying method and file saving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010294527.1A CN102419749B (en) 2010-09-27 2010-09-27 Electronic equipment and file saving method thereof

Publications (2)

Publication Number Publication Date
CN102419749A CN102419749A (en) 2012-04-18
CN102419749B true CN102419749B (en) 2015-03-25

Family

ID=45944165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010294527.1A Active CN102419749B (en) 2010-09-27 2010-09-27 Electronic equipment and file saving method thereof

Country Status (1)

Country Link
CN (1) CN102419749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133819B (en) * 2013-05-03 2019-03-01 腾讯科技(深圳)有限公司 Information retrieval method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000329569A (en) * 1999-05-24 2000-11-30 Fujitsu Ten Ltd Navigation system
JP4807692B2 (en) * 2001-09-26 2011-11-02 パイオニア株式会社 Image creating apparatus and method, and computer program
US7020555B1 (en) * 2003-12-23 2006-03-28 Trimble Navigation Limited Subscription GPS information service system
JP4202968B2 (en) * 2004-05-11 2008-12-24 パナソニック株式会社 Navigation device
WO2007083418A1 (en) * 2006-01-20 2007-07-26 Mitsubishi Electric Corporation Navigation device
JP4560090B2 (en) * 2006-06-12 2010-10-13 パナソニック株式会社 Navigation device and navigation method
CN101000372B (en) * 2006-12-30 2010-09-29 深圳市凯立德计算机系统技术有限公司 Maprecording method and equipment for tracing navigation
KR100946473B1 (en) * 2007-12-17 2010-03-10 현대자동차주식회사 Method for loading 3-D image data
CN101451852B (en) * 2008-12-19 2012-01-04 华为终端有限公司 Navigation equipment and navigation method
CN101561290A (en) * 2009-05-19 2009-10-21 北京四维图新科技股份有限公司 Navigation device and navigation method
CN101702165A (en) * 2009-10-30 2010-05-05 高翔 Live-action information system and method thereof based on GPS positioning and direction identification technology

Also Published As

Publication number Publication date
CN102419749A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
US11120628B2 (en) Systems and methods for augmented reality representations of networks
Willis et al. A comparison of spatial knowledge acquisition with maps and mobile maps
Höllerer et al. User interface management techniques for collaborative mobile augmented reality
US20090315775A1 (en) Mobile computing services based on devices with dynamic direction information
CN109426333A (en) A kind of information interacting method and device based on Virtual Space Scene
US20140351284A1 (en) System for performing a personalized information search
KR20160087276A (en) Exhibition guide apparatus, exhibition media display apparatus, mobile terminal and method for guiding exhibition
CN107229706A (en) A kind of information acquisition method and its device based on augmented reality
US11341677B2 (en) Position estimation apparatus, tracker, position estimation method, and program
Sudarshan Augmented reality in mobile devices
CN114792111A (en) Data acquisition method and device, electronic equipment and storage medium
CN104501797A (en) Navigation method based on augmented reality IP map
CN102419749B (en) Electronic equipment and file saving method thereof
CN102946476A (en) Rapid positioning method and rapid positioning device
Simon et al. Geopointing: evaluating the performance of orientation-aware location-based interaction under real-world conditions
Chu et al. Mobile navigation services with augmented reality
Mantoro et al. Pedestrian position and pathway in the design of 3D mobile interactive navigation aid
CN102419681A (en) Electronic equipment and display method thereof
CN103546861A (en) Smart phone positioning system and method based on AR technology
Zamyadi et al. A three step procedure to enrich augmented reality games with CityGML 3D semantic modeling
KR100989094B1 (en) Multiple division screen provision system for gis information and method for the same
King et al. Immersive Visualization of Open Geospatial Data in Unreal Engine
CN104007970A (en) Character animation achieving method of GIS command and dispatching system suitable for multiple maps
Wu et al. Mechanism and methods of outdoor AR spatial information visualization representation
Kim et al. StickViz: A new visualization tool for phenomenon-based k-neighbors searches in geosocial networking services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant