CN105764105A - Data processing method and terminal - Google Patents

Data processing method and terminal Download PDF

Info

Publication number
CN105764105A
CN105764105A CN201610066560.6A CN201610066560A CN105764105A CN 105764105 A CN105764105 A CN 105764105A CN 201610066560 A CN201610066560 A CN 201610066560A CN 105764105 A CN105764105 A CN 105764105A
Authority
CN
China
Prior art keywords
terminal
preset data
base station
data
sent
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.)
Granted
Application number
CN201610066560.6A
Other languages
Chinese (zh)
Other versions
CN105764105B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610066560.6A priority Critical patent/CN105764105B/en
Publication of CN105764105A publication Critical patent/CN105764105A/en
Application granted granted Critical
Publication of CN105764105B publication Critical patent/CN105764105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides data processing method. The method comprises: a first terminal is configured to detect whether there is a second terminal in a networking state located in a presetting range or not; if there is a second terminal in a networking state located in a presetting range, the first terminal is connected with the second terminal; and the first terminal is configured to send the preset data stored in the first terminal to the second terminal, and the second terminal is configured to send the preset data to a base station connected with the second terminal. The embodiment of the invention further provides a terminal. According to the embodiment of the invention, a first terminal may not directly connect with the base station, the first terminal is configured to detect a second terminal in a networking state located in a preset range, and the first terminal is connected with the second terminal, so that the number of users of accessing the base station is reduced, especially at the are vehicle jamming area, the bearing load of terminals is reduced, and the stability of the preset data transmission is improved.

Description

A kind of data processing method and terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of data processing method and terminal.
Background technology
Fast development along with Information technology, the function of terminal (such as mobile phone, panel computer, mobile unit etc.) is also from strength to strength, it is possible not only to for realizing communication, can also be used to inquiry road conditions, in the process of inquiry road conditions, it is connected by setting up between terminal with base station, the data (such as the data of drive recorder collection, position data etc.) that vehicle is gathered by terminal are sent to base station, and given server by base station forwarding, then, these data are analyzed by server, and to terminal feedback traffic or traffic information.In actual applications, especially in traffic congestion situation, when the terminal that the region that blocks up there will be the numerous vehicle of the same area and Che Nei user is simultaneously connected to base station, cause base station over loading, thus, cause that data process instability.
Summary of the invention
Embodiments provide a kind of data processing method and terminal, it is possible to reduce the carry load of base station, improve the stability that data process.
Embodiment of the present invention first aspect provides a kind of data processing method, including:
Whether there is, in first terminal detection preset range, the second terminal being in networking state;
If so, described first terminal connects described second terminal;
The preset data of storage in described first terminal is sent to described second terminal by described first terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
In conjunction with the first aspect of the embodiment of the present invention, in the first possible embodiment of first aspect, after whether there is, in described first terminal detection preset range, the second terminal being in networking state, described method also includes:
If it is not, base station is searched for and connected to described first terminal, and after connecting base station success, described first terminal wait that any terminal connects described first terminal.
In conjunction with the first aspect of the embodiment of the present invention, in the embodiment that the second of first aspect is possible, when the number in described second terminal is multiple, described first terminal connects described second terminal, including:
Terminal maximum for signal intensity in described second terminal as first object terminal, and is connected described first object terminal by described first terminal;
Or,
Described first terminal determines that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value;
Terminal minimum for access customer number order at least one terminal described as the second target terminal, and is connected described second target terminal by described first terminal.
In conjunction with the embodiment that the first or the second of the first aspect of the embodiment of the present invention or first aspect are possible, in the third possible embodiment of first aspect, after the preset data stored in described first terminal is sent to described second terminal by described first terminal, described method also includes:
When described preset data is completely transmitted, described first terminal disconnects the connection between described second terminal.
In conjunction with the embodiment that the first or the second of the first aspect of the embodiment of the present invention or first aspect are possible, in the 4th kind of possible embodiment of first aspect, after the preset data stored in described first terminal is sent to described second terminal by described first terminal, described method also includes:
Described first terminal obtains the target data in described preset data;
Described target data is carried out broadcasting when any terminal receives described target data, described any terminal to show described target data by described first terminal.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Detection unit, for detecting whether there is the second terminal being in networking state in preset range;
Connecting unit, if described second terminal being detected for described detection unit, connecting described second terminal;
Memory element, is used for storing preset data;
Transmitting element, for the described preset data of storage in described memory element is sent to described second terminal, is sent to, by described second terminal, the base station that described second terminal connects by described preset data.
In conjunction with the second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, described connection unit is additionally operable to:
If described detection unit is not detected by described second terminal, search for and connect base station, and after connecting base station success, wait that any terminal connects described terminal.
In conjunction with the second aspect of the embodiment of the present invention, in the embodiment that the second of second aspect is possible, when the number in described second terminal is multiple, described connection unit specifically for:
Using terminal maximum for signal intensity in described second terminal as first object terminal, and connect described first object terminal;
Or,
Determine that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value, using terminal minimum for access customer number order at least one terminal described as the second target terminal, and connects described second target terminal.
In conjunction with the embodiment that the first or the second of the second aspect of the embodiment of the present invention or second aspect are possible, in the third possible embodiment of second aspect, described terminal also includes:
Switching units, for after in described memory element, the preset data of storage is sent to described second terminal, when described preset data is completely transmitted, disconnecting and connection between described second terminal at described transmitting element.
In conjunction with the embodiment that the first or the second of the second aspect of the embodiment of the present invention or second aspect are possible, in the 4th kind of possible embodiment of second aspect, described terminal also includes:
Acquiring unit, after the preset data stored in described memory element being sent to described second terminal at described transmitting element, obtains the target data in described preset data;
Radio unit, the described target data for being obtained by described acquiring unit carries out broadcasting when any terminal receives described target data, described any terminal to show described target data.
Implement the embodiment of the present invention, have the advantages that
By the embodiment of the present invention, whether there is, in first terminal detection preset range, the second terminal being in networking state;If so, connect this second terminal, the preset data of storage in this first terminal is sent to this second terminal, this second terminal this preset data is sent to the base station that this second terminal connects.Thus, first terminal is not allowed directly to go to be connected with base station, but detect the second terminal being in networking state in preset range at first terminal, first terminal and the second terminal are connected, thus, decrease the number of users of access base station, especially in vehicle congestion region, the bearing load of terminal can be reduced, to improve the stability of transmission preset data.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides;
Fig. 4 a is the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 b is the another structural representation of first embodiment of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 c is the another structural representation of first embodiment of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Embodiments provide a kind of data processing method and terminal, it is possible to reduce the carry load of base station, improve the stability that data process.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
It is described in detail individually below.
Term " first " in description and claims of this specification and described accompanying drawing, " second ", " the 3rd " and " the 4th " etc. are for distinguishing different object, rather than are used for describing particular order.Additionally, term " including " and " having " and their any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment are not limited to step or the unit listed, but also include step or the unit do not listed alternatively, or also include other step intrinsic for these processes, method, product or equipment or unit alternatively.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe may be embodied at least one embodiment of the present invention in conjunction with the embodiments.Each position in the description occurs that this phrase might not each mean identical embodiment, neither with the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and are implicitly understood by, and embodiment described herein can combine with other embodiments.
It should be noted that in the embodiment of the present invention, no matter first terminal or the second terminal is referred to as terminal.Embodiment is mainly described from side, first terminal place, terminal described by the embodiment of the present invention can include smart mobile phone (such as Android phone, iOS mobile phone, WindowsPhone mobile phone etc.), panel computer, palm PC, notebook computer, navigator, drive recorder, In-vehicle networking equipment, mobile internet device (MID, or Wearable etc. MobileInternetDevices), above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.Terminal in the embodiment of the present invention is mainly used on vehicle, it is mainly used in local traffic information and the traffic related information of collection vehicle process, specifically, traffic information can be whether which bar road is wet and slippery, the pot hole somewhere of any bar road, which crossroad wagon flow is complicated, pedestrian is more, traffic related information can be the congestion level of every road, the traffic lights number of every road and the traffic lights time of staying, certain whether road is one-way road, certain whether road is restricted driving, whether certain road has is taken pictures in violation of rules and regulations, whether certain road can curb parking, certain whether road can turn, whether certain road can lane change etc..
Preset data in the embodiment of the present invention can include but are not limited to the video data of drive recorder collection or the location data of GPS.Wherein, preset data is as time change, because vehicle is moving ahead, thus, the data that drive recorder gathers are being constantly updated, and the location data of GPS are also being constantly updated.
The part that target data is preset data involved in the embodiment of the present invention, this target data can be analyzed drawing from preset data, and target data can include but are not limited to: data of navigation way of the data in the less section of the data in the good section of the data in the section of vehicle accident, road conditions, traffic lights, generation etc. occurs.
Refer to Fig. 1, for the first embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides.Data processing method described in the present embodiment, comprises the following steps:
101, whether there is, in first terminal detection preset range, the second terminal being in networking state.
In the embodiment of the present invention, preset range can include but are not limited to: 10 meters, 20 meters, 30.5 meters, 40 meters, 50 meters, 100 meters, 150 meters, 200 meters, 500 meters, 1000 meters etc..Networking state be access the Internet state, specifically, the second terminal can by being attached between base station, thus, enter networking state.In actual applications, first terminal can search for being in the terminal of networking state, namely whether there is, in detection preset range, the second terminal being in networking state.
In implementing, if there being terminal to be in networking state, then this terminal is set to access point (AccessPoint, AP) focus.So, first terminal is when searching for the second terminal being in networking state in preset range, i.e. AP focus in search preset range, if there is AP focus in preset range, first terminal can connect this AP focus.
Alternatively, if there is the second terminal being in networking state, then, the second terminal can send broadcast in preset range, and this broadcast is used for informing that this second terminal of other-end is already at networking state.If first terminal receives the broadcast that this second terminal sends, then illustrate in the preset range of this first terminal, there is the second terminal being in networking state.So, first terminal can send connection request to this second terminal, and this connection request of the second terminal response then allows first terminal to connect this second terminal.
Such as, user is in driving procedure, In-vehicle networking equipment (first terminal) on vehicle can search for the In-vehicle networking equipment on other vehicles of neighbouring preset range, if it find that be in the In-vehicle networking equipment (the second terminal) of networking state, then can connect this mobile unit being in networking state.
102, if so, described first terminal connects described second terminal.
In the embodiment of the present invention, when first terminal detects and there is the second terminal in preset range, then connect this second terminal.Now, first terminal can connect the second terminal by Bluetooth technology or radio network technique, and main process can be: first terminal can send connection request, this connection request of the second terminal response to the second terminal, is connected with setting up between first terminal.
It should be noted that after the second terminal can scan for for first terminal, the terminal being in networking state searched, this terminal can be one or more, and when the number of the second terminal is one, then first terminal can be directly connected to this second terminal.Time number in the second terminal is multiple, then first terminal using terminal maximum for signal intensity in the second terminal as first object terminal, and connect first object terminal, namely first terminal can obtain the signal intensity of multiple second terminal respectively, then, using terminal the strongest for signal intensity in multiple second terminals as first object terminal, first terminal connects this first object terminal.
Need further exist for illustrate be, multiple second terminals all may be configured as AP focus, so, when first terminal performs step 101, can detect that multiple AP focus, and obtain the signal intensity of each AP focus, thus, multiple signal intensitys that multiple AP focus is corresponding can be obtained, terminal can using the second corresponding for that maximum for signal intensity AP focus terminal as first object terminal, thus, first terminal connects this first object terminal.
Alternatively, first terminal can determine that in the second terminal, signal intensity is more than at least one terminal of predetermined threshold value, and using terminal minimum for access customer number order in this at least one terminal as the second target terminal, and connect this second target terminal, wherein, this predetermined threshold value can be an empirical value, or, this predetermined threshold value can be a value of user setup, and this value can be a fixed value or changing value, such as, the 60% of the signal value that in multiple second terminals, signal intensity is maximum.Wherein, multiple second terminals all may be configured as AP focus, each AP focus can connect multiple user, AP focus is used for waiting that other-end is attached, simultaneously, AP focus can push the number of users that this AP focus has connected, so, when first terminal performs step 101, can detect that multiple AP focus, and obtain the signal intensity of each AP focus, thus, multiple signal intensitys that multiple AP focus is corresponding can be obtained, terminal can determine that signal intensity at least one AP focus more than predetermined threshold value, choose from this at least one AP focus and connect terminal corresponding to a minimum AP focus of number of users as the second target terminal, thus, first terminal connects this second target terminal.Further, if this at least one AP focus there being more than 2 connect the second terminal that number of users is minimum, then can choose from this at least one AP focus that signal intensity is maximum and AP connects the second minimum terminal of number of users as the second target terminal, thus, first terminal connects this second target terminal.
Alternatively, if it is not, namely first terminal detects the second terminal being absent from being in networking state in preset range, then base station is searched for and connected to first terminal, and after connecting base station success, first terminal waits that any terminal connects first terminal.Such as, after a certain terminal A connects this first terminal, the preset data in this terminal A is sent to first terminal, this first terminal this preset data is sent to base station, then by base station, this preset data is transmitted to server.Further, when multiple terminals connect first terminal, first terminal can receive the preset data that the plurality of terminal sends, and send this preset data every Preset Time to base station, or, first terminal can arrange a threshold value, when the internal memory shared by the preset data that first terminal receives is more than this threshold value, send this preset data to base station, so, transmission preset data can be concentrated.
Alternatively, first terminal also can obtain multiple second terminal and send the transfer rate of preset data to base station, thus, it may be determined that go out the second terminal that transfer rate is maximum, the second maximum to first terminal and this transfer rate terminal is attached.Wherein, multiple second terminals all may be configured as AP focus, AP focus is used for waiting that other-end is attached, simultaneously, AP focus can push this AP focus and send the transfer rate of preset data, so, when first terminal performs step 101, can detect that multiple AP focus, and obtain each AP focus send preset data transfer rate, thus, multiple transfer rates that multiple AP focus is corresponding can be obtained, terminal can determine that the second terminal that AP focus that in the plurality of transfer rate, transfer rate is maximum is corresponding is as target terminal, and first terminal can connect this target terminal.
103, the preset data of storage in described first terminal is sent to described second terminal by described first terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
In the embodiment of the present invention, after first terminal and the second terminal are set up and connected, first terminal can send the preset data of storage in this first terminal to second, and by this second terminal through internet, this preset data is sent to the base station that the second terminal connects.Alternatively, the preset data of storage in the second terminal is sent to the base station being connected with this second terminal also by the Internet by the second terminal.
Still optionally further, the preset data received can be transmitted to server by base station.Further, restricted driving situation whether congestion state of road, road occur vehicle accident situation, section etc., receiving after preset data, can be added up, and the traffic this counted feeds back to first terminal or other-end by server.
It should be noted that, first terminal can perform the method described by the embodiment of the present invention, other-end can also perform and the method described by the embodiment of the present invention, specific implementation process is all: whether there is, in terminal detection preset range, the second terminal being in networking state, if, connect this second terminal, the preset data stored in terminal is sent to the second terminal, the second terminal preset data is sent to the base station that the second terminal connects.So, allow the second terminal send preset data, the number of the user of access base station can be reduced, to reduce the load of base station.
By the embodiment of the present invention, whether there is, in first terminal detection preset range, the second terminal being in networking state;If so, connect this second terminal, the preset data of storage in this first terminal is sent to this second terminal, this second terminal this preset data is sent to the base station that this second terminal connects.Thus, first terminal is not allowed directly to go to be connected with base station, but detect the second terminal being in networking state in preset range at first terminal, first terminal and the second terminal are connected, thus, decrease the number of users of access base station, especially in vehicle congestion region, the bearing load of terminal can be reduced, to improve the stability of transmission preset data.
Refer to Fig. 2, for the second embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides.Data processing method described in the present embodiment, comprises the following steps:
201, whether there is, in first terminal detection preset range, the second terminal being in networking state.
In the embodiment of the present invention, preset range can include but are not limited to: 10 meters, 20 meters, 30.5 meters, 40 meters, 50 meters, 100 meters, 150 meters, 200 meters, 500 meters, 1000 meters etc..Networking state be access the Internet state, specifically, the second terminal can by being attached between base station, thus, enter networking state.In actual applications, first terminal can search for being in the terminal of networking state, namely whether there is, in detection preset range, the second terminal being in networking state.
202, if so, described first terminal connects described second terminal.
In the embodiment of the present invention, when first terminal detects and there is the second terminal in preset range, then connect this second terminal.Now, first terminal can connect the second terminal by Bluetooth technology or radio network technique, and detailed process can be as: first terminal can send connection request, this connection request of the second terminal response to the second terminal, is connected with setting up between first terminal.
It should be noted that after the second terminal can scan for for first terminal, the terminal being in networking state searched, this terminal can be one or more, and when the number of the second terminal is one, then first terminal can be directly connected to this second terminal.Time number in the second terminal is multiple, then first terminal using terminal maximum for signal intensity in the second terminal as first object terminal, and connect first object terminal, namely first terminal can obtain the signal intensity of multiple second terminal respectively, then, using terminal the strongest for signal intensity in multiple second terminals as first object terminal, first terminal connects this first object terminal.Alternatively, first terminal can determine that in the second terminal, signal intensity is more than at least one terminal of predetermined threshold value, and using terminal minimum for access customer number order in this at least one terminal as the second target terminal, and connect this second target terminal, wherein, this predetermined threshold value can be an empirical value, or, this predetermined threshold value can be a value of user setup, and this value can be a fixed value or changing value, such as, the 60% of the signal value that in multiple second terminals, signal intensity is maximum.
Alternatively, if it is not, namely first terminal detects the second terminal being absent from being in networking state in preset range, then base station is searched for and connected to first terminal, and after connecting base station success, first terminal waits that any terminal connects first terminal.Such as, after a certain terminal A connects this first terminal, the preset data in this terminal A is sent to first terminal, this first terminal this preset data is sent to base station, then by base station, this preset data is transmitted to server.Further, when multiple terminals connect first terminal, first terminal can receive the preset data that the plurality of terminal sends, send this preset data every Preset Time to base station, or, user can one a threshold value is set, when the preset data committed memory that first terminal receives is more than this threshold value, send this preset data to base station, so, transmission preset data can be concentrated.
203, the preset data of storage in described first terminal is sent to described second terminal by described first terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
In the embodiment of the present invention, after first terminal and the second terminal are set up and connected, first terminal can send the preset data of storage in this first terminal to second, and by this second terminal through internet, this preset data is sent to the base station that the second terminal connects.Alternatively, the preset data of storage in the second terminal is sent to the base station being connected with this second terminal also by the Internet by the second terminal.
Still optionally further, the preset data received can be transmitted to server by base station.Further, restricted driving situation whether congestion state of road, road occur vehicle accident situation, section etc., receiving after preset data, can be added up, and the traffic this counted feeds back to first terminal or other-end by server.
204, when described preset data is sent completely, described first terminal disconnects the connection between described second terminal.
In the embodiment of the present invention, when preset data is sent completely, then first terminal can disconnect the connection between the second terminal, before this, first terminal can detect whether preset data is sent completely, if, then first terminal disconnects the connection between the second terminal, so, first terminal is after disconnecting, the other-end in the preset range of this first terminal can be detected, this other-end can be again coupled to, and send preset data to this other-end, such as, two cars reverse driving, after drive recorder in car disconnects, two cars just can pass through the embodiment of the present invention and continue transmission preset data, and keep the stability of preset data transmission preferably.If it is not, then keep the annexation between first terminal and the second terminal, so, the integrity of preset data transmission can be promoted.
Further, after disconnecting between first terminal and the second terminal, first terminal also can again every Preset Time detects in preset range whether there is the other-end being in networking state, and if so, then first terminal is connected with this other-end.Such as, after disconnecting between first terminal and the second terminal, first terminal can detect in preset range whether there is the other-end being in networking state every 5 minutes, because current time and the preset data after 5 minutes are different, the preset data in first terminal is also change at any time.
Further, after disconnecting between first terminal and the second terminal, first terminal also can again every predeterminable range detects in preset range whether there is the other-end being in networking state, and if so, then first terminal is connected with this other-end.
Still optionally further, the second terminal after preset data (include self preset data and first terminal is sent to the preset data of this second terminal) is completely sent to base station, can disconnect and connection between base station.So, the loading of base station can be reduced, and facilitate base station to access other users, thus, base station can receive the preset data that different terminals sends, then this preset data is sent to server, thus, ensure that the polyphyly in preset data source in server and rich, preset data is analyzed by convenient service device better.
By the embodiment of the present invention, whether there is, in first terminal detection preset range, the second terminal being in networking state;If, connect this second terminal, the preset data of storage in this first terminal is sent to this second terminal, this second terminal this preset data is sent to the base station that this second terminal connects, when preset data is sent completely, first terminal disconnects the connection between the second terminal.Thus, first terminal is not allowed directly to go to be connected with base station, but detect the second terminal being in networking state in preset range at first terminal, first terminal and the second terminal are connected, thus, decrease the number of users of access base station, especially in vehicle congestion region, the bearing load of terminal can be reduced, to improve the stability of transmission preset data.Further, first terminal, after completing data transmission, disconnects and connection between the second terminal, thus, it is possible to reduce the load of first terminal.
Refer to Fig. 3, for the 3rd embodiment schematic flow sheet of a kind of data processing method that the embodiment of the present invention provides.Data processing method described in the present embodiment, comprises the following steps:
301, whether there is, in first terminal detection preset range, the second terminal being in networking state.
In the embodiment of the present invention, preset range can include but are not limited to: 10 meters, 20 meters, 30.5 meters, 40 meters, 50 meters, 100 meters, 150 meters, 200 meters, 500 meters, 1000 meters etc..Networking state be access the Internet state, specifically, the second terminal can by being attached between base station, thus, enter networking state.In actual applications, first terminal can search for being in the terminal of networking state, namely whether there is, in detection preset range, the second terminal being in networking state.
302, if so, described first terminal connects described second terminal.
In the embodiment of the present invention, when first terminal detects and there is the second terminal in preset range, then connect this second terminal.Now, first terminal can connect the second terminal by Bluetooth technology or radio network technique, or, first terminal can send connection request, this connection request of the second terminal response to the second terminal, is connected with setting up between first terminal.
It should be noted that after the second terminal can scan for for first terminal, the terminal being in networking state searched, this terminal can be one or more, and when the number of the second terminal is one, then first terminal can be directly connected to this second terminal.Time number in the second terminal is multiple, then first terminal using terminal maximum for signal intensity in the second terminal as first object terminal, and connect first object terminal, namely first terminal can obtain the signal intensity of multiple second terminal respectively, then, using terminal the strongest for signal intensity in multiple second terminals as first object terminal, first terminal connects this first object terminal.Alternatively, first terminal can determine that in the second terminal, signal intensity is more than at least one terminal of predetermined threshold value, and using terminal minimum for access customer number order in this at least one terminal as the second target terminal, and connect this second target terminal, wherein, this predetermined threshold value can be an empirical value, or, this predetermined threshold value can be a value of user setup, and this value can be a fixed value or changing value, such as, the 60% of the signal value that in multiple second terminals, signal intensity is maximum.
Alternatively, if it is not, namely first terminal detects the second terminal being absent from being in networking state in preset range, then base station is searched for and connected to first terminal, and after connecting base station success, first terminal waits that any terminal connects first terminal.Such as, after a certain terminal A connects this first terminal, the preset data in this terminal A is sent to first terminal, this first terminal this preset data is sent to base station, then by base station, this preset data is transmitted to server.Further, when multiple terminals connect first terminal, first terminal can receive the preset data that the plurality of terminal sends, send this preset data every Preset Time to base station, or, user can one a threshold value is set, when the preset data committed memory that first terminal receives is more than this threshold value, send this preset data to base station, so, transmission preset data can be concentrated.
303, the preset data of storage in described first terminal is sent to described second terminal by described first terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
In the embodiment of the present invention, after first terminal and the second terminal are set up and connected, first terminal can send the preset data of storage in this first terminal to second, and by this second terminal through internet, this preset data is sent to the base station that the second terminal connects.Alternatively, the preset data of storage in the second terminal is sent to the base station being connected with this second terminal also by the Internet by the second terminal.
Still optionally further, the preset data received can be transmitted to server by base station.Further, restricted driving situation whether congestion state of road, road occur vehicle accident situation, section etc., receiving after preset data, can be added up, and the traffic this counted feeds back to first terminal or other-end by server.
304, described first terminal obtains the target data in described preset data.
In the embodiment of the present invention, preset data can be analyzed by first terminal, thus, obtain the target data in preset data.
305, described target data is carried out broadcasting when any terminal receives described target data, described any terminal to show described target data by described first terminal.
In the embodiment of the present invention, target data can be broadcasted by first terminal, thus, if other-end receives the target data that this first terminal sends, then this target data can be displayed by this other-end by its display screen.Such as, in the data in the section that target data is vehicle accident, then can there occurs vehicle accident somewhere by other vehicles of advance notice, to facilitate other Vehicle By-pass.
By the embodiment of the present invention, whether there is, in first terminal detection preset range, the second terminal being in networking state;If so, connect this second terminal, the preset data of storage in this first terminal is sent to this second terminal, this second terminal this preset data is sent to the base station that this second terminal connects.Thus, first terminal is not allowed directly to go to be connected with base station, but detect the second terminal being in networking state in preset range at first terminal, first terminal and the second terminal are connected, thus, decrease the number of users of access base station, especially in vehicle congestion region, the bearing load of terminal can be reduced, to improve the stability of transmission preset data.
Refer to Fig. 4, for the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, including:
Detection unit 401, for detecting whether there is the second terminal being in networking state in preset range;
Connecting unit 402, if described second terminal being detected for described detection unit 401, connecting described second terminal;
Memory element 403, is used for storing preset data;
Transmitting element 404, for the described preset data of storage in described memory element 403 is sent to described second terminal, is sent to, by described second terminal, the base station that described second terminal connects by described preset data.
Alternatively, described connection unit 402 is additionally operable to:
If described detection unit 401 is not detected by described second terminal, search for and connect base station, and after connecting base station success, wait that any terminal connects described terminal.
Still optionally further, when the number in described second terminal is multiple, described connection unit specifically for:
Using terminal maximum for signal intensity in described second terminal as first object terminal, and connect described first object terminal;
Still optionally further, when the number in described second terminal is multiple, described connection unit specifically for:
Determine that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value, using terminal minimum for access customer number order at least one terminal described as the second target terminal, and connects described second target terminal.
Still optionally further, as shown in Figure 4 b, the terminal described in Fig. 4 a may also include that
Switching units 405, for after in described memory element, the preset data of storage is sent to described second terminal, when described preset data is sent completely, disconnecting and connection between described second terminal at described transmitting element 404.
Still optionally further, as illustrated in fig. 4 c, the terminal described in Fig. 4 a may also include that
Acquiring unit 406, after the preset data stored in described memory element being sent to described second terminal at described transmitting element 404, obtains the target data in described preset data;
Radio unit 407, for being undertaken the described target data that described acquiring unit 406 obtains broadcasting when any terminal receives described target data, described any terminal to show described target data.
Can be detected by the terminal described by the embodiment of the present invention and in preset range, whether there is the second terminal being in networking state;If so, connect this second terminal, the preset data of storage in this terminal is sent to this second terminal, this second terminal this preset data is sent to the base station that this second terminal connects.Thus, first terminal is not allowed directly to go to be connected with base station, but detect the second terminal being in networking state in preset range at first terminal, first terminal and the second terminal are connected, thus, decrease the number of users of access base station, especially in vehicle congestion region, the bearing load of terminal can be reduced, to improve the stability of transmission preset data.
Refer to Fig. 5, for the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, including: at least one input equipment 1000;At least one outut device 2000;At least one processor 3000, for instance CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatilememory), for instance disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, and above-mentioned input equipment 1000, outut device 2000 and processor 3000, for calling the program code of storage in memorizer 4000, perform following operation:
Above-mentioned processor 3000, is used for:
Whether there is, in detection preset range, the second terminal being in networking state;
If so, described second terminal is connected;
The preset data of storage in above-mentioned memorizer 4000 is sent to described second terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
Alternatively, after above-mentioned processor 3000 detects and whether there is the second terminal being in networking state in preset range, also particularly useful for:
If it is not, search for and connect base station, and after connecting base station success, described first terminal wait that any terminal connects described first terminal.
Alternatively, above-mentioned processor 3000, when the number in described second terminal is multiple, connect described second terminal, including:
Using terminal maximum for signal intensity in described second terminal as first object terminal, and connect described first object terminal;
Alternatively, above-mentioned processor 3000, when the number in described second terminal is multiple, connect described second terminal, including:
Determine that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value;
Using terminal minimum for access customer number order at least one terminal described as the second target terminal, and connect described second target terminal.
Alternatively, after the preset data stored in described first terminal is sent to described second terminal by above-mentioned processor 3000, also particularly useful for:
When described preset data is sent completely, described first terminal disconnects the connection between described second terminal.
Alternatively, after the preset data stored in described first terminal is sent to described second terminal by above-mentioned processor 3000, also particularly useful for:
Obtain the target data in described preset data;
Undertaken described target data broadcasting when any terminal receives described target data, described any terminal to show described target data.
In implementing, input equipment 1000 described in the embodiment of the present invention, outut device 2000 and processor 3000 can perform the implementation described in the first embodiment of a kind of data processing method, the second embodiment and the 3rd embodiment that the embodiment of the present invention provides, also can perform the implementation of the terminal described in first embodiment of a kind of terminal that the embodiment of the present invention provides, not repeat them here.
It should be noted that, for aforesaid each embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can realize by another way.Such as, device embodiment described above is merely schematic, the such as division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can for personal computer, server or the network equipment etc.) performs all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a data processing method, it is characterised in that including:
Whether there is, in first terminal detection preset range, the second terminal being in networking state;
If so, described first terminal connects described second terminal;
The preset data of storage in described first terminal is sent to described second terminal by described first terminal, described second terminal described preset data is sent to the base station that described second terminal connects.
2. method according to claim 1, it is characterised in that after whether there is, in described first terminal detection preset range, the second terminal being in networking state, described method also includes:
If it is not, base station is searched for and connected to described first terminal, and after connecting base station success, described first terminal wait that any terminal connects described first terminal.
3. method according to claim 1, it is characterised in that when the number in described second terminal is multiple, described first terminal connects described second terminal, including:
Terminal maximum for signal intensity in described second terminal as first object terminal, and is connected described first object terminal by described first terminal;
Or,
Described first terminal determines that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value;
Terminal minimum for access customer number order at least one terminal described as the second target terminal, and is connected described second target terminal by described first terminal.
4. the method according to any one of claims 1 to 3, it is characterised in that after the preset data stored in described first terminal is sent to described second terminal by described first terminal, described method also includes:
When described preset data is completely transmitted, described first terminal disconnects the connection between described second terminal.
5. the method according to any one of claims 1 to 3, it is characterised in that after the preset data stored in described first terminal is sent to described second terminal by described first terminal, described method also includes:
Described first terminal obtains the target data in described preset data;
Described target data is carried out broadcasting when any terminal receives described target data, described any terminal to show described target data by described first terminal.
6. a terminal, it is characterised in that including:
Detection unit, for detecting whether there is the second terminal being in networking state in preset range;
Connecting unit, if described second terminal being detected for described detection unit, connecting described second terminal;
Memory element, is used for storing preset data;
Transmitting element, for the described preset data of storage in described memory element is sent to described second terminal, is sent to, by described second terminal, the base station that described second terminal connects by described preset data.
7. terminal according to claim 6, it is characterised in that described connection unit is additionally operable to:
If described detection unit is not detected by described second terminal, search for and connect base station, and after connecting base station success, wait that any terminal connects described terminal.
8. terminal according to claim 6, it is characterised in that when the number in described second terminal is multiple, described connection unit specifically for:
Using terminal maximum for signal intensity in described second terminal as first object terminal, and connect described first object terminal;
Or,
Determine that in described second terminal, signal intensity is more than at least one terminal of predetermined threshold value, using terminal minimum for access customer number order at least one terminal described as the second target terminal, and connects described second target terminal.
9. the terminal according to any one of claim 6 to 8, it is characterised in that described terminal also includes:
Switching units, for after in described memory element, the preset data of storage is sent to described second terminal, when described preset data is completely transmitted, disconnecting and connection between described second terminal at described transmitting element.
10. the terminal according to any one of claim 6 to 8, it is characterised in that described terminal also includes:
Acquiring unit, after the preset data stored in described memory element being sent to described second terminal at described transmitting element, obtains the target data in described preset data;
Radio unit, the described target data for being obtained by described acquiring unit carries out broadcasting when any terminal receives described target data, described any terminal to show described target data.
CN201610066560.6A 2016-01-29 2016-01-29 A kind of data processing method and terminal Active CN105764105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066560.6A CN105764105B (en) 2016-01-29 2016-01-29 A kind of data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066560.6A CN105764105B (en) 2016-01-29 2016-01-29 A kind of data processing method and terminal

Publications (2)

Publication Number Publication Date
CN105764105A true CN105764105A (en) 2016-07-13
CN105764105B CN105764105B (en) 2019-01-15

Family

ID=56342727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066560.6A Active CN105764105B (en) 2016-01-29 2016-01-29 A kind of data processing method and terminal

Country Status (1)

Country Link
CN (1) CN105764105B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698851A (en) * 2017-10-24 2019-04-30 华为技术有限公司 The method and apparatus for transmitting data
CN111818594A (en) * 2019-07-31 2020-10-23 维沃移动通信有限公司 Network switching method, network equipment and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040005861A1 (en) * 2002-07-04 2004-01-08 Nobutaka Tauchi Wireless communication terminal
CN102546753A (en) * 2011-12-08 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for mobile terminal to share vehicle side network
CN103596160A (en) * 2013-11-25 2014-02-19 联想(北京)有限公司 Method and device for data transmission
CN104683413A (en) * 2013-11-28 2015-06-03 北车大连电力牵引研发中心有限公司 Train data transmission system
CN105100215A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Data transmission method, device and system based on automobile data recorders
CN105139479A (en) * 2015-08-04 2015-12-09 江西好帮手电子科技有限公司 Travel recording method and system based on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040005861A1 (en) * 2002-07-04 2004-01-08 Nobutaka Tauchi Wireless communication terminal
CN102546753A (en) * 2011-12-08 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for mobile terminal to share vehicle side network
CN103596160A (en) * 2013-11-25 2014-02-19 联想(北京)有限公司 Method and device for data transmission
CN104683413A (en) * 2013-11-28 2015-06-03 北车大连电力牵引研发中心有限公司 Train data transmission system
CN105100215A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Data transmission method, device and system based on automobile data recorders
CN105139479A (en) * 2015-08-04 2015-12-09 江西好帮手电子科技有限公司 Travel recording method and system based on mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698851A (en) * 2017-10-24 2019-04-30 华为技术有限公司 The method and apparatus for transmitting data
CN111818594A (en) * 2019-07-31 2020-10-23 维沃移动通信有限公司 Network switching method, network equipment and terminal

Also Published As

Publication number Publication date
CN105764105B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN106887134B (en) Computing device and method for vehicle and vehicle imaging system
US9805602B2 (en) Parking service
CN108399792B (en) Unmanned vehicle avoidance method and device and electronic equipment
CN105048598A (en) Device and device for charging electric vehicle
CN105303873A (en) Parking space recommendation method and mobile terminal
CN105185142A (en) Traffic accident early warning method, device and system
CN110503843B (en) Vehicle driving route analysis method, device, server and storage medium
CN108683990B (en) Electronic device, service subscription method of service area and related product
US8665112B2 (en) Message broadcast system and method for vehicular network
CN105513382A (en) Vehicle warning processing method, server and system
US20210090441A1 (en) Vehicle Control Method and Vehicle
US20220076578A1 (en) System and method for location data fusion and filtering
CN111935232A (en) Vehicle information determination method, device, equipment and storage medium
CN112455431A (en) Autonomous passenger-riding parking method and system
CN105486321A (en) Driving data processing method, server and vehicle-mounted intelligent device
CN113947940B (en) Parking space recommendation method for roadside parking and related equipment
CN105764105A (en) Data processing method and terminal
WO2018008587A1 (en) Mobile communication device, mobile communication method, and mobile communication program
CN112800156B (en) Method, system, equipment and storage medium for framing unit map based on road side
US11315415B2 (en) Information sharing system and information sharing method for vehicle
CN105374228A (en) Carport information processing method, mobile terminal, application server and system
CN110363982B (en) Vehicle type identification method based on roadside wireless unit, terminal equipment and storage medium
CN112562411B (en) Method and system for acquiring autonomous passenger-riding parking video
CN112883164B (en) Method and system for broadcasting list
CN114245302A (en) Interactive method and device for automatic driving of vehicle, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant