CN114637930A - Information sharing method, apparatus, electronic device, and computer-readable storage medium - Google Patents
Information sharing method, apparatus, electronic device, and computer-readable storage medium Download PDFInfo
- Publication number
- CN114637930A CN114637930A CN202210247968.9A CN202210247968A CN114637930A CN 114637930 A CN114637930 A CN 114637930A CN 202210247968 A CN202210247968 A CN 202210247968A CN 114637930 A CN114637930 A CN 114637930A
- Authority
- CN
- China
- Prior art keywords
- information
- client
- location information
- real
- text
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请涉及互联网通信技术领域,具体而言,本申请涉及一种信息共享方法、装置、电子设备及计算机可读存储介质。The present application relates to the field of Internet communication technologies, and in particular, the present application relates to an information sharing method, apparatus, electronic device, and computer-readable storage medium.
背景技术Background technique
信息共享的目的在于将信息这一种在互联网时代中越来越重要的资源与其他人共同分享,更加优化资源配置,节约社会成本,提高信息资源利用率,共同创造更多的财富。The purpose of information sharing is to share information, an increasingly important resource in the Internet age, with others, optimize resource allocation, save social costs, improve information resource utilization, and jointly create more wealth.
在目前地理位置信息共享的应用中,例如地图应用会给用户提供基于地理位置的美食、商圈、医院等共享信息。但是,现有技术中基于位置共享应用中的信息往往时效性较低。In the current application of geographic location information sharing, for example, a map application will provide users with geographic location-based shared information such as food, business districts, and hospitals. However, the information in the location-based sharing applications in the prior art is often of low timeliness.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种信息共享方法、装置、电子设备及计算机可读存储介质,可以解决现有技术中信息共享的时效性较低的问题。所述技术方案如下:The embodiments of the present application provide an information sharing method, apparatus, electronic device, and computer-readable storage medium, which can solve the problem of low timeliness of information sharing in the prior art. The technical solution is as follows:
根据本申请实施例的一个方面,提供了一种信息共享方法,该方法包括:According to an aspect of the embodiments of the present application, an information sharing method is provided, and the method includes:
获取第一客户端发送的信息需求;Obtain the information requirements sent by the first client;
对信息需求进行解析,得到信息需求对应的目标位置信息;Analyze the information requirements to obtain the target location information corresponding to the information requirements;
获取第二客户端的实时位置信息;Obtain the real-time location information of the second client;
当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端;When the real-time location information matches the target location information, sending the information request to the second client;
接收第二客户端发送的共享信息,并将共享信息发送到第一客户端。The shared information sent by the second client is received, and the shared information is sent to the first client.
可选的,上述对信息需求进行解析,得到信息需求对应的目标位置信息,包括:Optionally, the information requirements are analyzed above to obtain target location information corresponding to the information requirements, including:
提取信息需求中的地址信息;Extract address information from information requirements;
对地址信息进行拆分,得到至少一个地理要素;Split the address information to obtain at least one geographic element;
基于地理要素确定目标位置信息。Target location information is determined based on geographic features.
可选的,上述当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端,包括:Optionally, when the above-mentioned real-time location information matches the target location information, the information request is sent to the second client, including:
分别基于实时位置信息与目标位置信息的坐标信息,计算第一客户端与第二客户端的相对距离;Calculate the relative distance between the first client and the second client based on the coordinate information of the real-time location information and the target location information respectively;
当相对距离小于预设的第一距离阈值,且实时位置信息所对应的坐标点处于移动状态,则将信息需求发送到第二客户端。When the relative distance is less than the preset first distance threshold, and the coordinate point corresponding to the real-time location information is in a moving state, the information request is sent to the second client.
可选的,上述方法还包括:Optionally, the above method further includes:
接收第一客户端针对共享信息的反馈信息;receiving feedback information from the first client for the shared information;
基于反馈信息确定是否进行资源转移操作;Determine whether to perform a resource transfer operation based on the feedback information;
当需要进行资源转移操作,将信息需求对应的预设资源从第一客户端转移到第二客户端。When a resource transfer operation is required, the preset resource corresponding to the information requirement is transferred from the first client to the second client.
可选的,上述将共享信息发送到第一客户端之前,还包括:Optionally, before sending the shared information to the first client, the method further includes:
获取共享信息对应的有效性校验图像;Obtain the validity verification image corresponding to the shared information;
对有效性验证图像进行文字识别,提取有效性验证图像中的目标文字;Perform text recognition on the validity verification image, and extract the target text in the validity verification image;
将共享信息发送到第一客户端,包括:Send shared information to the first client, including:
当目标文字符合预设验证条件,将共享信息发送到第一客户端。When the target text meets the preset verification conditions, the shared information is sent to the first client.
可选的,上述提取有效性验证图像中的目标文字,包括:Optionally, the target text in the above-mentioned extraction validity verification image includes:
确定有效性验证图像的文本区域;Determine the text area of the validity verification image;
提取文本区域的特征向量;Extract the feature vector of the text area;
对特征向量进行文本分类,得到文本区域所对应的目标文字。Perform text classification on the feature vector to obtain the target text corresponding to the text area.
可选的,上述预设验证条件包括如下至少一项:Optionally, the above-mentioned preset verification conditions include at least one of the following:
目标文字所对应的拍摄时间在第一客户端发送信息需求的时间点之后;The shooting time corresponding to the target text is after the time when the first client sends the information request;
目标文字对应的地点与目标位置信息相匹配。The location corresponding to the target text matches the target location information.
根据本申请实施例的另一个方面,提供了一种信息共享装置,该装置包括:According to another aspect of the embodiments of the present application, an information sharing apparatus is provided, and the apparatus includes:
第一获取模块,用于获取第一客户端发送的信息需求;a first obtaining module, configured to obtain the information requirements sent by the first client;
解析模块,用于对信息需求进行解析,得到信息需求对应的目标位置信息;The parsing module is used to parse the information requirements and obtain the target location information corresponding to the information requirements;
第二获取模块,用于获取第二客户端的实时位置信息;a second obtaining module, configured to obtain the real-time location information of the second client;
第一发送模块,用于当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端;a first sending module, configured to send the information request to the second client when the real-time location information matches the target location information;
第二发送模块,用于接收第二客户端发送的共享信息,并将共享信息发送到第一客户端。The second sending module is configured to receive the shared information sent by the second client, and send the shared information to the first client.
可选的,上述解析模块,用于:Optionally, the above parsing module is used to:
提取信息需求中的地址信息;Extract address information from information requirements;
对地址信息进行拆分,得到至少一个地理要素;Split the address information to obtain at least one geographic element;
基于地理要素确定目标位置信息。Target location information is determined based on geographic features.
可选的,上述第一发送模块,用于:Optionally, the above-mentioned first sending module is used for:
分别基于实时位置信息与目标位置信息的坐标信息,计算第一客户端与第二客户端的相对距离;Calculate the relative distance between the first client and the second client based on the coordinate information of the real-time location information and the target location information respectively;
当相对距离小于预设的第一距离阈值,且实时位置信息所对应的坐标点处于移动状态,则将信息需求发送到第二客户端。When the relative distance is less than the preset first distance threshold, and the coordinate point corresponding to the real-time location information is in a moving state, the information request is sent to the second client.
可选的,上述装置还包括反馈模块,用于:Optionally, the above device further includes a feedback module for:
接收第一客户端针对共享信息的反馈信息;receiving feedback information from the first client for the shared information;
基于反馈信息确定是否进行资源转移操作;Determine whether to perform a resource transfer operation based on the feedback information;
当需要进行资源转移操作,将信息需求对应的预设资源从第一客户端转移到第二客户端。When a resource transfer operation is required, the preset resource corresponding to the information requirement is transferred from the first client to the second client.
可选的,上述第二发送模块,还用于:Optionally, the above-mentioned second sending module is also used for:
获取共享信息对应的有效性校验图像;Obtain the validity verification image corresponding to the shared information;
对有效性验证图像进行文字识别,提取有效性验证图像中的目标文字;Perform text recognition on the validity verification image, and extract the target text in the validity verification image;
当目标文字符合预设验证条件,将共享信息发送到第一客户端。When the target text meets the preset verification conditions, the shared information is sent to the first client.
可选的,上述第二发送模块,还用于:Optionally, the above-mentioned second sending module is also used for:
确定有效性验证图像的文本区域;Determine the text area of the validity verification image;
提取文本区域的特征向量;Extract the feature vector of the text area;
对特征向量进行文本分类,得到文本区域所对应的目标文字。Perform text classification on the feature vector to obtain the target text corresponding to the text area.
可选的,上述预设验证条件包括如下至少一项:Optionally, the above-mentioned preset verification conditions include at least one of the following:
目标文字所对应的拍摄时间在第一客户端发送信息需求的时间点之后;The shooting time corresponding to the target text is after the time when the first client sends the information request;
目标文字对应的地点与目标位置信息相匹配。The location corresponding to the target text matches the target location information.
根据本申请实施例的另一个方面,提供了一种电子设备,该电子设备包括:存储器、处理器及存储在存储器上的计算机程序,上述处理器执行计算机程序以实现本申请实施例第一方面所示方法的步骤。According to another aspect of the embodiments of the present application, an electronic device is provided, the electronic device includes: a memory, a processor, and a computer program stored in the memory, where the processor executes the computer program to implement the first aspect of the embodiments of the present application steps of the method shown.
根据本申请实施例的再一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本申请实施例第一方面所示方法的步骤。According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, and a computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method shown in the first aspect of the embodiments of the present application are implemented.
根据本申请实施例的一个方面,提供了一种计算机程序产品,其包括计算机程序,该计算机程序被处理器执行时实现本申请实施例第一方面所示方法的步骤。According to an aspect of the embodiments of the present application, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, implements the steps of the method shown in the first aspect of the embodiments of the present application.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided in the embodiments of the present application are:
本申请实施例通过对第一客户端发送的需求信息进行解析,得到对应的目标位置信息,同时获取第二客户端的实时位置信息,当目标位置信息与实时位置信息相匹配,确定第二客户端可以接收需求信息,并将第二客户端反馈的共享信息发送给第一客户端;本申请实施例中,第一客户端可以是需求发起终端、第二客户端可以是信息共享终端,本申请将第一客户端与第二客户端的位置信息进行匹配,实现了基于实时定位的信息共享;相比现有技术中,基于地图的应用依赖现有信息库来提供共享信息,本申请中的共享信息是第二客户端根据需求信息实时生成的,该共享信息的时效性更高;同时,第二客户端的实时位置信息与第一客户端的目标位置信息相匹配,提高了共享信息的置信度和准确性,提升了用户体验。In this embodiment of the present application, the corresponding target location information is obtained by analyzing the demand information sent by the first client, and the real-time location information of the second client is obtained at the same time. When the target location information matches the real-time location information, the second client is determined. can receive the demand information, and send the shared information fed back by the second client to the first client; in this embodiment of the application, the first client may be a demand initiating terminal, and the second client may be an information sharing terminal. The location information of the first client and the second client is matched, and information sharing based on real-time positioning is realized; compared with the prior art, the map-based application relies on the existing information base to provide shared information. The information is generated by the second client in real time according to the demand information, and the shared information is more time-sensitive; at the same time, the real-time location information of the second client matches the target location information of the first client, which improves the confidence and reliability of the shared information. Accuracy and improved user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present application.
图1为本申请实施例提供的一种信息共享方法的应用场景示意图;1 is a schematic diagram of an application scenario of an information sharing method provided by an embodiment of the present application;
图2为本申请实施例提供的一种信息共享方法的流程示意图;2 is a schematic flowchart of an information sharing method provided by an embodiment of the present application;
图3为本申请实施例提供的一种信息共享方法中确定目标位置信息的流程示意图;3 is a schematic flowchart of determining target location information in an information sharing method provided by an embodiment of the present application;
图4为本申请实施例提供的一种信息共享方法中的匹配位置信息的流程示意图;4 is a schematic flowchart of matching location information in an information sharing method provided by an embodiment of the present application;
图5为本申请实施例提供的一个示例的信息共享方法的流程示意图;5 is a schematic flowchart of an exemplary information sharing method provided by an embodiment of the present application;
图6为本申请实施例提供的一种信息共享装置的结构示意图;FIG. 6 is a schematic structural diagram of an information sharing apparatus provided by an embodiment of the present application;
图7为本申请实施例提供的一种信息共享电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an information sharing electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合本申请中的附图描述本申请的实施例。应理解,下面结合附图所阐述的实施方式,是用于解释本申请实施例的技术方案的示例性描述,对本申请实施例的技术方案不构成限制。Embodiments of the present application are described below with reference to the accompanying drawings in the present application. It should be understood that the embodiments described below in conjunction with the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请实施例所使用的术语“包括”以及“包含”是指相应特征可以实现为所呈现的特征、信息、数据、步骤、操作、元件和/或组件,但不排除实现为本技术领域所支持其他特征、信息、数据、步骤、操作、元件、组件和/或它们的组合等。应该理解,当我们称一个元件被“连接”或“耦接”到另一元件时,该一个元件可以直接连接或耦接到另一元件,也可以指该一个元件和另一元件通过中间元件建立连接关系。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的术语“和/或”指示该术语所限定的项目中的至少一个,例如“A和/或B”可以实现为“A”,或者实现为“B”,或者实现为“A和B”。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the terms "comprising" and "comprising" used in the embodiments of the present application mean that corresponding features can be implemented as presented features, information, data, steps, operations, elements and/or components, but do not exclude Implementations support other features, information, data, steps, operations, elements, components, and/or combinations thereof, etc., as supported in the art. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, the one element can be directly connected or coupled to the other element, or the one element and the other element may be intervening through intervening elements Establish a connection relationship. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates at least one of the items defined by the term, eg "A and/or B" can be implemented as "A", or as "B", or as "A and B" ".
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。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.
信息共享(Information Sharing)指不同层次、不同部门信息系统间,信息和信息产品的交流与共用,就是把信息这一种在互联网时代中重要性越趋明显的资源与其他人共同分享,以便更加合理地达到资源配置,节约社会成本,创造更多财富的目的。信息共享是提高信息资源利用率,避免在信息采集、存贮和管理上重复浪费的一个重要手段。Information sharing refers to the exchange and sharing of information and information products between information systems at different levels and departments, that is, to share information, a resource that is becoming more and more important in the Internet era, with others, in order to improve Reasonably achieve the purpose of resource allocation, saving social costs and creating more wealth. Information sharing is an important means to improve the utilization rate of information resources and avoid repeated waste in information collection, storage and management.
信息科学领域研究人员认为,信息的交换与共享是通过信息共享系统来实现的,尤其是现今对我们生活、学习影响越来越大的信息库,为信息资源共享提供了良好的技术支持平台。Researchers in the field of information science believe that the exchange and sharing of information is achieved through the information sharing system, especially the information base that has an increasing impact on our life and learning, which provides a good technical support platform for the sharing of information resources.
在目前的地理位置的信息服务中,例如用户可以通过地图应用获取商圈、餐饮、医院、道路等位置信息,但是地图应用所依赖的信息库可能没有及时实时更新,造成所获取的位置信息不准确、时效性较低;同时,地图应用中的信息库所提供的信息局限于地理位置共享,用户无法获取深层次的信息例如某餐厅的排队信息等,造成信息共享的自适应性不高。In the current geographic information services, for example, users can obtain location information such as business districts, restaurants, hospitals, roads, etc. through map applications, but the information database that the map application relies on may not be updated in real time, resulting in inaccurate location information. Accuracy and timeliness are low; at the same time, the information provided by the information database in the map application is limited to geographical location sharing, and users cannot obtain in-depth information such as the queuing information of a restaurant, resulting in low adaptability of information sharing.
本申请提供的信息共享方法、装置、电子设备及计算机可读存储介质,旨在解决现有技术的如上技术问题。The information sharing method, device, electronic device, and computer-readable storage medium provided by the present application aim to solve the above technical problems in the prior art.
本申请实施例提供了一种信息共享方法,该方法可以由终端或服务器实现。本申请实施例涉及的终端或服务器,通过获取第一客户端发送的信息需求,解析得到信息需求对应的目标位置信息;同时,获取第二客户端的实时位置信息,将实时位置信息与目标位置信息进行匹配,当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端,进而接收第二客户端发送的共享信息,并将共享信息发送到第一客户端;本申请实施例基于目标位置信息与实时位置信息的匹配情况,将第二客户端的共享信息发送到第一客户端,实现了基于实时定位的信息共享,提升了用户体验。The embodiment of the present application provides an information sharing method, and the method can be implemented by a terminal or a server. The terminal or server involved in the embodiment of the present application obtains the target location information corresponding to the information requirement by acquiring the information requirement sent by the first client; meanwhile, acquires the real-time location information of the second client, and compares the real-time location information with the target location information. Matching is performed, when the real-time location information matches the target location information, the information requirement is sent to the second client, and then the shared information sent by the second client is received, and the shared information is sent to the first client; the embodiment of the present application Based on the matching of the target location information and the real-time location information, the shared information of the second client is sent to the first client, thereby realizing information sharing based on real-time positioning and improving user experience.
下面通过对几个示例性实施方式的描述,对本申请实施例的技术方案以及本申请的技术方案产生的技术效果进行说明。需要指出的是,下述实施方式之间可以相互参考、借鉴或结合,对于不同实施方式中相同的术语、相似的特征以及相似的实施步骤等,不再重复描述。The technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application will be described below by describing several exemplary embodiments. It should be noted that the following embodiments may refer to, learn from, or combine with each other, and the same terms, similar features, and similar implementation steps in different embodiments will not be described repeatedly.
如图1所示,本申请的信息共享方法,可以应用于图1所示的场景中,具体的,服务器101可以从第一客户端102获取待处理的信息需求,并对信息需求进行解析,得到信息需求对应的目标位置信息;同时,服务器101还可以获取第二客户端103的实时位置信息,当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端103,进而接收第二客户端103发送的共享信息,并将共享信息发送到第一客户端102。As shown in FIG. 1 , the information sharing method of the present application can be applied to the scenario shown in FIG. 1 . Specifically, the
图1所示的场景中,上述信息共享方法可以在服务器中进行,在其他的场景中,也可以在终端中进行。In the scenario shown in FIG. 1 , the above-mentioned information sharing method may be performed in a server, and in other scenarios, it may also be performed in a terminal.
本技术领域技术人员可以理解,这里所使用的“终端”可以是手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、MID(Mobile Internet Device,移动互联网设备)等;“服务器”可以用独立的服务器或者是多个服务器组成的服务器集群来实现。Those skilled in the art can understand that the "terminal" used here can be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), MID (Mobile Internet Device, mobile Internet device), etc.; It can be implemented by an independent server or a server cluster composed of multiple servers.
本申请实施例中提供了一种信息共享方法,如图2所示,可以应用于信息共享的服务器或终端,该方法包括:The embodiment of the present application provides an information sharing method, as shown in FIG. 2 , which can be applied to a server or terminal for information sharing, and the method includes:
S201,获取第一客户端发送的信息需求。S201, acquiring information requirements sent by a first client.
其中,第一客户端可以是需求发起终端。信息需求可以是包含地址信息的问句。Wherein, the first client may be a demand initiating terminal. The information requirement can be a question containing address information.
具体的,用于进行信息共享的终端或服务器,可以基于有线或无线局域网与第一客户端建立网络连接,并基于该网络连接获取第一客户端发送的需求信息。Specifically, the terminal or server used for information sharing may establish a network connection with the first client based on a wired or wireless local area network, and obtain demand information sent by the first client based on the network connection.
其中,上述有线局域网可以是基于IEEE 802.3(一种局域网通信标准)协议的以太网,无线局域网可以是基于IEEE 802.11(一种无线网络通信的标准)协议的Wi-Fi(一种无线通信技术)。Wherein, the wired local area network may be Ethernet based on IEEE 802.3 (a local area network communication standard) protocol, and the wireless local area network may be Wi-Fi (a wireless communication technology) based on IEEE 802.11 (a wireless network communication standard) protocol .
在本申请实施例中,以店铺信息共享为例进行说明,用于进行信息共享的终端或服务器,可以基于无线局域网获取第一客户端发送的信息需求:“我想知道这家肥肠店是否开门了,位置信息:保定市第一街道A号肥猫肥肠店”。In the embodiment of the present application, taking store information sharing as an example, the terminal or server used for information sharing can obtain the information request sent by the first client based on the wireless local area network: "I want to know whether this fat intestine store is open. Now, location information: Fat Cat Fat Sausage Store, No. A, First Street, Baoding City".
S202,对信息需求进行解析,得到信息需求对应的目标位置信息。S202: Analyze the information requirement to obtain target location information corresponding to the information requirement.
具体的,用于进行信息共享的终端或服务器,可以提取信息需求中的地址字段,并基于地址地段解析生成对应的目标位置信息。Specifically, the terminal or server used for information sharing can extract the address field in the information requirement, and generate corresponding target location information based on the address field analysis.
在本申请实施例中,以店铺信息共享为例进行说明,用于进行信息共享的终端或服务器,可以基于无线局域网获取第一客户端发送的信息需求:“我想知道这家肥肠店是否开门了,位置信息:保定市第一街道A号肥猫肥肠店”。接着,可以从上述信息需求中提取地址地段“保定市第一街道A号肥猫肥肠店”,进而根据该地址字段解析生成对应的目标位置信息,其中,该目标位置信息包括对应目标位置的坐标,以便能对目标位置进行定位。In the embodiment of the present application, taking store information sharing as an example, the terminal or server used for information sharing can obtain the information request sent by the first client based on the wireless local area network: "I want to know whether this fat intestine store is open. Now, location information: Fat Cat Fat Sausage Store, No. A, First Street, Baoding City". Then, the address section "Fat Cat Fat Intestine Store, No. A, First Street, Baoding City" can be extracted from the above-mentioned information requirements, and then the corresponding target position information is generated according to the analysis of the address field, wherein the target position information includes the coordinates of the corresponding target position. , in order to be able to locate the target location.
S203,获取第二客户端的实时位置信息。S203: Acquire real-time location information of the second client.
其中,第二客户端可以是信息共享终端,第二客户端可以是从至少两个候选客户端中选取的。The second client may be an information sharing terminal, and the second client may be selected from at least two candidate clients.
具体的,用于进行信息共享的终端或服务器,可以基于有线或无线局域网与第二客户端建立网络连接,并获取第二客户端的实时位置信息。Specifically, the terminal or server used for information sharing may establish a network connection with the second client based on a wired or wireless local area network, and obtain real-time location information of the second client.
在一些实施方式中,实时位置信息可以是第二客户端基于预设时间间隔发送给用于进行信息共享的终端或服务器的。In some embodiments, the real-time location information may be sent by the second client terminal to the terminal or server for information sharing based on a preset time interval.
在另一些实施方式中,用于进行信息共享的终端或服务器可以向第二客户端发送定位请求,实时位置信息还可以是第二客户端响应于该定位请求发送给用于进行信息共享的终端或服务器的。In other embodiments, the terminal or server for information sharing may send a positioning request to the second client, and the real-time location information may also be sent by the second client to the terminal for information sharing in response to the positioning request or server's.
S204,当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端。S204, when the real-time location information matches the target location information, send the information request to the second client.
其中,实时位置信息与目标位置信息相匹配,可以是指实时位置信息与目标位置信息相同,也可以是实时位置信息与目标位置信息之间的距离小于一个预设的阈值。The matching of the real-time position information with the target position information may mean that the real-time position information is the same as the target position information, or the distance between the real-time position information and the target position information is less than a preset threshold.
具体的,用于进行信息共享的终端或服务器可以基于实时位置信息与目标位置信息的坐标信息,判断实时位置信息与目标位置信息的匹配状态,当实时位置信息与目标位置信息相匹配,用于进行信息共享的终端或服务器将上述信息需求发送到第二客户端。Specifically, the terminal or server used for information sharing can judge the matching state of the real-time location information and the target location information based on the coordinate information of the real-time location information and the target location information. When the real-time location information matches the target location information, it is used for The terminal or server performing the information sharing sends the above-mentioned information request to the second client.
在本申请实施例中,以店铺信息共享为例进行说明,用于进行信息共享的终端或服务器,可以基于无线局域网获取第一客户端发送的信息需求:“我想知道这家肥肠店是否开门了,位置信息:保定市第一街道A号肥猫肥肠店”。接着,可以从上述信息需求中提取地址地段“保定市第一街道A号肥猫肥肠店”,进而根据该地址字段解析生成对应的目标位置信息,其中,该目标位置信息包括对应目标位置的坐标,以便能对目标位置进行定位。同时,用于进行信息共享的终端或服务器可以在确定该信息需求之后,获取各个候选客户端的实时位置信息,基于目标位置信息与各实时位置信息的匹配状态,例如可以从多个候选客户端中,选取距离目标位置最近的实时位置所对应的候选客户端作为第二客户端,并将信息需求发送到上述第二客户端。In the embodiment of the present application, taking store information sharing as an example, the terminal or server used for information sharing can obtain the information request sent by the first client based on the wireless local area network: "I want to know whether this fat intestine store is open. Now, location information: Fat Cat Fat Sausage Store, No. A, First Street, Baoding City". Then, the address section "Fat Cat Fat Intestine Store, No. A, First Street, Baoding City" can be extracted from the above-mentioned information requirements, and then the corresponding target position information is generated according to the analysis of the address field, wherein the target position information includes the coordinates of the corresponding target position. , in order to be able to locate the target location. At the same time, the terminal or server used for information sharing can obtain the real-time location information of each candidate client after determining the information requirement, and based on the matching state of the target location information and each real-time location information, for example, it can be obtained from multiple candidate clients. , select the candidate client terminal corresponding to the real-time position closest to the target position as the second client terminal, and send the information request to the above-mentioned second client terminal.
S205,接收第二客户端发送的共享信息,并将共享信息发送到第一客户端。S205: Receive the shared information sent by the second client, and send the shared information to the first client.
其中,共享信息可以为针对上述信息需求的应答信息,该共享信息可以包括图片、视频、文字中的至少一项;第二客户端的数量可以为至少一个。Wherein, the shared information may be response information for the above-mentioned information requirements, and the shared information may include at least one of pictures, videos, and text; the number of second clients may be at least one.
具体的,用于进行信息共享的终端或服务器可以在接收各第二客户端发送的共享信息之后,对上述共享信息进行有效性校验,将校验通过的共享信息传递到第一客户端。Specifically, the terminal or server for information sharing may, after receiving the shared information sent by each second client, perform validity verification on the above-mentioned shared information, and transmit the verified shared information to the first client.
在本申请实施例中,以店铺信息共享为例进行说明,用于进行信息共享的终端或服务器,可以基于无线局域网获取第一客户端发送的信息需求:“我想知道这家肥肠店是否开门了,位置信息:保定市第一街道A号肥猫肥肠店”。接着,可以从上述信息需求中提取地址地段“保定市第一街道A号肥猫肥肠店”,进而根据该地址字段解析生成对应的目标位置信息,其中,该目标位置信息包括对应目标位置的坐标,以便能对目标位置进行定位。同时,用于进行信息共享的终端或服务器可以在确定该信息需求之后,获取各个候选客户端的实时位置信息,基于目标位置信息与各实时位置信息的匹配状态,例如可以从多个候选客户端中,选取距离目标位置最近的实时位置所对应的候选客户端作为第二客户端,并将信息需求发送到上述第二客户端,以便第二客户端根据用户针对信息需求的应答生成共享信息,该共享信息可以包括文字“肥肠店开门了”和肥肠店门口的实时照片。用于进行信息共享的终端或服务器,可以在接收到共享信息之后将其转发到第一客户端,以将店铺信息共享至第一客户端的需求发起用户。In the embodiment of the present application, taking store information sharing as an example, the terminal or server used for information sharing can obtain the information request sent by the first client based on the wireless local area network: "I want to know whether this fat intestine store is open. Now, location information: Fat Cat Fat Sausage Store, No. A, First Street, Baoding City". Then, the address section "Fat Cat Fat Intestine Store, No. A, First Street, Baoding City" can be extracted from the above-mentioned information requirements, and then the corresponding target position information is generated according to the analysis of the address field, wherein the target position information includes the coordinates of the corresponding target position. , in order to be able to locate the target location. At the same time, the terminal or server used for information sharing can obtain the real-time location information of each candidate client after determining the information requirement, and based on the matching state of the target location information and each real-time location information, for example, it can be obtained from multiple candidate clients. , select the candidate client terminal corresponding to the real-time position closest to the target position as the second client terminal, and send the information request to the above-mentioned second client terminal, so that the second client terminal generates the shared information according to the user's response to the information request. The shared information can include the text "The Fat Intestine Store is open" and a real-time photo of the door of the Fat Intestine Store. The terminal or server used for information sharing can forward the shared information to the first client after receiving it, so as to share the store information to the user who initiates the demand of the first client.
本申请实施例通过对第一客户端发送的需求信息进行解析,得到对应的目标位置信息,同时获取第二客户端的实时位置信息,当目标位置信息与实时位置信息相匹配,确定第二客户端可以接收需求信息,并将第二客户端反馈的共享信息发送给第一客户端;本申请实施例中,第一客户端可以是需求发起终端、第二客户端可以是信息共享终端,本申请将第一客户端与第二客户端的位置信息进行匹配,实现了基于实时定位的信息共享;相比现有技术中,基于地图的应用依赖现有信息库来提供共享信息,本申请中的共享信息是第二客户端根据需求信息实时生成的,该共享信息的时效性更高;同时,第二客户端的实时位置信息与第一客户端的目标位置信息相匹配,提高了共享信息的置信度和准确性,提升了用户体验。In this embodiment of the present application, the corresponding target location information is obtained by analyzing the demand information sent by the first client, and the real-time location information of the second client is obtained at the same time. When the target location information matches the real-time location information, the second client is determined. can receive the demand information, and send the shared information fed back by the second client to the first client; in this embodiment of the application, the first client may be a demand initiating terminal, and the second client may be an information sharing terminal. The location information of the first client and the second client is matched, and information sharing based on real-time positioning is realized; compared with the prior art, the map-based application relies on the existing information base to provide shared information. The information is generated by the second client in real time according to the demand information, and the shared information is more time-sensitive; at the same time, the real-time location information of the second client matches the target location information of the first client, which improves the confidence and reliability of the shared information. Accuracy and improved user experience.
本申请实施例中提供了一种可能的实现方式,如图3所示,上述步骤S202中的对信息需求进行解析,得到信息需求对应的目标位置信息,包括:A possible implementation manner is provided in this embodiment of the present application. As shown in FIG. 3 , in the above step S202, the information requirements are analyzed to obtain target location information corresponding to the information requirements, including:
(1)提取信息需求中的地址信息。(1) Extract the address information in the information requirement.
其中,信息需求中可以包括需求问句、备注信息和地址信息等字段类别。The information requirements may include field categories such as requirement questions, remarks information, and address information.
具体的,用于进行信息共享的终端或服务器可以根据上述字段类别提取地址信息。Specifically, the terminal or server used for information sharing can extract address information according to the foregoing field categories.
在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器可以从中提取地址信息为:保定市第一街道A号,肥猫肥肠店。In the embodiment of this application, taking store information sharing as an example, when the demand information is "question: I would like to know whether this fat sausage store is open; location information: No. A, First Street, Baoding City, fat cat fat sausage store ;Remarks: 5 points for a reward", the terminal or server used for information sharing can extract the address information from it: No. A, First Street, Baoding City, Fat Cat Fat Sausage Store.
(2)对地址信息进行拆分,得到至少一个地理要素。(2) Splitting the address information to obtain at least one geographic element.
其中,地理要素包括省、市、区、街道、路等用于表示具体地点行政级别的字段。Among them, geographic elements include fields such as provinces, cities, districts, streets, roads, etc., which are used to represent the administrative level of specific locations.
具体的,用于进行信息共享的终端或服务器,可以从地址信息中的第一个字符开始进行遍历,并拆分得到拆分字符,接着将拆分字符与预设的地点字典进行匹配,生成至少一个地理要素。Specifically, the terminal or server used for information sharing can traverse from the first character in the address information, and split to obtain split characters, and then match the split characters with a preset location dictionary to generate At least one geographic feature.
在本申请实施例中,当地址信息为:保定市第一街道A号,肥猫肥肠店,分别以各个字符节点遍历进行拆分所得到的拆分字符则包括:“保”、“保定”、“保定市”、“保定市第”、“保定市第一”、“保定市第一街”、“保定市第一街道”、“保定市第一街道A”以及“保定市第一街道A号”等,然后该拆分字符与预设的地点字典进行匹配,确定地理要素包括:“河北省”、“保定市、“第一街道”、“A号”、“肥猫肥肠店”。In the embodiment of the present application, when the address information is: No. A, First Street, Baoding City, Fat Cat Fat Intestine Store, the split characters obtained by traversing and splitting each character node respectively include: "bao", "baoding" , "Baoding City", "Baoding City No. 1", "Baoding City First", "Baoding City First Street", "Baoding City First Street", "Baoding City First Street A" and "Baoding City First Street" No. A", etc., and then the split character is matched with the preset location dictionary, and the geographical elements are determined to include: "Hebei Province", "Baoding City, "First Street", "No. A", "Fat Cat Fat Intestine Store" .
(3)基于地理要素确定目标位置信息。(3) Determine target location information based on geographic elements.
具体的,用于进行信息共享的终端或服务器,可以基于地理要素进行地点定位,得到目标位置信息。其中,该目标位置信息包括目标位置在地图中的坐标信息。Specifically, the terminal or server used for information sharing can perform location positioning based on geographic elements to obtain target location information. Wherein, the target position information includes coordinate information of the target position in the map.
本申请实施例中提供了一种可能的实现方式,如图4所示,上述步骤S204中的当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端,包括:A possible implementation manner is provided in the embodiment of the present application. As shown in FIG. 4 , when the real-time location information in the above step S204 matches the target location information, the information request is sent to the second client, including:
(1)分别基于实时位置信息与目标位置信息的坐标信息,计算第一客户端与第二客户端的相对距离。(1) Calculate the relative distance between the first client and the second client based on the real-time location information and the coordinate information of the target location information, respectively.
具体的,用于进行信息共享的终端或服务器,可以基于预设地图尺度获取实时位置信息的实时坐标与目标位置信息的目标坐标,然后根据实时坐标和目标坐标,计算第一客户端与第二客户端之间在预设地图中的相对距离。Specifically, the terminal or server used for information sharing can obtain the real-time coordinates of the real-time location information and the target coordinates of the target location information based on the preset map scale, and then calculate the first client and the second client according to the real-time coordinates and the target coordinates. The relative distance between clients in the preset map.
(2)当相对距离小于预设的第一距离阈值,且实时位置信息所对应的坐标点处于移动状态,则将信息需求发送到第二客户端。(2) When the relative distance is less than the preset first distance threshold and the coordinate point corresponding to the real-time location information is in a moving state, the information request is sent to the second client.
在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,可以基于需求信息确定第一客户端的目标位置信息,并获取第二客户端的实时位置信息,然后计算第一客户端与第二客户端的相对距离,当相对距离小于第一距离阈值如2km,且实时位置信息对应的坐标点处于移动状态,说明第二客户端的应答用户所处位置与该肥肠店的距离较近且在其附近小范围移动,该应答用户具备信息共享条件,则用于进行信息共享的终端或服务器将信息需求发送到第二客户端。In the embodiment of the present application, in the embodiment of the present application, the sharing of store information is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat sausage shop is open; location information: the first street of Baoding City No. A, Fat Cat Fat Intestine Store; Remarks: 5 points for the reply", the terminal or server used for information sharing can determine the target location information of the first client based on the demand information, and obtain the real-time location information of the second client, and then Calculate the relative distance between the first client and the second client, when the relative distance is less than the first distance threshold such as 2km, and the coordinate point corresponding to the real-time location information is in a moving state, it is explained that the second client's answering user is located at the location of the fat intestine shop The distance is relatively short and the user moves in a small range near it, and the responding user has the information sharing conditions, then the terminal or server used for information sharing sends the information request to the second client.
本申请实施例基于第一客户端的目标位置信息和第二客户端的实时位置信息,确定第二客户端是否具备应答条件;一方面,第一客户端和第二客户端的相对距离需要在预设范围内,另一方面,实时位置信息对应的坐标点处于移动状态,则表明第二客户端的应答用户并非处于学习或会议等静止不动的状态,本申请从相对距离和实时位置信息的坐标点的状态两个维度综合考虑,使得第二客户端能够准确、高效的进行后续的信息共享,提升了用户体验。This embodiment of the present application determines whether the second client has response conditions based on the target location information of the first client and the real-time location information of the second client; on the one hand, the relative distance between the first client and the second client needs to be within a preset range On the other hand, if the coordinate point corresponding to the real-time location information is in a moving state, it means that the responding user of the second client is not in a stationary state such as studying or a meeting. The comprehensive consideration of the two dimensions of status enables the second client to accurately and efficiently perform subsequent information sharing, which improves user experience.
本申请实施例中提供了一种可能的实现方式,上述步骤S205中的将共享信息发送到第一客户端,包括:A possible implementation manner is provided in the embodiment of the present application. The sending of the shared information to the first client in the foregoing step S205 includes:
(1)获取共享信息对应的有效性校验图像。(1) Obtain the validity verification image corresponding to the shared information.
其中,有效性校验图像可以是第二客户端基于图像采集设备实时获取的。Wherein, the validity verification image may be acquired by the second client in real time based on the image acquisition device.
在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,在向第二客户端发送需求信息且收到第二客户端反馈的共享信息,该共享信息可以包括第二客户端的应答用户所拍摄的该店铺的实时照片。In the embodiment of the present application, in the embodiment of the present application, the sharing of store information is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat sausage shop is open; location information: the first street of Baoding City No. A, Fat Cat Fat Intestine Store; Remarks: 5 points for a reward", the terminal or server used for information sharing, when sending demand information to the second client and receiving the shared information fed back by the second client, the shared information A real-time photo of the store taken by the responding user of the second client terminal may be included.
(2)对有效性验证图像进行文字识别,提取有效性验证图像中的目标文字。(2) Perform text recognition on the validity verification image, and extract the target text in the validity verification image.
具体的,用于进行信息共享的终端或服务器,可以采用OCR(Optical CharacterRecognition,光学字符识别)识别提取有效性验证图像中的目标文字。Specifically, the terminal or server used for information sharing can use OCR (Optical Character Recognition, Optical Character Recognition) to recognize and extract the target text in the validity verification image.
其中,上述有效性验证图像中的文字区域,可以包括拍摄时间和地点的水印,还可以包括所拍摄的文字区域。Wherein, the text area in the above-mentioned validity verification image may include a watermark of the shooting time and location, and may also include the captured text area.
OCR是指电子设备(例如扫描仪或数码相机)检查纸上打印的字符,通过检测暗、亮的模式确定其形状,然后用字符识别方法将形状翻译成计算机文字的过程;即,针对印刷体字符,采用光学的方式将纸质文档中的文字转换成为黑白点阵的图像文件,并通过识别软件将图像中的文字转换成文本格式,供文字处理软件进一步编辑加工的技术。具体的OCR识别过程如下文的说明。OCR refers to the process by which electronic equipment (such as a scanner or digital camera) examines characters printed on paper, determines its shape by detecting patterns of dark and light, and then uses character recognition methods to translate the shape into computer text; that is, for print Characters, using optical methods to convert the text in the paper document into a black and white dot matrix image file, and convert the text in the image into a text format through recognition software for further editing and processing by word processing software. The specific OCR identification process is described below.
本申请实施例中提供了一种可能的实现方式,上述提取有效性验证图像中的目标文字,包括:A possible implementation manner is provided in the embodiment of the present application. The above-mentioned extraction of the target text in the validity verification image includes:
a、确定有效性验证图像的文本区域。a. Determine the text area of the validity verification image.
其中,文本区域可以是矩形的也可以是其他的特定形状。The text area may be rectangular or other specific shapes.
具体的,用于进行信息共享的终端或服务器,可以对有效性验证图像进行包括灰度化、二值化、降噪、倾斜矫正、文字切分等步骤的图像预处理,得到文本区域。具体过程如下:Specifically, the terminal or server used for information sharing can perform image preprocessing including grayscale, binarization, noise reduction, skew correction, text segmentation and other steps on the validity verification image to obtain a text area. The specific process is as follows:
首先,将彩色的有效性验证图像经过灰度化后变为灰度图像;然后采用二值化处理去除灰度图像中的灰色,得到只有纯黑和纯白的黑白图像;接着对黑白图像进行降噪处理,去除图像中的噪声,并采用霍夫变换对降噪后的黑白图像进行倾斜校正,使得图像中的文本内容处于水平位置;最后对图像中的文本进行行切分和字符切分,以确定每行文本的位置,得到视频帧图像对应的文本区域。First, the color validity verification image is converted into a grayscale image after grayscale; then the gray in the grayscale image is removed by binarization, and a black and white image with only pure black and pure white is obtained; Noise reduction processing, remove the noise in the image, and use the Hough transform to correct the inclination of the black and white image after noise reduction, so that the text content in the image is in a horizontal position; finally, the text in the image is divided into lines and characters. , to determine the position of each line of text, and get the text area corresponding to the video frame image.
b、提取文本区域的特征向量。b. Extract the feature vector of the text area.
具体的,用于进行信息共享的终端或服务器,可以基于特征提取器提取文本区域的特征向量。Specifically, the terminal or server used for information sharing can extract the feature vector of the text area based on the feature extractor.
c、对特征向量进行文本分类,得到文本区域所对应的目标文字。c. Perform text classification on the feature vector to obtain the target text corresponding to the text area.
具体的,用于进行信息共享的终端或服务器,可以先对特征向量进行降维,然后采用预训练的文本分类器对降维之后的特征向量进行文本分类,生成目标文字。Specifically, the terminal or server used for information sharing may first reduce the dimension of the feature vector, and then use a pre-trained text classifier to perform text classification on the dimension-reduced feature vector to generate the target text.
其中,以目标文字是汉字为例,因为汉字拥有大字符集、数量较大,且汉字结构复杂,特征维度多,故得到的特征向量的维度偏高,如果特征向量的维度太高会影响文本分类器的效率,故对特征向量进行降维后还需要保留足够的信息量以区分不同的文字,从而达到有效提高文本分类器的识别效率的目的。Among them, take the target text as Chinese characters as an example, because Chinese characters have a large character set, a large number, complex structure of Chinese characters, and many feature dimensions, so the dimension of the obtained feature vector is high. If the dimension of the feature vector is too high, it will affect the text. Therefore, after dimensionality reduction of the feature vector, it is necessary to retain enough information to distinguish different characters, so as to effectively improve the recognition efficiency of the text classifier.
在本申请实施例中,上述有效性验证图像中目标文字,可以包括拍摄时间和地点的水印文字,还可以包括照片中所拍摄的文字。In the embodiment of the present application, the target text in the above-mentioned validity verification image may include watermark text of the shooting time and location, and may also include text captured in the photo.
在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,在向第二客户端发送需求信息且收到第二客户端反馈的共享信息,该共享信息可以包括第二客户端的应答用户所拍摄的该店铺的实时照片。该实时照片中的目标文字,包括应答用户拍摄时间和地点的水印文字,还可以包括照片中所拍摄的店铺招牌上的文字。In the embodiment of the present application, in the embodiment of the present application, the sharing of store information is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat sausage shop is open; location information: the first street of Baoding City No. A, Fat Cat Fat Intestine Store; Remarks: 5 points for a reward", the terminal or server used for information sharing, when sending demand information to the second client and receiving the shared information fed back by the second client, the shared information A real-time photo of the store taken by the responding user of the second client terminal may be included. The target text in the real-time photo includes the watermark text responding to the time and location of the user's shooting, and may also include the text on the store sign captured in the photo.
(3)当目标文字符合预设验证条件,将共享信息发送到第一客户端。(3) When the target text meets the preset verification conditions, the shared information is sent to the first client.
本申请实施例中提供了一种可能的实现方式,上述预设验证条件包括如下至少一项:A possible implementation manner is provided in the embodiment of the present application, and the foregoing preset verification conditions include at least one of the following:
目标文字所对应的拍摄时间在第一客户端发送信息需求的时间点之后;The shooting time corresponding to the target text is after the time when the first client sends the information request;
目标文字对应的地点与目标位置信息相匹配。The location corresponding to the target text matches the target location information.
在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,在向第二客户端发送需求信息且收到第二客户端反馈的共享信息,该共享信息可以包括第二客户端的应答用户所拍摄的该店铺的实时照片。该实时照片中的目标文字,包括应答用户拍摄时间和地点的水印文字为“2020年1月1日,13:30,河北省保定市第一街道A号”,还可以包括照片中所拍摄的店铺招牌上的文字“肥猫肥肠店”。当第一客户端发送信息需求的时间为“2020年1月1日,13:02”,且目标文字与需求信息中都包括“肥猫肥肠店”,可以认为目标文字符合预设验证条件。In the embodiment of the present application, in the embodiment of the present application, the sharing of store information is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat sausage shop is open; location information: the first street of Baoding City No. A, Fat Cat Fat Intestine Store; Remarks: 5 points for a reward", the terminal or server used for information sharing, when sending demand information to the second client and receiving the shared information fed back by the second client, the shared information A real-time photo of the store taken by the responding user of the second client terminal may be included. The target text in the real-time photo, including the watermark text responding to the time and location of the user's shooting, is "January 1, 2020, 13:30, No. A, First Street, Baoding City, Hebei Province", and can also include the pictures taken in the photo. The words "Fat Cat Fat Sausage Shop" on the shop sign. When the time when the first client sends the information request is "January 1, 2020, 13:02", and both the target text and the request information include "Fat Cat Fat Intestine Store", it can be considered that the target text meets the preset verification conditions.
本申请实施例在发送共享信息给第一客户端之前,可以基于有效性验证图像对共享信息进行进一步的验证,提高了共享信息的置信度,提高了共享信息与信息需求的匹配度,可以提升信息需求用户的满意度。Before sending the shared information to the first client in the embodiment of the present application, the shared information can be further verified based on the validity verification image, which improves the confidence of the shared information, improves the matching degree between the shared information and the information requirements, and can improve the Satisfaction of users with information needs.
本申请实施例中提供了一种可能的实现方式,上述方法还包括:A possible implementation is provided in the embodiment of the present application, and the above method further includes:
(1)接收第一客户端针对共享信息的反馈信息。(1) Receive feedback information from the first client regarding the shared information.
其中,反馈信息可以表征信息需求方对共享信息的满意度。Among them, the feedback information can represent the satisfaction of the information demander with the shared information.
(2)基于反馈信息确定是否进行资源转移操作。(2) Determine whether to perform a resource transfer operation based on the feedback information.
其中,反馈信息可以是对共享信息的满意度评分,当满意度评分大于预设分数阈值,用于进行信息共享的终端和服务器才会进行资源转移操作。The feedback information may be a satisfaction score for the shared information. When the satisfaction score is greater than a preset score threshold, the terminal and server used for information sharing will perform the resource transfer operation.
具体的,所转移的资源,可以是第一客户端在信息共享平台的积分,也可以是第一客户端的账户资产。Specifically, the transferred resources may be the points of the first client on the information sharing platform, or may be the account assets of the first client.
(3)当需要进行资源转移操作,将信息需求对应的预设资源从第一客户端转移到第二客户端。(3) When a resource transfer operation is required, the preset resource corresponding to the information requirement is transferred from the first client to the second client.
具体的,用于进行信息共享的终端和服务器可以接收第一客户端发送的预设资源,并将该预设资源发送给第二客户端。Specifically, the terminal and the server for information sharing may receive the preset resource sent by the first client, and send the preset resource to the second client.
在本申请实施例中,在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,在向第二客户端发送需求信息且收到第二客户端反馈的共享信息“该店开门了”。第一客户端的需求用户可以依据该共享信息前往该店铺,方便了需求用户的出行。在需求用户去往该店铺之后,可以对共享信息进行评分为5分满分,用于进行信息共享的终端或服务器可以基于该评分确定进行资源转移操作,接收第一客户端发送的5积分,并将该5积分发送给第二客户端,以完成第一客户端对第二客户端的悬赏,提高第二客户端的应答用户的积极性。In the embodiment of this application, in the embodiment of this application, the store information sharing is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat intestine store is open; location Information: No. A, No. 1 Street, Baoding City, Fat Cat Fat Intestine Store; Remarks: 5 points for a reward", the terminal or server used for information sharing, when sending demand information to the second client and receiving feedback from the second client 's shared message "The store is open". The demand user of the first client can go to the store according to the shared information, which facilitates the travel of the demand user. After the demand user goes to the store, the shared information can be scored as 5 out of 5 points, and the terminal or server used for information sharing can determine the resource transfer operation based on the score, receive the 5 points sent by the first client, and The 5 points are sent to the second client, so as to complete the reward offered by the first client to the second client, and improve the enthusiasm of the second client to respond to the user.
本申请实施例基于第一客户端的反馈信息对共享信息进行再一次的校验,再基于资源转移操作对第二客户端进行奖励,能够保障第一客户端所拥有资源的安全性,提升了用户体验。This embodiment of the present application verifies the shared information again based on the feedback information of the first client, and then rewards the second client based on the resource transfer operation, which can ensure the security of the resources owned by the first client and improve the user experience. experience.
为了更好的理解上述信息共享方法,下面结合图5详细阐述一个本申请的信息共享方法的示例,该方法包括如下步骤:In order to better understand the above-mentioned information sharing method, an example of the information sharing method of the present application is described in detail below with reference to FIG. 5 , and the method includes the following steps:
S501,获取第一客户端发送的信息需求,提取信息需求中的地址信息。S501: Acquire the information request sent by the first client, and extract the address information in the information request.
其中,第一客户端可以是需求发起终端。信息需求可以是包含地址信息的问句。Wherein, the first client may be a demand initiating terminal. The information requirement can be a question containing address information.
具体的,用于进行信息共享的终端或服务器,可以基于有线或无线局域网与第一客户端建立网络连接,并基于该网络连接获取第一客户端发送的需求信息。其中,上述有线局域网可以是基于IEEE 802.3协议的以太网,无线局域网可以是基于IEEE 802.11协议的Wi-Fi。Specifically, the terminal or server used for information sharing may establish a network connection with the first client based on a wired or wireless local area network, and obtain demand information sent by the first client based on the network connection. The wired local area network may be Ethernet based on the IEEE 802.3 protocol, and the wireless local area network may be Wi-Fi based on the IEEE 802.11 protocol.
同时,信息需求中可以包括需求问句、备注信息和地址信息等字段类别。用于进行信息共享的终端或服务器可以根据上述字段类别提取地址信息。At the same time, the information requirements may include field categories such as requirement questions, remarks information, and address information. The terminal or server for information sharing can extract address information according to the above field categories.
S502,对地址信息进行拆分,得到至少一个地理要素,基于地理要素确定目标位置信息。S502: Split the address information to obtain at least one geographic element, and determine target location information based on the geographic element.
其中,地理要素包括省、市、区、街道、路等用于表示具体地点行政级别的字段。Among them, geographic elements include fields such as provinces, cities, districts, streets, roads, etc., which are used to represent the administrative level of specific locations.
具体的,用于进行信息共享的终端或服务器,可以从地址信息中的第一个字符开始进行遍历,并拆分得到拆分字符,接着将拆分字符与预设的地点字典进行匹配,生成至少一个地理要素。Specifically, the terminal or server used for information sharing can traverse from the first character in the address information, and split to obtain split characters, and then match the split characters with a preset location dictionary to generate At least one geographic feature.
同时,用于进行信息共享的终端或服务器,可以基于地理要素进行地点定位,得到目标位置信息。其中,该目标位置信息包括目标位置在地图中的坐标信息。At the same time, the terminal or server used for information sharing can perform location positioning based on geographic elements to obtain target location information. Wherein, the target position information includes coordinate information of the target position in the map.
S503,获取第二客户端的实时位置信息,分别基于实时位置信息与目标位置信息的坐标信息,计算第一客户端与第二客户端的相对距离。S503: Acquire real-time location information of the second client, and calculate the relative distance between the first client and the second client based on the real-time location information and the coordinate information of the target location information, respectively.
其中,第二客户端可以是信息共享终端,第二客户端可以是从至少两个候选客户端中选取的。The second client may be an information sharing terminal, and the second client may be selected from at least two candidate clients.
具体的,用于进行信息共享的终端或服务器,可以基于预设地图尺度获取实时位置信息的实时坐标与目标位置信息的目标坐标,然后根据实时坐标和目标坐标,计算第一客户端与第二客户端之间在预设地图中的相对距离。Specifically, the terminal or server used for information sharing can obtain the real-time coordinates of the real-time location information and the target coordinates of the target location information based on the preset map scale, and then calculate the first client and the second client according to the real-time coordinates and the target coordinates. The relative distance between clients in the preset map.
S504,当相对距离小于预设的第一距离阈值,且实时位置信息所对应的坐标点处于移动状态,则将信息需求发送到第二客户端。S504, when the relative distance is less than the preset first distance threshold and the coordinate point corresponding to the real-time location information is in a moving state, send the information request to the second client.
在本申请实施例中,在本申请实施例中,以店铺信息共享为例进行说明,当需求信息为“问句:我想知道这家肥肠店是否开门了;位置信息:保定市第一街道A号,肥猫肥肠店;备注:答复悬赏5积分”,用于进行信息共享的终端或服务器,可以基于需求信息确定第一客户端的目标位置信息,并获取第二客户端的实时位置信息,然后计算第一客户端与第二客户端的相对距离,当相对距离小于第一距离阈值如2km,且实时位置信息对应的坐标点处于移动状态,说明第二客户端的应答用户所处位置与该肥肠店的距离较近且在其附近小范围移动,该应答用户具备信息共享条件,则用于进行信息共享的终端或服务器将信息需求发送到第二客户端。In the embodiment of the present application, in the embodiment of the present application, the sharing of store information is taken as an example to illustrate, when the demand information is "question: I want to know whether this fat sausage shop is open; location information: the first street of Baoding City No. A, Fat Cat Fat Intestine Store; Remarks: 5 points for the reply", the terminal or server used for information sharing can determine the target location information of the first client based on the demand information, and obtain the real-time location information of the second client, and then Calculate the relative distance between the first client and the second client, when the relative distance is less than the first distance threshold such as 2km, and the coordinate point corresponding to the real-time location information is in a moving state, it is explained that the second client's answering user is located at the location of the fat intestine shop The distance is relatively short and the user moves in a small range near it, and the responding user has the information sharing conditions, then the terminal or server used for information sharing sends the information request to the second client.
S505,接收第二客户端发送的共享信息,获取共享信息对应的有效性校验图像。S505: Receive the shared information sent by the second client, and acquire a validity verification image corresponding to the shared information.
其中,有效性校验图像可以是第二客户端基于图像采集设备实时获取的。Wherein, the validity verification image may be acquired by the second client in real time based on the image acquisition device.
S506,对有效性验证图像进行文字识别,提取有效性验证图像中的目标文字;当目标文字符合预设验证条件,将共享信息发送到第一客户端。S506, performing text recognition on the validity verification image, and extracting the target text in the validity verification image; when the target text meets the preset verification conditions, send the shared information to the first client.
具体的,用于进行信息共享的终端或服务器,可以采用OCR识别提取有效性验证图像中的目标文字。Specifically, the terminal or server used for information sharing can use OCR recognition to extract the target text in the validity verification image.
其中,上述预设验证条件包括如下至少一项:Wherein, the above-mentioned preset verification conditions include at least one of the following:
目标文字所对应的拍摄时间在第一客户端发送信息需求的时间点之后;The shooting time corresponding to the target text is after the time when the first client sends the information request;
目标文字对应的地点与目标位置信息相匹配。The location corresponding to the target text matches the target location information.
S507,接收第一客户端针对共享信息的反馈信息,基于反馈信息确定是否进行资源转移操作。S507: Receive feedback information from the first client regarding the shared information, and determine whether to perform a resource transfer operation based on the feedback information.
其中,反馈信息可以是对共享信息的满意度评分,当满意度评分大于预设分数阈值,用于进行信息共享的终端和服务器才会进行资源转移操作。The feedback information may be a satisfaction score for the shared information. When the satisfaction score is greater than a preset score threshold, the terminal and server used for information sharing will perform the resource transfer operation.
具体的,所转移的资源,可以是第一客户端在信息共享平台的积分,也可以是第一客户端的账户资产。Specifically, the transferred resources may be the points of the first client on the information sharing platform, or may be the account assets of the first client.
S508,当需要进行资源转移操作,将信息需求对应的预设资源从第一客户端转移到第二客户端。S508, when a resource transfer operation needs to be performed, transfer the preset resource corresponding to the information requirement from the first client to the second client.
具体的,用于进行信息共享的终端和服务器可以接收第一客户端发送的预设资源,并将该预设资源发送给第二客户端。Specifically, the terminal and the server for information sharing may receive the preset resource sent by the first client, and send the preset resource to the second client.
本申请实施例通过对第一客户端发送的需求信息进行解析,得到对应的目标位置信息,同时获取第二客户端的实时位置信息,当目标位置信息与实时位置信息相匹配,确定第二客户端可以接收需求信息,并将第二客户端反馈的共享信息发送给第一客户端;本申请实施例中,第一客户端可以是需求发起终端、第二客户端可以是信息共享终端,本申请将第一客户端与第二客户端的位置信息进行匹配,实现了基于实时定位的信息共享;相比现有技术中,基于地图的应用依赖现有信息库来提供共享信息,本申请中的共享信息是第二客户端根据需求信息实时生成的,该共享信息的时效性更高;同时,第二客户端的实时位置信息与第一客户端的目标位置信息相匹配,提高了共享信息的置信度和准确性,提升了用户体验。In this embodiment of the present application, the corresponding target location information is obtained by analyzing the demand information sent by the first client, and the real-time location information of the second client is obtained at the same time. When the target location information matches the real-time location information, the second client is determined. can receive the demand information, and send the shared information fed back by the second client to the first client; in this embodiment of the application, the first client may be a demand initiating terminal, and the second client may be an information sharing terminal. The location information of the first client and the second client is matched, and information sharing based on real-time positioning is realized; compared with the prior art, the map-based application relies on the existing information base to provide shared information. The information is generated by the second client in real time according to the demand information, and the shared information is more time-sensitive; at the same time, the real-time location information of the second client matches the target location information of the first client, which improves the confidence and reliability of the shared information. Accuracy and improved user experience.
本申请实施例提供了一种信息共享装置,如图6所示,该信息共享装置60可以包括:第一获取模块601、解析模块602、第二获取模块603、第一发送模块604和第二发送模块605;An embodiment of the present application provides an information sharing apparatus. As shown in FIG. 6 , the
其中,第一获取模块601,用于获取第一客户端发送的信息需求;Wherein, the first obtaining
解析模块601,用于对信息需求进行解析,得到信息需求对应的目标位置信息;The
第二获取模块603,用于获取第二客户端的实时位置信息;A second obtaining
第一发送模块604,用于当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端;The
第二发送模块605,用于接收第二客户端发送的共享信息,并将共享信息发送到第一客户端。The
本申请实施例中提供了一种可能的实现方式,上述解析模块602,用于:A possible implementation manner is provided in the embodiment of the present application. The above-mentioned
提取信息需求中的地址信息;Extract address information from information requirements;
对地址信息进行拆分,得到至少一个地理要素;Split the address information to obtain at least one geographic element;
基于地理要素确定目标位置信息。Target location information is determined based on geographic features.
本申请实施例中提供了一种可能的实现方式,上述第一发送模块604,用于:A possible implementation manner is provided in the embodiment of the present application. The above-mentioned first sending
分别基于实时位置信息与目标位置信息的坐标信息,计算第一客户端与第二客户端的相对距离;Calculate the relative distance between the first client and the second client based on the coordinate information of the real-time location information and the target location information respectively;
当相对距离小于预设的第一距离阈值,且实时位置信息所对应的坐标点处于移动状态,则将信息需求发送到第二客户端。When the relative distance is less than the preset first distance threshold, and the coordinate point corresponding to the real-time location information is in a moving state, the information request is sent to the second client.
本申请实施例中提供了一种可能的实现方式,上述装置还包括反馈模块,用于:A possible implementation manner is provided in the embodiment of the present application, and the above-mentioned apparatus further includes a feedback module, which is used for:
接收第一客户端针对共享信息的反馈信息;receiving feedback information from the first client for the shared information;
基于反馈信息确定是否进行资源转移操作;Determine whether to perform a resource transfer operation based on the feedback information;
当需要进行资源转移操作,将信息需求对应的预设资源从第一客户端转移到第二客户端。When a resource transfer operation is required, the preset resource corresponding to the information requirement is transferred from the first client to the second client.
本申请实施例中提供了一种可能的实现方式,上述第二发送模块605,还用于:A possible implementation manner is provided in the embodiment of the present application. The above-mentioned
获取共享信息对应的有效性校验图像;Obtain the validity verification image corresponding to the shared information;
对有效性验证图像进行文字识别,提取有效性验证图像中的目标文字;Perform text recognition on the validity verification image, and extract the target text in the validity verification image;
当目标文字符合预设验证条件,将共享信息发送到第一客户端。When the target text meets the preset verification conditions, the shared information is sent to the first client.
本申请实施例中提供了一种可能的实现方式,上述第二发送模块605,还用于:A possible implementation manner is provided in the embodiment of the present application. The above-mentioned
确定有效性验证图像的文本区域;Determine the text area of the validity verification image;
提取文本区域的特征向量;Extract the feature vector of the text area;
对特征向量进行文本分类,得到文本区域所对应的目标文字。Perform text classification on the feature vector to obtain the target text corresponding to the text area.
本申请实施例中提供了一种可能的实现方式,上述预设验证条件包括如下至少一项:A possible implementation manner is provided in the embodiment of the present application, and the foregoing preset verification conditions include at least one of the following:
目标文字所对应的拍摄时间在第一客户端发送信息需求的时间点之后;The shooting time corresponding to the target text is after the time when the first client sends the information request;
目标文字对应的地点与目标位置信息相匹配。The location corresponding to the target text matches the target location information.
本申请实施例的装置可执行本申请实施例所提供的方法,其实现原理相类似,本申请各实施例的装置中的各模块所执行的动作是与本申请各实施例的方法中的步骤相对应的,对于装置的各模块的详细功能描述具体可以参见前文中所示的对应方法中的描述,此处不再赘述。The apparatus of the embodiments of the present application can execute the methods provided by the embodiments of the present application, and the implementation principles thereof are similar. The actions performed by each module in the apparatus of the embodiments of the present application are the same as the steps in the methods of the embodiments of the present application. Correspondingly, for the detailed functional description of each module of the apparatus, reference may be made to the description in the corresponding method shown above, and details are not repeated here.
本申请实施例通过对第一客户端发送的需求信息进行解析,得到对应的目标位置信息,同时获取第二客户端的实时位置信息,当目标位置信息与实时位置信息相匹配,确定第二客户端可以接收需求信息,并将第二客户端反馈的共享信息发送给第一客户端;本申请实施例中,第一客户端可以是需求发起终端、第二客户端可以是信息共享终端,本申请将第一客户端与第二客户端的位置信息进行匹配,实现了基于实时定位的信息共享;相比现有技术中,基于地图的应用依赖现有信息库来提供共享信息,本申请中的共享信息是第二客户端根据需求信息实时生成的,该共享信息的时效性更高;同时,第二客户端的实时位置信息与第一客户端的目标位置信息相匹配,提高了共享信息的置信度和准确性,提升了用户体验。In this embodiment of the present application, the corresponding target location information is obtained by analyzing the demand information sent by the first client, and the real-time location information of the second client is obtained at the same time. When the target location information matches the real-time location information, the second client is determined. can receive the demand information, and send the shared information fed back by the second client to the first client; in this embodiment of the application, the first client may be a demand initiating terminal, and the second client may be an information sharing terminal. The location information of the first client and the second client is matched, and information sharing based on real-time positioning is realized; compared with the prior art, the map-based application relies on the existing information base to provide shared information. The information is generated by the second client in real time according to the demand information, and the shared information is more time-sensitive; at the same time, the real-time location information of the second client matches the target location information of the first client, which improves the confidence and reliability of the shared information. Accuracy and improved user experience.
本申请实施例中提供了一种电子设备,包括存储器、处理器及存储在存储器上的计算机程序,该处理器执行上述计算机程序以实现信息共享方法的步骤,与相关技术相比可实现:本申请实施例通过对第一客户端发送的需求信息进行解析,得到对应的目标位置信息,同时获取第二客户端的实时位置信息,当目标位置信息与实时位置信息相匹配,确定第二客户端可以接收需求信息,并将第二客户端反馈的共享信息发送给第一客户端;本申请实施例中,第一客户端可以是需求发起终端、第二客户端可以是信息共享终端,本申请将第一客户端与第二客户端的位置信息进行匹配,实现了基于实时定位的信息共享;相比现有技术中,基于地图的应用依赖现有信息库来提供共享信息,本申请中的共享信息是第二客户端根据需求信息实时生成的,该共享信息的时效性更高;同时,第二客户端的实时位置信息与第一客户端的目标位置信息相匹配,提高了共享信息的置信度和准确性,提升了用户体验。The embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory. The processor executes the above computer program to realize the steps of the information sharing method. Compared with the related art, it can realize: this The application embodiment obtains the corresponding target location information by analyzing the demand information sent by the first client, and simultaneously acquires the real-time location information of the second client. When the target location information matches the real-time location information, it is determined that the second client can Receive the demand information, and send the shared information fed back by the second client to the first client; in this embodiment of the application, the first client may be a demand initiating terminal, and the second client may be an information sharing terminal. The location information of the first client and the second client is matched to realize information sharing based on real-time positioning; compared with the prior art, the map-based application relies on the existing information database to provide shared information. The shared information in this application It is generated by the second client in real time according to the demand information, and the shared information is more time-sensitive; at the same time, the real-time location information of the second client matches the target location information of the first client, which improves the confidence and accuracy of the shared information. , improving the user experience.
在一个可选实施例中提供了一种电子设备,如图7所示,图7所示的电子设备700包括:处理器701和存储器703。其中,处理器701和存储器703相连,如通过总线702相连。可选地,电子设备700还可以包括收发器704,收发器704可以用于该电子设备与其他电子设备之间的数据交互,如数据的发送和/或数据的接收等。需要说明的是,实际应用中收发器704不限于一个,该电子设备700的结构并不构成对本申请实施例的限定。In an optional embodiment, an electronic device is provided. As shown in FIG. 7 , the electronic device 700 shown in FIG. 7 includes: a
处理器701可以是CPU(Central Processing Unit,中央处理器),通用处理器,DSP(Digital Signal Processor,数据信号处理器),ASIC(Application SpecificIntegrated Circuit,专用集成电路),FPGA(Field Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器701也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The
总线702可包括一通路,在上述组件之间传送信息。总线702可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(ExtendedIndustry Standard Architecture,扩展工业标准结构)总线等。总线702可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
存储器703可以是ROM(Read Only Memory,只读存储器)或可存储静态信息和指令的其他类型的静态存储设备,RAM(Random Access Memory,随机存取存储器)或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM(Electrically ErasableProgrammable Read Only Memory,电可擦可编程只读存储器)、CD-ROM(Compact DiscRead Only Memory,只读光盘)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质、其他磁存储设备、或者能够用于携带或存储计算机程序并能够由计算机读取的任何其他介质,在此不做限定。The
存储器703用于存储执行本申请实施例的计算机程序,并由处理器701来控制执行。处理器701用于执行存储器703中存储的计算机程序,以实现前述方法实施例所示的步骤。The
其中,电子设备包括但不限于:诸如移动电话、笔记本电脑、PAD等等移动终端以及诸如数字TV、台式计算机等等固定终端。The electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, PADs, etc., and fixed terminals such as digital TVs, desktop computers, and the like.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时可实现前述方法实施例的步骤及相应内容。Embodiments of the present application provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行时实现如下情况:Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that when the computer device executes, the following conditions are realized:
获取第一客户端发送的信息需求;Obtain the information requirements sent by the first client;
对信息需求进行解析,得到信息需求对应的目标位置信息;Analyze the information requirements to obtain the target location information corresponding to the information requirements;
获取第二客户端的实时位置信息;Obtain the real-time location information of the second client;
当实时位置信息与目标位置信息相匹配,将信息需求发送到第二客户端;When the real-time location information matches the target location information, sending the information request to the second client;
接收第二客户端发送的共享信息,并将共享信息发送到第一客户端。The shared information sent by the second client is received, and the shared information is sent to the first client.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”、“1”、“2”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除图示或文字描述以外的顺序实施。The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used for Distinguish similar objects without necessarily describing a particular order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described in the text.
应该理解的是,虽然本申请实施例的流程图中通过箭头指示各个操作步骤,但是这些步骤的实施顺序并不受限于箭头所指示的顺序。除非本文中有明确的说明,否则在本申请实施例的一些实施场景中,各流程图中的实施步骤可以按照需求以其他的顺序执行。此外,各流程图中的部分或全部步骤基于实际的实施场景,可以包括多个子步骤或者多个阶段。这些子步骤或者阶段中的部分或全部可以在同一时刻被执行,这些子步骤或者阶段中的每个子步骤或者阶段也可以分别在不同的时刻被执行。在执行时刻不同的场景下,这些子步骤或者阶段的执行顺序可以根据需求灵活配置,本申请实施例对此不限制。It should be understood that, although the respective operation steps are indicated by arrows in the flowcharts of the embodiments of the present application, the execution order of these steps is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of the embodiments of the present application, the implementation steps in each flowchart may be performed in other sequences as required. In addition, some or all of the steps in each flowchart are based on actual implementation scenarios, and may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages may be executed at the same time, and each of these sub-steps or stages may also be executed at different times respectively. In scenarios with different execution times, the execution order of these sub-steps or stages can be flexibly configured according to requirements, which is not limited in this embodiment of the present application.
以上所述仅是本申请部分实施场景的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请的方案技术构思的前提下,采用基于本申请技术思想的其他类似实施手段,同样属于本申请实施例的保护范畴。The above are only optional implementations of some implementation scenarios of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the technical concept of the solution of the present application, the application based on the technical concept of the present application is adopted. Other similar implementation means also belong to the protection scope of the embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210247968.9A CN114637930A (en) | 2022-03-14 | 2022-03-14 | Information sharing method, apparatus, electronic device, and computer-readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210247968.9A CN114637930A (en) | 2022-03-14 | 2022-03-14 | Information sharing method, apparatus, electronic device, and computer-readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114637930A true CN114637930A (en) | 2022-06-17 |
Family
ID=81947282
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210247968.9A Pending CN114637930A (en) | 2022-03-14 | 2022-03-14 | Information sharing method, apparatus, electronic device, and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114637930A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115190095A (en) * | 2022-07-12 | 2022-10-14 | 邓诗琳 | A kind of information sharing method and device based on real-time positioning |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104412287A (en) * | 2012-07-17 | 2015-03-11 | 爱信艾达株式会社 | Information-sharing system, information-sharing method, and terminal device |
| CN104471605A (en) * | 2012-07-17 | 2015-03-25 | 爱信艾达株式会社 | Information-sharing system, information-sharing method, and terminal device |
| CN108153756A (en) * | 2016-12-05 | 2018-06-12 | 中兴通讯股份有限公司 | A kind of sharing method of image information, device and server |
| CN109348406A (en) * | 2018-10-23 | 2019-02-15 | 广东觅游信息科技有限公司 | Customer flow sharing method and system based on big data analysis |
| CN111147531A (en) * | 2018-11-02 | 2020-05-12 | 沈阳美行科技有限公司 | Music sharing method and device |
-
2022
- 2022-03-14 CN CN202210247968.9A patent/CN114637930A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104412287A (en) * | 2012-07-17 | 2015-03-11 | 爱信艾达株式会社 | Information-sharing system, information-sharing method, and terminal device |
| CN104471605A (en) * | 2012-07-17 | 2015-03-25 | 爱信艾达株式会社 | Information-sharing system, information-sharing method, and terminal device |
| CN108153756A (en) * | 2016-12-05 | 2018-06-12 | 中兴通讯股份有限公司 | A kind of sharing method of image information, device and server |
| CN109348406A (en) * | 2018-10-23 | 2019-02-15 | 广东觅游信息科技有限公司 | Customer flow sharing method and system based on big data analysis |
| CN111147531A (en) * | 2018-11-02 | 2020-05-12 | 沈阳美行科技有限公司 | Music sharing method and device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115190095A (en) * | 2022-07-12 | 2022-10-14 | 邓诗琳 | A kind of information sharing method and device based on real-time positioning |
| CN115190095B (en) * | 2022-07-12 | 2024-04-19 | 重庆理工大学 | A method and device for information sharing based on real-time positioning |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9020966B2 (en) | Client device for interacting with a mixed media reality recognition system | |
| KR101880004B1 (en) | Method and apparatus for identifying television channel information | |
| US8989431B1 (en) | Ad hoc paper-based networking with mixed media reality | |
| US8868555B2 (en) | Computation of a recongnizability score (quality predictor) for image retrieval | |
| US9870388B2 (en) | Analyzing usage of visual content to determine relationships indicating unsuccessful attempts to retrieve the visual content | |
| US8510283B2 (en) | Automatic adaption of an image recognition system to image capture devices | |
| US8825682B2 (en) | Architecture for mixed media reality retrieval of locations and registration of images | |
| US8856108B2 (en) | Combining results of image retrieval processes | |
| US20090076996A1 (en) | Multi-Classifier Selection and Monitoring for MMR-based Image Recognition | |
| CN111368219A (en) | Information recommendation method and device, computer equipment and storage medium | |
| KR102002024B1 (en) | Method for processing labeling of object and object management server | |
| CN110175323A (en) | Method and device for generating message abstract | |
| WO2022042609A1 (en) | Hot word extraction method, apparatus, electronic device, and medium | |
| WO2025103078A1 (en) | Network asset mapping method and apparatus, and storage medium and electronic device | |
| CN103999082A (en) | Method, computer program, and computer for detecting community in social medium | |
| JP2019530052A (en) | Proactive input selection for improved image analysis and / or processing workflow | |
| CN114637930A (en) | Information sharing method, apparatus, electronic device, and computer-readable storage medium | |
| CN117437651A (en) | Table data extraction method, apparatus, terminal device and storage medium | |
| CN111881900B (en) | Corpus generation method, corpus translation model training method, corpus translation model translation method, corpus translation device, corpus translation equipment and corpus translation medium | |
| CN111753836A (en) | Character recognition method, device, computer readable medium and electronic device | |
| WO2020000966A1 (en) | Method for generating wireless access point information, device, and computer readable medium | |
| CN107729547A (en) | Retrieve the method and apparatus of circle of friends message | |
| CN118093520B (en) | Data storage method, data storage device and electronic device | |
| KR20210072639A (en) | Method for alligning the image include the text | |
| CN109857951A (en) | Calligraphy friend-making information recommendation method, device, equipment and readable storage medium storing program for executing |
Legal Events
| 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 |