CN107241437B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN107241437B
CN107241437B CN201710596141.8A CN201710596141A CN107241437B CN 107241437 B CN107241437 B CN 107241437B CN 201710596141 A CN201710596141 A CN 201710596141A CN 107241437 B CN107241437 B CN 107241437B
Authority
CN
China
Prior art keywords
terminal
data
server
identification information
geographical position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710596141.8A
Other languages
Chinese (zh)
Other versions
CN107241437A (en
Inventor
刘晨晖
谭小瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology 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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710596141.8A priority Critical patent/CN107241437B/en
Publication of CN107241437A publication Critical patent/CN107241437A/en
Application granted granted Critical
Publication of CN107241437B publication Critical patent/CN107241437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method and device. One embodiment of the invention determines at least one second terminal matched with the first geographical location information by receiving the identification information of the specified data uploaded by the first terminal and the corresponding first geographical location information, acquiring the designated data from the first terminal according to the identification information of the designated data, transmitting the designated data to the second terminal, when the data in the terminal needs to be transmitted to other terminals, the terminal only transmits the data to the server once, the server can respectively transmit the data to the other terminals without the terminal transmitting the data to each other terminal, thereby reducing the network flow consumed by the terminal, reducing the transmission cost of the terminal, the problem that in the prior art, in the data transmission of a plurality of terminals by one terminal, the consumed network flow is large, and the transmission cost of the terminals is high is solved to a certain extent.

Description

Data processing method and device
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications, and in particular, to a data processing method and apparatus.
[ background of the invention ]
Currently, many terminals have a shooting function and a network transmission function, such as a mobile phone, a tablet computer, a smart camera, and the like. Therefore, after one terminal takes a picture or a video, the picture or the video can be conveniently transmitted to other one or more terminals through the network.
For example, several friends play together and everyone takes pictures with their mobile phone. If one of the people wants to send pictures to the other people, the pictures need to be sent to the mobile phones of each person respectively,
it can be seen that, at present, when data in a terminal is transmitted to a plurality of other terminals, the data needs to be sent to each terminal, and the consumed network traffic is large, which results in high transmission cost of the terminal.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a data processing method and apparatus, so as to solve the problem in the prior art that a terminal has a high transmission cost due to a large network traffic consumed in data transmission of a terminal to multiple terminals.
In a first aspect, an embodiment of the present invention provides a data processing method applied to a server, where the method includes:
receiving identification information of designated data uploaded by a first terminal and corresponding first geographical position information;
determining at least one second terminal matched with the first geographical position information;
acquiring the specified data from the first terminal according to the identification information of the specified data;
and sending the specified data to the second terminal.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where determining at least one second terminal that matches the first geographical location information includes:
when a request for downloading the specified data by the terminal is received, acquiring current second geographical position information of the terminal;
and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be a second terminal matched with the first geographical position information.
The above-described aspects and any possible implementations further provide an implementation, and the method further includes:
receiving third geographical position information sent by the first terminal;
searching at least one target identification information corresponding to the third geographical position information;
and sending the target identification information to the first terminal so that the first terminal can acquire target data corresponding to the target identification information according to the target identification information.
In a second aspect, an embodiment of the present invention provides a data processing method, which is applied to a terminal, and the method includes:
uploading the identification information of the designated data and the corresponding first geographical position information to a server;
receiving a request for acquiring the specified data by the server, wherein the request carries identification information of the specified data;
and sending the specified data to the server according to the request.
The above-described aspects and any possible implementation further provide an implementation, where the request carries authentication information;
before sending the specified data to the server, the method further comprises:
verifying the request according to the verification information to obtain a verification result;
when the verification result is that the verification is successful, executing the step of sending the specified data to the server; or, when the verification result is verification failure, refusing to execute the step of sending the specified data to the server.
The above-described aspects and any possible implementations further provide an implementation, and the method further includes:
sending third geographical position information to the server so that the server searches for at least one target identification information corresponding to the third geographical position information;
receiving the target identification information returned by the server;
and acquiring target data corresponding to the target identification information according to the target identification information.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, which is disposed in a server, and includes:
the first receiving module is used for receiving the identification information of the designated data uploaded by the first terminal and the corresponding first geographical position information;
a determining module, configured to determine at least one second terminal that matches the first geographic location information;
an obtaining module, configured to obtain the specified data from the first terminal according to the identification information of the specified data;
and the first sending module is used for sending the specified data to the second terminal.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the determining module, when configured to determine at least one second terminal matching the first geographical location information, is specifically configured to:
when a request for downloading the specified data by the terminal is received, acquiring current second geographical position information of the terminal;
and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be a second terminal matched with the first geographical position information.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
the second receiving module is used for receiving third geographical position information sent by the first terminal;
the searching module is used for searching at least one target identification information corresponding to the third geographical position information;
and the second sending module is used for sending the target identification information to the first terminal so that the first terminal can obtain target data corresponding to the target identification information according to the target identification information.
In a fourth aspect, an embodiment of the present invention provides a data processing apparatus, which is disposed in a terminal, and includes:
the uploading module is used for uploading the identification information of the designated data and the corresponding first geographical position information to the server;
a request receiving module, configured to receive a request for the server to obtain the specified data, where the request carries identification information of the specified data;
and the picture sending module is used for sending the specified data to the server according to the request.
The above-described aspects and any possible implementation further provide an implementation, where the request carries authentication information;
the device further comprises:
the verification module is used for verifying the request according to the verification information to obtain a verification result;
the picture sending module is used for sending the specified data to the server when the verification result is that the verification is successful; or, the picture sending module refuses to send the specified data to the server when the verification result is that the verification fails.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
a sending module, configured to send third geographic location information to the server, so that the server searches for at least one target identifier corresponding to the third geographic location information;
the identification receiving module is used for receiving the target identification information returned by the server;
and the picture acquisition module is used for acquiring target data corresponding to the target identification information according to the target identification information.
The embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, at least one second terminal matched with the first geographical position information is determined by receiving the identification information of the designated data uploaded by the first terminal and the corresponding first geographical position information, the designated data is obtained from the first terminal according to the identification information of the designated data and is sent to the second terminal, when the data in the terminal needs to be transmitted to other terminals, the terminal only transmits the data to the server once, the server can respectively send the data to a plurality of other terminals, and the terminal does not need to respectively send the data to each other terminal, so that the network flow consumed by the terminal is reduced, and the transmission cost of the terminal is reduced.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a diagram illustrating a first process of a data processing method according to an embodiment of the present invention.
Fig. 2 is a diagram illustrating a second flow of a data processing method according to an embodiment of the present invention.
Fig. 3 is a first functional block diagram of a data processing apparatus according to an embodiment of the present invention.
Fig. 4 is a diagram illustrating a third flow of a data processing method according to an embodiment of the present invention.
Fig. 5 is a diagram illustrating a fourth flowchart of a data processing method according to an embodiment of the present invention.
Fig. 6 is a diagram illustrating a fifth flowchart of a data processing method according to an embodiment of the present invention.
Fig. 7 is a second functional block diagram of a data processing apparatus according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
Fig. 1 is a diagram illustrating a first process of a data processing method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, a data processing method is applied to a server, and the method includes the following steps:
s101, receiving identification information of designated data uploaded by a first terminal and corresponding first geographical position information.
And S102, determining at least one second terminal matched with the first geographical position information.
S103, acquiring the specified data from the first terminal according to the identification information of the specified data.
And S104, sending the specified data to the second terminal.
The specified data may be text information, pictures, videos, and the like.
The identification information may be any information that can uniquely identify the specific data. For example, a different number may be set for each picture, and the number may be used as the identification information of the picture.
In the first terminal, the specified data can be found by the identification information of the specified data. For example, the correspondence relationship of the specified data and its identification information may be stored in the first terminal, and the identification information may also be stored as a part of the specified data together with the picture data of the specified data.
Wherein the first geographical position information is geographical position information specifying a data acquisition place. For example, when the designated data is a picture, the first geographical location information may be a geographical name of the picture-taking place or may be geographical coordinates of the picture-taking place.
For example, if the picture a is taken in beijing, the first geographic location information corresponding to the picture a may be the beijing, or may be geographic coordinates of the place where the picture a is taken.
Through step S101, the server receives identification information of the specified data and corresponding first geographical location information. In this way, the server stores the identification information of the designated data and the first geographical location information corresponding to the designated data, and the designated data does not need to be stored. This has two benefits: firstly, the server does not need to set a storage space for the designated data, so that the storage space of the server is saved, and the storage cost of the server is reduced; secondly, the specified data in the terminal are generally private information of the user and may include relatively private content, and the server does not store the specified data in the terminal, so that the personal privacy of the user can be better protected, and the leakage of the user information is prevented.
The matching of the second terminal and the first geographic location information may refer to matching of geographic location information of a current location of the second terminal and the first geographic location information. For example, if the cell phone B1 and the cell phone B2 are in the same location, and the geographic location information of the cell phone B1 and the geographic location information of the cell phone B2 are the same, the geographic location information of the cell phone B1 and the geographic location information of the cell phone B2 are matched.
In one exemplary implementation, determining at least one second terminal matching the first geographical location information may include: when a request for downloading the designated data by the terminal is received, acquiring the current second geographical position information of the terminal; and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be the second terminal matched with the first geographical position information.
Through S103, after the server obtains the specified data from the first terminal, the server may place the specified data in a local cache of the server, and after the specified data is sent to the second terminal, the specified data is deleted from the cache.
In application, the service may send the identification information of the specified data to the first terminal, and the first terminal finds the specified data locally according to the identification information of the specified data and sends the found specified data to the server.
The server may transmit the designated data to the at least one second terminal through S104.
As can be seen from the embodiment shown in fig. 1, the server acquires the designated data from the first terminal once and then sends the designated data to the at least one second terminal, thereby achieving the purpose of transmitting the designated data from the first terminal to the at least one second terminal. Therefore, when the pictures in the first terminal need to be transmitted to the plurality of second terminals, the server acquires the designated data from the first terminal once (correspondingly, the first terminal transmits the pictures to the server once), and then the server transmits the designated data to the second terminals respectively without transmitting the designated data to the second terminals respectively by the first terminal, so that the flow consumed by the first terminal is reduced, and the transmission cost is reduced.
For example. Suppose users of cell phone C1, cell phone C2, cell phone C3, cell phone C4, and cell phone C5 are friends with each other, and five people play together at the same place M, each taking some pictures. Five people want to share pictures of each other. At this time, the cell phone C1 uploads the identification information of the picture a1, the identification information of the picture a2, the identification information of the picture a3, and the geographical location information corresponding to the pictures a1, a2, and a3 to the server N (the geographical location information corresponding to the pictures a1, a2, and a3 are the geographical location information of the place M). The server N determines the geographical location information (all geographical location information of the place M) of the cell phone C2, the cell phone C3, the cell phone C4, and the cell phone C5, and the cell phones matched with the geographical location information of the place M include a cell phone C2, a cell phone C3, a cell phone C4, and a cell phone C5. The server N acquires the picture a1, the picture a2 and the picture a3 from the cell phone C1 according to the identification information of the picture a1, the identification information of the picture a2 and the identification information of the picture a3, and then sends the picture a1, the picture a2 and the picture a3 to the cell phone C2, the cell phone C3, the cell phone C4 and the cell phone C5. Thus, each of the cell phone C2, the cell phone C3, the cell phone C4, and the cell phone C5 obtains the picture a1, the picture a2, and the picture a3, and the cell phone C1 is not required to send the picture a1, the picture a2, and the picture a3 to the cell phone C2, the cell phone C3, the cell phone C4, and the cell phone C5, so that the network traffic of the cell phone C1 is greatly saved, and the transmission cost of the cell phone C1 is reduced. Similarly, the cell phone C2, the cell phone C3, the cell phone C4, and the cell phone C5 may also transmit their respective pictures to other four cell phones like the cell phone C1.
Fig. 2 is a diagram illustrating a second flow of a data processing method according to an embodiment of the present invention. As shown in fig. 2, in the present embodiment, the data processing method is applied to a server, and the method includes the following steps:
s201, receiving identification information of designated data uploaded by a first terminal and corresponding first geographical position information.
S202, at least one second terminal matched with the first geographic position information is determined.
S203, acquiring the specified data from the first terminal according to the identification information of the specified data.
And S204, sending the specified data to the second terminal.
And S205, receiving third geographical position information sent by the first terminal.
S206, at least one target identification information corresponding to the third geographical position information is searched.
And S207, sending the target identification information to the first terminal so that the first terminal can acquire target data corresponding to the target identification information according to the target identification information.
Since there may be multiple copies of data acquired at the geographic location indicated by the third geographic location information in the first terminal, and each copy of data has corresponding identification information, the number of target identification information corresponding to the third geographic location information is at least one.
After the server sends the target identification information to the first terminal, the first terminal may obtain target data corresponding to the target identification information according to the target identification information. The number of target data is the same as the number of target identification information.
Through S205 to S207, the first terminal can quickly search for data acquired at the same geographical location by means of the server without manually searching one by one, thereby increasing the speed of searching for data acquired at the same geographical location in the terminal.
For example. The user of cell phone D has taken some pictures separately in city E at different times. The photos are arranged according to the shooting time in the photo album of the mobile phone D, and other photos are mixed among the photos due to different shooting times. It is very time consuming if the user manually looks for the time taken, and the more photos the more time. Through the embodiment shown in fig. 2, the mobile phone D sends the geographical location information of the city E to the server, the server searches the identification information of all photos corresponding to the geographical location information of the city E after receiving the geographical location information, and then sends the identification information to the mobile phone D, and the mobile phone D can quickly screen out all photos taken at the city E at different times according to the identification information.
According to the data processing method provided by the embodiment of the invention, at least one second terminal matched with the first geographical position information is determined by receiving the identification information of the designated data uploaded by the first terminal and the corresponding first geographical position information, the designated data is obtained from the first terminal according to the identification information of the designated data and is sent to the second terminal, when the data in the terminal needs to be sent to other terminals, the terminal only sends the data to the server once, the server can respectively send the data to a plurality of other terminals, and the terminal does not need to respectively send the data to each other terminal, so that the network flow consumed by the terminal is reduced, and the transmission cost of the terminal is reduced.
Example two
The embodiment of the invention also provides a data processing device, which can realize the steps of the data processing method in the first embodiment.
Fig. 3 is a first functional block diagram of a data processing apparatus according to an embodiment of the present invention. As shown in fig. 3, in the present embodiment, a data processing apparatus is provided in a server, and the apparatus includes:
the first receiving module 310 is configured to receive identification information of the designated data uploaded by the first terminal and corresponding first geographical location information.
A determining module 320 for determining at least one second terminal matching the first geographical location information.
The obtaining module 330 is configured to obtain the specified data from the first terminal according to the identification information of the specified data.
A first sending module 340, configured to send the specified data to the second terminal.
In an exemplary implementation, the determining module 320, when configured to determine at least one second terminal matching the first geographical location information, may specifically be configured to: when a request for downloading the designated data by the terminal is received, acquiring the current second geographical position information of the terminal; and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be the second terminal matched with the first geographical position information.
In an exemplary implementation, the data processing apparatus may further include: the second receiving module is used for receiving third geographical position information sent by the first terminal; the searching module is used for searching at least one target identification information corresponding to the third geographical position information; and the second sending module is used for sending the target identification information to the first terminal so that the first terminal can obtain target data corresponding to the target identification information according to the target identification information.
Since the data processing apparatus in this embodiment is capable of executing the data processing method in the first embodiment, reference may be made to the related description of the data processing method in the first embodiment for a part of this embodiment that is not described in detail.
According to the data processing device provided by the embodiment of the invention, at least one second terminal matched with the first geographical position information is determined by receiving the identification information of the designated data uploaded by the first terminal and the corresponding first geographical position information, the designated data is obtained from the first terminal according to the identification information of the designated data and is sent to the second terminal, when the data in the terminal needs to be sent to other terminals, the terminal only sends the data to the server once, the server can respectively send the data to a plurality of other terminals, and the terminal does not need to respectively send the data to each other terminal, so that the network flow consumed by the terminal is reduced, and the transmission cost of the terminal is reduced.
EXAMPLE III
Fig. 4 is a diagram illustrating a third flow of a data processing method according to an embodiment of the present invention. As shown in fig. 4, in this embodiment, a data processing method is applied to a terminal, and the method includes the following steps:
s401, the identification information of the designated data and the corresponding first geographical position information are uploaded to a server.
S402, receiving a request of acquiring the specified data by the server, wherein the request carries the identification information of the specified data.
S403, according to the request, the designated data is sent to the server.
The embodiment shown in fig. 4 is a flow of the terminal side corresponding to the embodiment shown in fig. 1.
In S401, the terminal uploads the identification information of the designated data and the corresponding first geographical location information to the server, so that the server stores the identification information of the designated data and the corresponding first geographical location information.
After the terminal receives the request for acquiring the designated data from the server through S402, the terminal may find the designated data according to the identification information of the designated data carried in the request.
In S403, the terminal sends the designated data to the server according to the request of the server, so that the server sends the designated data to at least one other terminal.
It can be seen that, with the embodiment shown in fig. 4, the terminal only needs to send the specific data to the server once, and the specific data can be sent to at least one other terminal through the server. Therefore, when more other terminals needing the specified data exist, the terminal only needs to send the specified data to the server once, the purpose of transmitting the specified data to the other terminals can be achieved, the terminal does not need to send the pictures to each other terminal, network flow consumed by the terminal is reduced, and transmission cost of the terminal is reduced.
Fig. 5 is a diagram illustrating a fourth flowchart of a data processing method according to an embodiment of the present invention. As shown in fig. 5, in this embodiment, a data processing method is applied to a terminal, and the method includes the following steps:
s501, uploading the identification information of the designated data and the corresponding first geographical position information to a server.
S502, receiving a request of acquiring the specified data by the server, wherein the request carries the identification information and the verification information of the specified data.
And S503, verifying the request according to the verification information to obtain a verification result.
And S504, judging whether the verification result is successful, if so, executing S505, otherwise, refusing to execute S505, and ending.
And S505, sending the specified data to the server according to the request, and ending.
In the embodiment shown in fig. 5, when the request carries the verification information, before the specified data is sent to the server, the request is verified according to the verification information, when the verification result is that the verification is successful, the step of sending the specified data to the server is executed, and when the verification result is that the verification is failed, the step of sending the specified data to the server is refused to be executed.
For example, the authentication information may be authorization information given to the server by the terminal, or may be identification information of another terminal that requests to acquire the specified data from the terminal through the server.
The terminal verifies the request before sending the specified data to the server, so that the terminal can confirm the legality of the request and avoid sending the specified data to other terminals which are not agreed by the terminal, information leakage is prevented, and information safety is improved.
Fig. 6 is a diagram illustrating a fifth flowchart of a data processing method according to an embodiment of the present invention. As shown in fig. 6, in this embodiment, a data processing method is applied to a terminal, and the method includes the following steps:
s601, uploading the identification information of the designated data and the corresponding first geographical position information to a server.
S602, receiving a request for acquiring the specified data from the server, wherein the request carries the identification information of the specified data.
S603, sending the specified data to the server according to the request.
S604, sending the third geographical location information to the server, so that the server searches for at least one target identification information corresponding to the third geographical location information.
S605, receiving the target identification information returned by the server.
S606, according to the target identification information, target data corresponding to the target identification information is obtained.
S604 to S606 in the embodiment shown in fig. 6 are flows of the terminal side corresponding to steps S205 to S207 in embodiment 2 described above. Through S604 to S606, the first terminal can quickly find the data acquired at the same geographical location by means of the server without manually searching one by one, thereby increasing the speed of finding the data acquired at the same geographical location in the terminal.
According to the data processing method provided by the embodiment of the invention, the identification information of the designated data and the corresponding first geographical position information are uploaded to the server, the request of the server for acquiring the designated data is received, the identification information of the designated data is carried in the request, the designated data is sent to the server according to the request, when the data in the terminal needs to be sent to other terminals, the terminal only transmits the data to the server once, the server can respectively send the data to other terminals, and the terminal does not need to respectively send the data to each other terminal, so that the network flow consumed by the terminal is reduced, and the transmission cost of the terminal is reduced.
Example four
The embodiment of the invention also provides a data processing device, which can realize the steps of the data processing method in the third embodiment.
Fig. 7 is a second functional block diagram of a data processing apparatus according to an embodiment of the present invention. As shown in fig. 7, in this embodiment, a data processing apparatus is provided in a terminal, and the apparatus includes:
and an uploading module 710, configured to upload the identification information of the specified data and the corresponding first geographical location information to a server.
The request receiving module 720 is configured to receive a request for acquiring specified data from a server, where the request carries identification information of the specified data.
And a data sending module 730, configured to send the specified data to the server according to the request.
In an exemplary implementation, the request carries authentication information; the data processing apparatus may further include: the verification module is used for verifying the request according to the verification information to obtain a verification result; the data sending module is used for sending the specified data to the server when the verification result is that the verification is successful; or, the picture sending module refuses to execute the step of sending the specified data to the server when the verification result is that the verification fails.
In an exemplary implementation, the data processing apparatus may further include: the sending module is used for sending the third geographical position information to the server so that the server can search at least one target identification information corresponding to the third geographical position information; the identification receiving module is used for receiving the target identification information returned by the server; and the data acquisition module is used for acquiring target data corresponding to the target identification information according to the target identification information.
According to the data processing device provided by the embodiment of the invention, the identification information of the designated data and the corresponding first geographical position information are uploaded to the server, the request of the server for acquiring the designated data is received, the identification information of the designated data is carried in the request, the designated data is sent to the server according to the request, when the data in the terminal needs to be sent to other terminals, the terminal only transmits the data to the server once, the server can respectively send the data to other terminals, and the terminal does not need to respectively send the data to each other terminal, so that the network flow consumed by the terminal is reduced, and the transmission cost of the terminal is reduced.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A data processing method is applied to a server, and the method comprises the following steps:
receiving identification information of designated data uploaded by a first terminal and first geographical position information corresponding to the designated data;
determining at least one second terminal matched with the first geographical position information;
acquiring the specified data from the first terminal according to the identification information of the specified data;
sending the specified data to the second terminal;
the method further comprises the following steps:
receiving third geographical position information sent by the first terminal;
searching at least one target identification information corresponding to the third geographical position information;
and sending the target identification information to the first terminal so that the first terminal can acquire target data corresponding to the target identification information according to the target identification information.
2. The method of claim 1, wherein determining at least one second terminal that matches the first geographic location information comprises:
when a request for downloading the specified data by the terminal is received, acquiring current second geographical position information of the terminal;
and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be a second terminal matched with the first geographical position information.
3. A data processing method is applied to a terminal, and the method comprises the following steps:
uploading identification information of designated data and corresponding first geographical position information to a server, wherein the first geographical position information is used for matching with a receiving terminal corresponding to the designated data;
receiving a request for acquiring the specified data by the server, wherein the request carries identification information of the specified data;
sending the specified data to the server according to the request;
the method further comprises the following steps:
sending third geographical position information to the server so that the server searches for at least one target identification information corresponding to the third geographical position information;
receiving the target identification information returned by the server;
and acquiring target data corresponding to the target identification information according to the target identification information.
4. The method of claim 3, wherein the request carries authentication information;
before sending the specified data to the server, the method further comprises:
verifying the request according to the verification information to obtain a verification result;
when the verification result is that the verification is successful, executing the step of sending the specified data to the server; or, when the verification result is verification failure, refusing to execute the step of sending the specified data to the server.
5. A data processing apparatus provided in a server, the apparatus comprising:
the first receiving module is used for receiving the identification information of the designated data uploaded by the first terminal and the first geographical position information corresponding to the designated data;
a determining module, configured to determine at least one second terminal that matches the first geographic location information;
an obtaining module, configured to obtain the specified data from the first terminal according to the identification information of the specified data;
the first sending module is used for sending the specified data to the second terminal;
the device further comprises:
the second receiving module is used for receiving third geographical position information sent by the first terminal;
the searching module is used for searching at least one target identification information corresponding to the third geographical position information;
and the second sending module is used for sending the target identification information to the first terminal so that the first terminal can obtain target data corresponding to the target identification information according to the target identification information.
6. The apparatus according to claim 5, wherein the determining module, when configured to determine the at least one second terminal matching the first geographical location information, is specifically configured to:
when a request for downloading the specified data by the terminal is received, acquiring current second geographical position information of the terminal;
and when the second geographical position information is matched with the first geographical position information, the terminal is confirmed to be a second terminal matched with the first geographical position information.
7. A data processing apparatus provided in a terminal, the apparatus comprising:
the uploading module is used for uploading the identification information of the designated data and corresponding first geographical position information to a server, and the first geographical position information is used for matching with an accepting terminal corresponding to the designated data;
a request receiving module, configured to receive a request for the server to obtain the specified data, where the request carries identification information of the specified data;
the picture sending module is used for sending the specified data to the server according to the request;
the device further comprises:
a sending module, configured to send third geographic location information to the server, so that the server searches for at least one target identifier corresponding to the third geographic location information;
the identification receiving module is used for receiving the target identification information returned by the server;
and the picture acquisition module is used for acquiring target data corresponding to the target identification information according to the target identification information.
8. The apparatus of claim 7, wherein the request carries authentication information;
the device further comprises:
the verification module is used for verifying the request according to the verification information to obtain a verification result;
the picture sending module is used for sending the specified data to the server when the verification result is that the verification is successful; or, the picture sending module refuses to send the specified data to the server when the verification result is that the verification fails.
CN201710596141.8A 2017-07-20 2017-07-20 Data processing method and device Active CN107241437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710596141.8A CN107241437B (en) 2017-07-20 2017-07-20 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710596141.8A CN107241437B (en) 2017-07-20 2017-07-20 Data processing method and device

Publications (2)

Publication Number Publication Date
CN107241437A CN107241437A (en) 2017-10-10
CN107241437B true CN107241437B (en) 2021-02-19

Family

ID=59987990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710596141.8A Active CN107241437B (en) 2017-07-20 2017-07-20 Data processing method and device

Country Status (1)

Country Link
CN (1) CN107241437B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291761B (en) * 2020-12-29 2021-04-13 中天众达智慧城市科技有限公司 Management data sending method in urban brain system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582062A (en) * 2008-05-12 2009-11-18 深圳市莱科电子技术有限公司 Photo management system based on position information
CN103391319A (en) * 2013-07-15 2013-11-13 金蝶软件(中国)有限公司 Resource sharing method, resource sharing system, cloud device and user terminals
CN104133899A (en) * 2014-08-01 2014-11-05 百度在线网络技术(北京)有限公司 Method and device for generating picture search library and method and device for searching for picture
CN104348875A (en) * 2013-08-06 2015-02-11 中国电信股份有限公司 Method, cloud server and system for performing pocket transmission of data
US9143334B2 (en) * 2010-12-16 2015-09-22 Samsung Electronics Co., Ltd. Method and apparatus for transmitting group message in unicast network
CN104933146A (en) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 Photo management method, photo management device and mobile terminal
CN105005597A (en) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 Photograph sharing method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9626747B2 (en) * 2012-04-24 2017-04-18 Apple Inc. Image enhancement and repair using sample data from other images

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582062A (en) * 2008-05-12 2009-11-18 深圳市莱科电子技术有限公司 Photo management system based on position information
US9143334B2 (en) * 2010-12-16 2015-09-22 Samsung Electronics Co., Ltd. Method and apparatus for transmitting group message in unicast network
CN103391319A (en) * 2013-07-15 2013-11-13 金蝶软件(中国)有限公司 Resource sharing method, resource sharing system, cloud device and user terminals
CN104348875A (en) * 2013-08-06 2015-02-11 中国电信股份有限公司 Method, cloud server and system for performing pocket transmission of data
CN104133899A (en) * 2014-08-01 2014-11-05 百度在线网络技术(北京)有限公司 Method and device for generating picture search library and method and device for searching for picture
CN104933146A (en) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 Photo management method, photo management device and mobile terminal
CN105005597A (en) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 Photograph sharing method and mobile terminal

Also Published As

Publication number Publication date
CN107241437A (en) 2017-10-10

Similar Documents

Publication Publication Date Title
US11023572B2 (en) Augmented reality object providing method and server using image authentication
US9705996B2 (en) Methods and system for providing location-based communication services
US10009731B2 (en) Information sharing method, device and storage medium
US10757102B2 (en) Methods, apparatus, and systems for identity authentication
KR101759454B1 (en) Photo sharing method, device, program and recording medium
US9477687B2 (en) Mobile terminal and metadata setting method thereof
KR100656079B1 (en) Method for providing digital picture frame service on home networks
US9122910B2 (en) Method, apparatus, and system for friend recommendations
WO2014166133A1 (en) Method, apparatus, and system for friend recommendations
WO2013147902A1 (en) Method, device, and system for ad-hoc resource selection
CN104540086A (en) Business card information transmission method and device
US20120058774A1 (en) Apparatus and method for displaying augmented reality information
CN107241437B (en) Data processing method and device
US9326102B2 (en) Data transmission system, mobile electronic device, and data transmission method via throw gesture
EP3090534A1 (en) Method for providing on-demand digital representations to mobile devices in other geographic locations
CN107819729A (en) A kind of data request method and its system, access device, storage device
CN111049710A (en) Method and device for accessing server
CN103262495A (en) Method for transferring multimedia data over a network
EP3766240A1 (en) Apparatus, system, and method for data management, and recording medium
WO2019177058A1 (en) Apparatus, system, and method for data management, and recording medium
KR20160142555A (en) Photo and video transmission systems and Usage
CN104639215A (en) Terminal equipment near field matching method, device and system and relevant equipment
CN112311819A (en) Information sharing method, device and system based on location triggering
CN114297451A (en) Information processing method and device and terminal equipment
KR20190005053A (en) Image information providing system based on shooting location, device and method thereof

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
GR01 Patent grant
GR01 Patent grant