CN114637930A - Information sharing method and device, electronic equipment and computer readable storage medium - Google Patents

Information sharing method and device, electronic equipment and computer readable storage medium Download PDF

Info

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
requirement
real
position information
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
Application number
CN202210247968.9A
Other languages
Chinese (zh)
Inventor
刘贞儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Taou Science & Technology Development Co ltd
Original Assignee
Beijing Taou Science & Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Taou Science & Technology Development Co ltd filed Critical Beijing Taou Science & Technology Development Co ltd
Priority to CN202210247968.9A priority Critical patent/CN114637930A/en
Publication of CN114637930A publication Critical patent/CN114637930A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search 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

The embodiment of the application provides an information sharing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of internet communication. The method comprises the following steps: acquiring an information requirement sent by a first client; analyzing the information requirement to obtain target position information corresponding to the information requirement; acquiring real-time position information of a second client; when the real-time position information is matched with the target position information, the information requirement is sent to a second client; and receiving the shared information sent by the second client, and sending the shared information to the first client. According to the embodiment of the application, the shared information of the second client is sent to the first client based on the matching condition of the target position information and the real-time position information, so that information sharing based on real-time positioning is realized, and the user experience is improved.

Description

Information sharing method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of internet communication technologies, and in particular, to an information sharing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The information sharing aims to share the more and more important information resource with other people in the internet era, so that the resource allocation is optimized, the social cost is saved, the utilization rate of the information resource is improved, and more wealth is created together.
In current applications for sharing geographical location information, for example, a map application provides users with shared information based on geographical location such as food, business circles, hospitals, and the like. However, the information in the application based on the position sharing in the prior art is often low in timeliness.
Disclosure of Invention
The embodiment of the application provides an information sharing method and device, electronic equipment and a computer readable storage medium, and can solve the problem that timeliness of information sharing is low in the prior art. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, there is provided an information sharing method, including:
acquiring an information requirement sent by a first client;
analyzing the information requirement to obtain target position information corresponding to the information requirement;
acquiring real-time position information of a second client;
when the real-time position information is matched with the target position information, the information requirement is sent to a second client;
and receiving the shared information sent by the second client, and sending the shared information to the first client.
Optionally, the analyzing the information requirement to obtain the target location information corresponding to the information requirement includes:
extracting address information in the information requirement;
splitting the address information to obtain at least one geographic element;
target location information is determined based on the geographic element.
Optionally, when the real-time location information matches the target location information, sending the information requirement to the second client includes:
calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position information respectively;
and when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to the second client.
Optionally, the method further includes:
receiving feedback information of a first client aiming at shared information;
determining whether to perform a resource transfer operation based on the feedback information;
and when the resource transfer operation is required, transferring the preset resource corresponding to the information requirement from the first client to the second client.
Optionally, before sending the shared information to the first client, the method further includes:
obtaining a validity check image corresponding to the shared information;
carrying out character recognition on the validity verification image, and extracting target characters in the validity verification image;
sending the shared information to the first client, including:
and when the target characters accord with the preset verification conditions, sending the shared information to the first client.
Optionally, the extracting the target text in the validity verification image includes:
determining a text region of the validity verification image;
extracting a feature vector of a text region;
and performing text classification on the feature vectors to obtain target characters corresponding to the text regions.
Optionally, the preset verification condition includes at least one of the following:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
According to another aspect of the embodiments of the present application, there is provided an information sharing apparatus, including:
the first acquisition module is used for acquiring the information requirement sent by the first client;
the analysis module is used for analyzing the information requirement to obtain target position information corresponding to the information requirement;
the second acquisition module is used for acquiring the real-time position information of the second client;
the first sending module is used for sending the information requirement to the second client when the real-time position information is matched with the target position information;
and the second sending module is used for receiving the shared information sent by the second client and sending the shared information to the first client.
Optionally, the parsing module is configured to:
extracting address information in the information requirement;
splitting the address information to obtain at least one geographic element;
target location information is determined based on the geographic element.
Optionally, the first sending module is configured to:
calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position information respectively;
and when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to the second client.
Optionally, the apparatus further includes a feedback module, configured to:
receiving feedback information of a first client aiming at shared information;
determining whether to perform a resource transfer operation based on the feedback information;
and when the resource transfer operation is required, transferring the preset resource corresponding to the information requirement from the first client to the second client.
Optionally, the second sending module is further configured to:
obtaining a validity check image corresponding to the shared information;
carrying out character recognition on the validity verification image, and extracting target characters in the validity verification image;
and when the target characters accord with the preset verification conditions, sending the shared information to the first client.
Optionally, the second sending module is further configured to:
determining a text area of the validity verification image;
extracting a feature vector of a text region;
and performing text classification on the feature vectors to obtain target characters corresponding to the text regions.
Optionally, the preset verification condition includes at least one of the following:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
According to another aspect of an embodiment of the present application, there is provided an electronic apparatus including: the device comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the method shown in the first aspect of the embodiment of the application.
According to a further aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as set forth in the first aspect of embodiments of the present application.
According to an aspect of embodiments of the present application, there is provided a computer program product comprising a computer program that, when executed by a processor, performs the steps of the method illustrated in the first aspect of embodiments of the present application.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the method and the device, the corresponding target position information is obtained by analyzing the demand information sent by the first client, the real-time position information of the second client is obtained, when the target position information is matched with the real-time position information, the second client is determined to be capable of receiving the demand information, and the shared information fed back by the second client is sent to the first client; in the embodiment of the application, the first client can be a demand initiating terminal, the second client can be an information sharing terminal, and the information sharing based on real-time positioning is realized by matching the position information of the first client and the position information of the second client; compared with the prior art, the map-based application relies on the existing information base to provide the shared information, the shared information in the application is generated by the second client in real time according to the demand information, and the timeliness of the shared information is higher; meanwhile, the real-time position information of the second client is matched with the target position information of the first client, so that the confidence coefficient and the accuracy of the shared information are improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic view of an application scenario of an information sharing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an information sharing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a process of determining target location information in an information sharing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating matching location information in an information sharing method according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating an example information sharing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an information sharing device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an information sharing electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the embodiments set forth below in connection with the drawings are exemplary descriptions for explaining technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the terms "comprises" and/or "comprising," when used in this specification in connection with embodiments of the present application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, as embodied in the art. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "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, e.g., "a and/or B" can be implemented as "a", or as "B", or as "a and B".
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Information Sharing (Information Sharing) refers to communication and Sharing of Information and Information products among Information systems of different levels and different departments, namely, Sharing the Information, which is a resource with more obvious importance in the internet era, with other people together, so as to achieve the purposes of resource allocation more reasonably, saving social cost and creating more wealth. Information sharing is an important means for improving the utilization rate of information resources and avoiding repeated waste in information acquisition, storage and management.
Researchers in the field of information science think that information exchange and sharing are realized through an information sharing system, and particularly, an information base which has greater and greater influence on our lives and studies provides a good technical support platform for information resource sharing.
In the current geographic position information service, for example, a user can acquire position information such as a business district, a restaurant, a hospital, a road and the like through map application, but an information base on which the map application depends may not be updated in real time in time, so that the acquired position information is inaccurate and the timeliness is low; meanwhile, information provided by an information base in a map application is limited to geographical position sharing, and a user cannot acquire deep information such as queuing information of a restaurant, so that the adaptability of information sharing is low.
The application provides an information sharing method, an information sharing device, an electronic device and a computer readable storage medium, which aim to solve the above technical problems in the prior art.
The embodiment of the application provides an information sharing method, which can be realized by a terminal or a server. The terminal or the server related to the embodiment of the application obtains the target position information corresponding to the information requirement through analysis by obtaining the information requirement sent by the first client; meanwhile, acquiring real-time position information of a second client, matching the real-time position information with target position information, sending an information requirement to the second client when the real-time position information is matched with the target position information, further receiving shared information sent by the second client, and sending the shared information to the first client; according to the embodiment of the application, the shared information of the second client is sent to the first client based on the matching condition of the target position information and the real-time position information, so that information sharing based on real-time positioning is realized, and the user experience is improved.
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 through descriptions of several exemplary embodiments. It should be noted that the following embodiments may be referred to, referred to or combined with each other, and the description of the same terms, similar features, similar implementation steps and the like in different embodiments is not repeated.
As shown in fig. 1, the information sharing method of the present application may be applied to the scenario shown in fig. 1, specifically, the server 101 may obtain an information requirement to be processed from the first client 102, and analyze the information requirement to obtain target location information corresponding to the information requirement; meanwhile, the server 101 may also obtain real-time location information of the second client 103, and when the real-time location information matches the target location information, send the information requirement to the second client 103, further receive shared information sent by the second client 103, and send the shared information to the first client 102.
In the scenario shown in fig. 1, the information sharing method may be performed in the server, or in another scenario, the information sharing method may be performed in the terminal.
Those skilled in the art will understand that the "terminal" used herein may be a Mobile phone, a tablet computer, a PDA (Personal Digital Assistant), an MID (Mobile Internet Device), etc.; a "server" may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
An embodiment of the present application provides an information sharing method, as shown in fig. 2, which may be applied to a server or a terminal for information sharing, where the method includes:
s201, obtaining the information requirement sent by the first client.
The first client may be a demand initiating terminal. The information requirement may be a question containing address information.
Specifically, the terminal or the server for information sharing may establish a network connection with the first client based on a wired or wireless local area network, and obtain the demand information sent by the first client based on the network connection.
The wired lan may be an ethernet based on IEEE 802.3 (a lan communication standard) protocol, and the wireless lan may be a Wi-Fi (wireless communication technology) based on IEEE 802.11 (a standard for wireless network communication).
In the embodiment of the present application, the store information sharing is taken as an example, and a terminal or a server for performing information sharing may acquire an information requirement sent by a first client based on a wireless local area network: "i want to know whether the hogwash store is open, location information: baoding city first street a fat cat sausage shop ".
S202, analyzing the information requirement to obtain target position information corresponding to the information requirement.
Specifically, the terminal or the server for information sharing may extract an address field in the information requirement, and generate corresponding target location information based on address field resolution.
In the embodiment of the present application, the store information sharing is taken as an example, and a terminal or a server for performing information sharing may acquire an information requirement sent by a first client based on a wireless local area network: "i want to know whether the hogwash store is open, location information: baoding city first street a fat cat sausage shop ". Then, an address field "fei mao fei chang shi" on the first street a of baoding city "may be extracted from the information requirement, and corresponding target location information may be generated by parsing according to the address field, where the target location information includes coordinates of a corresponding target location, so that the target location may be located.
S203, acquiring the real-time position 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 the server 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 to the terminal or the server for information sharing based on a preset time interval.
In other embodiments, the terminal or the server for information sharing may send a location request to the second client, and the real-time location information may also be sent by the second client to the terminal or the server for information sharing in response to the location request.
And S204, when the real-time position information is matched with the target position information, sending the information requirement to a second client.
The matching between the real-time position information and the target position information may mean that the real-time position information is the same as the target position information, or that the distance between the real-time position information and the target position information is smaller than a preset threshold.
Specifically, the terminal or the server for information sharing may determine a matching state between the real-time location information and the target location information based on the coordinate information between the real-time location information and the target location information, and when the real-time location information matches the target location information, the terminal or the server for information sharing sends the information requirement to the second client.
In the embodiment of the present application, the store information sharing is taken as an example, and a terminal or a server for performing information sharing may acquire an information requirement sent by a first client based on a wireless local area network: "i want to know whether the hogwash store is open, location information: baoding city first street a fat cat sausage shop ". Then, an address field "fei mao fei chang shi" on the first street a of baoding city "may be extracted from the information requirement, and corresponding target location information may be generated by parsing according to the address field, where the target location information includes coordinates of a corresponding target location, so that the target location may be located. Meanwhile, after determining the information requirement, the terminal or the server for information sharing may obtain the real-time location information of each candidate client, and based on the matching state between the target location information and each real-time location information, for example, a candidate client corresponding to a real-time location closest to the target location may be selected from a plurality of candidate clients as a second client, and the information requirement may be sent to the second client.
And S205, receiving the shared information sent by the second client, and sending the shared information to the first client.
The shared information may be response information for the information requirement, and the shared information may include at least one of a picture, a video, and a text; the number of second clients may be at least one.
Specifically, after receiving the shared information sent by each second client, the terminal or the server for information sharing may perform validity check on the shared information, and transmit the shared information that passes the check to the first client.
In the embodiment of the present application, the store information sharing is taken as an example, and a terminal or a server for performing information sharing may acquire an information requirement sent by a first client based on a wireless local area network: "i want to know whether the hogwash store is open, location information: baoding city first street a fat cat sausage shop ". Then, an address field "fei mao fei chang shi" on the first street a of baoding city "may be extracted from the information requirement, and corresponding target location information may be generated by parsing according to the address field, where the target location information includes coordinates of a corresponding target location, so that the target location may be located. Meanwhile, after determining the information requirement, the terminal or the server for information sharing may obtain real-time location information of each candidate client, and based on the matching state between the target location information and each real-time location information, for example, a candidate client corresponding to a real-time location closest to the target location may be selected from a plurality of candidate clients as a second client, and the information requirement may be sent to the second client, so that the second client generates shared information according to a response of the user to the information requirement, where the shared information may include a real-time photograph of a word "a backyard shop opens a door" and a backyard shop doorway. And the terminal or the server for information sharing can forward the sharing information to the first client after receiving the sharing information so as to share the shop information to the demand initiating user of the first client.
According to the method and the device, the corresponding target position information is obtained by analyzing the demand information sent by the first client, the real-time position information of the second client is obtained, when the target position information is matched with the real-time position information, the second client is determined to be capable of receiving the demand information, and the shared information fed back by the second client is sent to the first client; in the embodiment of the application, the first client can be a demand initiating terminal, the second client can be an information sharing terminal, and the information sharing based on real-time positioning is realized by matching the position information of the first client and the position information of the second client; compared with the prior art, the map-based application relies on the existing information base to provide the shared information, the shared information in the application is generated by the second client in real time according to the demand information, and the timeliness of the shared information is higher; meanwhile, the real-time position information of the second client is matched with the target position information of the first client, so that the confidence coefficient and the accuracy of the shared information are improved, and the user experience is improved.
In the embodiment of the present application, a possible implementation manner is provided, as shown in fig. 3, the analyzing the information requirement in step S202 to obtain the target location information corresponding to the information requirement includes:
(1) address information in the information requirement is extracted.
The information requirement may include field types such as a requirement question, remark information, address information, and the like.
Specifically, the terminal or the server for information sharing may extract the address information according to the field type.
In the embodiment of the present application, the store information sharing is taken as an example, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street a, fat cat intestines shop; remarking: in reply to the bonus 5 points ", the terminal or server for information sharing may extract address information therefrom as: baoding city first street a, fat cat sausage shop.
(2) And splitting the address information to obtain at least one geographic element.
The geographic elements include provinces, cities, districts, streets, roads and other fields for representing the administrative level of a specific place.
Specifically, the terminal or the server for information sharing may traverse from a first character in the address information, split the first character to obtain a split character, and then match the split character with a preset location dictionary to generate at least one geographic element.
In the embodiment of the present application, the address information is: the first street A of baoding city, fat cat intestines shop, go through with each character node respectively and split the split character that divides then includes: "baoding", "baoding city first street a", and "baoding city first street a number", etc., and then the split character is matched with a preset location dictionary, determining the geographic elements includes: "Hebei province", "baoding city", "first street", "No. A", "FeiMa Feihu shop".
(3) Target location information is determined based on the geographic element.
Specifically, the terminal or the server for information sharing may perform location positioning based on the geographic elements to obtain the target location information. Wherein the target position information includes coordinate information of the target position in the map.
In the embodiment of the present application, a possible implementation manner is provided, as shown in fig. 4, when the real-time location information matches the target location information in step S204, sending the information requirement to the second client, where the method includes:
(1) and calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position information respectively.
Specifically, the terminal or the server for information sharing may obtain a real-time coordinate of the real-time location information and a target coordinate of the target location information based on a preset map scale, and then calculate a relative distance between the first client and the second client in the preset map according to the real-time coordinate and the target coordinate.
(2) And when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to the second client.
In the present embodiment, the description is given taking store information sharing as an example, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street a, fat cat intestines shop; remarking: reply reward 5 credits ", the terminal or server used for sharing information, can confirm the target location information of the first client on the basis of the demand information, and obtain the real-time location information of the second client, then calculate the relative distance between the first client and the second client, when the relative distance is smaller than the first distance threshold value, such as 2km, and the coordinate point corresponding to the real-time location information is in the moving state, it is close to the distance of the sausage shop and move in its nearby small range that the answer user of the second client locates, the answer user possesses the information sharing condition, the terminal or server used for sharing information sends the information demand to the second client.
The method comprises the steps of determining whether a second client side has a response condition or not based on target position information of a first client side and real-time position information of the second client side; on the one hand, the relative distance between the first client and the second client needs to be within a preset range, and on the other hand, the coordinate point corresponding to the real-time position information is in a moving state, so that the response user of the second client is not in a stationary state such as learning or a conference.
In an embodiment of the present application, a possible implementation manner is provided, where the sending of the shared information to the first client in step S205 includes:
(1) and acquiring a validity check image corresponding to the shared information.
The validity check image may be acquired by the second client in real time based on the image acquisition device.
In the present embodiment, the description is given taking store information sharing as an example, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street No. a, fat cat sausage shop; remarking: reply reward 5 points ", the terminal or server for information sharing, sending the demand information to the second client and receiving the sharing information fed back by the second client, the sharing information may include the real-time photo of the shop taken by the response user of the second client.
(2) And carrying out character recognition on the validity verification image, and extracting the target characters in the validity verification image.
Specifically, the terminal or the server for information sharing may use OCR (Optical Character Recognition) to identify and extract target characters in the validity verification image.
The text area in the validity verification image may include a watermark of shooting time and place, and may also include a shot text area.
OCR refers to a process in which an electronic device (e.g., a scanner or digital camera) examines a character printed on paper, determines its shape by detecting dark and light patterns, and then translates the shape into computer text using character recognition methods; the method is characterized in that characters in a paper document are converted into an image file with a black-white dot matrix in an optical mode aiming at print characters, and the characters in the image are converted into a text format through recognition software for further editing and processing by word processing software. The specific OCR recognition process is explained below.
The embodiment of the present application provides a possible implementation manner, and the extracting of the target text in the validity verification image includes:
a. a text region of the validity verification image is determined.
The text area may be rectangular or may have another specific shape.
Specifically, the terminal or the server for information sharing may perform image preprocessing including graying, binarization, noise reduction, tilt correction, text segmentation, and the like on the validity verification image to obtain the text region. The specific process is as follows:
firstly, changing a color validity verification image into a gray image after graying; then, removing gray in the gray level image by binarization processing to obtain a black-white image only with pure black and pure white; then, carrying out noise reduction processing on the black-and-white image, removing noise in the image, and carrying out tilt correction on the black-and-white image subjected to noise reduction by adopting Hough transform so as to enable text content in the image to be in a horizontal position; and finally, performing line segmentation and character segmentation on the text in the image to determine the position of each line of text to obtain a text region corresponding to the video frame image.
b. Feature vectors of the text regions are extracted.
Specifically, a terminal or a server for information sharing may extract a feature vector of a text region based on a feature extractor.
c. And performing text classification on the feature vectors to obtain target characters corresponding to the text regions.
Specifically, the terminal or the server for information sharing may perform dimension reduction on the feature vector, and then perform text classification on the feature vector after dimension reduction by using a pre-trained text classifier to generate the target word.
The method takes the target character as the Chinese character as an example, because the Chinese character has a large character set and a large number, the Chinese character has a complex structure and many feature dimensions, the dimension of the obtained feature vector is high, and if the dimension of the feature vector is too high, the efficiency of the text classifier is affected, so that sufficient information content needs to be reserved after dimension reduction of the feature vector to distinguish different characters, and the purpose of effectively improving the identification efficiency of the text classifier is achieved.
In this embodiment of the application, the target text in the validity verification image may include watermark text of shooting time and place, and may also include text shot in a photo.
In the present embodiment, the description is given taking store information sharing as an example, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street No. a, fat cat sausage shop; remarking: reply reward 5 points ", the terminal or server for information sharing, sending the demand information to the second client and receiving the sharing information fed back by the second client, the sharing information may include the real-time photo of the shop taken by the response user of the second client. The target characters in the real-time photo comprise watermark characters responding to the shooting time and the shooting place of the user, and can also comprise characters on a shop signboard shot in the photo.
(3) And when the target characters accord with the preset verification conditions, sending the shared information to the first client.
The embodiment of the present application provides a possible implementation manner, where the preset verification condition includes at least one of the following:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
In the present embodiment, the description is given taking store information sharing as an example, and when the demand information is "question: i want to know whether the hogwash store is open; position information: baoding city first street a, fat cat intestines shop; remarking: reply reward 5 points ", the terminal or server for information sharing, sending the demand information to the second client and receiving the sharing information fed back by the second client, the sharing information may include the real-time photo of the shop taken by the response user of the second client. The target characters in the real-time photo comprise watermark characters which answer the shooting time and place of a user, namely' 1 month and 1 day in 2020, 13: 30, first street number a "baoding city, north river province, may also include the word" fat cat sausage shop "on the shop signboard taken in the photograph. When the time required for the first client to send the information is "1 month and 1 day 2020, 13: 02 ' and the target characters and the requirement information comprise ' fat cat sausage shop ', and the target characters can be considered to accord with preset verification conditions.
Before sending the shared information to the first client, the embodiment of the application can further verify the shared information based on the validity verification image, so that the confidence of the shared information is improved, the matching degree of the shared information and the information requirement is improved, and the satisfaction of information requirement users can be improved.
A possible implementation manner is provided in the embodiment of the present application, and the method further includes:
(1) and receiving feedback information of the first client aiming at the shared information.
The feedback information can represent the satisfaction degree of the information demander on the shared information.
(2) And determining whether to perform the resource transfer operation based on the feedback information.
The feedback information may be a satisfaction score for sharing information, and when the satisfaction score is greater than a preset score threshold, the terminal and the server for information sharing may perform the resource transfer operation.
Specifically, the transferred resource may be a credit of the first client on the information sharing platform, or an account asset of the first client.
(3) And when the resource transfer operation is required, transferring 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 the embodiments of the present application, the description is given by taking store information sharing as an example, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street a, fat cat intestines shop; remarking: reply bonus 5 points ", the terminal or server for information sharing" this shop is open "when it sends the demand information to the second client and receives the shared information fed back from the second client. The demand user of the first client can go to the shop according to the shared information, and the travel of the demand user is facilitated. After the user who needs to visit the shop, the sharing information can be scored to be 5 scores, and the terminal or the server for information sharing can determine to perform resource transfer operation based on the scores, receive the 5 scores sent by the first client, and send the 5 scores to the second client, so that the rewarding of the first client to the second client is completed, and the enthusiasm of the response user of the second client is improved.
According to the method and the device, the shared information is verified again based on the feedback information of the first client, and the second client is rewarded based on the resource transfer operation, so that the security of the resources owned by the first client can be guaranteed, and the user experience is improved.
In order to better understand the above information sharing method, an example of the information sharing method of the present application is set forth in detail below with reference to fig. 5, and the method includes the following steps:
s501, acquiring an information requirement sent by a first client, and extracting address information in the information requirement.
The first client may be a demand initiating terminal. The information requirement may be a question containing address information.
Specifically, the terminal or the server for information sharing may establish a network connection with the first client based on a wired or wireless local area network, and obtain the demand information sent by the first client based on the network connection. The wired local area network may be an ethernet based on IEEE 802.3 protocol, and the wireless local area network may be Wi-Fi based on IEEE 802.11 protocol.
Meanwhile, the information requirement may include field types such as a requirement question, remark information, address information, and the like. The terminal or the server for information sharing may extract the address information according to the above-described field type.
S502, splitting the address information to obtain at least one geographic element, and determining target position information based on the geographic element.
The geographic elements include provinces, cities, districts, streets, roads and other fields for representing the administrative level of a specific place.
Specifically, the terminal or the server for information sharing may traverse from a first character in the address information, split the first character to obtain a split character, and then match the split character with a preset location dictionary to generate at least one geographic element.
Meanwhile, the terminal or the server for information sharing can perform location positioning based on the geographic elements to obtain the target position information. Wherein the target position information includes coordinate information of the target position in the map.
S503, acquiring real-time position information of the second client, and calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position 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 the server for information sharing may obtain a real-time coordinate of the real-time location information and a target coordinate of the target location information based on a preset map scale, and then calculate a relative distance between the first client and the second client in the preset map according to the real-time coordinate and the target coordinate.
And S504, when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to a second client.
In the embodiments of the present application, the store information sharing is taken as an example for explanation, and when the demand information is "question: i want to know if the backyard is open; position information: baoding city first street a, fat cat intestines shop; remarking: reply reward 5 points ", the terminal or server used for sharing information can determine the target position information of the first client terminal based on the demand information, and obtain the real-time position information of the second client terminal, then calculate the relative distance between the first client terminal and the second client terminal, when the relative distance is less than the first distance threshold value, such as 2km, and the coordinate point corresponding to the real-time position information is in a moving state, it indicates that the answering user of the second client terminal is located at a position closer to the fat intestine store and moves in a small range nearby, and the answering user has the information sharing condition, the terminal or server used for sharing information sends the demand of information to the second client terminal.
And S505, receiving the shared information sent by the second client, and acquiring a validity check image corresponding to the shared information.
The validity check image may be acquired by the second client in real time based on the image acquisition device.
S506, performing character recognition on the validity verification image, and extracting target characters in the validity verification image; and when the target characters accord with the preset verification conditions, sending the shared information to the first client.
Specifically, the terminal or the server for information sharing may extract the target text in the validity verification image by using OCR recognition.
Wherein the preset verification condition includes at least one of the following:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
And S507, receiving feedback information of the first client aiming at the shared information, and determining whether to perform resource transfer operation based on the feedback information.
The feedback information may be a satisfaction score for sharing information, and when the satisfaction score is greater than a preset score threshold, the terminal and the server for information sharing may perform the resource transfer operation.
Specifically, the transferred resource may be a credit of the first client on the information sharing platform, or an account asset of the first client.
And S508, when the resource transfer operation is needed, transferring 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.
According to the method and the device, the corresponding target position information is obtained by analyzing the demand information sent by the first client, the real-time position information of the second client is obtained, when the target position information is matched with the real-time position information, the second client is determined to be capable of receiving the demand information, and the shared information fed back by the second client is sent to the first client; in the embodiment of the application, the first client can be a demand initiating terminal, the second client can be an information sharing terminal, and the information sharing based on real-time positioning is realized by matching the position information of the first client and the position information of the second client; compared with the prior art, the map-based application relies on the existing information base to provide the shared information, the shared information in the application is generated by the second client in real time according to the demand information, and the timeliness of the shared information is higher; meanwhile, the real-time position information of the second client is matched with the target position information of the first client, so that the confidence coefficient and the accuracy of the shared information are improved, and the user experience is improved.
An embodiment of the present application provides an information sharing apparatus, and as shown in fig. 6, the information sharing apparatus 60 may include: a first obtaining module 601, an analyzing module 602, a second obtaining module 603, a first sending module 604 and a second sending module 605;
the first obtaining module 601 is configured to obtain an information requirement sent by a first client;
the analysis module 601 is configured to analyze the information requirement to obtain target location information corresponding to the information requirement;
a second obtaining module 603, configured to obtain real-time location information of a second client;
a first sending module 604, configured to send the information requirement to the second client when the real-time location information matches the target location information;
a second sending module 605, configured to receive the shared information sent by the second client, and send the shared information to the first client.
In an embodiment of the present application, a possible implementation manner is provided, and the parsing module 602 is configured to:
extracting address information in the information requirement;
splitting the address information to obtain at least one geographic element;
target location information is determined based on the geographic element.
In an embodiment of the present application, a possible implementation manner is provided, where the first sending module 604 is configured to:
calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position information respectively;
and when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to the second client.
A possible implementation manner is provided in the embodiment of the present application, and the apparatus further includes a feedback module, configured to:
receiving feedback information of a first client aiming at shared information;
determining whether to perform a resource transfer operation based on the feedback information;
and when the resource transfer operation is required, transferring the preset resource corresponding to the information requirement from the first client to the second client.
In an embodiment of the present application, a possible implementation manner is provided, and the second sending module 605 is further configured to:
obtaining a validity check image corresponding to the shared information;
carrying out character recognition on the validity verification image, and extracting target characters in the validity verification image;
and when the target characters accord with the preset verification conditions, sending the shared information to the first client.
In an embodiment of the present application, a possible implementation manner is provided, and the second sending module 605 is further configured to:
determining a text area of the validity verification image;
extracting a feature vector of a text region;
and performing text classification on the feature vectors to obtain target characters corresponding to the text regions.
The embodiment of the present application provides a possible implementation manner, where the preset verification condition includes at least one of the following:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
The apparatus of the embodiment of the present application may execute the method provided by the embodiment of the present application, and the implementation principle is similar, the actions executed by the modules in the apparatus of the embodiments of the present application correspond to the steps in the method of the embodiments of the present application, and for the detailed functional description of the modules of the apparatus, reference may be specifically made to the description in the corresponding method shown in the foregoing, and details are not repeated here.
According to the method and the device, the corresponding target position information is obtained by analyzing the demand information sent by the first client, the real-time position information of the second client is obtained, when the target position information is matched with the real-time position information, the fact that the second client can receive the demand information is determined, and the shared information fed back by the second client is sent to the first client; in the embodiment of the application, the first client can be a demand initiating terminal, the second client can be an information sharing terminal, and the information sharing based on real-time positioning is realized by matching the position information of the first client and the position information of the second client; compared with the prior art, the map-based application relies on the existing information base to provide the shared information, the shared information in the application is generated by the second client in real time according to the demand information, and the timeliness of the shared information is higher; meanwhile, the real-time position information of the second client is matched with the target position information of the first client, so that the confidence coefficient and the accuracy of the shared information are improved, and the user experience is improved.
The embodiment of the application provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the information sharing method, and compared with the related art, the method can realize the following steps: according to the method and the device, the corresponding target position information is obtained by analyzing the demand information sent by the first client, the real-time position information of the second client is obtained, when the target position information is matched with the real-time position information, the second client is determined to be capable of receiving the demand information, and the shared information fed back by the second client is sent to the first client; in the embodiment of the application, the first client can be a demand initiating terminal, the second client can be an information sharing terminal, and the information sharing based on real-time positioning is realized by matching the position information of the first client and the position information of the second client; compared with the prior art, the map-based application relies on the existing information base to provide the shared information, the shared information in the application is generated by the second client in real time according to the demand information, and the timeliness of the shared information is higher; meanwhile, the real-time position information of the second client is matched with the target position information of the first client, so that the confidence coefficient and the accuracy of the shared information are improved, and the user experience is improved.
In an alternative embodiment, an electronic device is provided, as shown in fig. 7, the electronic device 700 shown in fig. 7 comprising: a processor 701 and a memory 703. The processor 701 is coupled to a memory 703, such as via a bus 702. Optionally, the electronic device 700 may further include a transceiver 704, and the transceiver 704 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 704 is not limited to one in practical applications, and the structure of the electronic device 700 is not limited to the embodiment of the present application.
The Processor 701 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 701 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
Bus 702 may include a path that transfers information between the above components. The bus 702 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 702 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The Memory 703 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact disk Read Only Memory) or other optical disk storage, optical disk storage (including Compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer, without limitation.
The memory 703 is used for storing computer programs for executing the embodiments of the present application, and is controlled by the processor 701 to execute. The processor 701 is adapted to execute a computer program stored in the memory 703 to implement the steps shown in the foregoing method embodiments.
Among them, 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, etc.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program may implement the steps and corresponding contents of the foregoing method embodiments.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions 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 the computer device realizes the following when executed:
acquiring an information requirement sent by a first client;
analyzing the information requirement to obtain target position information corresponding to the information requirement;
acquiring real-time position information of a second client;
when the real-time position information is matched with the target position information, the information requirement is sent to a second client;
and receiving the shared information sent by the second client, and sending the shared information to the first client.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than illustrated or otherwise described herein.
It should be understood that, although each operation step is indicated by an arrow in the flowchart of the embodiment of the present application, the implementation order of the steps is not limited to the order indicated by the arrow. In some implementation scenarios of the embodiments of the present application, the implementation steps in the flowcharts may be performed in other sequences as desired, unless explicitly stated otherwise herein. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on an actual implementation scenario. Some or all of these sub-steps or stages may be performed at the same time, or each of these sub-steps or stages may be performed at different times, respectively. In a scenario where execution times are different, an execution sequence of the sub-steps or the phases may be flexibly configured according to requirements, which is not limited in the embodiment of the present application.
The foregoing is only an optional implementation manner of a part of implementation scenarios in this application, and it should be noted that, for those skilled in the art, other similar implementation means based on the technical idea of this application are also within the protection scope of the embodiments of this application without departing from the technical idea of this application.

Claims (10)

1. An information sharing method, comprising:
acquiring an information requirement sent by a first client;
analyzing the information requirement to obtain target position information corresponding to the information requirement;
acquiring real-time position information of a second client;
when the real-time position information is matched with the target position information, the information requirement is sent to the second client;
and receiving the shared information sent by the second client, and sending the shared information to the first client.
2. The method of claim 1, wherein the analyzing the information requirement to obtain the target location information corresponding to the information requirement comprises:
extracting address information in the information requirement;
splitting the address information to obtain at least one geographic element;
target location information is determined based on the geographic element.
3. The method of claim 1, wherein sending the information requirement to the second client when the real-time location information matches the target location information comprises:
calculating the relative distance between the first client and the second client based on the coordinate information of the real-time position information and the target position information respectively;
and when the relative distance is smaller than a preset first distance threshold value and the coordinate point corresponding to the real-time position information is in a moving state, sending the information requirement to the second client.
4. The method of claim 1, further comprising:
receiving feedback information of the first client aiming at the shared information;
determining whether to perform a resource transfer operation based on the feedback information;
and when the resource transfer operation is required, transferring the preset resource corresponding to the information requirement from the first client to the second client.
5. The method of claim 1, wherein before sending the shared information to the first client, further comprising:
obtaining a validity check image corresponding to the shared information;
carrying out character recognition on the validity verification image, and extracting target characters in the validity verification image;
the sending the shared information to the first client includes:
and when the target characters accord with preset verification conditions, sending the shared information to the first client.
6. The method of claim 5, wherein extracting the target text from the validity verification image comprises:
determining a text region of the validity verification image;
extracting a feature vector of the text region;
and performing text classification on the feature vectors to obtain target characters corresponding to the text regions.
7. The method of claim 5, wherein the preset validation condition comprises at least one of:
the shooting time corresponding to the target characters is behind the time point when the first client side sends the information requirement;
and matching the place corresponding to the target character with the target position information.
8. An information sharing apparatus, comprising:
the first acquisition module is used for acquiring the information requirement sent by the first client;
the analysis module is used for analyzing the information requirement to obtain target position information corresponding to the information requirement;
the second acquisition module is used for acquiring the real-time position information of the second client;
the first sending module is used for sending the information requirement to the second client when the real-time position information is matched with the target position information;
and the second sending module is used for receiving the shared information sent by the second client and sending the shared information to the first client.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202210247968.9A 2022-03-14 2022-03-14 Information sharing method and device, electronic equipment and computer readable storage medium Pending CN114637930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210247968.9A CN114637930A (en) 2022-03-14 2022-03-14 Information sharing method and device, electronic equipment 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 and device, electronic equipment 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 and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114637930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190095A (en) * 2022-07-12 2022-10-14 邓诗琳 Information sharing method and device based on real-time positioning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190095A (en) * 2022-07-12 2022-10-14 邓诗琳 Information sharing method and device based on real-time positioning
CN115190095B (en) * 2022-07-12 2024-04-19 重庆理工大学 Information sharing method and device based on real-time positioning

Similar Documents

Publication Publication Date Title
US9020966B2 (en) Client device for interacting with a mixed media reality recognition system
US8856108B2 (en) Combining results of image retrieval processes
US8510283B2 (en) Automatic adaption of an image recognition system to image capture devices
US8868555B2 (en) Computation of a recongnizability score (quality predictor) for image retrieval
US8825682B2 (en) Architecture for mixed media reality retrieval of locations and registration of images
US9870388B2 (en) Analyzing usage of visual content to determine relationships indicating unsuccessful attempts to retrieve the visual content
KR101880004B1 (en) Method and apparatus for identifying television channel information
US8156116B2 (en) Dynamic presentation of targeted information in a mixed media reality recognition system
US20090076996A1 (en) Multi-Classifier Selection and Monitoring for MMR-based Image Recognition
CN111368219A (en) Information recommendation method and device, computer equipment and storage medium
CN113688658B (en) Object identification method, device, equipment and medium
CN114120299A (en) Information acquisition method, device, storage medium and equipment
CN112801099B (en) Image processing method, device, terminal equipment and medium
CN112686243A (en) Method and device for intelligently identifying picture characters, computer equipment and storage medium
JP2019530052A (en) Proactive input selection for improved image analysis and / or processing workflow
CN114637930A (en) Information sharing method and device, electronic equipment and computer readable 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
CN111898544B (en) Text image matching method, device and equipment and computer storage medium
KR102043693B1 (en) Machine learning based document management system
KR102396885B1 (en) Method for alligning the image include the text
CN115034177A (en) Presentation file conversion method, device, equipment and storage medium
Lu et al. Anchor‐Free Braille Character Detection Based on Edge Feature in Natural Scene Images
CN114429628A (en) Image processing method and device, readable storage medium and electronic equipment
CN108875748B (en) Method, device and computer readable medium for generating wireless access point information
CN113065619A (en) Data processing method, data processing device, computer readable storage medium and equipment

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