CN108924885B - Information acquisition method and device - Google Patents

Information acquisition method and device Download PDF

Info

Publication number
CN108924885B
CN108924885B CN201710233385.XA CN201710233385A CN108924885B CN 108924885 B CN108924885 B CN 108924885B CN 201710233385 A CN201710233385 A CN 201710233385A CN 108924885 B CN108924885 B CN 108924885B
Authority
CN
China
Prior art keywords
network
target
terminal
information
route
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
CN201710233385.XA
Other languages
Chinese (zh)
Other versions
CN108924885A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710233385.XA priority Critical patent/CN108924885B/en
Publication of CN108924885A publication Critical patent/CN108924885A/en
Application granted granted Critical
Publication of CN108924885B publication Critical patent/CN108924885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0072Transmission or use of information for re-establishing the radio link of resource information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0088Scheduling hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Abstract

The invention discloses an information acquisition method and device, and belongs to the technical field of mobile terminals. The method comprises the following steps: reading a usage record of using the data network, the usage record including locations recorded during the use of the data network, a network type of the data network used at each location, and a network quality of the data network used at each location; and sending the use record to the server, wherein the use record is used for indicating the server to determine the network distribution information according to the use record, and sending the network distribution information to the second terminal, so that the second terminal can pre-acquire the information required at the target position before the second terminal reaches the target position according to the network distribution information, the target route and the used target network type, and the target position is a position where the signal of the data network of the target network type in the target route is worse than a preset condition. The problem that in the related art, when the terminal is at a position with poor signals, the terminal obtains information at a slow rate or even cannot obtain the information is solved.

Description

Information acquisition method and device
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to an information acquisition method and device.
Background
The mobile terminal may use a data network to surf the internet when the mobile terminal is not in a Wireless-Fidelity (WiFi) environment. The data network refers to a mobile communication network, and when the terminal uses the data network to surf the internet, the terminal needs to consume a certain flow.
However, since the network quality of the data network in some locations is poor, after the mobile terminal moves to the location, when the mobile terminal uses the data network to surf the internet, the internet surfing rate of the mobile terminal is slow.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present invention provide an information acquisition method and apparatus. The technical scheme is as follows:
according to a first aspect of embodiments of the present invention, there is provided an information acquisition method, including:
receiving a use record sent by a first terminal; the usage record comprises a location recorded by the first terminal in using the data network, a network type of the data network used by the first terminal at the recorded location, and a network quality of the data network used by the first terminal at the recorded location;
determining network distribution information according to the usage record, wherein the network distribution information comprises the position of a signal of a data network which is worse than a preset condition and the network type;
and sending the network distribution information to a second terminal, wherein the second terminal is used for pre-acquiring information required at a target position before the second terminal reaches the target position according to the network distribution information, a target route and a target network type of a data network used by the second terminal, and the target position is a position where a signal of the data network of the target network type in the target route is worse than the preset condition.
According to a second aspect of the embodiments of the present invention, there is provided an information acquisition method, including:
acquiring a target route;
receiving network distribution information sent by a server, wherein the network distribution information comprises a position and a network type of a data network with a signal difference of a preset condition;
according to the network distribution information, the target route and the target network type of the used data network, information required at the target position is obtained in advance before the target position is reached; the target position is a position in the target route where the signal of the data network of the target network type is worse than the preset condition.
According to a third aspect of the embodiments of the present invention, there is provided an information acquisition apparatus, the method including:
the receiving module is used for receiving the use records sent by each terminal; the usage record comprises a location recorded by the first terminal in using the data network, a network type of the data network used by the first terminal at the recorded location, and a network quality of the data network used by the first terminal at the recorded location;
a determining module, configured to determine network distribution information according to the usage record received by the receiving module, where the network distribution information includes a location where a signal of a data network is worse than a preset condition and a network type;
a sending module, configured to send the network distribution information determined by the determining module to a second terminal, where the second terminal is configured to pre-acquire information required at a target location before the second terminal reaches the target location according to the network distribution information, the target route, and a target network type of a data network used by the second terminal, and the target location is a location where a signal of the data network of the target network type in the target route is worse than the preset condition.
According to a fourth aspect of the embodiments of the present invention, there is provided an information acquisition apparatus, the method including:
the route acquisition module is used for acquiring a target route;
the receiving module is used for receiving network distribution information sent by the server, wherein the network distribution information comprises a position and a network type of a data network with a signal difference of a preset condition;
the information acquisition module is used for pre-acquiring information required at a target position before reaching the target position according to the network distribution information, the target route and the target network type of the used data network; the target position is a position in the target route where the signal of the data network of the target network type is worse than the preset condition.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the first terminals transmit the usage records to the server, so that the server can determine network distribution information according to the usage records transmitted by the first terminals and transmit the determined network distribution information to the second terminal, and therefore, after acquiring the target route, the second terminal can acquire information required at the target position in advance before reaching the target position with poor signals in the target route; the problem that in the related technology, when the terminal is at a position with poor signals, the rate of the terminal for acquiring information is slow or even cannot be acquired is solved; the effect that the terminal can still acquire the corresponding information at the position where the signal arriving at the terminal is poor is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 schematic diagram of an implementation environment related to an information acquisition method provided by various embodiments of the present invention;
FIG. 2 is a flow chart of an information acquisition method provided by an embodiment of the invention;
fig. 3 is a schematic diagram of determining network distribution information in an information acquisition method according to an embodiment of the present invention;
fig. 4 is a flowchart of an information acquisition method according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of usage records received by a server according to another embodiment of the present invention;
fig. 6 is a schematic diagram of an information acquisition apparatus provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of an information acquisition apparatus provided in an embodiment of the present invention;
fig. 8 is a schematic diagram of a terminal provided by an embodiment of the present invention;
fig. 9 is a schematic diagram of a server provided by an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment related to an information obtaining method according to various embodiments of the present invention is shown, and as shown in fig. 1, the implementation environment may include a first terminal 110, a server 120, and a second terminal 130.
The first terminal 110 is a terminal having networking and positioning functions. The first terminal 110 may be a mobile terminal such as a mobile phone, a tablet computer, or an e-reader. The first terminal 110 may be connected to the server 120 through a wired or wireless network. In practical implementation, there are usually a plurality of first terminals 110, which is not limited in this embodiment.
The server 120 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. The server 120 may be connected with the second terminal 130 through a wired or wireless network.
The second terminal 130 is a terminal having networking and positioning functions. The second terminal 130 may be a vehicle-mounted terminal, a mobile phone, or a tablet computer.
It should be noted that, the above is only an example in which the first terminal 110 and the second terminal 130 are two different terminals, and in actual implementation, the first terminal 110 and the second terminal 130 may also be the same terminal, which is not limited in this embodiment.
Referring to fig. 2, a flowchart of a method for acquiring information according to an embodiment of the present invention is shown, where the embodiment illustrates that the information acquiring method is used in the implementation environment shown in fig. 1. As shown in fig. 2, the information acquisition method may include:
step 201, the first terminal reads the usage record of the first terminal using the data network.
The first terminal may record the location where the terminal is located, the network type of the data network used at each recorded location, and the network quality of the data network used at each recorded location according to a preset recording frequency during the use of the data network. Wherein:
the preset frequency may be every predetermined distance or every predetermined time interval. For example, the preset recording frequency may be to record the position where the first terminal is located every 10 m; for another example, the preset recording frequency may be that the position where the first terminal is located is recorded every 5 s.
The network type includes at least one of an operator and a network type. The operator may be mobile, connected or telecom. The network standard can be 2-Generation wireless telephone technology (2G), 3G, 4G, or 5G, etc. Of course, in actual implementation, if the data network does not need to distinguish between the operator and the network type, the network type may be implicitly indicated, which is not limited in this embodiment.
The network quality includes at least one of a signal strength and indication information indicating whether the network connection is normal. The signal strength refers to the strength of a network signal received when the first terminal is at the current position. Optionally, when the terminal starts the data network, the terminal may receive a broadcast message sent by the base station, and then calculate the signal strength according to the received broadcast message. For example, the first terminal calculates the signal strength to be 100 dbm. The indication may include a network connection success, a network connection failure, or a lack of a network request. Of course, in actual implementation, the network quality may also be represented by other manners, for example, after the signal strength is obtained through calculation, whether the signal strength obtained through calculation reaches a strength threshold is detected, and when the signal strength reaches the strength threshold, the network quality used for representing that the network quality is poor is generated, and conversely, the network quality used for representing that the network quality is good is generated, which is not limited in this embodiment.
Assuming that the network quality is signal strength, please refer to the following table, which shows one possible usage record of the first terminal record.
Position of Network type Signal strength
Position 1 Mobile 4G 110dbm
Position 2 Mobile 4G 125dbm
Position n Mobile 4G 90dbm
Step 202, the first terminal sends the usage record to the server.
The first terminal may send the usage record to a server while in a WiFi environment. For example, when the first terminal enters a WiFi environment, the first terminal detects whether an un-uploaded usage record is stored, and if so, sends the un-uploaded usage record to the server. Alternatively, the first terminal may transmit the usage record to the server at predetermined time intervals. For example, in order to ensure that the usage record can be uploaded to the server in time and further ensure the accuracy of the information on the server side, the first terminal may send the usage record to the server every 5 hours. Still alternatively, the first terminal transmits the usage record to the server at a predetermined timing. For example, the usage record is sent to the server at 24: 00.
For example, referring to fig. 3, the first terminal may upload the recorded usage record to the backend server 1.
Of course, the first terminal may also send the recorded usage record to the server in real time, which is not limited in this embodiment.
In step 203, the server receives the usage records sent by the respective first terminals.
With reference to fig. 3, after the backend server 1 receives the usage records sent by each first terminal, the backend server 1 may write the received usage records into the record database.
The server determines 204 network distribution information based on the usage record.
The network distribution information includes a location where a signal of the data network is worse than a preset condition and a network type.
With reference to fig. 3, the processing server may read the usage record from the record database, obtain the network distribution information through big data calculation, and write the calculated network distribution information into the network distribution database.
Step 205, the server sends the network distribution information to the second terminal.
The background server 2 reads the network distribution information from the network distribution database and sends the read network distribution information to the second terminal.
And step 206, the second terminal receives the network distribution information sent by the server.
And step 207, the second terminal acquires a target route.
Step 208, pre-acquiring information required at the target location before reaching the target location according to the network distribution information, the target route and the target network type of the data network used.
The target position is a position where a signal of the data network of the target network type in the target route is worse than a preset condition.
In summary, in the information obtaining method provided in this embodiment, the first terminals send the usage records to the server, so that the server can determine the network distribution information according to the usage records sent by each first terminal, and send the determined network distribution information to the second terminal, so that the second terminal can obtain the information required at the target location in advance before reaching the target location of the signal difference in the target route after obtaining the target route; the problem that in the related technology, when the terminal is at a position with poor signals, the rate of the terminal for acquiring information is slow or even cannot be acquired is solved; the effect that the terminal can still acquire the corresponding information at the position where the signal arriving at the terminal is poor is achieved.
Meanwhile, in the embodiment, the first terminal sends the usage record recorded according to the preset recording frequency to the server, so that the usage record received by the server side includes all possible situations of the data network at each position, and the accuracy of the network distribution information determined by the server according to the usage record is improved.
Referring to fig. 4, a flowchart of a method for acquiring information according to an embodiment of the present invention is shown, where the embodiment illustrates that the information acquiring method is used in the implementation environment shown in fig. 1. As shown in fig. 4, the information acquisition method may include:
step 401, the first terminal reads the usage record of the first terminal using the data network.
Step 402, the first terminal sends the usage record to the server.
Step 401 and step 402 are similar to step 201 and step 202 in the above embodiments, and are not described again here.
In step 403, the server receives the usage records sent by the first terminals.
Step 404, determining a location and a network type where the signal of the data network is worse than the preset condition according to the network quality corresponding to at least one network type at least one location in the usage record.
The preset condition includes at least one of that the signal strength does not reach the strength threshold value and that the connection failure rate of the data network reaches a preset ratio.
Optionally, this step may include:
when the network quality comprises the signal intensity, calculating the average value of each signal intensity corresponding to the network type at the position; when the average value reaches the intensity threshold value, determining that the signal difference of the data network of the network type at the position is higher than a preset condition; and when the average value does not reach the strength threshold value, determining that the signal of the data network of the network type at the position is not worse than a preset condition. The signal strength can accurately reflect the signal strength of the data network, so that the network quality is represented by the signal strength, and the server can accurately determine the position and the network type of the data network with the signal difference from the preset condition according to the network quality.
For each network type at each location in the usage record, the server may count individual signal strengths for that network type at that location, calculate an average of the individual signal strengths, and detect whether the average reaches a strength threshold. When the average value reaches the intensity threshold value, determining that the signal difference of the data network of the network type at the position is higher than a preset condition; and when the average value does not reach the strength threshold value, determining that the signal of the data network of the network type at the position is not worse than a preset condition.
The intensity threshold is a boundary threshold indicating a signal level, and is a preset value. For example, when the signal strength reaches 100dbm, it indicates that the signal is good, and otherwise, the signal is poor, the strength threshold may be 100 dbm. In practical implementation, the strength threshold is related to the network system. For example, the intensity threshold is 95dbm in 2G, 105dbm in 3G, and 118dbm in 4G. Correspondingly, in the above step, the server detects whether the average value reaches the intensity threshold corresponding to the current network system.
When the network quality comprises indicating information used for indicating whether the network connection is normal or not, calculating the ratio of the number of pieces of indicating information used for representing the network connection abnormity in each piece of indicating information corresponding to the network type at the position to the total number of the corresponding pieces of indicating information; and when the ratio does not reach the preset ratio, determining that the signal of the data network of the network type at the position is not inferior to the preset condition.
The ratio is the number of pieces of indication information of network connection abnormality/(the number of pieces of indication information of network connection abnormality + the number of pieces of indication information of network connection normality).
The preset ratio is a preset value in the server, and is not limited. Typically, the predetermined ratio is smaller than a predetermined value, for example, the predetermined ratio is 30%. By calculating the ratio, the position and the network type of the signal which is worse than the preset condition are directly judged according to the ratio, and the calculation complexity of the server is reduced.
When the network quality comprises signal strength and indicating information used for indicating whether the network connection is normal or not, calculating the average value of each signal strength corresponding to the network type at the position, and calculating the ratio of the number of the indicating information used for indicating the network connection abnormity in each piece of indicating information corresponding to the network type at the position to the total number of the corresponding indicating information; when the average value reaches the intensity threshold value and the ratio value does not reach a preset ratio value, determining that the signal of the data network of the network type at the position is not inferior to a preset condition; otherwise, it is determined that the data network signal of the network type at the location is worse than a preset condition. The network quality is represented by using the signal strength and the indication information at the same time, and then when the signal strength and the indication information meet the conditions at the same time, the position and the network type of the data network with the signal difference from the preset conditions are determined, so that the accuracy of the determined position and the determined network type is further improved.
It should be noted that, in the above description, only the server performs the calculation for each network type at each location, and in actual implementation, since the network quality of each network type is substantially the same in the same area, in order to reduce the calculation complexity and avoid the problem that the reported network quality does not match the actual network quality due to some terminals themselves, the server may also perform the calculation for each network type in a certain area. For example, taking the network quality as the signal strength as an example, if the usage record corresponding to the area in the usage records sent by the first terminals and received by the server is as shown in fig. 5 (only a part of the records of the positions are shown in the figure for illustrative purposes), the server may calculate an average value of the signal strengths of the same network type in the area, and determine the indication information of the network type in the area according to a relationship between the calculated average value and the strength threshold. The size of the region is set in advance, and in general, the size of the region may be a square with a side of 30 m.
Certainly, in actual implementation, the server may also determine the first indication information corresponding to the network type at each location in other manners, which is not limited in this embodiment.
Step 405, the second terminal obtains a target route.
Optionally, this step may include any one of the following implementations:
first, a navigation route in navigation is acquired.
Secondly, acquiring a moving route of the terminal in a historical time period, and acquiring a route matched with the moving route from a historical moving record; the history period is a period in which the end time is the current time and has a predetermined length.
Obtaining a route matched with the moving route from the historical moving records, wherein the route comprises the following steps: a route including the movement route is acquired from the historical movement record. The historical movement record comprises the daily movement route of the user of the second terminal historical record. Alternatively, in order to save the storage space occupied by the historical movement record in the second terminal, only the movement route of the second terminal when moving within the target historical time period may be included in the historical movement record. The target time period may be the past month or the past half month, which is not limited.
For example, if there is a convenience store between a twilight home and a company, when the twilight mobile phone acquires that the route taken in the last 5 minutes is from home to the convenience store, the mobile phone can acquire the route from home to the company in the historical movement record as the target route.
In actual implementation, before obtaining the route including the moving route from the historical moving record, the second terminal may detect whether the length of the moving route reaches a preset length, and if the length reaches the preset length, perform the step of obtaining the route including the moving route from the historical moving record; and if the preset length is not reached, the process is ended.
Thirdly, obtaining a moving route of the terminal moving in the history in the time period corresponding to the current time from the history moving record.
The activity rule of the user is basically fixed, for example, the user starts from home at 8:30 am every day, goes to work at 12:00 am, eats lunch in a company dining room, and goes home after 5:00 am, so the second terminal can also determine the time period of the current time, then obtains a historical moving route in the same time period from the historical moving record, takes the obtained route as a target route, and the determined target route is a possible moving route of the user.
For example, if the second terminal identifies that the current time is 5:05 minutes, the second terminal can obtain the moving route of the user between 5:00 and 5:30 from the historical moving record, and the route is used as the target route.
Step 406, the second terminal sends an information acquisition request to the server.
The information acquisition request includes a preset position and a target network type of a data network used by the second terminal. The preset position may be a current position of the second terminal, and the current position may be a position obtained by Positioning the second terminal through a Global Positioning System (GPS); or, a location in the target route. There may be one or more preset positions. For example, when the preset position is a position in the target route, the preset position may include a position in the target route that is a preset distance away from the preset position.
Optionally, the information obtaining request may further include the obtained target route and the target network type, which is not limited in this embodiment.
The information acquisition request may be a Hyper Text Transfer Protocol (HTTP) request.
Optionally, the second terminal may send the information acquisition request to the server when the terminal is powered on. Or, the second terminal sends an information acquisition request to the server when a preset Application (APP) is opened. Or the second terminal sends an information acquisition request to the server after planning a route in navigation. This embodiment is not limited to this.
Optionally, the information acquisition request may further include a target value, where the target value is used to indicate a coverage radius of the requested network distribution information. For example, when it is required to request network distribution information within 5000m centered on the current location, the target value may be 5000.
Step 407, the server receives the information acquisition request sent by the second terminal.
And step 408, the server sends the network distribution information to the second terminal according to the information acquisition request.
When the information acquisition request includes the preset position and the target network type, the server may select, from the information base obtained by calculation, a position where a signal of the data network of the target network type in the area centered on the position in the information acquisition request and having the target value as a radius is worse than a preset condition. And after the positions are selected, sending network distribution information including the selected positions to the second terminal. For example, taking the preset position in the information obtaining request as position 1 and the network type as telecom 4G as an example, the server may obtain the position of the network signal difference of the telecom 4G in the area with the position 1 as the center and the target value as the radius, and send the network distribution information carrying the obtained position to the second terminal.
Optionally, the server may further select each location of the data network using the target network type in the area with the target value as the radius centered on the location in the information acquisition request and indication information indicating whether the signal at each location is worse than the preset condition, and send network distribution information including the selected each location and the indication information indicating whether the signal at each location is worse than the preset condition to the second terminal.
Optionally, when the information obtaining request includes the target route and the target network type, the server may further select a location of a signal difference of a data network of the target network type in the target route, which is not limited in this embodiment. By only sending the network distribution information corresponding to the target route to the second terminal, the network resource consumed when the server sends the network distribution information to the second terminal is reduced.
When the information acquisition request carries the target network type, the network distribution information returned by the server is the distribution of the data network of the target network type, and at this time, the network distribution information may not include the target network type but implicitly include the target network type, which is not limited in this embodiment.
And step 409, the second terminal receives the network distribution information returned by the server according to the information acquisition request.
Step 410, the second terminal pre-acquires the information required at the target location before the second terminal reaches the target location according to the network distribution information, the target route and the target network type of the used data network.
The target location is a location where the data network of the target network type in the target route is worse than a preset condition, and there may be one or more target locations.
Optionally, this step may include at least one of the following two possible implementations.
First, map information in an area corresponding to a target position is acquired before a second terminal reaches the target position.
The area corresponding to the target position is an area with the target position as a center and a preset numerical value as a radius. The map information in this embodiment includes road condition information, or includes road condition information and a Point of Interest (POI) in the area, which is not limited in this embodiment.
Optionally, the second terminal may acquire the map information in the area corresponding to the target position when the distance between the second terminal and the target position decreases to a preset distance.
Secondly, acquiring the self moving speed and an audio and video play list; and acquiring the song to be played at the target position according to the current position, the target position, the moving speed and the audio and video play list.
Alternatively, the second terminal may calculate a distance between a position currently located in the target route and the target position, and calculate a ratio between the distance and the moving speed; and determining the tracks which are possibly played by the second terminal after the time of the calculated ratio according to the calculated ratio and the playing time of each track after the track is currently played in the audio and video playing list, and acquiring the determined tracks from the server.
The audio/video playlist may be a music list or a radio list, which is not limited in this embodiment.
Optionally, the second terminal may obtain the information required at the target position when the distance between the position where the second terminal is located and the target position is close to the preset distance.
In this embodiment, the step 405 is only executed before the step 406, and in actual implementation, the step 405 may also be executed at any step between the step 404 and the step 410, which is not limited in this embodiment.
In an application scenario of this embodiment, after the in-vehicle terminal opens the navigation and plans the navigation route, the in-vehicle terminal may send an HTTP request including n positions in the navigation route and a currently used network type to the server, and receive network distribution information returned by the server. And when the vehicle-mounted terminal is positioned according to the network distribution information to obtain the distance between the current position and the position of the signal difference, wherein the distance is less than 1000m, acquiring an enlarged intersection image and a POI (point of interest) at the position of the signal difference from the server. Therefore, when the vehicle-mounted terminal reaches the position with poor signals, the vehicle-mounted terminal can still provide guidance for the user by using the pre-acquired enlarged intersection image and the POI, and the problem that navigation cannot be performed at the position due to poor signals is avoided. In addition, when the navigation determines that the distance between the position of the position.
In another application scenario of this embodiment, a user listens to online music using a mobile phone during the trip, and after determining a route including a walking route that the user has currently walked from a historical walking record (for example, obtaining a route from a company to a home of the user), the mobile phone sends an HTTP request carrying a plurality of locations in the route and a currently used network type to a server, and receives network distribution information returned by the server. When the distance between the positions of the position distance signal difference obtained by the positioning of the mobile phone is less than 500m, the music playing program in the mobile phone automatically downloads music which is possibly played after 500 m.
In summary, in the information obtaining method provided in this embodiment, the first terminals send the usage records to the server, so that the server can determine the network distribution information according to the usage records sent by each first terminal, and send the determined network distribution information to the second terminal, so that the second terminal can obtain the information required at the target location in advance before reaching the target location of the signal difference in the target route after obtaining the target route; the problem that in the related technology, when the terminal is at a position with poor signals, the rate of the terminal for acquiring information is slow or even cannot be acquired is solved; the effect that the terminal can still acquire the corresponding information at the position where the signal arriving at the terminal is poor is achieved.
Meanwhile, in the embodiment, the first terminal sends the usage record recorded according to the preset recording frequency to the server, so that the usage record received by the server side includes all possible situations of the data network at each position, and the accuracy of the network distribution information determined by the server according to the usage record is improved.
The steps related to the first terminal side in the above embodiments may be implemented separately as the information acquisition method of the first terminal side, the steps related to the server side may be implemented separately as the information acquisition method of the server side, and the steps related to the second terminal side may be implemented separately as the information acquisition method of the second terminal side.
Referring to fig. 6, which shows a schematic structural diagram of an information acquiring apparatus according to an embodiment of the present invention, as shown in fig. 6, the information acquiring apparatus may include: a receiving module 610, a determining module 620, and a transmitting module 630.
A receiving module 610, configured to receive a usage record sent by each terminal; the usage record comprises a location recorded by the first terminal in using the data network, a network type of the data network used by the first terminal at the recorded location, and a network quality of the data network used by the first terminal at the recorded location;
a determining module 620, configured to determine network distribution information according to the usage record received by the receiving module 610, where the network distribution information includes a location and a network type where a signal of a data network is worse than a preset condition;
a sending module 630, configured to send the network distribution information determined by the determining module 620 to a second terminal, where the second terminal is configured to pre-acquire information required at a target location before the second terminal reaches the target location according to the network distribution information, a target route, and a target network type of a data network used by the second terminal, where the target location is a location where a signal of the data network of the target network type in the target route is worse than the preset condition.
In summary, the information acquiring apparatus provided in this embodiment receives the usage records sent by each terminal, determines the network distribution information according to the received usage records, and sends the determined network distribution information to the second terminal, so that the second terminal can acquire the information required at the target location in advance before reaching the target location of the signal difference in the target route after acquiring the target route; the problem that in the related technology, when the terminal is at a position with poor signals, the rate of the terminal for acquiring information is slow or even cannot be acquired is solved; the effect that the terminal can still acquire the corresponding information at the position where the signal arriving at the terminal is poor is achieved.
Based on the information acquiring apparatus provided in the foregoing embodiment, optionally, the determining module 620 is further configured to:
and determining the position and the network type of the data network with the signal difference of the data network being lower than the preset condition according to the network quality corresponding to at least one network type at least one position in the use record.
Optionally, the determining module 620 is further configured to:
when the network quality comprises signal strength, calculating the average value of the signal strength corresponding to each network type at each position; determining that the signal of the network-type data network at the location is worse than the preset condition when the average does not reach an intensity threshold.
Optionally, the determining module 620 is further configured to:
when the network quality comprises indicating information used for indicating whether the network connection is normal or not, calculating the ratio of the number of the indicating information used for indicating the network connection abnormity in each piece of indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
Optionally, the determining module 620 is further configured to:
when the network quality comprises signal strength and indicating information used for indicating whether network connection is normal or not, calculating the average value of the signal strength corresponding to each network type at each position, and calculating the ratio of the number of pieces of indicating information used for indicating network connection abnormity in the indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the average value does not reach the strength threshold value and the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
Referring to fig. 7, which shows a schematic structural diagram of an information acquiring apparatus according to an embodiment of the present invention, as shown in fig. 7, the information acquiring apparatus may include: a route acquisition module 710, a receiving module 720, and an information acquisition module 730.
A route obtaining module 710 for obtaining a target route;
a receiving module 720, configured to receive network distribution information sent by a server, where the network distribution information includes a location where a signal of a data network is worse than a preset condition and a network type;
an information obtaining module 730, configured to pre-obtain information required at a target location before reaching the target location according to the network distribution information, the target route, and a target network type of a used data network; the target position is a position in the target route where the signal of the data network of the target network type is worse than the preset condition.
In summary, the information acquiring apparatus provided in this embodiment may acquire, by receiving the network distribution information sent by the server, information required at the target location in advance before reaching the target location of the signal difference in the target route after acquiring the target route; the problem that in the related technology, when the terminal is at a position with poor signals, the rate of the terminal for acquiring information is slow or even cannot be acquired is solved; the effect that the terminal can still acquire the corresponding information at the position where the signal arriving at the terminal is poor is achieved.
Based on the information acquiring apparatus provided in the foregoing embodiment, optionally, the route acquiring module 710 is further configured to:
acquiring a navigation route in navigation;
alternatively, the first and second electrodes may be,
acquiring a moving route in a historical time period, and acquiring a route matched with the moving route from a historical moving record; the historical time period is a time period of which the ending time is the current time and has a preset time length;
alternatively, the first and second electrodes may be,
and acquiring a moving route of the historical movement in a time period corresponding to the current moment from the historical movement record.
Optionally, the information obtaining module 730 is further configured to:
and acquiring the map information in the area corresponding to the target position before reaching the target position.
Optionally, the information obtaining module 730 is further configured to:
acquiring the moving speed and an audio and video play list;
and acquiring a song to be played at the target position according to the current position, the target position, the moving speed and the audio/video play list.
Optionally, the apparatus includes:
the sending module is used for sending an information acquisition request to the server, wherein the information acquisition request comprises a preset position and the target network type;
the receiving module 720 is further configured to receive the network distribution information returned by the server according to the information obtaining request, where the network distribution information includes a position where a signal of the data network of the target network type in an area with the preset position as a center and a target numerical value as a radius is different from the preset condition.
Optionally, the apparatus comprises:
a sending module, configured to send an information obtaining request to the server, where the information obtaining request includes the target route and the target network type;
the receiving module 720 is further configured to receive the network distribution information returned by the server according to the information obtaining request, where the network distribution information includes a position where a signal of the data network of the target network type in an area with the preset position as a center and a target numerical value as a radius is different from the preset condition.
It should be noted that: the information acquiring apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be allocated to different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiments of the information acquisition apparatus and the information acquisition method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the embodiments of the methods for details, which are not described herein again.
Embodiments of the present invention also provide a computer-readable storage medium, which may be a computer-readable storage medium contained in a memory; or it may be a computer-readable storage medium that exists separately, not assembled into a terminal or server. The computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the information acquisition method.
Fig. 8 illustrates a block diagram of a terminal 800, which may include Radio Frequency (RF) circuitry 801, memory 802 including one or more computer-readable storage media, an input unit 803, a display unit 804, a sensor 805, audio circuitry 806, a Wireless Fidelity (WiFi) module 807, a processor 808 including one or more processing cores, and a power supply 809, as provided by one embodiment of the invention. Those skilled in the art will appreciate that the terminal structure shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 801 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receive downlink information from a base station and then send the received downlink information to one or more processors 808 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 801 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 802 may be used to store software programs and modules, and the processor 808 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 808 and the input unit 803 access to the memory 802.
The input unit 803 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 803 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 808, and can receive and execute commands sent by the processor 808. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 803 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 804 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 808 to determine the type of touch event, and the processor 808 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 8 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 806, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 806 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into an audio signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 806, and then outputs the audio data to the processor 808 for processing, and then passes through the RF circuit 801 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 802 for further processing. The audio circuit 806 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through WiFi module 807, which provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 807, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby integrally monitoring the mobile phone. Optionally, processor 808 may include one or more processing cores; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The terminal also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 808 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 809 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 808 in the terminal executes one or more program instructions stored in the memory 802, so as to implement the information obtaining method at the terminal side provided in the foregoing method embodiments.
Referring to fig. 9, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server is used for implementing the information acquisition method on the server side provided in the above embodiment. Specifically, the method comprises the following steps:
the server 900 includes a Central Processing Unit (CPU)901, a system memory 904 including a Random Access Memory (RAM)902 and a Read Only Memory (ROM)903, and a system bus 905 connecting the system memory 904 and the central processing unit 901. The server 900 also includes a basic input/output system (I/O system) 906 for facilitating the transfer of information between devices within the computer, and a mass storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.
The basic input/output system 906 includes a display 908 for displaying information and an input device 909 such as a mouse, keyboard, etc. for user input of information. Wherein the display 908 and the input device 909 are connected to the central processing unit 901 through an input output controller 910 connected to the system bus 905. The basic input/output system 906 may also include an input/output controller 910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 910 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 907 is connected to the central processing unit 901 through a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the server 900. That is, the mass storage device 907 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 904 and mass storage device 907 described above may be collectively referred to as memory.
The server 900 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the invention. That is, the server 900 may be connected to the network 912 through the network interface unit 911 coupled to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for executing the server-side information acquisition method.
It should be understood that, as used herein, the singular forms "a," "an," "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
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 that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (23)

1. An information acquisition method, characterized in that the method comprises:
receiving a use record sent by a first terminal; the usage record comprises a location recorded by the first terminal in using the data network, a network type of the data network used by the first terminal at the recorded location, and a network quality of the data network used by the first terminal at the recorded location;
determining network distribution information according to the usage record, wherein the network distribution information comprises the position of a signal of a data network which is worse than a preset condition and the network type;
sending network distribution information corresponding to a target route of a second terminal to the second terminal, enabling a navigation application program in the second terminal to notify a music playing application program in the second terminal when determining that the distance between the position where the second terminal is located and the target position is smaller than a preset distance according to the network distribution information, the target route and a target network type of a data network used by the second terminal, enabling the music playing application program to acquire the moving speed and an audio and video playing list of the second terminal when playing on line, and downloading a song to be played at the target position in advance according to the current position, the target position, the moving speed and the audio and video playing list, wherein the target position is a position where a signal of the data network of the target network type in the target route is different from a preset condition, the network distribution information corresponding to the target route comprises a position in the target route where a signal of the data network of the target network type is worse than the preset condition.
2. The method of claim 1, wherein determining network distribution information from the usage record comprises:
and determining the position and the network type of the data network with the signal difference of the preset condition according to the network quality corresponding to at least one network type at least one position in the use record.
3. The method of claim 2, wherein determining the location and the network type where the signal of the data network is worse than the predetermined condition according to the respective network quality corresponding to the at least one network type at the at least one location in the usage record comprises:
when the network quality comprises signal strength, calculating the average value of the signal strength corresponding to each network type at each position; determining that the signal of the network-type data network at the location is worse than the preset condition when the average does not reach an intensity threshold.
4. The method of claim 2, wherein determining the location and the network type where the signal of the data network is worse than the predetermined condition according to the respective network quality corresponding to the at least one network type at the at least one location in the usage record comprises:
when the network quality comprises indicating information used for indicating whether the network connection is normal or not, calculating the ratio of the number of the indicating information used for indicating the network connection abnormity in each piece of indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
5. The method of claim 2, wherein determining the location and the network type where the signal of the data network is worse than the predetermined condition according to the respective network quality corresponding to the at least one network type at the at least one location in the usage record comprises:
when the network quality comprises signal strength and indicating information used for indicating whether network connection is normal or not, calculating the average value of the signal strength corresponding to each network type at each position, and calculating the ratio of the number of pieces of indicating information used for indicating network connection abnormity in the indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the average value does not reach the strength threshold value and the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
6. An information acquisition method, characterized in that the method comprises:
acquiring a target route of a terminal;
receiving network distribution information corresponding to the target route, wherein the network distribution information comprises a position, in the target route, of a data network of a target network type with a signal worse than a preset condition, and the network distribution information is determined by the server according to a use record sent by a first terminal, wherein the use record comprises a position recorded by the first terminal in a process of using the data network, a network type of the data network used by the first terminal at the position, and a network quality of the data network used by the first terminal at the position;
a navigation application program in the terminal informs a music playing application program in the terminal when determining that the distance between the current position of the terminal and the target position is smaller than a preset distance according to the network distribution information, the target route and the target network type of the used data network, so that the music playing application program obtains the moving speed and an audio and video playing list of the terminal when playing on line, and downloads a song to be played at the target position in advance according to the current position, the target position, the moving speed and the audio and video playing list; the target position is a position in the target route where the signal of the data network of the target network type is worse than the preset condition.
7. The method of claim 6, wherein obtaining the target route comprises:
acquiring a navigation route in the navigation application program;
alternatively, the first and second electrodes may be,
acquiring a moving route in a historical time period, and acquiring a route matched with the moving route from a historical moving record; the historical time period is a time period of which the ending time is the current time and has a preset time length;
alternatively, the first and second electrodes may be,
and acquiring a moving route of the historical movement in a time period corresponding to the current moment from the historical movement record.
8. The method of claim 6, further comprising:
and when the distance between the current position and the target position is smaller than the preset distance, the navigation application program acquires an enlarged intersection image in the area corresponding to the target position before reaching the target position.
9. The method according to any one of claims 6 to 8, characterized in that it comprises:
sending an information acquisition request to the server, wherein the information acquisition request comprises a preset position and the target network type;
and receiving network distribution information returned by the server according to the information acquisition request, wherein the network distribution information comprises a position where a signal of the data network of the target network type is different from the preset condition in an area taking the preset position as a center and a target numerical value as a radius.
10. The method according to any one of claims 6 to 8, characterized in that it comprises:
sending an information acquisition request to the server, wherein the information acquisition request comprises the target route and the target network type;
the receiving of the network distribution information corresponding to the target route sent by the server includes:
and receiving the network distribution information returned by the server according to the information acquisition request.
11. An information acquisition apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving the use record sent by the first terminal; the usage record comprises a location recorded by the first terminal in using the data network, a network type of the data network used by the first terminal at the recorded location, and a network quality of the data network used by the first terminal at the recorded location;
a determining module, configured to determine network distribution information according to the usage record received by the receiving module, where the network distribution information includes a location where a signal of a data network is worse than a preset condition and a network type;
a sending module, configured to send network distribution information corresponding to a target route of a second terminal to the second terminal, so that a navigation application in the second terminal notifies a music playing application in the second terminal when determining that a distance between a position where the second terminal is located and a target position is smaller than a preset distance according to the network distribution information, the target route, and a target network type of a data network used by the second terminal, so that the music playing application obtains a moving speed and an audio/video playing list of the second terminal when playing on line, and downloads a song to be played at the target position in advance according to the current position, the target position, the moving speed, and the audio/video playing list, where the target position is a position where a signal of the data network of the target network type in the target route is different from a preset condition, the network distribution information corresponding to the target route comprises a position in the target route where a signal of the data network of the target network type is worse than the preset condition.
12. The apparatus of claim 11, wherein the determining module is further configured to:
and determining the position and the network type of the data network with the signal difference of the preset condition according to the network quality corresponding to at least one network type at least one position in the use record.
13. The apparatus of claim 12, wherein the determining module is further configured to:
when the network quality comprises signal strength, calculating the average value of the signal strength corresponding to each network type at each position; determining that the signal of the network-type data network at the location is worse than the preset condition when the average does not reach an intensity threshold.
14. The apparatus of claim 12, wherein the determining module is further configured to:
when the network quality comprises indicating information used for indicating whether the network connection is normal or not, calculating the ratio of the number of the indicating information used for indicating the network connection abnormity in each piece of indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
15. The apparatus of claim 12, wherein the determining module is further configured to:
when the network quality comprises signal strength and indicating information used for indicating whether network connection is normal or not, calculating the average value of the signal strength corresponding to each network type at each position, and calculating the ratio of the number of pieces of indicating information used for indicating network connection abnormity in the indicating information corresponding to each network type at each position to the total number of the corresponding indicating information; and when the average value does not reach the strength threshold value and the ratio reaches a preset ratio, determining that the signal of the data network of the network type at the position is worse than the preset condition.
16. An information acquisition apparatus, characterized in that the apparatus comprises:
the route acquisition module is used for acquiring a target route of the terminal;
the receiving module is used for receiving network distribution information corresponding to the target route, wherein the network distribution information comprises a position where a signal of a data network of a target network type in the target route is worse than a preset condition, and the network distribution information is determined by the server according to a usage record sent by a first terminal, wherein the usage record comprises a position recorded by the first terminal in a process of using the data network, a network type of the data network used by the first terminal at the position, and a network quality of the data network used by the first terminal at the position;
the information acquisition module is used for enabling a navigation application program in the terminal to inform a music playing application program in the terminal when the distance between the current position and the target position of the terminal is determined to be smaller than a preset distance according to the network distribution information, the target route and the target network type of a used data network, enabling the music playing application program to acquire the moving speed and an audio and video playing list of the terminal when playing on line, and downloading a song to be played at the target position in advance according to the current position, the target position, the moving speed and the audio and video playing list; the target position is a position in the target route where the signal of the data network of the target network type is worse than the preset condition.
17. The apparatus of claim 16, wherein the route acquisition module is further configured to:
acquiring a navigation route in navigation;
alternatively, the first and second electrodes may be,
acquiring a moving route in a historical time period, and acquiring a route matched with the moving route from a historical moving record; the historical time period is a time period of which the ending time is the current time and has a preset time length;
alternatively, the first and second electrodes may be,
and acquiring a moving route of the historical movement in a time period corresponding to the current moment from the historical movement record.
18. The apparatus of claim 16, wherein the information obtaining module is further configured to:
and when the distance between the current position and the target position is smaller than the preset distance, the navigation application program obtains an enlarged intersection image in the area corresponding to the target position before reaching the target position.
19. The apparatus of any one of claims 16 to 18, wherein the apparatus comprises:
the sending module is used for sending an information acquisition request to the server, wherein the information acquisition request comprises a preset position and the target network type;
the receiving module is further configured to receive network distribution information returned by the server according to the information acquisition request, where the network distribution information includes a position where a signal of the data network of the target network type is different from the preset condition in an area with the preset position as a center and a target value as a radius.
20. The apparatus of any one of claims 16 to 18, wherein the apparatus comprises:
a sending module, configured to send an information obtaining request to the server, where the information obtaining request includes the target route and the target network type;
the receiving module is further configured to receive the network distribution information returned by the server according to the information acquisition request.
21. A server, comprising a processor and a memory, wherein the memory stores one or more programs, and the one or more programs are configured and executed by the processor to implement the information acquisition method according to any one of claims 1 to 5.
22. A terminal comprising a processor and a memory, the memory having one or more programs stored therein, the one or more programs configured by the processor and executed to implement the information acquisition method according to any one of claims 6 to 10.
23. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs configured by a processor and executed to implement the information acquisition method according to any one of claims 1 to 5 or to implement the information acquisition method according to any one of claims 6 to 10.
CN201710233385.XA 2017-04-11 2017-04-11 Information acquisition method and device Active CN108924885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710233385.XA CN108924885B (en) 2017-04-11 2017-04-11 Information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710233385.XA CN108924885B (en) 2017-04-11 2017-04-11 Information acquisition method and device

Publications (2)

Publication Number Publication Date
CN108924885A CN108924885A (en) 2018-11-30
CN108924885B true CN108924885B (en) 2021-09-10

Family

ID=64402737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710233385.XA Active CN108924885B (en) 2017-04-11 2017-04-11 Information acquisition method and device

Country Status (1)

Country Link
CN (1) CN108924885B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787811A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Network status data update method, device, computer equipment and storage medium
CN110519156B (en) * 2019-08-30 2021-12-28 北京云中融信网络科技有限公司 Information interaction method and device
CN110896566B (en) * 2019-11-18 2022-04-22 腾讯科技(深圳)有限公司 Channel determination method and device
CN111130672A (en) * 2019-12-06 2020-05-08 上海博泰悦臻电子设备制造有限公司 Listening method, system, medium and device of vehicle-mounted radio
CN112053115A (en) * 2020-09-09 2020-12-08 上海有个机器人有限公司 Notification delivery method and device of delivery robot and server
CN112202880B (en) * 2020-09-29 2023-11-07 腾讯科技(深圳)有限公司 Road condition information acquisition method, device, equipment and storage medium
CN116626729B (en) * 2023-07-19 2023-10-17 前海联大(深圳)技术有限公司 GPS receiver information sharing method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319958A (en) * 2000-03-24 2001-10-31 国际商业机器公司 Optimization for mobile communicaltion near to radio dead area
CN103326801A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Method and system for controlling on-line information playing and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2481254B (en) * 2010-06-18 2017-07-12 Skype Determining network quality
WO2012060566A2 (en) * 2010-11-02 2012-05-10 엘지전자 주식회사 Method and apparatus for reporting measurement result in wireless communication system
CN104468999A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Voice frequency matching method, device and system
CN105050047A (en) * 2015-07-30 2015-11-11 深圳市金立通信设备有限公司 Signal strength prompting method and terminal
CN106332194A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Network switching method and apparatus
CN106385610A (en) * 2016-09-28 2017-02-08 广东欧珀移动通信有限公司 Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal
CN106454728B (en) * 2016-10-09 2019-10-25 Oppo广东移动通信有限公司 A kind of network control method of terminal applies, device and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319958A (en) * 2000-03-24 2001-10-31 国际商业机器公司 Optimization for mobile communicaltion near to radio dead area
CN103326801A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Method and system for controlling on-line information playing and mobile terminal

Also Published As

Publication number Publication date
CN108924885A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924885B (en) Information acquisition method and device
CN107277912B (en) Radio frequency interference processing method, device, storage medium and terminal
KR101978590B1 (en) Message updating method, device and terminal
CN106412818B (en) Method and device for positioning equipment
CN107566985B (en) Method and device for determining main SIM card of mobile terminal
JP6955092B2 (en) Methods for reducing terminal power consumption, and terminals
TW201513025A (en) Method, terminal and system for sharing geographic position
TW201508312A (en) Method, device and system for forecasting weather
US10663521B2 (en) Method and device for ascertaining required charging time
KR101813437B1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
CN108810057B (en) User behavior data acquisition method and device and storage medium
CN104253740A (en) Picture registration method, device and system
CN105606117A (en) Navigation prompting method and navigation prompting apparatus
CN104618854A (en) Method, terminal and server for sharing location information
CN104035951A (en) Method, device and terminal for displaying map
CN109147371B (en) Driving route determining method and device and computer equipment
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN110022405B (en) Radio frequency parameter adjusting method, device and storage medium
CN107122036B (en) Method and device for adjusting frequency of central processing unit
CN105530684B (en) Network access method, device and system
CN106302101B (en) Message reminding method, terminal and server
CN107153715B (en) Method and device for adding file on page
CN105159655B (en) Behavior event playing method and device
US20160330587A1 (en) Information obtaining method, server, terminal, and system
CN105741599B (en) The display methods and device of information of vehicles

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