







技术领域technical field
本申请实施例涉及互联网技术领域,特别涉及一种景点信息的展示方法、装置、电子设备及存储介质。The embodiments of the present application relate to the field of Internet technologies, and in particular, to a method, device, electronic device, and storage medium for displaying scenic spot information.
背景技术Background technique
随着人们生活水平的不断提高,越来越多的人开始通过出行游玩来提升自身的幸福指数,而出行游玩就伴随着景点的选择。随着互联网技术的迅速发展,网页或应用程序上均可以选择目标景点,还可以展示目标景点的景点信息。With the continuous improvement of people's living standards, more and more people begin to improve their happiness index by traveling and playing, and traveling and playing are accompanied by the choice of scenic spots. With the rapid development of Internet technology, target scenic spots can be selected on web pages or applications, and the scenic spot information of the target scenic spots can also be displayed.
相关技术中,电子设备中安装和运行有用于展示景点信息的应用程序,用户在该应用程序中输入目标景点,点击搜索按钮,电子设备响应于用户的点击操作,进入景点介绍页后按照固定的展示位置展示目标景点的景点信息。In the related art, an application program for displaying scenic spot information is installed and running in the electronic device. The user enters the target scenic spot in the application program, clicks the search button, and the electronic device responds to the user's click operation and enters the scenic spot introduction page. The placement displays attraction information for the target attraction.
然而,上述景点信息的展示方法中景点信息的展示位置是固定的,导致展示位置在前的景点信息与用户的需求的匹配度较低,用户需要滑动景点信息来查看用户需求的景点信息,从而导致用户对该景点信息的展示的满意度较低。However, in the above method for displaying scenic spot information, the display position of the scenic spot information is fixed, resulting in a low degree of matching between the scenic spot information at the front and the user's needs. The user needs to slide the scenic spot information to view the scenic spot information required by the user, thereby As a result, the user's satisfaction with the display of the scenic spot information is low.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种景点信息的展示方法、装置、电子设备及存储介质,可用于解决相关技术中的问题。所述技术方案如下:Embodiments of the present application provide a method, device, electronic device, and storage medium for displaying scenic spot information, which can be used to solve problems in related technologies. The technical solution is as follows:
第一方面,本申请实施例提供了一种景点信息的展示方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for displaying scenic spot information, the method comprising:
获取目标景点的地理位置数据和当前时刻目标用户的地理位置数据;Obtain the geographic location data of the target scenic spot and the geographic location data of the target user at the current moment;
根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户与所述目标景点的位置关系;Determine the positional relationship between the target user and the target scenic spot according to the geographic location data of the target scenic spot and the geographic location data of the target user;
根据所述目标用户与所述目标景点的位置关系,确定与所述目标用户匹配的目标景点信息,所述目标景点信息是所述目标景点包括的多个景点信息中的至少一个;Determine, according to the positional relationship between the target user and the target scenic spot, target scenic spot information matching the target user, where the target scenic spot information is at least one of multiple scenic spot information included in the target scenic spot;
确定所述目标景点信息的展示位置,按照所述目标景点信息的展示位置展示所述目标景点信息。The display position of the target scenic spot information is determined, and the target scenic spot information is displayed according to the display position of the target scenic spot information.
在一种可能的实现方式中,所述根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户与所述目标景点的位置关系,包括:In a possible implementation manner, determining the location relationship between the target user and the target scenic spot according to the geographic location data of the target scenic spot and the geographic location data of the target user includes:
根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户对应的场景标签,所述场景标签用于指示所述目标用户与所述目标景点的位置关系;According to the geographic location data of the target scenic spot and the geographic location data of the target user, determine a scene tag corresponding to the target user, where the scene tag is used to indicate the positional relationship between the target user and the target scenic spot;
所述根据所述目标用户与所述目标景点的位置关系,确定与所述目标用户匹配的目标景点信息,包括:The determining the target scenic spot information matching the target user according to the positional relationship between the target user and the target scenic spot includes:
获取所述目标景点包括的多个景点信息对应的场景标签;obtaining scene tags corresponding to multiple scenic spots included in the target scenic spot;
根据所述多个景点信息对应的场景标签,将所述多个景点信息中与所述目标用户对应相同场景标签的景点信息作为与所述目标用户匹配的目标景点信息。According to the scene tags corresponding to the plurality of scenic spots information, the scenic spot information corresponding to the same scene tag of the target user in the plurality of scenic spot information is used as the target scenic spot information matched with the target user.
在一种可能的实现方式中,所述确定所述目标景点信息的展示位置,包括:In a possible implementation manner, the determining the display position of the target scenic spot information includes:
响应于所述目标景点信息的个数为多个,获取多个目标景点信息的优先级;In response to the number of the target scenic spot information being multiple, acquiring the priorities of the multiple target scenic spot information;
按照所述多个目标景点信息的优先级确定所述多个目标景点信息的展示位置,其中,高优先级的目标景点信息的展示位置位于低优先级的目标景点信息的展示位置之前。The display positions of the multiple target attractions information are determined according to the priorities of the multiple target attractions information, wherein the display positions of the target attractions information of high priority are located before the display positions of the target attractions information of low priority.
在一种可能的实现方式中,所述场景标签包括行中场景或行前场景,所述行中场景用于指示所述目标用户处于所述目标景点的内部,所述行前场景用于指示所述目标用户未处于所述目标景点的内部;In a possible implementation manner, the scene label includes an in-line scene or a pre-departure scene, the in-row scene is used to indicate that the target user is inside the target scenic spot, and the pre-departure scene is used to indicate the target user is not inside the target scenic spot;
所述根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户对应的场景标签,包括:The determining the scene label corresponding to the target user according to the geographic location data of the target scenic spot and the geographic location data of the target user, including:
根据所述目标景点的地理位置数据,确定目标范围;Determine the target range according to the geographic location data of the target scenic spot;
响应于所述目标用户的地理位置数据在所述目标范围之内,确定所述目标用户对应的场景标签为行中场景;In response to the geographic location data of the target user being within the target range, determining that the scene tag corresponding to the target user is a scene-in-line;
响应于所述目标用户的地理位置数据不在所述目标范围之内,确定所述目标用户对应的场景标签为行前场景。In response to the geographic location data of the target user not being within the target range, it is determined that the scene tag corresponding to the target user is a pre-trip scene.
在一种可能的实现方式中,所述根据所述目标景点的地理位置数据,确定目标范围,包括:In a possible implementation manner, the determining the target range according to the geographic location data of the target scenic spot includes:
根据所述目标景点的地理位置数据,确定所述目标景点的边界范围;Determine the boundary range of the target scenic spot according to the geographic location data of the target scenic spot;
根据所述目标景点的边界范围和目标长度,确定目标范围,所述目标范围小于所述目标景点的边界范围。According to the boundary range and target length of the target scenic spot, the target range is determined, and the target range is smaller than the boundary range of the target scenic spot.
在一种可能的实现方式中,所述按照所述目标景点信息的展示位置展示所述目标景点信息之后,所述方法还包括:In a possible implementation manner, after the target scenic spot information is displayed according to the display position of the target scenic spot information, the method further includes:
在所述目标景点信息的展示位置之后,展示所述多个景点信息中与所述目标用户不匹配的景点信息。After the display position of the target scenic spot information, the scenic spot information that does not match the target user among the plurality of scenic spot information is displayed.
在一种可能的实现方式中,所述按照所述目标景点信息的展示位置展示所述目标景点信息之后,所述方法还包括:In a possible implementation manner, after the target scenic spot information is displayed according to the display position of the target scenic spot information, the method further includes:
隐藏所述多个景点信息中与所述目标用户不匹配的景点信息。The scenic spot information that does not match the target user among the plurality of scenic spot information is hidden.
第二方面,本申请实施例提供了一种景点信息的展示装置,所述装置包括:In a second aspect, an embodiment of the present application provides a display device for scenic spot information, and the device includes:
获取模块,用于获取目标景点的地理位置数据和当前时刻目标用户的地理位置数据;The acquisition module is used to acquire the geographic location data of the target scenic spot and the geographic location data of the target user at the current moment;
第一确定模块,用于根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户与所述目标景点的位置关系;a first determining module, configured to determine the positional relationship between the target user and the target scenic spot according to the geographic location data of the target scenic spot and the geographic location data of the target user;
第二确定模块,用于根据所述目标用户与所述目标景点的位置关系,确定与所述目标用户匹配的目标景点信息,所述目标景点信息是所述目标景点包括的多个景点信息中的至少一个;The second determination module is configured to determine the target scenic spot information matching the target user according to the positional relationship between the target user and the target scenic spot, where the target scenic spot information is among the multiple scenic spot information included in the target scenic spot at least one of;
第三确定模块,用于确定所述目标景点信息的展示位置;a third determining module, configured to determine the display position of the target scenic spot information;
展示模块,用于按照所述目标景点信息的展示位置展示所述目标景点信息。The display module is configured to display the target scenic spot information according to the display position of the target scenic spot information.
在一种可能的实现方式中,所述第一确定模块,用于根据所述目标景点的地理位置数据和所述目标用户的地理位置数据,确定所述目标用户对应的场景标签,所述场景标签用于指示所述目标用户与所述目标景点的位置关系;In a possible implementation manner, the first determining module is configured to determine a scene tag corresponding to the target user according to the geographic location data of the target scenic spot and the geographic location data of the target user, and the scene The label is used to indicate the positional relationship between the target user and the target scenic spot;
所述第二确定模块,用于获取所述目标景点包括的多个景点信息对应的场景标签;The second determining module is configured to acquire scene tags corresponding to multiple scenic spots included in the target scenic spot;
根据所述多个景点信息对应的场景标签,将所述多个景点信息中与所述目标用户对应相同场景标签的景点信息作为与所述目标用户匹配的目标景点信息。According to the scene tags corresponding to the plurality of scenic spots information, the scenic spot information corresponding to the same scene tag of the target user in the plurality of scenic spot information is used as the target scenic spot information matched with the target user.
在一种可能的实现方式中,所述第三确定模块,用于响应于所述目标景点信息的个数为多个,获取多个目标景点信息的优先级;按照所述多个目标景点信息的优先级确定所述多个目标景点信息的展示位置,其中,高优先级的目标景点信息的展示位置位于低优先级的目标景点信息的展示位置之前。In a possible implementation manner, the third determining module is configured to, in response to the number of the target scenic spot information being multiple, obtain the priority of the multiple target scenic spot information; according to the multiple target scenic spot information The priority of determining the display positions of the plurality of target attractions information, wherein the display positions of the target attractions information of high priority are located before the display positions of the target attractions information of low priority.
在一种可能的实现方式中,所述场景标签包括行中场景或行前场景,所述行中场景用于指示所述目标用户处于所述目标景点的内部,所述行前场景用于指示所述目标用户未处于所述目标景点的内部;In a possible implementation manner, the scene label includes an in-line scene or a pre-departure scene, the in-row scene is used to indicate that the target user is inside the target scenic spot, and the pre-departure scene is used to indicate the target user is not inside the target scenic spot;
所述第一确定模块,用于根据所述目标景点的地理位置数据,确定目标范围;The first determining module is configured to determine the target range according to the geographic location data of the target scenic spot;
响应于所述目标用户的地理位置数据在所述目标范围之内,确定所述目标用户对应的场景标签为行中场景;In response to the geographic location data of the target user being within the target range, determining that the scene tag corresponding to the target user is a scene-in-line;
响应于所述目标用户的地理位置数据不在所述目标范围之内,确定所述目标用户对应的场景标签为行前场景。In response to the geographic location data of the target user not being within the target range, it is determined that the scene tag corresponding to the target user is a pre-trip scene.
在一种可能的实现方式中,所述第一确定模块,用于根据所述目标景点的地理位置数据,确定所述目标景点的边界范围;In a possible implementation manner, the first determining module is configured to determine the boundary range of the target scenic spot according to the geographic location data of the target scenic spot;
根据所述目标景点的边界范围和目标长度,确定目标范围,所述目标范围小于所述目标景点的边界范围。According to the boundary range and target length of the target scenic spot, the target range is determined, and the target range is smaller than the boundary range of the target scenic spot.
在一种可能的实现方式中,所述展示模块,还用于在所述目标景点信息的展示位置之后,展示所述多个景点信息中与所述目标用户不匹配的景点信息。In a possible implementation manner, the display module is further configured to display the scenic spot information that does not match the target user among the plurality of scenic spot information after the display position of the target scenic spot information.
在一种可能的实现方式中,所述装置还包括:In a possible implementation, the apparatus further includes:
隐藏模块,用于隐藏所述多个景点信息中与所述目标用户不匹配的景点信息。A hiding module, configured to hide the scenic spot information that does not match the target user in the plurality of scenic spot information.
第三方面,提供了一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由该处理器加载并执行,以实现上述任一景点信息的展示方法。In a third aspect, an electronic device is provided, the electronic device includes a processor and a memory, the memory stores at least one piece of program code, and the at least one piece of program code is loaded and executed by the processor to implement any of the above A display method of scenic spot information.
第四方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行,以实现上述任一景点信息的展示方法。In a fourth aspect, a computer-readable storage medium is also provided, in which at least one piece of program code is stored, and the at least one piece of program code is loaded and executed by a processor to realize any of the above scenic spots information display method.
第五方面,还提供一种计算机程序或计算机程序产品,所述计算机程序或计算机程序产品中存储有至少一条计算机指令,所述至少一条计算机指令由处理器加载并执行,以实现上述任一景点信息的展示方法。In a fifth aspect, a computer program or computer program product is also provided, wherein at least one computer instruction is stored in the computer program or computer program product, and the at least one computer instruction is loaded and executed by a processor to realize any of the above attractions. method of presenting information.
本申请实施例提供的技术方案至少带来如下有益效果:The technical solutions provided in the embodiments of the present application at least bring the following beneficial effects:
本申请实施例提供的技术方案中与目标用户匹配的目标景点信息的展示位置是基于目标用户与目标景点的位置关系来确定的,因而可以节省目标用户获取目标景点信息的时间成本,提高目标景点信息的展示效率,从而可以更好的为目标用户提供服务,一定程度上还可以提高目标用户对展示的目标景点信息的满意度。In the technical solutions provided by the embodiments of the present application, the display position of the target scenic spot information matched with the target user is determined based on the positional relationship between the target user and the target scenic spot, so the time cost for the target user to obtain the target scenic spot information can be saved, and the target scenic spot can be improved. The display efficiency of the information can better serve the target users, and to a certain extent, it can also improve the target users' satisfaction with the displayed target scenic spot information.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请实施例提供的一种景点信息的展示方法的实施环境示意图;1 is a schematic diagram of an implementation environment of a method for displaying scenic spot information provided by an embodiment of the present application;
图2是本申请实施例提供的一种景点信息的展示方法的流程图;2 is a flowchart of a method for displaying scenic spot information provided by an embodiment of the present application;
图3是本申请实施例提供的一种目标景点的目标范围的示意图;3 is a schematic diagram of a target range of a target scenic spot provided by an embodiment of the present application;
图4是本申请实施例提供的一种景点信息的展示示意图;FIG. 4 is a schematic diagram of displaying scenic spot information provided by an embodiment of the present application;
图5是本申请实施例提供的一种景点信息的展示示意图;FIG. 5 is a schematic diagram of displaying scenic spot information provided by an embodiment of the present application;
图6是本申请实施例提供的一种景点信息的展示装置的结构示意图;6 is a schematic structural diagram of a display device for scenic spot information provided by an embodiment of the present application;
图7是本申请实施例提供的一种电子设备的结构示意图;7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的一种服务器的结构示意图。FIG. 8 is a schematic structural diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1是本申请实施例提供的一种景点信息的展示方法的实施环境示意图,如图1所示,该实施环境包括:电子设备101和服务器102。FIG. 1 is a schematic diagram of an implementation environment of a method for displaying scenic spot information provided by an embodiment of the present application. As shown in FIG. 1 , the implementation environment includes: an
电子设备101可以是智能手机、游戏主机、台式计算机、平板电脑、MP3(MovingPicture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器和膝上型便携计算机中的至少一种。电子设备101中安装和运行有用于展示景点信息的应用程序。电子设备101用于执行本申请实施例提供的景点信息的展示方法。The
电子设备101可以泛指多个电子设备中的一个,本申请实施例仅以电子设备101来举例说明。本领域技术人员可以知晓,上述电子设备101的数量可以更多或更少。比如上述电子设备101可以仅为一个,或者上述电子设备101为几十个或几百个,或者更多数量,本申请实施例对电子设备101的数量和设备类型不加以限定。The
服务器102为一台服务器,或者为是多台服务器组成的服务器集群,或者为云计算平台和虚拟化中心中的至少一种,本申请实施例对此不做限定。服务器102通过有线网络或者无线网络和电子设备101进行通信连接。服务器102用于存储目标景点的地理位置数据,服务器102中还存储有目标景点包括的多个景点信息、多个景点信息对应的场景标签以及多个景点信息的优先级。当然,该服务器102还可以包括其他功能服务器,以便提供更加全面且多样化的服务。The
基于上述实施环境,本申请实施例提供了一种景点信息的展示方法,以图2所示的本申请实施例提供的一种景点信息的展示方法的流程图为例,该方法是以图1中的电子设备101执行。如图2所示,该方法包括下述步骤:Based on the above implementation environment, an embodiment of the present application provides a method for displaying scenic spot information. Taking the flowchart of a method for displaying scenic spot information provided by the embodiment of the present application shown in FIG. 2 as an example, the method is based on FIG. 1 . The
在步骤201中,获取目标景点的地理位置数据和当前时刻目标用户的地理位置数据。In
在本申请实施例中,电子设备中安装和运行有用于展示景点信息的应用程序,例如,该应用程序是旅游类应用程序,或者是其它类型的应用程序,本申请实施例对此不加以限定。In the embodiment of the present application, an application program for displaying scenic spot information is installed and running in the electronic device. For example, the application program is a tourism application program or other type of application program, which is not limited in the embodiment of the present application. .
在一种可能的实现方式中,目标用户在该应用程序的搜素框中输入目标景点的名称,点击搜索按钮,电子设备响应于目标用户的搜索操作,生成获取请求,该获取请求中包括目标景点的名称。电子设备将该获取请求发送至服务器。服务器中存储有各个景点的地理位置数据,服务器接收电子设备发送的获取请求,对该获取请求进行解析,得到该获取请求携带的目标景点的名称。服务器根据该目标景点的名称,在服务器的存储空间中提取该目标景点对应的地理位置数据,将该目标景点对应的地理位置数据发送至电子设备,也即是电子设备获取到目标景点的地理位置数据。In a possible implementation manner, the target user enters the name of the target scenic spot in the search box of the application, clicks the search button, and the electronic device generates an acquisition request in response to the target user's search operation, and the acquisition request includes the target The name of the attraction. The electronic device sends the acquisition request to the server. The server stores the geographic location data of each scenic spot, and the server receives the acquisition request sent by the electronic device, parses the acquisition request, and obtains the name of the target scenic spot carried in the acquisition request. According to the name of the target scenic spot, the server extracts the geographic location data corresponding to the target scenic spot in the storage space of the server, and sends the geographic location data corresponding to the target scenic spot to the electronic device, that is, the electronic device obtains the geographic location of the target scenic spot data.
在一种可能的实现方式中,电子设备中还安装和运行有全球定位系统(GlobalPositioning System,GPS),该GPS用于获取目标用户在每一个时刻的地理位置数据,电子设备还可以将GPS获取的目标用户在每个时刻的地理位置数据存储在电子设备的存储空间中。当目标用户打开用于展示景点信息的应用程序时,电子设备获取目标用户打开应用程序的时刻,将该时刻作为当前时刻,并从电子设备的存储空间中提取出当前时刻目标用户的地理位置数据,也即是,电子设备获取到当前时刻目标用户的地理位置数据。In a possible implementation manner, a global positioning system (Global Positioning System, GPS) is also installed and running in the electronic device, and the GPS is used to obtain the geographic location data of the target user at each moment, and the electronic device can also obtain the GPS The geographic location data of the target user at each moment is stored in the storage space of the electronic device. When the target user opens the application program for displaying scenic spot information, the electronic device obtains the moment when the target user opens the application program, takes the moment as the current moment, and extracts the geographic location data of the target user at the current moment from the storage space of the electronic device , that is, the electronic device obtains the geographic location data of the target user at the current moment.
在步骤202中,根据目标景点的地理位置数据和目标用户的地理位置数据,确定目标用户与目标景点的位置关系。In
在一种可能的实现方式中,根据目标景点的地理位置数据和目标用户的地理位置数据,确定目标用户与目标景点的位置关系的过程如下:In a possible implementation manner, according to the geographic location data of the target scenic spot and the geographic location data of the target user, the process of determining the positional relationship between the target user and the target scenic spot is as follows:
根据目标景点的地理位置数据和目标用户的地理位置数据,确定目标用户对应的场景标签,该场景标签用于指示目标用户与目标景点的位置关系。其中,场景标签包括行中场景或行前场景,行中场景用于指示目标用户处于目标景点的内部,行前场景用于指示目标用户未处于目标景点的内部。According to the geographic location data of the target scenic spot and the geographic location data of the target user, a scene tag corresponding to the target user is determined, and the scene tag is used to indicate the positional relationship between the target user and the target scenic spot. The scene tag includes an in-line scene or a pre-trip scene, the in-line scene is used to indicate that the target user is inside the target scenic spot, and the pre-trip scene is used to indicate that the target user is not inside the target scenic spot.
在一种可能的实现方式中,根据目标景点的地理位置数据和目标用户的地理位置数据,确定目标用户对应的场景标签的过程包括下述步骤1至步骤2。In a possible implementation manner, according to the geographic location data of the target scenic spot and the geographic location data of the target user, the process of determining the scene label corresponding to the target user includes the following steps 1 to 2.
步骤1、根据目标景点的地理位置数据,确定目标范围。Step 1. Determine the target range according to the geographic location data of the target scenic spot.
在一种可能的实现方式中,根据目标景点的地理位置数据,确定目标景点的边界范围;根据目标景点的边界范围和目标长度,确定目标范围,目标范围小于目标景点的边界范围。In a possible implementation manner, the boundary range of the target scenic spot is determined according to the geographic location data of the target scenic spot; the target range is determined according to the boundary range and target length of the target scenic spot, and the target range is smaller than the boundary range of the target scenic spot.
其中,边界为用于划分目标景点的界线,目标景点的边界范围表示在该边界范围之内为目标景点的区域,在该边界范围之外不是目标景点的区域。Wherein, the boundary is the boundary used to demarcate the target scenic spot, and the boundary range of the target scenic spot represents the area within the boundary range which is the target scenic spot, and the area outside the boundary range which is not the target scenic spot.
示例性地,如图3所示为本申请实施例提供的一种目标景点的目标范围的示意图。在该图3中,以目标景点的边界为圆为例,以目标长度为200米为例进行说明,将该边界内部的区域确定为目标景点的边界范围,在边界范围内且距离边界范围目标长度(如200米)的地方,确定目标范围。如图3所示的大圆为目标景点的边界范围,小圆为目标景点的目标范围。Exemplarily, FIG. 3 is a schematic diagram of a target range of a target scenic spot provided by an embodiment of the present application. In this FIG. 3, the boundary of the target scenic spot is taken as an example, and the target length is 200 meters as an example for illustration, and the area inside the boundary is determined as the boundary range of the target scenic spot, within the boundary range and distance from the boundary range target Length (such as 200 meters), determine the target range. The big circle shown in Figure 3 is the boundary range of the target scenic spot, and the small circle is the target range of the target scenic spot.
需要说明的是,本申请仅以目标景点的边界为圆为例进行说明,并不用来限制目标景点的边界的形状,实际应用中,根据目标景点的边界的实际形状,确定目标景点的边界范围。It should be noted that this application only takes the boundary of the target scenic spot as a circle as an example for description, and is not used to limit the shape of the boundary of the target scenic spot. In practical applications, the boundary range of the target scenic spot is determined according to the actual shape of the boundary of the target scenic spot. .
还需要说明的是,目标长度可以由用户进行设置,还可以基于实际实施环境进行调整,本申请实施例中仅以目标长度为200米为例进行说明,并不用来限制目标长度的取值,目标长度的取值可以更长或更短,本申请实施例对此不加以限定。It should also be noted that the target length can be set by the user, and can also be adjusted based on the actual implementation environment. In the embodiment of this application, only the target length of 200 meters is used as an example for description, and is not used to limit the value of the target length. The value of the target length may be longer or shorter, which is not limited in this embodiment of the present application.
步骤2、根据目标用户的地理位置数据和目标范围,确定目标用户对应的场景标签。Step 2: Determine a scene tag corresponding to the target user according to the geographic location data and the target range of the target user.
在一种可能的实现方式中,根据目标用户的地理位置数据和目标范围,确定目标用户对应的场景标签有下述两种情况。In a possible implementation manner, according to the geographic location data of the target user and the target range, there are the following two situations for determining the scene tag corresponding to the target user.
情况一、响应于目标用户的地理位置数据在目标范围之内,确定目标用户对应的场景标签为行中场景。Case 1: In response to the geographic location data of the target user being within the target range, it is determined that the scene tag corresponding to the target user is an in-line scene.
在一种可能的实现方式中,基于上述步骤1得到的目标范围,如果目标用户的地理位置数据在该目标范围之内,则确定目标用户与目标景点的位置关系为目标用户在目标景点的内部,也即是目标用户对应的场景标签为行中场景。In a possible implementation manner, based on the target range obtained in step 1 above, if the geographic location data of the target user is within the target range, the positional relationship between the target user and the target scenic spot is determined to be that the target user is inside the target scenic spot , that is, the scene label corresponding to the target user is the scene in the row.
示例性地,如图3所示的用户A,用户A的地理位置数据在目标范围之内,则确定用户A对应的场景标签为行中场景。Exemplarily, as shown in FIG. 3 for user A, if the geographic location data of user A is within the target range, it is determined that the scene tag corresponding to user A is an in-row scene.
情况二、响应于目标用户的地理位置数据不在目标范围之内,确定目标用户对应的场景标签为行前场景。Case 2: In response to the geographic location data of the target user not being within the target range, it is determined that the scene tag corresponding to the target user is the pre-trip scene.
在一种可能的实现方式中,基于上述步骤1得到的目标范围,如果目标用户的地理位置数据不在该目标范围之内,则确定目标用户与目标景点的位置关系为目标用户不在目标景点的内部,也即是目标用户对应的场景标签为行前场景。In a possible implementation manner, based on the target range obtained in the above step 1, if the geographic location data of the target user is not within the target range, it is determined that the positional relationship between the target user and the target scenic spot is that the target user is not inside the target scenic spot , that is, the scene label corresponding to the target user is the scene before the line.
示例性地,如图3所示的用户B,用户B的地理位置数据在目标景点的边界范围,但不在目标范围之内,则确定用户B对应的场景标签为行前场景。Exemplarily, for user B shown in FIG. 3 , if the geographic location data of user B is within the boundary range of the target scenic spot, but not within the target range, the scene label corresponding to user B is determined to be the pre-trip scene.
在步骤203中,根据目标用户与目标景点的位置关系,确定与目标用户匹配的目标景点信息。In
其中,目标景点信息为目标景点包括的多个景点信息中的至少一个景点信息,目标景点包括的景点信息包括但不限于门票信息、攻略信息、语音讲解、景点地图等信息中的至少一种信息。Wherein, the target scenic spot information is at least one scenic spot information among multiple scenic spot information included in the target scenic spot, and the scenic spot information included in the target scenic spot includes but is not limited to at least one kind of information among ticket information, strategy information, voice explanation, scenic spot map and other information .
在一种可能的实现方式中,根据目标用户与目标景点的位置关系,确定与目标用户匹配的目标景点信息的过程包括下述步骤2031至步骤2032。In a possible implementation manner, according to the positional relationship between the target user and the target scenic spot, the process of determining the target scenic spot information matching the target user includes the following steps 2031 to 2032 .
步骤2031、获取目标景点包括的多个景点信息对应的场景标签。Step 2031: Acquire scene tags corresponding to multiple scenic spots included in the target scenic spot.
在一种可能的实现方式中,服务器中还存储有各个景点包括的景点信息以及景点信息对应的场景标签。电子设备还需向服务器发送景点信息获取请求,该景点信息获取请求中携带目标景点的标识,该目标景点的标识为目标景点的名称,或者为目标景点的编号,或者为其它可以唯一表示目标景点的标识,本申请实施例对此不加以限定。服务器接收电子设备发送的景点信息获取请求,对该景点信息获取请求进行解析,得到该景点信息获取请求中携带的目标景点的标识,根据该目标景点的标识,从服务器的存储空间中提取目标景点包括的景点信息以及包括的景点信息对应的场景标签。服务器将获取到的目标景点包括的多个景点信息以及多个景点信息对应的场景标签发送至电子设备,也即是电子设备获取到目标景点包括的多个景点信息对应的场景标签。In a possible implementation manner, the server also stores scenic spot information included in each scenic spot and scene tags corresponding to the scenic spot information. The electronic device also needs to send a scenic spot information acquisition request to the server, and the scenic spot information acquisition request carries the identification of the target scenic spot, and the identification of the target scenic spot is the name of the target scenic spot, or the serial number of the target scenic spot, or any other scenic spot that can uniquely represent the target scenic spot. , which is not limited in this embodiment of the present application. The server receives the scenic spot information acquisition request sent by the electronic device, parses the scenic spot information acquisition request, obtains the identification of the target scenic spot carried in the scenic spot information acquisition request, and extracts the target scenic spot from the storage space of the server according to the identification of the target scenic spot The included scenic spot information and the scene tag corresponding to the included scenic spot information. The server sends the acquired multiple scenic spot information included in the target scenic spot and the scene tags corresponding to the multiple scenic spots information to the electronic device, that is, the electronic device obtains the scene tags corresponding to the multiple scenic spot information included in the target scenic spot.
示例性地,电子设备获取到的目标景点包括的多个景点信息分别为门票信息、攻略信息、语音讲解、景点地图。其中,门票信息对应的场景标签为行前场景,攻略信息对应的场景标签为行前场景,语音讲解对应的场景标签为行中场景,景点地图对应的场景标签为行中场景。Exemplarily, the plurality of scenic spot information included in the target scenic spot acquired by the electronic device are ticket information, strategy information, voice explanation, and scenic spot map, respectively. The scene label corresponding to the ticket information is the pre-trip scene, the scene label corresponding to the guide information is the pre-departure scene, the scene label corresponding to the voice explanation is the in-row scene, and the scene label corresponding to the scenic spot map is the in-row scene.
需要说明的是,目标景点还可以包括其它景点信息,本申请仅以上述四个景点信息为例进行举例说明,并不用来限制目标景点包括的景点信息的个数。It should be noted that the target scenic spot may also include other scenic spot information, and this application only uses the above four scenic spot information as examples for illustration, and is not used to limit the number of scenic spot information included in the target scenic spot.
步骤2032、根据多个景点信息对应的场景标签,将多个景点信息中与目标用户对应的相同场景标签的景点信息作为与目标用户匹配的目标景点信息。Step 2032: According to the scene tags corresponding to the multiple scenic spots information, the scenic spot information of the same scene tag corresponding to the target user in the multiple scenic spot information is used as the target scenic spot information matching the target user.
在一种可能的实现方式中,根据目标用户对应的场景标签,以及目标景点包括的多个景点信息对应的场景标签,将景点信息对应的场景标签和目标用户对应的场景标签一样的景点信息确定为目标景点信息。In a possible implementation manner, according to the scene tag corresponding to the target user and the scene tags corresponding to multiple scenic spot information included in the target scenic spot, the scenic spot information corresponding to the scene tag corresponding to the scenic spot information and the scene tag corresponding to the target user is determined. Information for the target attractions.
示例性地,目标用户对应的场景标签为行前场景,则在目标景点包括的多个景点信息中确定场景标签为行前场景的景点信息,将确定的场景标签为行前场景的景点信息确定为目标景点信息,也即是将门票信息和攻略信息确定为目标景点信息。Exemplarily, if the scene tag corresponding to the target user is the pre-trip scene, then the scene tag is determined as the scenic spot information of the pre-trip scene from the multiple scenic spot information included in the target scenic spot, and the determined scene tag is determined as the scenic spot information of the pre-trip scene. It is the target scenic spot information, that is, the ticket information and the strategy information are determined as the target scenic spot information.
又例如,目标用户对应的场景标签为行中场景,将语音讲解和景点地图确定为目标景点信息。For another example, the scene tag corresponding to the target user is an in-line scene, and the voice explanation and the scenic spot map are determined as the target scenic spot information.
在步骤204中,确定目标景点信息的展示位置。In
在一种可能的实现方式中,响应于上述步骤203确定的目标景点信息的个数为一个,将该目标景点信息的展示位置确定为第一个展示位置。In a possible implementation manner, in response to the determination that the number of target scenic spots information is one in the
在一种可能的实现方式中,响应于上述步骤203确定的目标景点信息的个数为多个,则需要根据多个景点信息的优先级确定多个景点信息的展示位置。该过程包括下属步骤2041至步骤2042。In a possible implementation manner, in response to the determination of the above-mentioned
步骤2041、响应于目标景点信息的个数为多个,获取多个目标景点信息的优先级。Step 2041 , in response to the number of target scenic spots being multiple, obtain the priorities of the multiple target scenic spots information.
在一种可能的实现方式中,服务器中还存储有目标景点包括的多个景点信息的优先级,电子设备在获取目标景点包括的多个景点信息时,同时获取这多个景点信息的优先级。In a possible implementation manner, the server also stores the priorities of the multiple scenic spots included in the target scenic spot, and when the electronic device acquires the multiple scenic spot information included in the target scenic spot, it simultaneously obtains the priorities of the multiple scenic spots. .
示例性地,目标景点信息为门票信息和攻略信息,其中,门票信息的优先级为第一优先级,攻略信息的优先级为第二优先级,也即是门票信息的优先级高于攻略信息的优先级。Exemplarily, the target scenic spot information is ticket information and strategy information, wherein the priority of the ticket information is the first priority, and the priority of the strategy information is the second priority, that is, the priority of the ticket information is higher than that of the strategy information. priority.
需要说明的是,目标景点包括的多个景点信息的优先级由目标用户进行设置,也可以根据实施环境进行调整,本申请实施例对该多个景点的优先级不加以限定,将确定好的景点信息的优先级存储在服务器中,以便目标用户获取目标景点包括的多个景点信息的优先级。It should be noted that the priority of the multiple scenic spots information included in the target scenic spot is set by the target user, and can also be adjusted according to the implementation environment. The embodiments of this application do not limit the priority of the multiple scenic spots, and the determined The priority of the scenic spot information is stored in the server, so that the target user obtains the priority of the multiple scenic spot information included in the target scenic spot.
步骤2042、按照多个目标景点信息的优先级,确定多个目标景点信息的展示位置。其中,高优先级的目标景点信息的展示位置位于低优先级的目标景点信息的展示位置之前。Step 2042: Determine the display positions of the multiple target scenic spots information according to the priorities of the multiple target scenic spot information. The display position of the high-priority target scenic spot information is located before the display position of the low-priority target scenic spot information.
示例性地,目标景点信息包括门票信息和攻略信息,由于门票信息的优先级高于攻略信息的优先级,因此,门票信息的展示位置位于攻略信息的展示位置之前,也即是,门票信息的展示位置为第一个展示位置,攻略信息的展示位置为第二个展示位置,第一个展示位置位于第二个展示位置之前。Exemplarily, the target scenic spot information includes ticket information and strategy information. Since the priority of the ticket information is higher than that of the strategy information, the display position of the ticket information is located before the display position of the strategy information, that is, the position of the ticket information. The placement is the first placement, the walkthrough placement is the second placement, and the first placement is before the second placement.
在步骤205中,按照目标景点信息的展示位置展示目标景点信息。In
在一种可能的实现方式中,按照上述步骤204确定的目标景点信息的展示位置展示对应的目标景点信息。以门票信息和攻略信息为与目标用户匹配的目标景点信息为例,如图4所示为本申请实施例提供的一种景点信息的展示示意图。在该图4中,在第一个展示位置展示门票信息,在第二个展示位置展示攻略信息。In a possible implementation manner, the corresponding target scenic spot information is displayed according to the display position of the target scenic spot information determined in the
在一种可能的实现方式中,还可以在目标景点信息的展示位置之后,展示目标景点包括的多个景点信息中与目标用户不匹配的景点信息。以语音讲解和景点地图为与目标用户不匹配的景点信息为例,如图4中,在第三个展示位置展示语音讲解,在第四个展示位置展示景点地图。其中,第三个展示位置和第四个展示位置为位于第二个展示位置之后的展示位置。In a possible implementation manner, after the display position of the target scenic spot information, the scenic spot information that does not match the target user among the plurality of scenic spot information included in the target scenic spot may also be displayed. Taking the voice explanation and the scenic spot map as the scenic spot information that does not match the target user as an example, as shown in Figure 4, the voice explanation is displayed in the third display position, and the scenic spot map is displayed in the fourth display position. The third and fourth placements are placements after the second placement.
需要说明的是,在景点信息的展示页面的固定位置上展示有目标景点的景点图片、景点名称、营业时间、地图导航信息,固定位置展示的信息为固定不动的。也即是,固定位置展示的景点信息不会随着目标用户和目标景点的位置关系的变化而移动。It should be noted that the scenic spot pictures, scenic spots name, business hours, and map navigation information of the target scenic spot are displayed on the fixed position of the display page of scenic spot information, and the information displayed in the fixed position is fixed. That is, the scenic spot information displayed at the fixed position will not move with the change of the positional relationship between the target user and the target scenic spot.
在一种可能的实现方式中,为了使目标用户更加方便清晰的看到目标景点信息,还可以隐藏目标景点包括的多个景点信息中与目标用户不匹配的景点信息。如图5所示为本申请实施例提供的一种景点信息的展示示意图,在该图5中,在第一个展示位置展示门票信息,在第二个展示位置展示攻略信息,语音讲解和景点地图都隐藏。当目标用户点击更多景点信息或者向下滑动景点信息时,电子设备响应于目标用户的点击操作或滑动操作,展示隐藏起来的景点信息,也即是,展示语音讲解和景点地图。In a possible implementation manner, in order to make the target user more convenient and clear to see the target scenic spot information, the scenic spot information that does not match the target user among the multiple scenic spot information included in the target scenic spot can also be hidden. FIG. 5 is a schematic diagram showing the scenic spot information provided by the embodiment of the present application. In FIG. 5 , ticket information is displayed in the first display position, and strategy information, voice explanation and scenic spots are displayed in the second display position. Maps are hidden. When the target user clicks on more scenic spot information or slides down the scenic spot information, the electronic device displays the hidden scenic spot information in response to the target user's click operation or sliding operation, that is, displays the voice explanation and the scenic spot map.
上述方法中与目标用户匹配的目标景点信息的展示位置是基于目标用户与目标景点的位置关系来确定的,因而可以节省目标用户获取目标景点信息的时间成本,提高目标景点信息的展示效率,从而可以更好的为目标用户提供服务,一定程度上还可以提高目标用户对展示的目标景点信息的满意度。In the above method, the display position of the target scenic spot information matched with the target user is determined based on the positional relationship between the target user and the target scenic spot, so the time cost for the target user to obtain the target scenic spot information can be saved, and the display efficiency of the target scenic spot information can be improved. It can better serve the target users, and to a certain extent, it can also improve the target users' satisfaction with the displayed target scenic spot information.
图6所示为本申请实施例提供的一种景点信息的展示装置的结构示意图,如图6所示,该装置包括:FIG. 6 shows a schematic structural diagram of a display device for scenic spot information provided by an embodiment of the present application. As shown in FIG. 6 , the device includes:
获取模块601,用于获取目标景点的地理位置数据和当前时刻目标用户的地理位置数据;The
第一确定模块602,用于根据该目标景点的地理位置数据和该目标用户的地理位置数据,确定该目标用户与该目标景点的位置关系;The first determining
第二确定模块603,用于根据该目标用户与该目标景点的位置关系,确定与该目标用户匹配的目标景点信息,该目标景点信息是该目标景点包括的多个景点信息中的至少一个;The
第三确定模块604,用于确定该目标景点信息的展示位置;The third determining
展示模块605,用于按照该目标景点信息的展示位置展示该目标景点信息。The
在一种可能的实现方式中,该第一确定模块602,用于根据该目标景点的地理位置数据和该目标用户的地理位置数据,确定该目标用户对应的场景标签,该场景标签用于指示该目标用户与该目标景点的位置关系;In a possible implementation manner, the first determining
该第二确定模块603,用于获取该目标景点包括的多个景点信息对应的场景标签;The second determining
根据该多个景点信息对应的场景标签,将该多个景点信息中与该目标用户对应相同场景标签的景点信息作为与该目标用户匹配的目标景点信息。According to the scene labels corresponding to the plurality of scenic spots information, the scenic spot information corresponding to the same scene label of the target user among the plurality of scenic spot information is regarded as the target scenic spot information matched with the target user.
在一种可能的实现方式中,该第三确定模块604,用于响应于该目标景点信息的个数为多个,获取多个目标景点信息的优先级;按照该多个目标景点信息的优先级确定该多个目标景点信息的展示位置,其中,高优先级的目标景点信息的展示位置位于低优先级的目标景点信息的展示位置之前。In a possible implementation manner, the third determining
在一种可能的实现方式中,该场景标签包括行中场景或行前场景,该行中场景用于指示该目标用户处于该目标景点的内部,该行前场景用于指示该目标用户未处于该目标景点的内部;In a possible implementation manner, the scene label includes an in-row scene or a pre-departure scene, the in-row scene is used to indicate that the target user is inside the target scenic spot, and the pre-departure scene is used to indicate that the target user is not in the the interior of the target attraction;
该第一确定模块602,用于根据该目标景点的地理位置数据,确定目标范围;The first determining
响应于该目标用户的地理位置数据在该目标范围之内,确定该目标用户对应的场景标签为行中场景;In response to the geographic location data of the target user being within the target range, determine that the scene tag corresponding to the target user is a scene in a row;
响应于该目标用户的地理位置数据不在该目标范围之内,确定该目标用户对应的场景标签为行前场景。In response to the geographic location data of the target user not being within the target range, it is determined that the scene tag corresponding to the target user is a pre-trip scene.
在一种可能的实现方式中,该第一确定模块602,用于根据该目标景点的地理位置数据,确定该目标景点的边界范围;In a possible implementation manner, the first determining
根据该目标景点的边界范围和目标长度,确定目标范围,该目标范围小于该目标景点的边界范围。According to the boundary range and target length of the target scenic spot, the target range is determined, and the target range is smaller than the boundary range of the target scenic spot.
在一种可能的实现方式中,该展示模块605,还用于在该目标景点信息的展示位置之后,展示该多个景点信息中与该目标用户不匹配的景点信息。In a possible implementation manner, the
在一种可能的实现方式中,该装置还包括:In a possible implementation, the device further includes:
隐藏模块,用于隐藏该多个景点信息中与该目标用户不匹配的景点信息。The hiding module is used to hide the scenic spot information that does not match the target user in the plurality of scenic spot information.
上述装置中与目标用户匹配的目标景点信息的展示位置是基于目标用户与目标景点的位置关系来确定的,因而可以节省目标用户获取目标景点信息的时间成本,提高目标景点信息的展示效率,从而可以更好的为目标用户提供服务,一定程度上还可以提高目标用户对展示的目标景点信息的满意度。The display position of the target scenic spot information matched with the target user in the above-mentioned device is determined based on the positional relationship between the target user and the target scenic spot, so the time cost for the target user to obtain the target scenic spot information can be saved, and the display efficiency of the target scenic spot information can be improved. It can better serve the target users, and to a certain extent, it can also improve the target users' satisfaction with the displayed target scenic spot information.
需要说明的是:上述实施例提供的景点信息的展示装置在进行景点信息的展示时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将景点信息的展示装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的景点信息的展示装置与景点信息的展示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the display device for scenic spot information provided by the above-mentioned embodiment displays the scenic spot information, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated by different The function module is completed, that is, the internal structure of the display device of the scenic spot information is divided into different function modules, so as to complete all or part of the functions described above. In addition, the apparatus for displaying scenic spot information provided by the above embodiments and the embodiment of the method for displaying scenic spot information belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
图7是本申请实施例提供的一种电子设备的结构示意图。该电子设备700可以是:智能手机、平板电脑、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。电子设备700还可能被称为用户设备、便携式电子设备、膝上型电子设备、台式电子设备等其他名称。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The
通常,电子设备700包括有:一个或多个处理器701和一个或多个存储器702。Generally, the
处理器701可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器701可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器701也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器701可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器701还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The
存储器702可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器702还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器702中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器701所执行以实现本申请中方法实施例提供的景点信息的展示方法。
在一些实施例中,电子设备700还可选包括有:外围设备接口703和至少一个外围设备。处理器701、存储器702和外围设备接口703之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口703相连。具体地,外围设备包括:射频电路704、显示屏705、摄像头组件706、音频电路707、定位组件708和电源709中的至少一种。In some embodiments, the
外围设备接口703可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器701和存储器702。在一些实施例中,处理器701、存储器702和外围设备接口703被集成在同一芯片或电路板上;在一些其他实施例中,处理器701、存储器702和外围设备接口703中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The
射频电路704用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路704通过电磁信号与通信网络以及其他通信设备进行通信。射频电路704将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路704包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路704可以通过至少一种无线通信协议来与其它电子设备进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路704还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The
显示屏705用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏705是触摸显示屏时,显示屏705还具有采集在显示屏705的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器701进行处理。此时,显示屏705还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏705可以为一个,设置电子设备700的前面板;在另一些实施例中,显示屏705可以为至少两个,分别设置在电子设备700的不同表面或呈折叠设计;在一些实施例中,显示屏705可以是柔性显示屏,设置在电子设备700的弯曲表面上或折叠面上。甚至,显示屏705还可以设置成非矩形的不规则图形,也即异形屏。显示屏705可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The
摄像头组件706用于采集图像或视频。可选地,摄像头组件706包括前置摄像头和后置摄像头。通常,前置摄像头设置在电子设备的前面板,后置摄像头设置在电子设备的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件706还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The
音频电路707可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器701进行处理,或者输入至射频电路704以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在电子设备700的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器701或射频电路704的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路707还可以包括耳机插孔。
定位组件708用于定位电子设备700的当前地理位置,以实现导航或LBS(LocationBased Service,基于位置的服务)。定位组件708可以是基于美国的GPS(GlobalPositioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The
电源709用于为电子设备700中的各个组件进行供电。电源709可以是交流电、直流电、一次性电池或可充电电池。当电源709包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。
在一些实施例中,电子设备700还包括有一个或多个传感器170。该一个或多个传感器170包括但不限于:加速度传感器711、陀螺仪传感器712、压力传感器711、指纹传感器714、光学传感器715以及接近传感器716。In some embodiments, the
加速度传感器711可以检测以电子设备700建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器711可以用于检测重力加速度在三个坐标轴上的分量。处理器701可以根据加速度传感器711采集的重力加速度信号,控制显示屏705以横向视图或纵向视图进行用户界面的显示。加速度传感器711还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the
陀螺仪传感器712可以检测电子设备700的机体方向及转动角度,陀螺仪传感器712可以与加速度传感器711协同采集用户对电子设备700的3D动作。处理器701根据陀螺仪传感器712采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 712 can detect the body direction and rotation angle of the
压力传感器711可以设置在电子设备700的侧边框和/或显示屏705的下层。当压力传感器711设置在电子设备700的侧边框时,可以检测用户对电子设备700的握持信号,由处理器701根据压力传感器711采集的握持信号进行左右手识别或快捷操作。当压力传感器711设置在显示屏705的下层时,由处理器701根据用户对显示屏705的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 711 may be disposed on the side frame of the
指纹传感器714用于采集用户的指纹,由处理器701根据指纹传感器714采集到的指纹识别用户的身份,或者,由指纹传感器714根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器701授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器714可以被设置电子设备700的正面、背面或侧面。当电子设备700上设置有物理按键或厂商Logo时,指纹传感器714可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 714 is used to collect the user's fingerprint, and the
光学传感器715用于采集环境光强度。在一个实施例中,处理器701可以根据光学传感器715采集的环境光强度,控制显示屏705的显示亮度。具体地,当环境光强度较高时,调高显示屏705的显示亮度;当环境光强度较低时,调低显示屏705的显示亮度。在另一个实施例中,处理器701还可以根据光学传感器715采集的环境光强度,动态调整摄像头组件706的拍摄参数。Optical sensor 715 is used to collect ambient light intensity. In one embodiment, the
接近传感器716,也称距离传感器,通常设置在电子设备700的前面板。接近传感器716用于采集用户与电子设备700的正面之间的距离。在一个实施例中,当接近传感器716检测到用户与电子设备700的正面之间的距离逐渐变小时,由处理器701控制显示屏705从亮屏状态切换为息屏状态;当接近传感器716检测到用户与电子设备700的正面之间的距离逐渐变大时,由处理器701控制显示屏705从息屏状态切换为亮屏状态。Proximity sensor 716 , also referred to as a distance sensor, is typically provided on the front panel of
本领域技术人员可以理解,图7中示出的结构并不构成对电子设备700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the
图8所示为本申请实施例提供的一种服务器的结构示意图。该服务器800可因配置或性能不同而产生比较大的差异,可以包括一个或多个处理器(Central ProcessingUnits,CPU)801和一个或多个存储器802,其中,该一个或多个存储器802中存储有至少一条指令,该至少一条指令由该一个或多个处理器801加载并执行以实现上述方法实施例提供的景点信息的展示方法。当然,该服务器800还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器800还可以包括其他用于实现设备功能的部件,在此不做赘述。FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present application. The
在示例性实施例中,还提供了一种计算机可读存储介质,该存储介质中存储有至少一条程序代码,该至少一条程序代码由处理器加载并执行,以实现上述任一种景点信息的展示方法。In an exemplary embodiment, a computer-readable storage medium is also provided, and at least one piece of program code is stored in the storage medium, and the at least one piece of program code is loaded and executed by a processor, so as to realize any one of the above-mentioned scenic spots information. Show method.
在示例性实施例中,还提供了一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括至少一条计算机指令,该至少一条计算机指令由处理器加载并执行,以实现上述任一种景点信息的展示方法。In an exemplary embodiment, there is also provided a computer program or computer program product comprising at least one computer instruction loaded and executed by a processor to implement any of the above How to display attraction information.
可选地,上述计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-OnlyMemory,CD-ROM)、磁带、软盘和光数据存储设备等。Optionally, the above-mentioned computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a compact disc (Compact Disc Read-Only Memory, CD-ROM) , tapes, floppy disks and optical data storage devices.
应当理解的是,在本文中提及的“至少一个”包括一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that reference herein to "at least one" includes one or more, and "plurality" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
以上仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. Inside.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010820013.9ACN112000899A (en) | 2020-08-14 | 2020-08-14 | Display method, device, electronic device and storage medium for scenic spot information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010820013.9ACN112000899A (en) | 2020-08-14 | 2020-08-14 | Display method, device, electronic device and storage medium for scenic spot information |
| Publication Number | Publication Date |
|---|---|
| CN112000899Atrue CN112000899A (en) | 2020-11-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010820013.9APendingCN112000899A (en) | 2020-08-14 | 2020-08-14 | Display method, device, electronic device and storage medium for scenic spot information |
| Country | Link |
|---|---|
| CN (1) | CN112000899A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114862526A (en)* | 2022-06-06 | 2022-08-05 | 北京达佳互联信息技术有限公司 | Information display method, device, server and storage medium |
| CN115564968A (en)* | 2022-11-01 | 2023-01-03 | 北京百度网讯科技有限公司 | Navigation guidance information processing method, device and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100190510A1 (en)* | 2009-01-27 | 2010-07-29 | Apple Inc. | Systems and methods for accessing travel services using a portable electronic device |
| CN109241474A (en)* | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | Offer, displaying, dissemination method, server and the client of page info |
| CN110324785A (en)* | 2019-07-02 | 2019-10-11 | 北京百度网讯科技有限公司 | Information recommendation method, device, equipment and computer readable storage medium |
| US20200209013A1 (en)* | 2018-12-29 | 2020-07-02 | Yandex Europe Ag | Method of and server for presenting points of interest to user on map |
| CN111382358A (en)* | 2020-02-13 | 2020-07-07 | 北京三快在线科技有限公司 | Scenic spot information searching and managing method and device, electronic equipment and server system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100190510A1 (en)* | 2009-01-27 | 2010-07-29 | Apple Inc. | Systems and methods for accessing travel services using a portable electronic device |
| CN109241474A (en)* | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | Offer, displaying, dissemination method, server and the client of page info |
| US20200209013A1 (en)* | 2018-12-29 | 2020-07-02 | Yandex Europe Ag | Method of and server for presenting points of interest to user on map |
| CN110324785A (en)* | 2019-07-02 | 2019-10-11 | 北京百度网讯科技有限公司 | Information recommendation method, device, equipment and computer readable storage medium |
| CN111382358A (en)* | 2020-02-13 | 2020-07-07 | 北京三快在线科技有限公司 | Scenic spot information searching and managing method and device, electronic equipment and server system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114862526A (en)* | 2022-06-06 | 2022-08-05 | 北京达佳互联信息技术有限公司 | Information display method, device, server and storage medium |
| CN114862526B (en)* | 2022-06-06 | 2025-09-09 | 北京达佳互联信息技术有限公司 | Information display method, device, server and storage medium |
| CN115564968A (en)* | 2022-11-01 | 2023-01-03 | 北京百度网讯科技有限公司 | Navigation guidance information processing method, device and electronic equipment |
| Publication | Publication Date | Title |
|---|---|---|
| CN110841285B (en) | Interface element display method and device, computer equipment and storage medium | |
| CN113613028B (en) | Live broadcast data processing method, device, terminal, server and storage medium | |
| CN112181572A (en) | Interactive special effect display method and device, terminal and storage medium | |
| CN111368114B (en) | Information display method, device, equipment and storage medium | |
| CN111462742B (en) | Text display method and device based on voice, electronic equipment and storage medium | |
| CN112052354A (en) | Video recommendation method, video display method and device and computer equipment | |
| CN110750734A (en) | Weather display method and device, computer equipment and computer-readable storage medium | |
| WO2022134632A1 (en) | Work processing method and apparatus | |
| CN114594923A (en) | Control method, device and equipment of vehicle-mounted terminal and storage medium | |
| CN110839128A (en) | Photographic behavior detection method, device and storage medium | |
| CN111459363A (en) | Information display method, device, equipment and storage medium | |
| CN114296824A (en) | Page information configuration method, device, equipment and computer readable storage medium | |
| CN116033219A (en) | Picture-based video playing method and device, electronic equipment and storage medium | |
| CN112000899A (en) | Display method, device, electronic device and storage medium for scenic spot information | |
| CN113032590B (en) | Special effect display method, device, computer equipment and computer readable storage medium | |
| CN111523876B (en) | Payment mode display method, device and system and storage medium | |
| CN111159551B (en) | User-generated content display method and device and computer equipment | |
| CN112000900A (en) | Method and device for recommending scenic spot information, electronic equipment and storage medium | |
| CN113051485A (en) | Group searching method, device, terminal and storage medium | |
| CN114296620A (en) | Information interaction method, device, electronic device and storage medium | |
| CN109388732B (en) | Music map generating and displaying method, device and storage medium | |
| CN111539794A (en) | Voucher information acquisition method and device, electronic equipment and storage medium | |
| CN113157968B (en) | Method, terminal and storage medium for acquiring same melody audio group | |
| CN115657898A (en) | Media resource delivery method | |
| CN111753154B (en) | User data processing method, device, server and computer readable storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20201127 | |
| RJ01 | Rejection of invention patent application after publication |