CN106792545B - Data transmission method, mobile terminal and server - Google Patents

Data transmission method, mobile terminal and server Download PDF

Info

Publication number
CN106792545B
CN106792545B CN201710031311.8A CN201710031311A CN106792545B CN 106792545 B CN106792545 B CN 106792545B CN 201710031311 A CN201710031311 A CN 201710031311A CN 106792545 B CN106792545 B CN 106792545B
Authority
CN
China
Prior art keywords
mobile terminal
server
equipment
search
target
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
CN201710031311.8A
Other languages
Chinese (zh)
Other versions
CN106792545A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
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 Vivo Mobile Communication Co Ltd, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710031311.8A priority Critical patent/CN106792545B/en
Publication of CN106792545A publication Critical patent/CN106792545A/en
Application granted granted Critical
Publication of CN106792545B publication Critical patent/CN106792545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Abstract

The invention is suitable for the technical field of networks, and provides a data transmission method, which comprises the following steps: submitting a target search request containing search conditions to a server so that the server acquires the position information of at least one second mobile terminal meeting the search conditions; receiving the position information of at least one second mobile terminal sent by a server, and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal; and according to the target equipment selected by the user on the map, sending a communication request for connecting with the target equipment to the server, and after receiving confirmation information fed back by the server and connected with the target equipment, carrying out data transmission with the target equipment. The embodiment of the invention ensures that the searching range of the second mobile terminal can not be limited by the signal transmission distance of the first mobile terminal; the user can transmit data to strangers in a nearby range at any time and any place, the social requirement of the user is met, and the social function of the map software is expanded.

Description

Data transmission method, mobile terminal and server
Technical Field
The invention belongs to the technical field of networks, and particularly relates to a data transmission method, a mobile terminal and a server.
Background
With the rapid development of the mobile internet, more and more application scenes are available for data transmission between mobile terminals. At present, the mobile terminal mainly performs data transmission in the following four ways: 1. the sending end and the receiving end of the data are both accessed to the same wireless local area network; 2. enabling one of the devices to start a wireless hotspot function, so that the other devices can access a wireless local area network provided by the device; 3. enabling both a sending end and a receiving end of data to start a Bluetooth function, and transmitting the data through a Bluetooth technology; 4. and after the application account of the other side is searched based on the third-party software, data transmission is carried out.
At present, data transmission methods based on mobile terminals all need to know an application account or a device account of an opposite side in advance to transmit data to equipment of the opposite side, cannot transmit the data to strangers in a nearby range at any time and any place, and cannot meet the ever-increasing social demands of users.
Disclosure of Invention
The embodiment of the invention aims to provide a data transmission method, a mobile terminal and a server, and aims to solve the problems that data cannot be transmitted to strangers in a nearby range anytime and anywhere and the ever-increasing social demands of users cannot be met in the prior art.
In a first aspect of the embodiments of the present invention, a data transmission method is provided, which is applied to a first mobile terminal, and includes:
submitting a target search request containing search conditions to a server so that the server acquires the position information of at least one second mobile terminal meeting the search conditions;
receiving the position information of the at least one second mobile terminal sent by the server, and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal;
according to target equipment selected by a user on the map, sending a communication request for connecting with the target equipment to the server, wherein the target equipment is one or more second mobile terminals;
and after receiving the confirmation information which is fed back by the server and connected with the target equipment, carrying out data transmission with the target equipment.
In a second aspect of the embodiments of the present invention, a data transmission method is provided, which is applied to a server, and includes:
receiving a target search request which is uploaded by a first mobile terminal and contains search conditions;
acquiring the position information of at least one second mobile terminal meeting the search condition;
returning the position information of the at least one second mobile terminal to the first mobile terminal so that the first mobile terminal displays the position information of the at least one second mobile terminal on a map of the first mobile terminal;
when a communication request which is sent by the first mobile terminal and is connected with target equipment is received, the target equipment is requested to establish communication connection with the first mobile terminal, wherein the target equipment is selected in the map by a user of the first mobile terminal, and the target equipment is one or more second mobile terminals;
and after receiving connection confirmation information returned by the target equipment, feeding back the connection confirmation information to the first mobile terminal so as to enable the first mobile terminal and the target equipment to carry out data transmission.
In a third aspect of the embodiments of the present invention, a mobile terminal is provided, including:
a submitting unit, configured to submit a target search request including a search condition to a server, so that the server obtains location information of at least one second mobile terminal that satisfies the search condition;
the receiving unit is used for receiving the position information of the at least one second mobile terminal sent by the server and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal;
a sending unit, configured to send, to the server, a communication request for connecting to a target device selected by a user on the map, where the target device is one or more second mobile terminals;
and the transmission unit is used for carrying out data transmission with the target equipment after receiving the confirmation information which is fed back by the server and is connected with the target equipment.
In a fourth aspect of the embodiments of the present invention, a server is provided, including:
the receiving unit is used for receiving a target search request which is uploaded by the first mobile terminal and contains search conditions;
an acquisition unit configured to acquire location information of at least one second mobile terminal that satisfies the search condition;
a returning unit, configured to return the location information of the at least one second mobile terminal to the first mobile terminal, so that the first mobile terminal displays the location information of the at least one second mobile terminal on a map of the first mobile terminal;
a requesting unit, configured to request a target device to establish a communication connection with a first mobile terminal when receiving a communication request sent by the first mobile terminal to connect to the target device, where the target device is selected by a user of the first mobile terminal from the map, and the target device is one or more second mobile terminals;
and the feedback unit is used for feeding back the connection confirmation information to the first mobile terminal after receiving the connection confirmation information returned by the target equipment, so that the first mobile terminal and the target equipment perform data transmission.
The embodiment of the invention realizes data transmission between two end devices based on map software, and screens the second mobile terminal meeting the search condition by the server according to the search condition uploaded by the first mobile terminal, thereby ensuring that the search range of the second mobile terminal is not limited by the signal transmission distance of the first mobile terminal; the first mobile terminal can visually check and select the target equipment from the currently displayed map to complete data transmission according to the position information of the second mobile terminal returned by the server, the operation is simple, and the application scene of map software is expanded. According to the embodiment of the invention, the user can transmit data to the second mobile terminal in a nearby range at any time and any place and can communicate with strangers using the second mobile terminal, so that the increasing social demand of the user is met, and the social function of map software is expanded.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art 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 that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a system architecture diagram to which the data transmission method according to the embodiment of the present invention is applied;
fig. 2 is a flowchart of an implementation of a first mobile terminal side of a data transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of a first mobile terminal side of a data transmission method according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a graph pattern provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a connection line provided by an embodiment of the present invention;
fig. 6 is a flow chart of a server side implementation of the data transmission method provided by the embodiment of the present invention;
fig. 7 is a flowchart of a specific implementation of the server side S601 and S602 of the data transmission method according to the embodiment of the present invention;
fig. 8 is a flowchart illustrating a specific implementation of first filtering pre-stored history information of each device in the data transmission method S702 according to the embodiment of the present invention;
fig. 9 is a flowchart illustrating a specific implementation of performing a second filtering on pre-stored history information of each device in the data transmission method S702 according to the embodiment of the present invention;
fig. 10 is a flowchart illustrating a specific implementation of the data transmission method S704 according to an embodiment of the present invention;
fig. 11 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 12 is a block diagram of a server according to an embodiment of the present invention;
fig. 13 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a diagram illustrating a system architecture to which the data transmission method according to the embodiment of the present invention is applied, and only the relevant portions are shown for convenience of description.
Referring to fig. 1, the system is composed of a first mobile terminal 11, a server 12, and a second mobile terminal 13;
the first mobile terminal 11 and the second mobile terminal 13 are both terminal devices having a wireless network access function. Communication with the server 12 is ensured by a map-based application running on the mobile terminal. The first mobile terminal 11, as a request client, submits a search request about the second mobile terminals 13 to the server 12, and selects one or more second mobile terminals 13 on the map as target devices for data transmission according to the search results returned by the server 12.
In the system, the server 12 is used for processing the search condition uploaded by the first mobile terminal 11 according to the stored history information of each device. The server 12 requests to acquire real-time location information on the second mobile terminal 13 based on the analysis result of the history information and returns the location information to the first mobile terminal 11. Meanwhile, the server 12 is further configured to provide a data relay service for the first mobile terminal 11, so that the first mobile terminal 11 can forward data that needs to be transmitted to a target device in the at least one second mobile terminal 13 through the server 12.
Fig. 2 shows a flowchart of an implementation of the first mobile terminal side of the data transmission method according to the embodiment of the present invention, which is detailed as follows:
in S201, a target search request including a search condition is submitted to a server, so that the server acquires location information of at least one second mobile terminal that satisfies the search condition.
The first mobile terminal submits a target search request to the server through map-based application software running in the first mobile terminal, wherein the request contains search conditions set by a user or defaulted about the second mobile terminal.
The search condition includes, but is not limited to, a search distance range value, a search area, and information such as a personality tag. The maximum distance value between the second mobile terminal and the current geographic position of the first mobile terminal is a search distance range value; the administrative areas of all levels where the second mobile terminal is located are search areas; for the user of the first mobile terminal or the second mobile terminal, the personal status information is the personality tag, which includes information such as hobbies, occupation, gender, and constellation.
In S202, the location information of the at least one second mobile terminal sent by the server is received, and the location information of the at least one second mobile terminal is displayed on the map of the first mobile terminal.
The server is used as a background system of the map-based application software, reads the basic information of all the currently stored devices from the database, screens the basic information of the devices meeting the search conditions according to the received search conditions, and returns the basic information to the first mobile terminal as response information of the target search request.
The basic information includes, but is not limited to, information such as a personality tag, a personal avatar, and a current location of the device. If the second mobile terminal and the first mobile terminal have the historical data transmission record, the basic information further comprises acquaintance mark information.
In this embodiment, the first mobile terminal receives basic information corresponding to at least one second mobile terminal returned by the server, and each piece of basic information includes a personal avatar of the second mobile terminal representing an information source and a real-time location of the second mobile terminal, so that the first mobile terminal for displaying information extracts the real-time location of each second mobile terminal from each piece of received basic information, and then searches for a map location point corresponding to the real-time location in currently running map application software. Thereafter, the personal avatar of each second mobile terminal is displayed at the map location point.
In S203, according to a target device selected by the user on the map, a communication request for connecting with the target device is sent to the server, where the target device is one or more second mobile terminals.
When the user clicks the personal avatar of any second mobile terminal in the map, the personal label of the target device and some additional function keys are popped up on the map. The function keys may be, for example, function menu buttons for file transfer, quick speech, expression, close, and the like. Based on the currently displayed basic information of the second mobile terminal, the user can send out a corresponding operation instruction in the map, so as to realize related functions.
When a user sends a touch instruction on a map, and the touch instruction is associated with a function key corresponding to any one of the second mobile terminals, such as file transfer, quick speech, expression and the like, the user is indicated to send a communication connection instruction with the second mobile terminal, and therefore the second mobile terminal becomes a target device selected by the user.
The first mobile terminal submits a communication connection request according to the target equipment indicated by the communication connection instruction, wherein the request carries an identifier of the target equipment, so that the server distinguishes which one of the plurality of equipment is the target equipment to which the first mobile terminal needs to be connected, and the server can send the communication connection request to the target equipment on behalf of the first mobile terminal.
In S204, after receiving the confirmation information of the connection with the target device fed back by the server, data transmission is performed with the target device.
And after receiving the communication connection request, the target device returns connection confirmation information to the server to indicate that the request is confirmed to be received currently. At this time, the server serves as a transfer station of the information and transfers the information to the first mobile terminal.
After receiving the connection confirmation information, the first mobile terminal uploads effective data information required to be transmitted by the user to the server through the wireless network, so that the server can continue to transmit information between the two end devices, and data transmission and interaction between the two end devices are realized.
The embodiment of the invention realizes data transmission between two end devices based on map software, and screens the second mobile terminal meeting the search condition by the server according to the search condition uploaded by the first mobile terminal, thereby ensuring that the search range of the second mobile terminal is not limited by the signal transmission distance of the first mobile terminal; the first mobile terminal can visually check and select the target equipment from the currently displayed map to complete data transmission according to the position information of the second mobile terminal returned by the server, the operation is simple, and the application scene of map software is expanded. According to the embodiment of the invention, the user can transmit data to the second mobile terminal in a nearby range at any time and any place and can communicate with strangers using the second mobile terminal, so that the increasing social demand of the user is met, and the social function of map software is expanded.
Fig. 3 shows a specific implementation flow of the first mobile terminal side S201 of the data transmission method provided in the embodiment of the present invention, which is detailed as follows:
in S301, the current real-time location of the first mobile terminal is uploaded to a server.
In the embodiment, the first mobile terminal obtains real-time positioning through a built-in GPS module; if the first mobile terminal is a mobile phone, the method also comprises an implementation mode based on the positioning of a mobile operation network base station, and the actual position information of the first mobile terminal, such as longitude and latitude coordinate data, three-dimensional data and the like, can be determined through the cooperation with a wireless network. The first mobile terminal uploads the acquired real-time positioning information to the server and can also carry an individual tag for identifying the user characteristics of the first mobile terminal.
In S302, a target search request including a search condition is submitted to the server, where the search condition includes a search distance range value, so that after the server filters history information of a plurality of pre-stored devices, one or more candidate devices are determined from the devices, and the real-time positioning and the search distance range value are sent to the candidate devices, and the candidate devices determine, according to the real-time positioning of the first mobile terminal, whether their current positions are within the search distance range value, and if so, the candidate devices serve as the second mobile terminal, and return corresponding position information to the server.
For each device installed with the map software, the server keeps a fixed time interval to acquire the device information of each device. Since the device information is in a continuously updated state in the server, the device information of each device obtained by the server is history information before the real-time system time of the server. The historical information can be stored in a database inside the server or independently stored in a third-party database. The historical information of each device includes, but is not limited to, data information such as historical positioning, personality tag and moving speed of the device.
If each device uploads the device information at a certain past time A and uploads the device information again at a certain time B after a fixed time, at this time, the server updates or overwrites the history information of the device, so that the currently stored history information is the latest acquired information.
Preferably, when the device runs the map software, the device actively uploads the device information at the current moment to the server even if the preset time point is not reached.
And the server screens the pre-stored historical information according to the received search conditions, so that the candidate equipment can be determined finally. Wherein the candidate device is a device having the highest probability of becoming the second mobile terminal.
And after the server finishes screening, sending the real-time positioning and searching conditions uploaded by the first mobile terminal to each candidate device.
After acquiring the real-time positioning of the candidate device, the candidate device combines the real-time positioning of the first mobile terminal to perform analysis processing, judges whether the candidate device is the second mobile terminal sought by the first mobile terminal according to the search distance range value in the search condition, and returns the judgment result and the basic information corresponding to the candidate device to the server if the candidate device is the second mobile terminal sought by the first mobile terminal.
As an embodiment of the present invention, after S202 and before S203, the method further includes:
and when detecting that a pattern drawn on a map by a user is a closed curve including a plurality of second mobile terminals or a connecting line respectively taking the first mobile terminal and the second mobile terminals as starting and stopping points, determining that the target equipment is the second mobile terminal associated with the pattern.
Since the first mobile terminal is a touch screen device, that is, a device capable of determining the type of the control instruction according to a touch gesture of a user, the user may draw a preset pattern shape on a map for issuing a communication connection instruction with respect to a target device.
As an implementation example of the present invention, fig. 4 shows a first mobile terminal, wherein an internal rectangular frame is a display screen of the first mobile terminal, and a map area covering the full screen is currently displayed. Each circle point represents a second mobile terminal at a corresponding position of the map, and the closed curve is a pattern drawn on the map by the user in a mode of touching the screen. In this example, the first mobile terminal detects that a pattern drawn by a user is a closed curve, and can know each specific second mobile terminal corresponding to a circle point enclosed by the curve, so that the first mobile terminal can determine that a currently received touch instruction is a communication connection instruction with each second mobile terminal enclosed in the curve, that is, each second mobile terminal enclosed in the curve is a target device, and the first mobile terminal needs to be in communication connection with each target device enclosed in the curve one by one.
As another embodiment of the present invention, fig. 5 shows another first mobile terminal, where each circle point represents a second mobile terminal located at a corresponding position of the map, point a represents the first mobile terminal itself, point B represents a second mobile terminal selected by the user and needing to communicate, the connecting line is a pattern drawn on the map by the user by touching the screen, and the starting point and the stopping point of the connecting line are point a and point B. Therefore, the first mobile terminal can determine that the currently received touch instruction is the communication connection instruction of the device corresponding to the start point and the stop point, that is, the first mobile terminal a needs to perform communication connection with the second mobile terminal B. Therefore, the second mobile terminal B is the target device.
In this embodiment, whether a communication connection instruction is acquired is determined by detecting a pattern drawn by a user, and when it is determined that the current touch instruction is the communication connection instruction, relevant information of the target device can be acquired according to the shape of the pattern, so that a communication connection request carrying the relevant information is sent to the server. The trigger mode of the instruction is simple to operate, one-to-one and one-to-many data transmission can be realized by drawing a line, and compared with the traditional target equipment selection mode, the trigger mode reduces the time for selecting equipment and further improves the data transmission efficiency.
Fig. 6 shows an implementation flow of a server side of the data transmission method provided in the embodiment of the present invention, in this embodiment, an execution main body of the flow is a server, which is specifically as follows:
in S601, a target search request including a search condition uploaded by a first mobile terminal is received.
In S602, location information of at least one second mobile terminal satisfying the search condition is acquired.
In S603, the location information of the at least one second mobile terminal is returned to the first mobile terminal, so that the first mobile terminal displays the location information of the at least one second mobile terminal on the map of the first mobile terminal.
In S604, when a communication request sent by the first mobile terminal to connect to a target device is received, the target device is requested to establish a communication connection with the first mobile terminal, where the target device is selected by a user of the first mobile terminal from the map, and the target device is one or more second mobile terminals.
In S605, after receiving the connection confirmation information returned by the target device, feeding back the connection confirmation information to the first mobile terminal, so that the first mobile terminal and the target device perform data transmission.
For the contents in all embodiments disclosed herein, the same applies in the embodiments of the present invention, and the data transmission principle in the embodiments of the present invention is consistent with the implementation principle of the data transmission method described in fig. 1 to fig. 5, and therefore, the details are not repeated.
As an embodiment of the present invention, as shown in fig. 7, the above S601 and S602 are specifically as follows:
in S701, a real-time positioning of the first mobile terminal and a target search request including a search condition including a search distance range value are received.
At 702, a first filtering and a second filtering are performed on the pre-stored history information of each device to determine one or more candidate devices from the devices.
The server roughly filters the historical information of each device for the first time according to the received search condition, so that the device with higher correlation degree with the search condition can be selected preferentially. And then, the server performs secondary screening on the selected equipment to ensure that the candidate equipment is finally determined. Wherein the candidate device is a device having the highest probability of becoming the second mobile terminal.
In 703, the real-time positioning and the search distance range value are sent to the candidate devices to obtain the location information returned by the second mobile terminal that meets the search condition in the one or more candidate devices.
And after the server finishes screening, sending the real-time positioning and searching conditions uploaded by the first mobile terminal to each candidate device.
After acquiring the real-time positioning of the candidate device, the candidate device combines the real-time positioning of the first mobile terminal to perform analysis processing, judges whether the candidate device is the second mobile terminal sought by the first mobile terminal according to the search distance range value in the search condition, and returns the judgment result and the basic information corresponding to the candidate device to the server if the candidate device is the second mobile terminal sought by the first mobile terminal. At this time, the server can obtain the location information of the second mobile terminal satisfying the search condition.
The implementation principle of the steps not mentioned in the embodiments of the present invention is the same as the implementation principle of each embodiment at the first mobile terminal side in the data transmission method, and therefore, the details are not repeated.
When the second mobile terminal is searched, the real-time positioning and searching conditions of the first mobile terminal are uploaded to the server, and the server performs secondary screening processing on each piece of equipment with known historical information, so that data information with low relevance can be quickly removed from the historical information of the equipment with large data volume after the first screening is finished, and the searching speed and efficiency of the second mobile terminal are improved; by sending the search condition and the real-time positioning of the first mobile terminal to the candidate device, the candidate device judges whether the search condition is met according to the real-time information of the candidate device, the defect that the server searches for the second mobile terminal according to the historical information can be overcome, the possibility of error occurrence is reduced, the fact that the basic information about the second mobile terminal finally obtained by the first mobile terminal can better meet the actual requirement of the user is guaranteed, and the accuracy of searching for the second mobile terminal is improved.
As an embodiment of the present invention, fig. 8 shows a specific implementation procedure of performing first screening on pre-stored history information of each device in the data transmission method S702 provided in the embodiment of the present invention, in this embodiment, an execution subject of the procedure is a server, and specifically, the following is performed:
in S801, a geographic area to which the first mobile terminal belongs is acquired according to the real-time positioning.
For example, after the server obtains the real-time positioning of the first mobile terminal, the server obtains the geographic data coordinate point corresponding to the real-time positioning, and at this time, the server superimposes the pre-stored level map of the administrative area on the coordinate point. And if the coordinate point is located in a certain administrative area range of the layer diagram, reading the name attribute of the administrative area, wherein the name attribute is the geographical area where the first mobile terminal is located currently.
Particularly, the level maps of the administrative area may be classified into level maps of different levels according to the degree of demand for the first screening result of the terminal device. By overlapping the level maps with different levels and the coordinate points, the name attributes of the geographical areas with different levels can be obtained. For example, for the same coordinate point, it can belong to different levels of geographic regions such as Guangdong, Shenzhen or Futian region.
In S802, prestored historical locations of the respective devices are acquired.
The historical information can be stored in a database inside the server or independently stored in a third-party database. The historical information of each device includes, but is not limited to, data information such as historical positioning, personality tag and moving speed of the device.
In S803, the geographical area to which each device belongs is acquired according to the historical location.
By using the same implementation manner in S801, the server determines, according to the historical locations in each piece of historical information, the geographic area where the terminal device is located when receiving the historical locations of each device.
In S804, a first device that is the same as the geographic area to which the first mobile terminal belongs is screened from the devices.
For any device, whether the geographic areas of the device and the first mobile terminal are the same or not can be judged according to the geographic area where the device is located. If so, it may be determined that the user of the device has a high likelihood of being the group that the user of the first mobile terminal would like to search for, and therefore, the device is determined to be a first device.
Particularly, in addition to determining whether the geographic areas to which the device and the first mobile terminal belong are the same to screen out the first device, it may also determine whether the personality tags of the device and the first mobile terminal are the same, or determine whether the geographic areas to which the device and the first mobile terminal belong and the personality tags are the same to screen out the first device from the multiple devices.
The implementation principle of the steps not mentioned in the embodiments of the present invention is the same as the implementation principle of each embodiment at the first mobile terminal side in the data transmission method, and therefore, the details are not repeated.
As an embodiment of the present invention, fig. 9 shows a specific implementation procedure of performing a second filtering on pre-stored history information of each device in the data transmission method S702 provided in the embodiment of the present invention, in this embodiment, an execution subject of the procedure is a server, and specifically, the following is performed:
in S901, the update time of the history information of the first device and the moving speed of the device in the history information are acquired.
The server may acquire an update time of each piece of the history information from the attribute of the history information, and read a moving speed of each first device from each piece of the history information.
When the server receives the historical positioning of the equipment, the moving speed of each equipment can be analyzed and obtained based on the processing mode of the big data and stored in the historical information corresponding to the equipment, so that the moving distance of the equipment possibly generated at a future moment can be calculated.
In S902, determining whether the first device meets a preset condition, and if so, determining the first device as the candidate device;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
And the server substitutes the information parameter value corresponding to each first candidate device into a preset condition to judge whether the preset condition is satisfied, and if so, the first device is determined to be a candidate device.
As an embodiment of the present invention, fig. 10 shows a specific implementation flow of the data transmission method S704 provided in the embodiment of the present invention, which is detailed as follows:
in S1001, the candidate devices are sorted according to the sequence of the update times of the history information.
Because each candidate device has a piece of history information in the server, and the server records the updating time of the piece of history information, all pieces of history information can be sorted in an ascending order according to the updating time of the history information, and the order of each piece of sorted history information is the sorting result of the candidate device corresponding to the piece of history information.
In this embodiment, the update time of a piece of history information acquired by the server at a time point closest to the current time is earlier, and the update time of a piece of history information acquired by the server at a time point farthest from the current time is later.
The ranking rule specifically achieves the effect that the candidate device with the later update time of the historical information is ranked before the candidate target device with the earlier update time of the historical information.
In S1002, the real-time positioning and the search distance range values are sequentially issued to the candidate devices according to the ranks of the candidate devices.
The higher the priority level of the candidate target device ranked first, the greater the weight. Therefore, when the server issues the real-time positioning and searching conditions uploaded by the first mobile terminal to each candidate device, the server will issue the data in sequence according to the level degree of the priority.
By the data issuing method provided by the embodiment, the candidate device with the later historical information updating time can be guaranteed to preferentially receive the search condition information issued by the server, and self-judgment processing is carried out in advance according to the search condition information, so that the judgment result can be returned to the server more quickly. Since the probability that the candidate target device having a later history information update time is likely to become the second mobile terminal is highest, the search efficiency of the first mobile terminal with respect to the second mobile terminal can be improved.
As an embodiment of the present invention, a server obtains hotspot access information uploaded by a first mobile terminal and a target device, where the first mobile terminal and the target device are in a communication connection state.
And after the server reads the hotspot access information, switching the data transmission modes of the first mobile terminal and the target device when the server recognizes that the two end devices are both connected with the same wireless hotspot. That is, the method is switched from the original method of relaying data by the server to the method of directly transmitting data by the wireless lan between the two end devices.
As an embodiment of the present invention, when a first mobile terminal requests to download data in a target device, the target device initiates a password acquisition request, requesting the first mobile terminal to send a download password to the target device. After receiving the download password sent by the first mobile terminal, the target device judges whether the preset password is the same as the download password or not according to the preset password stored in the target device. And if the data are the same, allowing the first mobile terminal to download the stored data.
Preferably, the second mobile terminal acquires time period information preset therein by the user. And when the second mobile terminal is determined as the candidate device, if the current system time is detected not to be in the time period, rejecting to receive the search distance range value sent by the server and the real-time positioning of the first mobile terminal, so that the first mobile terminal cannot realize the search of the second mobile terminal and cannot transmit data with the second mobile terminal.
Preferably, the second mobile terminal acquires a distance range value preset therein by the user. When the second mobile terminal is determined to be a candidate device, if a search distance range value sent by the server and the real-time positioning of the first mobile terminal are received, the second mobile terminal judges whether the distance between the current position of the second mobile terminal and the first mobile terminal is within a preset distance range value. And if the distance between the current position of the first mobile terminal and the first mobile terminal is not within the preset distance range value, not returning basic information about the equipment of the first mobile terminal, so that the first mobile terminal cannot realize the search of the second mobile terminal and cannot transmit data with the second mobile terminal.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 11 shows a block diagram of a mobile terminal according to an embodiment of the present invention, which is used to implement functions required to be implemented by the first mobile terminal in the data transmission method according to the embodiment of the present invention. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 11, the mobile terminal includes:
a submitting unit 1101, configured to submit a target search request including a search condition to a server, so that the server acquires location information of at least one second mobile terminal that satisfies the search condition.
A receiving unit 1102, configured to receive the location information of the at least one second mobile terminal sent by the server, and display the location information of the at least one second mobile terminal on a map of the first mobile terminal.
A sending unit 1103, configured to send, to the server, a communication request for connecting to a target device selected by a user on the map, where the target device is one or more second mobile terminals.
A transmitting unit 1104, configured to perform data transmission with the target device after receiving the confirmation information, fed back by the server, of the connection with the target device.
Optionally, the mobile terminal further includes:
and the uploading unit is used for uploading the current real-time positioning of the first mobile terminal to a server.
The submission unit 1101 is specifically configured to:
submitting a target search request containing search conditions to the server, wherein the search conditions comprise search distance range values, so that after the server screens historical information of a plurality of pre-stored devices, one or more candidate devices are determined from the devices, the real-time positioning and the search distance range values are issued to the candidate devices, the candidate devices judge whether the current position of the candidate devices is within the search distance range values according to the real-time positioning of the first mobile terminal, and if so, the candidate devices serve as the second mobile terminal and return corresponding position information to the server.
Optionally, the mobile terminal further includes:
and the detection unit is used for determining that the target equipment is the second mobile terminal associated with the pattern when detecting that the pattern drawn on the map by the user is a closed curve including a plurality of second mobile terminals or a connecting line taking the first mobile terminal and the second mobile terminal as starting and stopping points respectively.
Fig. 12 shows a block diagram of a server according to an embodiment of the present invention, which corresponds to the data transmission method on the server side described in the above embodiment, and only the relevant parts to this embodiment are shown for convenience of description.
Referring to fig. 12, the server includes:
the receiving unit 1201 is configured to receive a target search request including a search condition uploaded by a first mobile terminal.
An obtaining unit 1202, configured to obtain location information of at least one second mobile terminal that satisfies the search condition.
A returning unit 1203, configured to return the location information of the at least one second mobile terminal to the first mobile terminal, so that the first mobile terminal displays the location information of the at least one second mobile terminal on a map of the first mobile terminal.
A requesting unit 1204, configured to request, when receiving a communication request sent by the first mobile terminal to connect to a target device, that the target device is selected from the map by a user of the first mobile terminal, and the target device is one or more second mobile terminals, to establish a communication connection with the first mobile terminal.
A feedback unit 1205, configured to feed back the connection confirmation information to the first mobile terminal after receiving the connection confirmation information returned by the target device, so that the first mobile terminal and the target device perform data transmission.
Optionally, the receiving unit 1201 includes:
and the receiving subunit is used for receiving the real-time positioning of the first mobile terminal and a target search request containing search conditions, wherein the search conditions comprise search distance range values.
The acquisition unit 1202 includes:
and the screening subunit is used for performing primary screening and secondary screening on the pre-stored history information of each device so as to determine one or more candidate devices from the devices.
And the obtaining subunit is configured to issue the real-time positioning and the search distance range value to the candidate devices, so as to obtain location information returned by a second mobile terminal that meets the search condition in the one or more candidate devices.
Optionally, the screening subunit is specifically configured to:
acquiring a geographical area to which the first mobile terminal belongs according to the real-time positioning;
acquiring pre-stored historical positioning of each device;
obtaining the geographical area to which each device belongs according to the historical positioning;
and screening out first equipment which is the same as the geographical area to which the first mobile terminal belongs from the various equipment.
Optionally, the screening subunit is further configured to:
acquiring the updating time of the historical information of the first device and the moving speed of the device in the historical information;
judging whether the first equipment meets a preset condition, if so, determining the first equipment as the candidate equipment;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V;
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
Optionally, the obtaining subunit is specifically configured to:
sorting the candidate devices according to the sequence of the updating time of the historical information;
and sequentially issuing the real-time positioning and the search distance range value to the candidate equipment according to the sequence of the candidate equipment.
Fig. 13 is a block diagram illustrating a mobile terminal according to another embodiment of the present invention, where the mobile terminal is configured to implement the functions that the first mobile terminal needs to implement in the data transmission method. For convenience of explanation, only the portions related to the present embodiment are shown.
The mobile terminal 1300 shown in fig. 13 includes: at least one processor 1301, memory 1302, at least one network interface 1303, and a user interface 1304. The various components in mobile terminal 1300 are coupled together by a bus system 1305. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 1305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in FIG. 13 as the bus system 1305.
User interface 1304 may include, among other things, a display, a keyboard, or a pointing device. Such as a mouse, trackball (trackball), touch pad or touch screen, etc.
It is to be understood that the memory 1302 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 1302 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1302 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 1321 and application programs 1322.
The operating system 1321 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application programs 1322 include various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. The programs that implement the methods of embodiments of the present invention may be embodied in application programs 1322.
In the embodiment of the present invention, the processor 1301 is configured to receive social dynamic update notification information about the second mobile terminal by calling a program or an instruction stored in the memory 1302, specifically, a program or an instruction stored in the application 1322; acquiring the real-time geographic position of the second mobile terminal; and displaying the real-time geographic position of the second mobile terminal and the social dynamic update prompt information on an electronic map interface of the first mobile terminal.
The method disclosed by the above embodiment of the present invention may be applied to the processor 1301, or implemented by the processor 1301. Processor 1301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1301. The processor 1301 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1302, and the processor 1301 reads information in the memory 1302, and completes the steps of the method in combination with hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with unit modules, e.g., procedures, functions, and so on, that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1301 is further configured to:
submitting a target search request containing search conditions to a server so that the server acquires the position information of at least one second mobile terminal meeting the search conditions;
receiving the position information of the at least one second mobile terminal sent by the server, and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal;
according to target equipment selected by a user on the map, sending a communication request for connecting with the target equipment to the server, wherein the target equipment is one or more second mobile terminals;
and after receiving the confirmation information which is fed back by the server and connected with the target equipment, carrying out data transmission with the target equipment.
Optionally, the processor 1301 is further configured to:
uploading the current real-time positioning of the first mobile terminal to a server;
submitting a target search request containing search conditions to the server, wherein the search conditions comprise search distance range values, so that after the server screens historical information of a plurality of pre-stored devices, one or more candidate devices are determined from the devices, the real-time positioning and the search distance range values are issued to the candidate devices, the candidate devices judge whether the current position of the candidate devices is within the search distance range values according to the real-time positioning of the first mobile terminal, and if so, the candidate devices serve as the second mobile terminal and return corresponding position information to the server.
Optionally, the processor 1301 is further configured to:
and when detecting that a pattern drawn on a map by a user is a closed curve including a plurality of second mobile terminals or a connecting line respectively taking the first mobile terminal and the second mobile terminals as starting and stopping points, determining that the target equipment is the second mobile terminal associated with the pattern.
The mobile terminal 1300 can implement each process implemented by the first mobile terminal in the foregoing embodiment, and details are not repeated here to avoid repetition.
The embodiment of the invention realizes data transmission between two end devices based on map software, and screens the second mobile terminal meeting the search condition by the server according to the search condition uploaded by the first mobile terminal, thereby ensuring that the search range of the second mobile terminal is not limited by the signal transmission distance of the first mobile terminal; the first mobile terminal can visually check and select the target equipment from the currently displayed map to complete data transmission according to the position information of the second mobile terminal returned by the server, the operation is simple, and the application scene of map software is expanded. According to the embodiment of the invention, the user can transmit data to the second mobile terminal in a nearby range at any time and any place and can communicate with strangers using the second mobile terminal, so that the increasing social demand of the user is met, and the social function of map software is expanded.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A data transmission method is applied to a first mobile terminal, and is characterized by comprising the following steps:
submitting a target search request containing search conditions to a server through map-based application software running inside a first mobile terminal so that the server acquires position information of at least one second mobile terminal meeting the search conditions, wherein the target search request is used for requesting to search other nearby mobile terminals;
receiving the position information of the at least one second mobile terminal sent by the server, and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal;
according to target equipment selected by a user on the map, sending a communication request for connecting with the target equipment to the server, wherein the target equipment is one or more second mobile terminals;
after receiving confirmation information which is fed back by the server and connected with the target equipment, uploading effective data information to be transmitted to the server, and performing data transmission with the target equipment through the server based on the application software;
before the step of submitting a target search request containing search criteria to a server, the method further comprises:
uploading the current real-time positioning of the first mobile terminal to a server;
the submitting a target search request containing a search condition to a server so as to enable the server to acquire the position information of at least one second mobile terminal meeting the search condition comprises:
submitting a target search request containing search conditions to the server, wherein the search conditions comprise search distance range values, so that after the server performs first screening and second screening on historical information of a plurality of pre-stored devices, one or more candidate devices are determined from the devices, the real-time positioning and the search distance range values are issued to the candidate devices, the candidate devices judge whether the current position of the candidate devices is within the search distance range values according to the real-time positioning of the first mobile terminal, and if so, the candidate devices serve as the second mobile terminal and return corresponding position information to the server;
the first screening comprises:
the server acquires a geographical area to which the first mobile terminal belongs according to the real-time positioning;
the server acquires pre-stored historical positioning of each device;
the server acquires the geographical area to which each device belongs according to the historical positioning;
the server screens out first equipment which is the same as the geographical area to which the first mobile terminal belongs from the various pieces of equipment;
the second screening comprises:
the server acquires the updating time of the history information of the first equipment and the moving speed of the equipment in the history information;
the server judges whether the first equipment meets a preset condition, and if so, the first equipment is determined as the candidate equipment;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
2. The method according to claim 1, wherein after the step of receiving the location information of the at least one second mobile terminal sent by the server and displaying the location information of the at least one second mobile terminal on the map of the first mobile terminal, and before the step of sending a communication request for connecting with the target device to the server according to the target device selected by the user on the map, the method further comprises:
and when detecting that a pattern drawn on a map by a user is a closed curve including a plurality of second mobile terminals or a connecting line respectively taking the first mobile terminal and the second mobile terminals as starting and stopping points, determining that the target equipment is the second mobile terminal associated with the pattern.
3. A data transmission method is applied to a server and comprises the following steps:
receiving a target search request which is uploaded by a first mobile terminal and contains search conditions, wherein the target search request is used for requesting to search other mobile terminals nearby; the target search request is submitted through map-based application software running inside the first mobile terminal;
acquiring the position information of at least one second mobile terminal meeting the search condition;
returning the position information of the at least one second mobile terminal to the first mobile terminal so that the first mobile terminal displays the position information of the at least one second mobile terminal on a map of the first mobile terminal;
when a communication request which is sent by the first mobile terminal and is connected with target equipment is received, the target equipment is requested to establish communication connection with the first mobile terminal, wherein the target equipment is selected in the map by a user of the first mobile terminal, and the target equipment is one or more second mobile terminals;
after receiving connection confirmation information returned by the target equipment, feeding back the connection confirmation information to the first mobile terminal so that the first mobile terminal performs data transmission with the target equipment based on the application software;
the receiving of the target search request including the search condition uploaded by the first mobile terminal includes:
receiving real-time positioning of the first mobile terminal and a target search request containing search conditions, wherein the search conditions comprise search distance range values;
the acquiring of the location information of the at least one second mobile terminal satisfying the search condition includes:
performing primary screening and secondary screening on the pre-stored historical information of each device to determine one or more candidate devices from the devices;
issuing the real-time positioning and the search distance range value to the candidate equipment to acquire position information returned by a second mobile terminal which meets the search condition in the one or more candidate equipment;
the first screening of the pre-stored history information of each device includes:
acquiring a geographical area to which the first mobile terminal belongs according to the real-time positioning;
acquiring pre-stored historical positioning of each device;
obtaining the geographical area to which each device belongs according to the historical positioning;
screening out first equipment which is the same as the geographical area to which the first mobile terminal belongs from the various equipment;
the second screening of the pre-stored history information of each device includes:
acquiring the updating time of the historical information of the first equipment and the moving speed of the equipment in the historical information;
judging whether the first equipment meets a preset condition, if so, determining the first equipment as the candidate equipment;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
4. The method of claim 3, wherein issuing the real-time position fix and the search distance range value to the candidate device comprises:
sorting the candidate devices according to the sequence of the updating time of the historical information;
and sequentially issuing the real-time positioning and the search distance range value to the candidate equipment according to the sequence of the candidate equipment.
5. A mobile terminal, comprising:
the mobile terminal comprises a submitting unit, a searching unit and a searching unit, wherein the submitting unit is used for submitting a target searching request containing searching conditions to a server through map-based application software running in a first mobile terminal so as to enable the server to acquire the position information of at least one second mobile terminal meeting the searching conditions, and the target searching request is used for requesting to search other nearby mobile terminals;
the receiving unit is used for receiving the position information of the at least one second mobile terminal sent by the server and displaying the position information of the at least one second mobile terminal on a map of the first mobile terminal;
a sending unit, configured to send, to the server, a communication request for connecting to a target device selected by a user on the map, where the target device is one or more second mobile terminals;
the transmission unit is used for uploading effective data information to be transmitted to the server after receiving confirmation information which is fed back by the server and is connected with the target equipment, and carrying out data transmission with the target equipment through the server based on the application software;
the mobile terminal further includes:
the uploading unit is used for uploading the current real-time positioning of the first mobile terminal to a server;
the submission unit is specifically configured to:
submitting a target search request containing search conditions to the server, wherein the search conditions comprise search distance range values, so that after the server performs first screening and second screening on historical information of a plurality of pre-stored devices, one or more candidate devices are determined from the devices, the real-time positioning and the search distance range values are issued to the candidate devices, the candidate devices judge whether the current position of the candidate devices is within the search distance range values according to the real-time positioning of the first mobile terminal, and if so, the candidate devices serve as the second mobile terminal and return corresponding position information to the server;
the first screening comprises:
the server acquires a geographical area to which the first mobile terminal belongs according to the real-time positioning;
the server acquires pre-stored historical positioning of each device;
the server acquires the geographical area to which each device belongs according to the historical positioning;
the server screens out first equipment which is the same as the geographical area to which the first mobile terminal belongs from the various pieces of equipment;
the second screening comprises:
the server acquires the updating time of the history information of the first equipment and the moving speed of the equipment in the history information;
the server judges whether the first equipment meets a preset condition, and if so, the first equipment is determined as the candidate equipment;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the detection unit is used for determining that the target equipment is the second mobile terminal associated with the pattern when detecting that the pattern drawn on the map by the user is a closed curve including a plurality of second mobile terminals or a connecting line taking the first mobile terminal and the second mobile terminal as starting and stopping points respectively.
7. A server, comprising:
the mobile terminal comprises a receiving unit, a searching unit and a searching unit, wherein the receiving unit is used for receiving a target searching request which is uploaded by a first mobile terminal and contains searching conditions, and the target searching request is used for requesting to search other nearby mobile terminals; the target search request is submitted through map-based application software running inside the first mobile terminal;
an acquisition unit configured to acquire location information of at least one second mobile terminal that satisfies the search condition;
a returning unit, configured to return the location information of the at least one second mobile terminal to the first mobile terminal, so that the first mobile terminal displays the location information of the at least one second mobile terminal on a map of the first mobile terminal;
a requesting unit, configured to request a target device to establish a communication connection with a first mobile terminal when receiving a communication request sent by the first mobile terminal to connect to the target device, where the target device is selected by a user of the first mobile terminal from the map, and the target device is one or more second mobile terminals;
the feedback unit is used for feeding back the connection confirmation information to the first mobile terminal after receiving the connection confirmation information returned by the target equipment, so that the first mobile terminal performs data transmission with the target equipment based on the application software;
the receiving unit includes:
the receiving subunit is used for receiving the real-time positioning of the first mobile terminal and a target search request containing search conditions, wherein the search conditions comprise search distance range values;
the acquisition unit includes:
the screening subunit is used for performing primary screening and secondary screening on the pre-stored history information of each device so as to determine one or more candidate devices from the devices;
the obtaining subunit is configured to issue the real-time positioning and the search distance range value to the candidate devices to obtain location information returned by a second mobile terminal that meets the search condition in the one or more candidate devices;
the screening subunit is specifically configured to:
acquiring a geographical area to which the first mobile terminal belongs according to the real-time positioning;
acquiring pre-stored historical positioning of each device;
obtaining the geographical area to which each device belongs according to the historical positioning;
screening out first equipment which is the same as the geographical area to which the first mobile terminal belongs from the various equipment;
the screening subunit is further configured to:
acquiring the updating time of the historical information of the first device and the moving speed of the device in the historical information;
judging whether the first equipment meets a preset condition, if so, determining the first equipment as the candidate equipment;
wherein the preset conditions are as follows:
A/2>(B1-B2)-(C1-C2)*V;
in the above formula, A is the search distance range value, B1For historical positioning of the first device, B2For real-time positioning of the first mobile terminal, C1For real time, C2And V is the updating time of the historical information of the first equipment, and is the moving speed of the first equipment.
8. The server according to claim 7, wherein the obtaining subunit is specifically configured to:
sorting the candidate devices according to the sequence of the updating time of the historical information;
and sequentially issuing the real-time positioning and the search distance range value to the candidate equipment according to the sequence of the candidate equipment.
CN201710031311.8A 2017-01-17 2017-01-17 Data transmission method, mobile terminal and server Active CN106792545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710031311.8A CN106792545B (en) 2017-01-17 2017-01-17 Data transmission method, mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710031311.8A CN106792545B (en) 2017-01-17 2017-01-17 Data transmission method, mobile terminal and server

Publications (2)

Publication Number Publication Date
CN106792545A CN106792545A (en) 2017-05-31
CN106792545B true CN106792545B (en) 2020-06-12

Family

ID=58945933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710031311.8A Active CN106792545B (en) 2017-01-17 2017-01-17 Data transmission method, mobile terminal and server

Country Status (1)

Country Link
CN (1) CN106792545B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247779A (en) * 2017-06-08 2017-10-13 天津神笔马良网络科技有限公司 Searching method, device and the mobile terminal of interaction community
CN107450797A (en) * 2017-07-07 2017-12-08 天脉聚源(北京)科技有限公司 A kind of method for information display and device
CN108363794A (en) * 2018-02-13 2018-08-03 山东顺国电子科技有限公司 A kind of Visualization Platform Big Dipper note transmission method and device
CN108769917B (en) * 2018-05-16 2021-11-23 上海掌门科技有限公司 Service interaction method, equipment and storage medium
CN108848570B (en) * 2018-06-19 2020-09-01 Oppo广东移动通信有限公司 Mobile terminal, data transmission method and related product
CN110740115A (en) * 2018-07-20 2020-01-31 视联动力信息技术股份有限公司 Data processing method and device for video networks
CN111079046A (en) * 2019-11-14 2020-04-28 拉扎斯网络科技(上海)有限公司 Information loading method, system, server, terminal and storage medium
CN111031471A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Data transmission method, terminal and base station
CN111310073B (en) * 2020-01-19 2024-03-15 北京有竹居网络技术有限公司 House source information display method and device and electronic equipment
CN114531643A (en) * 2020-11-09 2022-05-24 Oppo广东移动通信有限公司 Social contact matching method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035887A (en) * 2009-08-03 2011-02-17 Tomio Kakeuchi In-emergency gps mobile phone
CN103341265A (en) * 2013-06-28 2013-10-09 魏兢 Social contact method based on mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592439A (en) * 2012-02-03 2012-07-18 苏州大通汽车租赁有限公司 Method and system for interactively calling taxi nearby by intelligent mobile equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035887A (en) * 2009-08-03 2011-02-17 Tomio Kakeuchi In-emergency gps mobile phone
CN103341265A (en) * 2013-06-28 2013-10-09 魏兢 Social contact method based on mobile terminal

Also Published As

Publication number Publication date
CN106792545A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106792545B (en) Data transmission method, mobile terminal and server
US10890451B2 (en) Place of interest recommendation
JP6543680B2 (en) Location-based search
US8639803B2 (en) Systems and method for predicting the future location of an entity
US10306448B2 (en) System and method for requesting and providing location-based assistance
US8265871B1 (en) Mobile record information entry and geotagging
US9081860B2 (en) Integration of device location into search
JP6243524B2 (en) Determination of location information using location data points provided by a computing device
US9110982B1 (en) Method, system, and computer program product for obtaining crowd-sourced location information
US9031788B2 (en) Navigation system application for mobile device
US8671365B2 (en) Method, apparatus and computer program product for providing a cursor for indicating context data in a mapping application
US20140258260A1 (en) Methods for on line dating
CN111597445B (en) Information recommendation method and device
JP2015537398A (en) Method for acquiring position information and system therefor
CN105550933A (en) Electronic device and method of operating content receiver recommendation service
WO2013075583A1 (en) Method, device and storage medium for adding friends
US20130339387A1 (en) Location Based Query-response Management System
EP2292022B1 (en) Method, apparatus, and computer program product for location sharing
US8559970B2 (en) Method for providing location-based information services, location-based information services system, and portable electronic device
US10331690B2 (en) Method for sorting and displaying data on a portable electronic device
US10776326B2 (en) Personal real time navigation map augmentation
US20150099545A1 (en) Location information-based communication apparatus and method, and location information-based communication application apparatus
KR102149914B1 (en) Point of interest update method and apparatus based crowd sourcing
CN112818259A (en) Content recommendation method, electronic device and computer-readable storage medium
KR102151845B1 (en) System for searching a local information using application programming interface, 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
TA01 Transfer of patent application right

Effective date of registration: 20171109

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200703

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co.,Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right