Disclosure of Invention
The invention aims to provide an information processing method, an information processing device and electronic equipment, so as to realize indoor real-time navigation with lower cost.
In order to achieve the purpose, the invention provides the following technical scheme:
an information processing method is applied to an electronic device, the electronic device is provided with a wireless transceiving module, and the method comprises the following steps:
acquiring first information which is input by a user and related to a target object;
acquiring at least one first indoor position of the target object determined according to the first information;
acquiring a second indoor location of the electronic device, wherein the acquiring the second indoor location of the electronic device comprises: acquiring a first wireless access point signal through the wireless transceiver module, sending intensity information of the first wireless access point signal to a first server, and receiving a second indoor position of the electronic equipment, which is sent by the first server and determined based on the intensity information;
determining and outputting at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
In the method, preferably, at least one first indoor position of the target object is found according to the first information and a pre-stored correspondence between the target object information and the indoor position of the target object.
In the above method, preferably, the acquiring at least one first indoor position of the target object determined according to the first information includes:
sending the first information to a second server, wherein the second server is used for searching at least one first indoor position of the target object according to the first information and the corresponding relation between the pre-stored target object information and the indoor position of the target object;
receiving the at least one first indoor location sent by the second server.
In the above method, preferably, the acquiring at least one first indoor position of the target object determined according to the first information includes:
and searching at least one first indoor position of the target object according to the first information and the corresponding relation between the target object information pre-stored in the electronic equipment and the indoor position of the target object.
In the above method, preferably, the indoor route information includes: first indoor route information in which a distance from the second indoor position to the first indoor position is shortest.
In the above method, preferably, the indoor route information includes: and second indoor route information of the first indoor position, wherein the second information from the second indoor position to the target object meets the preset condition.
An information processing apparatus applied to an electronic device having a wireless transceiving module, the apparatus comprising:
the information acquisition module is used for acquiring first information which is input by a user and is related to a target object;
the first position acquisition module is used for acquiring at least one first indoor position of the target object determined according to the first information;
a second location obtaining module, configured to obtain a second indoor location of the electronic device, where the step of obtaining the second indoor location of the electronic device includes: acquiring a first wireless access point signal through the wireless transceiver module, sending intensity information of the first wireless access point signal to a first server, and receiving a second indoor position of the electronic equipment, which is sent by the first server and determined based on the intensity information;
a route information determination module to determine and output at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
In the above apparatus, preferably, the at least one first indoor position of the target object is obtained by searching according to the first information and a correspondence between pre-stored target object information and the indoor position of the target object.
Preferably, the apparatus further includes a first indoor position acquiring module that:
the sending unit is used for sending the first information to a second server, and the second server is used for searching at least one first indoor position of the target object according to the first information and the corresponding relation between the pre-stored target object information and the indoor position of the target object;
a receiving unit, configured to receive the at least one first indoor location sent by the second server.
Preferably, the apparatus further includes a first indoor position acquiring module that:
and the searching unit is used for searching at least one first indoor position of the target object according to the first information and the corresponding relation between the target object information pre-stored in the electronic equipment and the indoor position of the target object.
Preferably, the indoor route information includes: first indoor route information in which a distance from the second indoor position to the first indoor position is shortest.
Preferably, the indoor route information includes: and second indoor route information of the first indoor position, wherein the second information from the second indoor position to the target object meets the preset condition.
An electronic device comprising the information processing apparatus as described above.
According to the scheme, the information processing method, the information processing device and the electronic equipment, which are provided by the application, are used for acquiring the first information which is input by a user and is related to the target object; acquiring at least one first indoor position of the target object determined according to the first information, and acquiring a second indoor position of the electronic equipment according to the strength of a wireless access point signal; determining and outputting at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
By applying the information processing method provided by the embodiment of the application, after a shopper inputs information of a commodity to be purchased, the first indoor position of the purchased commodity is obtained according to the commodity information, then the second indoor position of the electronic device (namely, the shopper) is obtained, and after a route from the second indoor position to the first indoor position is determined, the shopper can quickly find the commodity to be purchased according to the determined indoor route.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The information processing method and device provided by the embodiment of the application are applied to electronic equipment.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of an information processing method according to an embodiment of the present disclosure; the method can comprise the following steps:
step S11: acquiring first information which is input by a user and related to a target object;
the first information may be information associated with a name of the object, such as the name of the object, or the name of the object and other description parameters, such as model number, price, or brand information.
Step S12: acquiring at least one first indoor position of the target object determined according to the first information;
in the embodiment of the application, the indoor position of the target object is determined according to the information of the target object. The objects may be distributed in only one location or may be distributed in two or more locations, and thus, in the embodiment of the present application, at least one indoor location of the objects is provided.
Step S13: acquiring a second indoor location of the electronic device, wherein the acquiring the second indoor location of the electronic device comprises: acquiring a first wireless access point signal through the wireless transceiver module, sending intensity information of the first wireless access point signal to a first server, and receiving a second indoor position of the electronic equipment, which is sent by the first server and determined based on the intensity information;
in the embodiment of the application, the first server determines the indoor position of the electronic device based on the strength of the first wireless access point signal (such as a WIFI signal) acquired by the electronic device and the position of the first wireless access point, and sends the determined indoor position of the electronic device to the electronic device. Because the indoor environment is complex, the signal strength of the wireless access points at different indoor positions is different, and therefore, the indoor position of the electronic equipment can be determined according to the signal strength of one wireless access point.
The electronic device may acquire a plurality of wireless access point signals, and therefore, the first wireless access point signal may refer to one of the plurality of wireless access point signals acquired by the electronic device;
in this embodiment, when the electronic device acquires multiple wireless access point signals, one wireless access point signal may be randomly selected from the acquired wireless access point signals, and the strength of the selected wireless access point signal is sent to the first server, or one wireless access point signal with the strongest signal strength may be selected, and the strength of the selected wireless access point signal is sent to the first server, or one wireless access point signal is determined in another manner, and the strength of the selected wireless access point signal is sent to the first server, which is not specifically limited herein.
Step S14: determining and outputting at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
After determining the indoor location of the target object and the indoor location of the electronic device, an indoor route from the location of the electronic device to the location of the target object may be generated based on the indoor map.
The indoor map may be pre-stored in the server, and the server transmits the indoor map to the electronic device when a user requests to open the indoor map.
The information processing method provided by the embodiment of the application acquires first information which is input by a user and is related to a target object; acquiring at least one first indoor position of the target object determined according to the first information, and acquiring a second indoor position of the electronic equipment according to the strength of a wireless access point signal; determining and outputting at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
By applying the information processing method provided by the embodiment of the application, after a shopper inputs information of a commodity to be purchased, the first indoor position of the purchased commodity is obtained according to the commodity information, then the second indoor position of the electronic device (namely, the shopper) is obtained, and after a route from the second indoor position to the first indoor position is determined, the shopper can quickly find the commodity to be purchased according to the determined indoor route.
In the above embodiment, preferably, in order to achieve accurate positioning of the position of the target object, at least one first indoor position of the target object may be found according to the first information and a correspondence between pre-stored target object information and the indoor position of the target object.
That is, in the embodiment of the present application, target object information (in the embodiment of the present application, the target object information may refer to basic information of the target object, for example, information describing an attribute of the target object itself) and an indoor location of the target object (for example, an indoor location of a merchant to which the target object belongs) are stored in advance. When first information which is input by a user and is related to the target object is received, the position of the target object is searched in the corresponding relation between the pre-stored target object information and the indoor position of the target object according to the first information, and therefore accurate positioning of the position of the target object is achieved.
The correspondence between the target object information and the indoor position of the target object may be stored in the server or the electronic device.
In the foregoing embodiment, preferably, the flowchart for acquiring at least one first indoor position of the target object determined according to the first information is shown in fig. 2, and may include:
step S21: sending the first information to a second server, wherein the second server is used for searching at least one first indoor position of the target object according to the first information and the corresponding relation between the pre-stored target object information and the indoor position of the target object;
in the embodiment of the application, the corresponding relation between the information of the target object and the indoor position of the target object is stored in the second server, after the first information of the target object is obtained, the first information is sent to the second server, and the second server searches the position of the target object.
Step S22: receiving the at least one first indoor location sent by the second server.
And after finding the position of the target object, the second server sends the position of the target object to the electronic equipment.
In the foregoing embodiment, preferably, in another implementation manner of acquiring at least one first indoor position of the target object determined according to the first information, the acquiring may include:
and searching at least one first indoor position of the target object according to the first information and the corresponding relation between the target object information pre-stored in the electronic equipment and the indoor position of the target object.
In this embodiment, the correspondence between the target object information stored in the electronic device and the indoor position of the target object may be downloaded from the second server to the electronic device, for example, when the user opens the indoor map, the second server may send the correspondence between the target object information and the indoor position of the target object to the electronic device.
Preferably, when the user of the electronic device opens the indoor map, the second server may record a time when the user opens the indoor map, when the user of the electronic device opens the indoor map again, before sending the corresponding relationship between the information of the target object and the indoor position of the target object to the electronic device, it may be determined whether the corresponding relationship between the information of the target object and the indoor position of the target object is updated compared with a previous time when the electronic device opens the indoor map, if so, the updated corresponding relationship between the information of the target object and the indoor position of the target object is sent to the electronic device, and if not, the corresponding relationship between the information of the target object and the indoor position of the target object is not sent to the electronic device.
In the foregoing embodiment, preferably, the indoor route information may include: first indoor route information in which a distance from the second indoor position to the first indoor position is shortest.
That is, in the embodiment of the present application, the determined and output indoor route may be a route having the shortest route.
In the above embodiment, preferably, the indoor route information may also include: and the indoor route information of the first indoor position, in which the second information from the second indoor position to the target object meets the preset condition, is obtained.
The first indoor position at which the second information of the object meets the preset condition may be a first indoor position determined by a user of the electronic device according to a requirement of the user, for example, if the object is a commodity in a shopping mall, the first indoor position may be a first indoor position of the object with a lowest price, the first indoor position may also be a first indoor position of the object with the latest time to put on shelf (i.e., the latest time to put on shelf), or a first indoor position determined according to other requirements of the user, for example, the first indoor position may be a first indoor position of the object with the largest daily sales volume, and the like, and is not particularly limited herein.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing apparatus, and a schematic structural diagram of the information processing apparatus provided in the embodiment of the present application is shown in fig. 3, and the information processing apparatus may include:
the information acquisition module 31, the first position acquisition module 32, the second position acquisition module 33 and the route information determination module 34; wherein,
the information acquisition module 31 is used for acquiring first information which is input by a user and is related to a target object;
the first information may be information associated with a name of the object, such as the name of the object, or the name of the object and other description parameters, such as model number, price, or brand information.
The first position acquisition module 32 is configured to acquire at least one first indoor position of the target object determined according to the first information;
in the embodiment of the application, the indoor position of the target object is determined according to the information of the target object. The objects may be distributed in only one location or may be distributed in two or more locations, and thus, in the embodiment of the present application, at least one indoor location of the objects is provided.
The second location obtaining module 33 is configured to obtain a second indoor location of the electronic device, where the step of obtaining the second indoor location of the electronic device includes: acquiring a first wireless access point signal through the wireless transceiver module, sending intensity information of the first wireless access point signal to a first server, and receiving a second indoor position of the electronic equipment, which is sent by the first server and determined based on the intensity information;
in the embodiment of the application, the first server determines the indoor position of the electronic device based on the strength of the first wireless access point signal (such as a WIFI signal) acquired by the electronic device and the position of the first wireless access point, and sends the determined indoor position of the electronic device to the electronic device. Because the indoor environment is complex, the signal strength of the wireless access points at different indoor positions is different, and therefore, the indoor position of the electronic equipment can be determined according to the signal strength of one wireless access point.
The electronic device may acquire a plurality of wireless access point signals, and therefore, the first wireless access point signal may refer to one of the plurality of wireless access point signals acquired by the electronic device;
in this embodiment, when the electronic device acquires multiple wireless access point signals, one wireless access point signal may be randomly selected from the acquired wireless access point signals, and the strength of the selected wireless access point signal is sent to the first server, or one wireless access point signal with the strongest signal strength may be selected, and the strength of the selected wireless access point signal is sent to the first server, or one wireless access point signal is determined in another manner, and the strength of the selected wireless access point signal is sent to the first server, which is not specifically limited herein.
The route information determination module 34 is configured to determine and output at least one piece of indoor route information indicating a route from the second indoor location to the first indoor location.
After determining the indoor location of the target object and the indoor location of the electronic device, an indoor route from the location of the electronic device to the location of the target object may be generated based on the indoor map.
The indoor map may be pre-stored in the server, and the server transmits the indoor map to the electronic device when a user requests to open the indoor map.
The information processing device provided by the embodiment of the application acquires first information which is input by a user and is related to a target object; acquiring at least one first indoor position of the target object determined according to the first information, and acquiring a second indoor position of the electronic equipment according to the strength of a wireless access point signal; determining and outputting at least one piece of indoor route information indicating a path from the second indoor location to the first indoor location.
By applying the information processing device provided by the embodiment of the application, after a shopper inputs information of a commodity to be purchased, the first indoor position of the purchased commodity is obtained according to the commodity information, then the second indoor position of the electronic device (namely, the shopper) is obtained, and after a route from the second indoor position to the first indoor position is determined, the shopper can quickly find the commodity to be purchased according to the determined indoor route.
In the above embodiment, preferably, in order to achieve accurate positioning of the position of the target object, at least one first indoor position of the target object may be found according to the first information and a correspondence between pre-stored target object information and the indoor position of the target object.
That is, in the embodiment of the present application, target object information (in the embodiment of the present application, the target object information may refer to basic information of the target object, for example, information describing an attribute of the target object itself) and an indoor location of the target object (for example, an indoor location of a merchant to which the target object belongs) are stored in advance. When first information which is input by a user and is related to the target object is received, the position of the target object is searched in the corresponding relation between the pre-stored target object information and the indoor position of the target object according to the first information, and therefore accurate positioning of the position of the target object is achieved.
The correspondence between the target object information and the indoor position of the target object may be stored in the server or the electronic device.
In the foregoing embodiment, preferably, a schematic structural diagram of the first position obtaining module 32 is shown in fig. 4, and may include:
a transmitting unit 41 and a receiving unit 42; wherein,
the sending unit 41 is configured to send the first information to a second server, where the second server is configured to search for at least one first indoor position of the target object according to the first information and a correspondence between pre-stored target object information and indoor positions of the target object;
in the embodiment of the application, the corresponding relation between the information of the target object and the indoor position of the target object is stored in the second server, after the first information of the target object is obtained, the first information is sent to the second server, and the second server searches the position of the target object.
The receiving unit 42 is configured to receive the at least one first indoor location sent by the second server.
And after finding the position of the target object, the second server sends the position of the target object to the electronic equipment.
Another schematic structural diagram of the first position obtaining module 32 provided in the embodiment of the present application is shown in fig. 5, and may include:
the searching unit 51 is configured to search at least one first indoor position of the target object according to the first information and a corresponding relationship between the target object information pre-stored in the electronic device and the indoor position of the target object.
In this embodiment, the correspondence between the target object information stored in the electronic device and the indoor position of the target object may be downloaded from the second server to the electronic device, for example, when the user opens the indoor map, the second server may send the correspondence between the target object information and the indoor position of the target object to the electronic device.
Preferably, when the user of the electronic device opens the indoor map, the second server may record a time when the user opens the indoor map, when the user of the electronic device opens the indoor map again, before sending the corresponding relationship between the information of the target object and the indoor position of the target object to the electronic device, it may be determined whether the corresponding relationship between the information of the target object and the indoor position of the target object is updated compared with a previous time when the electronic device opens the indoor map, if so, the updated corresponding relationship between the information of the target object and the indoor position of the target object is sent to the electronic device, and if not, the corresponding relationship between the information of the target object and the indoor position of the target object is not sent to the electronic device.
In the foregoing embodiment, preferably, the indoor route information may include: first indoor route information in which a distance from the second indoor position to the first indoor position is shortest.
That is, in the embodiment of the present application, the determined and output indoor route may be a route having the shortest route.
In the above embodiment, preferably, the indoor route information may also include: and the indoor route information of the first indoor position, in which the second information from the second indoor position to the target object meets the preset condition, is obtained.
The first indoor location of the object whose second information satisfies the preset condition may be a first indoor location determined by a user of the electronic device according to a requirement of the user, for example, if the object is a commodity in a mall, the first indoor location may be a first indoor location of the object with a cheapest price, the first indoor location may also be a first indoor location of the object with a latest time of getting on the shelf, or may be a first indoor location determined according to other requirements of the user, for example, the first indoor location may be a first indoor location of the object with a largest daily sales volume, and the like, and is not particularly limited herein.
An embodiment of the present application further provides an electronic device, which has the information processing apparatus as described above.
The electronic device can be in various forms, such as a mobile phone, a palm computer or a tablet computer.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.