CN113986378A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN113986378A
CN113986378A CN202111248939.6A CN202111248939A CN113986378A CN 113986378 A CN113986378 A CN 113986378A CN 202111248939 A CN202111248939 A CN 202111248939A CN 113986378 A CN113986378 A CN 113986378A
Authority
CN
China
Prior art keywords
target
application
network quality
network
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111248939.6A
Other languages
Chinese (zh)
Inventor
吕杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111248939.6A priority Critical patent/CN113986378A/en
Publication of CN113986378A publication Critical patent/CN113986378A/en
Priority to PCT/CN2022/127545 priority patent/WO2023072114A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a data processing method and device, and belongs to the technical field of communication. The data processing method comprises the following steps: predicting second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is the target duration; under the condition that the first position is located in the first area and the second position is located in the second area, acquiring first data; wherein the network quality of the target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is preloading data of a first application; the first application is an application that satisfies a first condition.

Description

Data processing method and device
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a data processing method and apparatus.
Background
Currently, with the development of mobile communication technology, people can browse the latest information or watch short videos through APP (Application program) installed in a terminal at any time and any place.
The signal strength of the mobile communication network is not balanced, the signal strength is divided into strong and weak signals, in a region with weak signals, a long time is needed for loading data through the APP, or loading fails, the loading efficiency is low, and user experience is seriously influenced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data processing method and apparatus, which can solve the problem of low efficiency of data loading.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes:
predicting second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
under the condition that the first position is located in a first area and the second position is located in a second area, acquiring first data;
wherein a network quality of a target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is pre-loaded data of a first application; the first application is an application that satisfies a first condition.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
a prediction module for predicting second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
the acquisition module is used for acquiring first data under the condition that the first position is located in a first area and the second position is located in a second area;
wherein a network quality of a target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is pre-loaded data of a first application; the first application is an application that satisfies a first condition.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is obtained from the server of the first application, the first data is loaded in advance in the area with good network quality for the target terminal to use after entering the area with poor network quality, the data loading speed is high, the efficiency is high, the phenomena of long loading time consumption, browsing card pause or loading failure and the like caused by the fact that the first data is loaded in the area with poor network quality can be avoided, and the user experience of using the first application can be improved. Furthermore, the operating system based on the target terminal can be implemented without developing each first application, and the development cost of the application can be greatly reduced.
Drawings
Fig. 1 is a schematic flowchart of a data processing method provided in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data processing method and apparatus provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application. The data processing method provided by the embodiment of the application is described below with reference to fig. 1. As shown in fig. 1, the method includes:
step 101, predicting second position information based on the first position information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is the target duration.
Optionally, an execution subject of the data processing method provided in the embodiment of the present application is a data processing apparatus. The data processing method provided by the embodiment of the application is applied to the target terminal.
The data processing apparatus may be implemented in various forms. For example, the data processing device described in the embodiments of the present application may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a navigation device, a smart band, a smart hand, a digital camera, and the like.
It is understood that the target terminal in step 101 is a data processing device.
Optionally, the real-time location of the target terminal may be obtained based on a mobile positioning technology, so as to obtain the first location information of the target terminal.
Mobile positioning refers to a technology for acquiring location information (e.g., longitude and latitude coordinates) of a mobile terminal or a user through a specific positioning technology. The mobile Positioning technology mainly includes two types, one is Positioning Based on a Global Positioning System (GPS), and the other is Positioning Based on a Location Based Service (LBS) base station of a mobile operator network. The positioning mode based on the GPS is that the GPS positioning module on the mobile terminal is utilized to send the position signal of the mobile terminal to the positioning background to realize the mobile terminal mobile phone positioning. LBS base station positioning utilizes the measured distance of the base station to the distance of the mobile terminal to determine the position of the mobile terminal.
Alternatively, the first location information may be a geographic coordinate (longitude and latitude) or a geodetic coordinate of a first location where the target terminal is located at the current time.
The first time may be represented by time t1, the target time may be represented by time t2, and time t2-t1 may be Δ t. Δ t represents a target time period. The target duration can be preset according to actual requirements, or based on the moving speed of the mobile terminal of the target terminal
Based on the first position of the target terminal at time t1, the second position of the target terminal at time t2 may be predicted to obtain second position information.
The second location information may be a geographic coordinate (longitude and latitude) or a geodetic coordinate of a second location where the target terminal is located at the target time. In the case where the first position information is a geographical coordinate, the second position information is a geographical coordinate; in the case where the first position information is geodetic coordinates, the second position information is geodetic coordinates.
Alternatively, the second position may be predicted based on the first position in combination with at least one of a current motion trajectory, a historical motion trajectory, and navigation information of the target terminal.
Illustratively, based on the current motion track of the target terminal, the moving speed and the moving direction of the target terminal can be acquired; the second position may be predicted based on the moving speed and moving direction of the target terminal, and the first position.
Illustratively, from the first location and the navigation information, the second location may be predicted.
And 102, acquiring first data under the condition that the first position is located in the first area and the second position is located in the second area.
Wherein the network quality of the target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is preloading data of a first application; the first application is an application that satisfies a first condition.
Optionally, the first area and the second area are pre-divided areas. The first area is an area with better network quality of the target network, and the network quality of the target network in the first area is higher than or equal to a first network quality threshold value; the second area is an area with poor network quality of the target network, and the network quality of the target network in the second area is lower than a second network quality threshold value. Optionally, the first network quality threshold is higher than or equal to the second network quality threshold.
And the target network is a wireless communication network. Illustratively, the target Network may be a 5G Network, a 4G Network, or a WLAN (Wireless Local Area Network).
The first network quality threshold and the second network quality threshold may be predetermined according to actual requirements. The embodiments of the present application are not particularly limited to specific values of the first network quality threshold and the second network quality threshold.
The network quality may be determined based on at least one of a data uplink transmission rate, a data downlink transmission rate, a packet loss rate, and the like.
Alternatively, after the second position information is acquired, it may be determined whether the first position is located in the first area and whether the second position is located in the second area.
The first location is located in a first area and the second location is located in a second area, indicating that the target terminal is about to enter an area with poor network quality from an area with good network quality of the target network. When the target terminal is about to enter an area with poor network quality from an area with good network quality of the target network, for the first application, the first data can be acquired from the server corresponding to the application.
The first application is an application program which can acquire first data from a corresponding server. The target data may include video (including short video), audio, electronic maps, online shopping data, news, personal dynamics of articles and social media in the web community, and the like. Illustratively, the first application may include applications such as an instant messenger class, a news class, a video playing class, an audio playing class, an electronic map class, a web shopping class, a web community class, and a social media class.
Whether a first condition is met is used for indicating whether the application currently has the requirement and the capability of acquiring the first data from the corresponding server. A certain application meets a first condition, which indicates that the application currently has the requirement and the capability of acquiring first data from a corresponding server, and the application is a first application; otherwise, the application does not satisfy the first condition, which indicates that the application does not currently have a requirement or capability for acquiring the first data from the corresponding server, and the application is not the first application.
Exemplarily, a current running interface of a certain instant messaging application program is a chat interface, which indicates that the instant messaging application program does not currently have a requirement for acquiring first data from a server; the current running interface of the instant messaging application program is an interface for displaying friend trends, which indicates that the instant messaging application program has the requirement of acquiring the first data from the server at present.
Exemplarily, an application runs in a background of a target terminal, which indicates that the application is in a networking state and currently has the capability of acquiring first data from a server; the application is not operated, which means that the application is not in a networking state and does not currently have the capability of acquiring the first data from the server.
The obtaining of the first data from the server of the first application may be implemented in various forms.
Optionally, for streaming media data such as video or audio, a refresh request may be initiated in advance, and subsequent data may be obtained from the server and stored in the cache of the target terminal. Even if the target terminal enters the second area, the subsequent data can be directly obtained from the cache of the target terminal for refreshing under the condition that the user clicks the target control and requests to refresh the streaming media data, and the first application is normally used.
Alternatively, for information data such as news or short videos, a plurality of new data items may be acquired from the server. Even if the target terminal enters the second area, the user can check new data and normally use the first application.
The number of the first data acquired from the server in step 102 may be set in advance according to actual conditions such as traffic quota. The embodiment of the present application is not particularly limited with respect to the specific value of the number of pieces of the first data.
Optionally, in step 102, before the first data is acquired from the server of the first application, it may be further determined whether the data volume of the first data exceeds the target data volume; under the condition that the first data is not exceeded, executing the operation of acquiring the first data from the server of the first application; and under the condition of exceeding, not executing the operation of acquiring the first data from the server of the first application. The target data volume may be determined in advance according to actual conditions such as the remaining flow of the current charging period. The embodiment of the present application is not particularly limited with respect to the specific value of the target data amount.
According to the embodiment of the application, under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is obtained from the server side of the first application, the first data is loaded in advance in the area with good network quality and is used after the target terminal enters the area with poor network quality, the data loading speed is high, the data loading efficiency is high, the phenomena of long loading time consumption, browsing card pause or loading failure and the like when the first data is loaded in the area with poor network quality can be avoided, and the user experience of using the first application can be improved. Furthermore, the operating system based on the target terminal can be implemented without developing for each first application, and the development cost of the application can be greatly reduced.
Optionally, in a case where the first location is located in the first region and the second location is located in the second region, before the acquiring the first data, the method further includes: and determining the target application meeting the first condition as the first application.
Alternatively, before step 102, the target application satisfying the first condition may be determined as the first application by determining whether each target application satisfies the first condition.
Alternatively, the target application may be predetermined. The number of target applications may be one or more.
Determining the target application meeting the first condition as the first application, wherein the target application comprises at least one of the following applications:
determining the target application as a first application under the condition that the target application is in a running state and the type of the target application is a first type;
determining the target application as a first application under the condition that the current running interface of the target application is a target interface and the type of the target application is a second type;
in the case where a second application having a right to invoke the target application is in a running state, the target application is determined as the first application.
Optionally, the running state may include a foreground running state and a background running state. The first type of application refers to an application which has a function of acquiring preloaded data from a server and each running interface of the application is a target interface. The first type may include news information, electronic maps, short videos, and the like.
The target interface can be an operation interface of a certain application, and the interface has the requirement of acquiring first data from the server side. Illustratively, each interface of the news application and the interface of the instant messaging application for displaying the friend trends are interfaces with the requirement of acquiring the first data from the server.
Optionally, when the type of the target application is the first type, each running interface of the target application is a target interface, which indicates that the target application has a requirement for acquiring preloaded data from the server, and the step of acquiring the preloaded data may be performed when the target application is in a running state.
Optionally, the second type of application refers to an application that has a function of obtaining preloaded data from a server and a part of an operation interface of the application is a target interface. The second type may include an instant messaging class, a social media class, and the like.
Optionally, when the type of the target application is the second type and the current running interface of the target application is the target interface, displaying the current running interface of the target application to indicate that the target application is running, where the target application has a capability of acquiring the preloaded data from the server, and the current running interface of the target application is the target interface to indicate that the application currently has a requirement of acquiring the preloaded data from the server, so that it may be determined that the target application satisfies the first condition, and the target application is determined to be the first application.
Optionally, for a target application having a function of acquiring the pre-recorded data from the server, when the target application is not in the running state, it may also be determined whether the second application belongs to the running state. The second application is an application program associated with the target application and has a right to invoke the target application. Under the condition that the second application is in the running state, the target application can be called through the second application, which shows that the target application also has the capability of acquiring the preloaded data from the server side under the scene. Therefore, in a case where the second application having the authority to invoke the target application is in the running state, it is determined that the target application satisfies the first condition, and the target application is determined as the first application.
Illustratively, the target application is a certain electronic map application program, and the second application can be an online shopping application program; under the condition that the second application of the user browses the information of the merchant, the target application can be called through the second application, and the position information of the merchant can be checked on the electronic map. Therefore, when the second application is in a running state, the target application also has the capability of acquiring the preloaded data from the server, and the target application can be determined to be the first application meeting the first condition.
The embodiment of the application can more accurately and comprehensively determine whether the target application has the requirement and the capability of acquiring the preloaded data from the server or not by determining the target application as the first application under the condition that the target application is in the running state and the type of the target application is the first type or under the condition that the current running interface of the target application is the target interface and the type of the target application is the second type or under the condition that the second application with the authority of calling the target application is in the running state, and then the target application is determined as the first application, so that the first data can be acquired from the server of the first application under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is loaded in advance in the area with good network quality for the target terminal to use after entering the area with poor network quality, the data loading speed is high, the efficiency is high, the phenomena of long loading time consumption, browsing card pause or loading failure and the like caused by loading the first data in an area with poor network quality can be avoided, and the user experience of using the first application can be improved.
Optionally, predicting the second location information based on the first location information comprises at least one of: predicting second position information based on the first position information and the current motion track of the target terminal; second position information is predicted based on the first position information and the navigation information.
Optionally, a target route moved by the mobile terminal may be predicted based on the first position information and the current motion trajectory of the target terminal; the second position may be predicted based on the target route, the first position, and the moving speed of the target terminal, thereby obtaining second position information.
Whether the current motion track of the target terminal is matched with a first route in a route library acquired in advance can be judged; the first route, which matches the current motion trajectory, may be determined as the target route.
The current motion trajectory of the target terminal is matched with the first route, and it may be that the current motion trajectory of the target terminal at least partially coincides with the first route, and the first position is located at the coinciding portion.
The first route is a certain commonly used route of the target terminal, which is obtained in advance, namely the commonly used route of the user.
And navigation information, namely a planned route of the target terminal. The second position may be predicted based on the navigation information, the first position of the target terminal, and the moving speed of the target terminal, thereby obtaining second position information.
Optionally, the second position information may also be predicted based on the first position information, the current motion trajectory of the target terminal, and the navigation information.
The method and the device have the advantages that at least one of the current motion track and the navigation information of the target terminal is combined with the first position information to predict the second position information more accurately, so that whether the target terminal is about to enter an area with poor network quality from the area with good network quality can be more accurately determined, under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is loaded in advance in the area with good network quality for the target terminal to use after entering the area with poor network quality, the data loading speed is high, the data loading efficiency is high, the phenomena of long loading time consumption, browsing jam or loading failure and the like caused by the fact that the first data is loaded in the area with poor network quality can be avoided, and the user experience of using the first application can be improved.
Optionally, in a case where the first location is located in the first region and the second location is located in the second region, before the acquiring the first data, the method further includes: and acquiring the network quality of the target network at each position in the historical motion trail of the target terminal based on the historical motion process of the target terminal.
Alternatively, the first area and the second area may be determined based on a historical motion trajectory of the target terminal.
In the historical movement process of the target terminal, the position information of the position and the network quality of the position target network can be respectively obtained at a plurality of different positions in the historical movement track.
Alternatively, the target terminal may reach a plurality of different positions in the historical movement track at preset time intervals or distance intervals.
Optionally, the moving process of the target terminal in the historical motion trajectory may be multiple times, that is, the target terminal may be located at a certain position in the historical motion trajectory multiple times, and the network quality of the target network at the certain position is obtained each time.
And determining the first area and the second area based on the network quality of the target network at each position in the historical motion trail of the target terminal.
Optionally, analyzing the network quality of the target network at each position in the historical motion trajectory of the target terminal, and determining a first network quality threshold and a second network quality threshold; based on the first network quality threshold and the second network quality threshold, a location of the respective locations where the network quality of the target network is poor may be determined, thereby dividing the target route into a first area and a second area.
The method and the device for determining the network quality of the target network in the historical movement track of the target terminal are based on the historical movement process of the target terminal, the first area and the second area are determined based on the network quality of the target network in the historical movement track of the target terminal, and therefore whether the mobile terminal is about to enter the area with poor network quality from the area with good network quality can be determined more accurately.
Optionally, in a case where the first location is located in the first region and the second location is located in the second region, before the acquiring the first data, the method further includes: network quality information of the target network is obtained.
The network quality information includes network quality of a target network where each user terminal is located.
Optionally, the target terminal may receive the network quality information of the target network sent by the target electronic device.
The target electronic device may acquire location information of each user terminal using the target network and network quality of the location target network. The user terminal using the target network may include a target terminal.
Alternatively, the data processing apparatus may determine the first area and the second area based on a network quality of a target network in which the respective user terminal is located.
Optionally, the data processing apparatus may analyze the network quality of the target network at the location where each user terminal is located by using a big data analysis method, and may determine a location or a range where the network quality of the target network in the target area is poor, thereby determining the first network quality threshold and the second network quality threshold; based on the first network quality threshold and the second network quality threshold, a first area and a second area may be determined.
According to the embodiment of the application, the network quality of the target network at the position of each user terminal in the whole network is obtained, the first area and the second area are determined based on the network quality of the target network at the position of each user terminal, the first area and the second area are not limited to the common routes of users, whether the mobile terminal is to enter the area with poor network quality from the area with better network quality can be determined more accurately under the condition that the current motion track of the target terminal is not matched with any target route, target data are loaded in advance in the area with better network quality under the condition that the target terminal is to enter the area with poor network quality from the area with better network quality, the target terminal is used after entering the area with poor network quality, the user can normally use the first application at any time and any place, and the user experience of using the first application can be improved. Furthermore, based on big data analysis of all user terminals in the whole network, the determined second area is more accurate, the accuracy of a judgment result of whether the mobile terminal is about to enter an area with relatively poor network quality from an area with relatively good network quality is greatly improved, further, target data can be loaded in advance more accurately, and the cache hit rate is greatly improved while user flow is saved as much as possible.
It should be noted that, in the data processing method provided in the embodiment of the present application, the execution main body may be a data processing apparatus, or the execution main body is a control module for executing the data processing method in the data processing apparatus. In the embodiment of the present application, a data processing apparatus executes a data processing method as an example, and the data processing apparatus provided in the embodiment of the present application is described.
Fig. 2 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. Optionally, as shown in fig. 2, the apparatus includes a prediction module 201 and an acquisition module 202, wherein:
a prediction module 201, configured to predict second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
an obtaining module 203, configured to obtain first data when the first location is in the first area and the second location is in the second area;
wherein the network quality of the target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is preloading data of a first application; the first application is an application that satisfies a first condition.
Optionally, the prediction module 201 and the acquisition module 202 are electrically connected.
The prediction module 201 may obtain a real-time location of the target terminal based on a mobile positioning technology, so as to obtain first location information of the target terminal; based on the first position of the target terminal, the second position of the target terminal can be predicted to obtain second position information.
The obtaining module 202 may obtain the first data from the server of the first application when the first location is in the first area and the second location is in the second area.
Optionally, the apparatus may further include:
the confirming module is used for determining the target application meeting the first condition as the first application;
the confirmation module is specifically configured to at least one of:
determining the target application as a first application under the condition that the target application is in a running state and the type of the target application is a first type;
determining the target application as a first application under the condition that the current running interface of the target application is a target interface and the type of the target application is a second type;
in the case where a second application having a right to invoke the target application is in a running state, the target application is determined as the first application.
Optionally, the prediction module 201 may include at least one of:
a first prediction unit for predicting second position information based on the first position information and a current motion trajectory of the target terminal;
a second prediction unit for predicting second position information based on the first position information and the navigation information.
Optionally, the apparatus may further include:
the first acquisition module is used for acquiring the network quality of a target network at each position in the historical motion track of the target terminal based on the historical motion process of the target terminal;
and the first determining module is used for determining the first area and the second area based on the network quality of each position target network in the historical motion trail of the target terminal.
Optionally, the apparatus may further include:
the second acquisition module is used for acquiring the network quality information of the target network;
a second determining module for determining the first area and the second area based on the network quality information;
the network quality information includes network quality of a target network where each user terminal is located.
According to the embodiment of the application, under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is obtained from the server side of the first application, the first data is loaded in advance in the area with good network quality for the target terminal to use after entering the area with poor network quality, the data loading speed is high, the data loading efficiency is high, the phenomena of long loading time consumption, browsing card pause or loading failure and the like when the first data is loaded in the area with poor network quality can be avoided, and the user experience of using the first application can be improved. Furthermore, the operating system based on the target terminal can be implemented without developing each first application, and the development cost of the application can be greatly reduced.
The data processing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The data processing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 410 is configured to predict the second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
the processor 410 is further configured to obtain first data when the first location is in the first region and the second location is in the second region;
wherein the network quality of the target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is preloading data of a first application; the first application is an application that satisfies a first condition.
According to the embodiment of the application, under the condition that the target terminal is about to enter the area with poor network quality from the area with good network quality, the first data is obtained from the server side of the first application, the first data is loaded in advance in the area with good network quality for the target terminal to use after entering the area with poor network quality, the data loading speed is high, the data loading efficiency is high, the phenomena of long loading time consumption, browsing card pause or loading failure and the like when the first data is loaded in the area with poor network quality can be avoided, and the user experience of using the first application can be improved. Furthermore, the operating system based on the target terminal can be implemented without developing each first application, and the development cost of the application can be greatly reduced.
Optionally, the processor 410 is further configured to determine a target application satisfying a first condition as a first application;
processor 410, further configured to at least one of:
determining the target application as a first application under the condition that the target application is in a running state and the type of the target application is a first type;
determining the target application as a first application under the condition that the current running interface of the target application is a target interface and the type of the target application is a second type;
in the case where a second application having a right to invoke the target application is in a running state, the target application is determined as the first application.
Optionally, the processor 410 is further configured to at least one of:
predicting second position information based on the first position information and the current motion track of the target terminal;
second position information is predicted based on the first position information and the navigation information.
Optionally, the processor 410 is further configured to obtain, based on a historical motion process of the target terminal, network quality of the target network at each position in the historical motion trajectory of the target terminal;
the processor 410 is further configured to determine the first area and the second area based on the network quality of the target network at each location in the historical motion profile of the target terminal.
Optionally, the processor 410 is further configured to obtain network quality information of the target network;
a processor 410 further configured to determine a first area and a second area based on the network quality information;
the network quality information includes network quality of a target network where each user terminal is located.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, target applications and operating systems. The processor 410 may integrate an application processor, which primarily handles operating system, user interface, and target 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 the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the data processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A data processing method, comprising:
predicting second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
under the condition that the first position is located in a first area and the second position is located in a second area, acquiring first data;
wherein a network quality of a target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is pre-loaded data of a first application; the first application is an application that satisfies a first condition.
2. The data processing method of claim 1, wherein before the obtaining the first data in a case where the first location is in the first region and the second location is in the second region, the method further comprises:
determining a target application satisfying the first condition as the first application;
determining a target application satisfying the first condition as the first application, including at least one of:
determining the target application as the first application under the condition that the target application is in a running state and the type of the target application is a first type;
determining the target application as the first application under the condition that the current running interface of the target application is a target interface and the type of the target application is a second type;
determining the target application as the first application in a case where a second application having a right to invoke the target application is in a running state.
3. The data processing method of claim 1, wherein predicting the second location information based on the first location information comprises at least one of:
predicting the second position information based on the first position information and the current motion trail of the target terminal;
predicting the second location information based on the first location information and navigation information.
4. The data processing method according to claim 3, wherein before the first data is acquired in a case where the first location is in a first region and the second location is in a second region, the method further comprises:
acquiring the network quality of a target network at each position in the historical motion track of the target terminal based on the historical motion process of the target terminal;
and determining the first area and the second area based on the network quality of the target network at each position in the historical motion trail of the target terminal.
5. The data processing method of claim 1, wherein before the obtaining the first data in a case where the first location is in the first region and the second location is in the second region, the method further comprises:
acquiring network quality information of the target network;
determining the first area and the second area based on the network quality information;
the network quality information comprises the network quality of the target network at the position of each user terminal.
6. A data processing apparatus, comprising:
a prediction module for predicting second location information based on the first location information; the first position information is used for indicating a first position of the target terminal at the current moment; the second position information is used for indicating a second position of the target terminal at the target moment; the target time is behind the current time, and the time interval between the target time and the current time is a target duration;
the acquisition module is used for acquiring first data under the condition that the first position is located in a first area and the second position is located in a second area;
wherein a network quality of a target network of the first region is greater than or equal to a first network quality threshold; the network quality of the target network of the second area is below a second network quality threshold; the first data is pre-loaded data of a first application; the first application is an application that satisfies a first condition.
7. The data processing apparatus of claim 6, wherein the apparatus further comprises:
a confirmation module, configured to determine a target application satisfying the first condition as the first application;
the confirmation module is specifically configured to at least one of:
determining the target application as the first application under the condition that the target application is in a running state and the type of the target application is a first type;
determining the target application as the first application under the condition that the current running interface of the target application is a target interface and the type of the target application is a second type;
determining the target application as the first application in a case where a second application having a right to invoke the target application is in a running state.
8. The data processing apparatus of claim 6, wherein the prediction module comprises at least one of:
a first prediction unit, configured to predict the second position information based on the first position information and a current motion trajectory of the target terminal;
a second prediction unit to predict the second location information based on the first location information and navigation information.
9. The data processing apparatus of claim 8, wherein the apparatus further comprises:
the first acquisition module is used for acquiring the network quality of a target network at each position in the historical motion track of the target terminal based on the historical motion process of the target terminal;
a first determining module, configured to determine the first area and the second area based on network quality of each location target network in a historical motion trajectory of the target terminal.
10. The data processing apparatus of claim 6, wherein the apparatus further comprises:
the second acquisition module is used for acquiring the network quality information of the target network;
a second determining module to determine the first area and the second area based on the network quality information;
the network quality information comprises the network quality of the target network at the position of each user terminal.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the data processing method according to any one of claims 1 to 5.
CN202111248939.6A 2021-10-26 2021-10-26 Data processing method and device Pending CN113986378A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111248939.6A CN113986378A (en) 2021-10-26 2021-10-26 Data processing method and device
PCT/CN2022/127545 WO2023072114A1 (en) 2021-10-26 2022-10-26 Data processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248939.6A CN113986378A (en) 2021-10-26 2021-10-26 Data processing method and device

Publications (1)

Publication Number Publication Date
CN113986378A true CN113986378A (en) 2022-01-28

Family

ID=79741744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248939.6A Pending CN113986378A (en) 2021-10-26 2021-10-26 Data processing method and device

Country Status (2)

Country Link
CN (1) CN113986378A (en)
WO (1) WO2023072114A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072114A1 (en) * 2021-10-26 2023-05-04 维沃移动通信有限公司 Data processing method and apparatus
WO2023231861A1 (en) * 2022-06-02 2023-12-07 维沃移动通信有限公司 Data preloading method and device, terminal, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944408B (en) * 2019-10-31 2022-05-17 维沃移动通信有限公司 Data transmission method and electronic equipment
CN111615134A (en) * 2020-04-27 2020-09-01 深圳壹账通智能科技有限公司 Method and device for processing mobile network access data and storage medium
CN113986378A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Data processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072114A1 (en) * 2021-10-26 2023-05-04 维沃移动通信有限公司 Data processing method and apparatus
WO2023231861A1 (en) * 2022-06-02 2023-12-07 维沃移动通信有限公司 Data preloading method and device, terminal, and storage medium

Also Published As

Publication number Publication date
WO2023072114A1 (en) 2023-05-04

Similar Documents

Publication Publication Date Title
US10645179B2 (en) Method and system for location sharing
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
KR102004023B1 (en) Detecting geo-fence events using varying confidence levels
WO2023072114A1 (en) Data processing method and apparatus
US20150163630A1 (en) Systems and methods for geo-location based message streams
CN111597445B (en) Information recommendation method and device
US20150186426A1 (en) Searching information using smart glasses
US20150002539A1 (en) Methods and apparatuses for displaying perspective street view map
CA3006903C (en) Location based information service application
CN103994764A (en) Portable positioning system
WO2014114144A1 (en) Method, server and terminal for information interaction
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN112153568B (en) Wi-Fi identification and binding method, device and equipment based on service scene
JP6379305B1 (en) User context detection using mobile devices based on wireless signal characteristics
CN114827750B (en) Viewing angle prediction method, device, equipment and storage medium
CN112539752B (en) Indoor positioning method and indoor positioning device
WO2014206076A1 (en) Methods and apparatuses for displaying perspective street view map
CN113484883A (en) Positioning method and device and electronic equipment
CN108449372B (en) Network data processing method, three-dimensional network database construction method and system
CN108959435B (en) Method and equipment for providing resource information for user
CN112040490A (en) Resource loading method, device, server and storage medium
Bai et al. Design of taxi routing and fare estimation program with re-prediction methods for a smart phone
CN113932800A (en) Navigation method and device thereof
CN109990781B (en) Navigation processing method and device for navigation processing
CN116996760A (en) Video data processing method and device, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination