CN108965897A - A kind of group technology, live streaming client and electronic equipment - Google Patents
A kind of group technology, live streaming client and electronic equipment Download PDFInfo
- Publication number
- CN108965897A CN108965897A CN201710356026.3A CN201710356026A CN108965897A CN 108965897 A CN108965897 A CN 108965897A CN 201710356026 A CN201710356026 A CN 201710356026A CN 108965897 A CN108965897 A CN 108965897A
- Authority
- CN
- China
- Prior art keywords
- location information
- geographical location
- information
- encrypted
- group
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/252—Processing of multiple end-users' preferences to derive collaborative data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25841—Management of client data involving the geographical location of the client
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Graphics (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of group technology, live streaming client and electronic equipment, method includes: to obtain at least one set of geographical location information;At least one set of geographical location information is encrypted, and encrypted at least one set of geographical location information is sent to server;So that server can be based on preset judgment rule, judge whether at least one set of geographical location information can be mutually matched, if at least one set geographical location information can be mutually matched, user is grouped according at least one set of geographical location information;So, because available at least one set of geographical location information, so that server can match at least one set of geographical location information, if matching unsuccessful, the geographical location information for then illustrating user is improper geographical location information, the user will not be then grouped, the phenomenon for avoiding certain illegal users in this way by modification geographical location information to be added in any group occurs, and improves the interaction effect of live streaming platform.
Description
Technical field
The invention belongs to live video Stream Technology field more particularly to a kind of group technologies, live streaming client and electricity
Sub- equipment.
Background technique
Currently, audient is broadcast live also in continuous expand, all types of live contents with the fast development of live streaming industry
Also more and more abundant.
In order to enhance the interactivity of live streaming platform, for example, main broadcaster and main broadcaster interact and the spectators and spectators of the main broadcaster
Interactivity, live streaming platform can classify, all spectators of the main broadcaster so as to reality according to geographical location information
The current all spectators of the main broadcaster are now subjected to a point group according to city.To be broadcast live platform be supplied to spectators it is more interactive and
Enjoyment.But at present some users can by modify geographical location information, so as to be added in the group in any city, from
And some advertising informations or harassing and wrecking information can be sent in different groups, reduce the interaction effect of live streaming platform.
Based on this, the embodiment of the present invention provides a kind of group technology, live streaming client and electronic equipment, existing for solving
The above problem in technology.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the invention provides a kind of group technology, live streaming client and electricity
For solving platform is broadcast live when being grouped according to the geographical location information of user, due to obtaining in the prior art in sub- equipment
Geographical location information to after maliciously distorting causes grouping not accurate, so that can receive advertising information or harassing and wrecking letter in group
Breath thereby reduces the technical issues of platform interdynamic effect is broadcast live.
The present invention provides a kind of group technology, which comprises
At least one set of geographical location information is obtained using at least one localization method;
At least one set of geographical location information is encrypted, and encrypted at least one set of geographical location is believed
Breath is sent to server;So that the server can be based on preset judgment rule, at least one set of geographical location is judged
Whether information can be mutually matched, if at least one set geographical location information can be mutually matched, according at least one set of ground
Reason location information is grouped user.
It is described to obtain at least one set of geographical location information using at least one localization method in above scheme, comprising:
Described in the interface getlocation for calling at least one SDK based on location-based service LBS finder to provide is obtained
The longitude information and latitude information at least one set of geographical location;
The interface getCountryCode acquisition for calling the SDK of at least one LBS finder to provide is described at least
The corresponding city number information in one group of geographical location;Wherein, the SDK of at least one LBS finder is to be previously integrated to
It is broadcast live in client.
It is described to obtain at least one set of geographical location information using at least one localization method in above scheme, further includes:
GPS positioning interface based on client itself utilizes acquisition function locationMgr=getSystemService
(Context.LOCATION_SERVICE) location information management object locationMgr is obtained;
Interface getLastKnownLocation based on the location information management object obtains at least one set of ground
Manage location information.
In above scheme, at least one set of geographical location information is encrypted, comprising:
Using Encryption Algorithm LBS=TEA.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=AES.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=DES.encrypt (latitude+longitude, KEY) at least one set of ground
Reason location information is encrypted;
Wherein, the LBS is encrypted geographical location information, and the latitude is longitude information, described
Longitude is latitude information, and the citycode is city code information, and the KEY is preset key information.
It is described that encrypted at least one set of geographical location information is sent to server in above scheme, comprising:
Using the corresponding transmission mode of preset each group geographical location information, at least one set of geographical location letter is sent
Breath.
It is described that encrypted at least one set of geographical location information is sent to server in above scheme, further includes:
Encrypted at least one set of geographical location information is added in the field of present communication protocols, will be added
At least one set of geographical location information after close is sent to server;Wherein, the present communication protocols include live streaming client
Any one communication protocol between end and server.
The present invention also provides a kind of live streaming client, the client includes:
Acquiring unit, for obtaining at least one set of geographical location information using at least one localization method;
Encryption unit, for being encrypted at least one set of geographical location information;
Transmission unit, for encrypted at least one set of geographical location information to be sent to server;So that institute
Stating server can judge whether at least one set of geographical location information can be mutually matched based on preset judgment rule, if institute
Stating at least one set of geographical location information can be mutually matched, then is divided according at least one set of geographical location information user
Group.
In above scheme, the acquiring unit is specifically used for:
Described in the interface getlocation for calling at least one SDK based on location-based service LBS finder to provide is obtained
The longitude information and latitude information at least one set of geographical location;
The interface getCountryCode acquisition for calling the SDK of at least one LBS finder to provide is described at least
City number information corresponding to one group of geographical location;Wherein, the SDK of at least one LBS finder is integrated in advance
In live streaming client.
In above scheme, the acquiring unit is specifically also used to:
Based on the GPS positioning interface of the client itself, acquisition function locationMgr=is utilized
GetSystemService (Context.LOCATION_SERVICE) obtains location information management object locationMgr;
Interface getLastKnownLocation based on the location information management object obtains at least one set of ground
Manage location information.
The present invention also provides a kind of electronic equipments for grouping, comprising:
At least one processor;And
At least one processor being connect with the processor communication, wherein
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to
Order is able to carry out such as any of the above-described method.
The present invention provides a kind of group technology, live streaming client and electronic equipments, which comprises utilizes at least one
Kind localization method obtains at least one set of geographical location information;At least one set of geographical location information is encrypted, and will be added
At least one set of geographical location information after close is sent to server;So that the server can be advised based on preset judgement
Then, judge whether at least one set of geographical location information can be mutually matched, if at least one set geographical location information energy phase
Mutually matching is then grouped user according at least one set of geographical location information;In this way, because available at least one set
Geographical location information, so that server can match at least one set of geographical location information, if energy successful match, says
The geographical location information of bright user is normal geographical location information, then can be grouped to user;If matching is unsuccessful, illustrate
The geographical location information of user is improper geographical location information, then will not be grouped to the user, avoid certain in this way
The phenomenon that a little illegal users are added in any group by modification geographical location information occurs, and then avoids some advertisements
Information or the propagation for harassing information, improve the interaction effect of live streaming platform.
Detailed description of the invention
Fig. 1 is the group technology flow diagram that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of live streaming client provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram for the grouping electronic equipment that the embodiment of the present invention three provides.
Specific embodiment
In order to solve live streaming platform when being grouped according to the geographical location information of user, distorted due to getting malice
Geographical location information afterwards causes grouping not accurate, so that can receive advertising information or harassing and wrecking information in group, and then reduces
The technical issues of live streaming platform interdynamic effect, the present invention provides a kind of group technology, live streaming client and electronic equipment, institutes
The method of stating includes: to obtain at least one set of geographical location information using at least one localization method;To at least one set of geographical position
Confidence breath is encrypted, and encrypted at least one set of geographical location information is sent to server;So that the clothes
Be engaged in device can be based on preset judgment rule, judge it is described at least one set geographical location information whether can be mutually matched, if it is described extremely
Few one group of geographical location information can be mutually matched, then be grouped according at least one set of geographical location information to user.
Technical solution of the present invention is described in further detail below by drawings and the specific embodiments.
Embodiment one
The present embodiment provides a kind of group technologies, as shown in Figure 1, which comprises
S101 obtains at least one set of geographical location information using at least one localization method.
In this step, in order to accurately judge the geographical location information where user, need to utilize at least one
Localization method obtains at least one set of geographical location information, can match at least one set of geographical location information, in turn
Judge whether the geographical location information of the user is tampered with.The localization method may include third-party based on location-based service
LBS localization method.The third party LBS localization method includes: the LBS localization method of each mainstream map, such as Baidu map, height
Moral map etc..
Before obtaining at least one set of geographical location information, need at least one based on location-based service LBS finder
SDK be integrated in advance live streaming client in, then call at least one SDK based on location-based service LBS finder to provide
Interface getlocation, utilize and obtain longitude information and latitude information that function obtains at least one set of geographical location;And it is near
The longitude information and latitude information in few one group of geographical location are saved into pre-set variable.
The implementation for obtaining function is as follows:
Long latitude=0;
Long longitude=0;
LBS.getlocation(&latitude,&longitude);
Wherein, the latitude is longitude information, and the longitude is latitude information.
After getting longitude information and latitude information, and call what the SDK of at least one LBS finder provided to connect
Mouth getCountryCode is utilized and is obtained the corresponding city number information at least one set of geographical location with minor function, further according to city
City's encoded information determines the title in city:
Int CityCode=0;
CityCode=LBS.getCountryCode ();
Wherein, the CityCode is city code information,
It is of course also possible to pass through the GPS positioning interface of client itself, acquisition function locationMgr=is utilized
GetSystemService (Context.LOCATION_SERVICE) obtains location information management object locationMgr;Base
In the interface getLastKnownLocation of the location information management object, function location=is utilized
LocationMgr.getLastKnownLocation (GPS_PROVIDER) obtains at least one set of geographical location information
location。
It should be noted that client is when obtaining at least one set of geographical location information, it is according to preset time interval
Ceaselessly refresh geographical location information, for example can be obtained every 5 minutes primary.
S102 encrypts at least one set of geographical location information.
In this step, after getting at least one set of geographical location information, at least one set of geographical location information into
Row encryption.
Specifically, for the geographical location information obtained by LBS finder, it can use following two Encryption Algorithm
It is encrypted, comprising:
Using Encryption Algorithm LBS=TEA.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=AES.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Wherein, the LBS is encrypted geographical location information, and the latitude is
Longitude information, the longitude are latitude information, and the citycode is city code information, and the KEY is preset close
Key information.
For the geographical location information that the GPS positioning interface by client itself obtains, des encryption algorithm can use
LBS=DES.encrypt (latitude+longitude, KEY) encrypts at least one set of geographical location information;When
So, it also can use des encryption algorithm for the geographical location information obtained by LBS finder to encrypt;And for
The geographical location information that the GPS positioning interface of client itself obtains, equally also can use AES encryption algorithm and is encrypted.
Encrypted at least one set of geographical location information is sent to server by S103;So that the server
It can be based on preset judgment rule, judge whether at least one set of geographical location information can be mutually matched, if described at least one
Group geographical location information can be mutually matched, then be grouped according at least one set of geographical location information to user.
In this step, after encrypting at least one set of geographical location information, preset each group geographical location is utilized
The corresponding transmission mode of information sends at least one set of geographical location information.
Specifically, such as first group of geographical location information using the acquisition of LBS finder, it is fixed in advance to can use
First group of geographical location information is sent to server by the Transmission Control Protocol of justice.
And for second group of geographical location information for being obtained using LBS finder, it can use predetermined
First group of geographical location information is sent to server by http protocol.
It, can be by the encryption for the geographical location information that the GPS positioning interface using client itself obtains
At least one set of geographical location information afterwards is added in the field of present communication protocols, by the encrypted at least one set
Geographical location information is sent to server;Wherein, the present communication protocols include that appointing between client and server is broadcast live
It anticipates a communication protocol.For example, request protocol or the agreement of gifts etc. that user end to server is sent.In this way, can
Geographical location information to be hidden in the field of communication protocol, prevent from being tampered.
After this encryption using multiple encryption algorithms, reuses different network protocols and be reported to geographical location information
It is broadcast live in Platform Server, can preferably prevent illegal user from modifying the geographical location information sent in network packet.
After server receives at least one set of geographical location information, it is based on preset judgment rule, judgement is described at least
Whether one group of geographical location information can be mutually matched, if at least one set geographical location information can be mutually matched, basis
At least one set geographical location information is grouped user.At least one set geographical location information is with can be first group
Manage one group of any of them in location information, second group of geographical location information and third group geographical location information.
, any two groups can be calculated based on formula (1)
The distance between geographical location information:
Dis=distance (lbsA, lbsB) (1)
It is described when calculating the first distance Dis1 between the first geographical location and the second geographical location in formula (1)
LbsA is the latitude and longitude information in the first geographical location, and the lbsB is the latitude and longitude information in the second geographical location;Calculating first
When second distance Dis2 between geographical location and third geographical location, the lbsA is that the longitude and latitude in the first geographical location is believed
Breath, the lbsB are the latitude and longitude information in third geographical location.
In first distance and second distance, when there is any one to be greater than preset distance value (such as 1000 meters), then really
Fixed first geographical location information cannot be mutually matched with the second geographical location information, i.e. the geographical location of active user is improper
, then can directly kick out of the user, which will not be added any group.
When first distance and second distance are no more than preset distance value, it is determined that the first geographical location information and second
Geographical location information can be mutually matched, i.e., active user is normal users, be grouped to the user.
Specifically, for some direct broadcasting room, according to the city code information pair in the geographical location information of reporting of user
All users classify, and the user of city code having the same is then considered as the user in the same city.
Then user group is created, group's title of the user group can be arbitrarily arranged, in order to it will become apparent from user where
Group, the present embodiment are that group title is arranged according to the room number of direct broadcasting room and city name.
After creating user group, message request is sent to all users of city code having the same, it is true when receiving
After recognizing information, user is added in the user group.Also, if it is subsequent there are more users to be added to the direct broadcasting room after,
Different users can be added in different groups based on above-mentioned same method according to geographical location information.
After establishing group, server can push alive messages to user according to city name, poor to meet region
The demand of alienation, and then preferably promote certain activities.
After live streaming, user can automatically exit from group, while server determines that the user in current group is 0
When, current group can just be deleted.
Embodiment two
Corresponding to embodiment one, the present embodiment also provides a kind of live streaming client, and the client includes: acquiring unit
21, encryption unit 22, transmission unit 23;Wherein,
In order to accurately judge the geographical location information where user, the acquiring unit 21 is needed using at least
A kind of at least one set of geographical location information of localization method acquisition, can be matched at least one set of geographical location information,
And then judge whether the geographical location information of the user is tampered with.Here, the localization method may include third-party base
In location-based service LBS localization method.The third party LBS finder includes: the LBS finder of each mainstream map, such as
Baidu map, Amap etc.
Before obtaining at least one set of geographical location information, the acquiring unit 21 needs to take at least one based on position
The SDK of business LBS finder is integrated in advance in live streaming client, and at least one location-based service LBS that is based on then is called to position
The interface getlocation that the SDK of program is provided utilizes the longitude information and latitude for obtaining at least one set of geographical location of function acquisition
Spend information;And the longitude information at least one set of geographical location and latitude information are saved into pre-set variable.
The implementation for obtaining function is as follows:
Long latitude=0;
Long longitude=0;
LBS.getlocation(&latitude,&longitude);
Wherein, the latitude is longitude information, and the longitude is latitude information.
After acquiring unit 21 gets longitude information and latitude information, at least one LBS finder is called
The interface getCountryCode that SDK is provided is utilized and is obtained the corresponding city number letter at least one set of geographical location with minor function
Breath, the title in city is determined further according to city code information:
Int CityCode=0;
CityCode=LBS.getCountryCode ();
Wherein, the CityCode is city code information.
Certainly, the acquiring unit 21 can also utilize acquisition function by the GPS positioning interface of client itself
LocationMgr=getSystemService (Context.LOCATION_SERVICE) obtains location information management object
locationMgr;Based on the interface getLastKnownLocation of the location information management object, function is utilized
Location=locationMgr.getLastKnownLocation (GPS_PROVIDER) obtains at least one set of geographical location
Information location.
It should be noted that the acquiring unit 21 is when obtaining at least one set of geographical location information, it is according to preset
Time interval ceaselessly refreshes geographical location information, for example can obtain every 5 minutes primary.
After the acquiring unit 21 gets at least one set of geographical location information, the encryption unit 22 is used for described
At least one set of geographical location information is encrypted.
Specifically, for the geographical location information obtained by LBS finder, the encryption unit 22 can use with
Lower two kinds of Encryption Algorithm encrypt it, comprising:
Using Encryption Algorithm LBS=TEA.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=AES.encrypt (latitude+longitude+citycode, KEY) to it is described extremely
Few one group of geographical location information is encrypted;Wherein, the LBS is encrypted geographical location information, and the latitude is
Longitude information, the longitude are latitude information, and the citycode is city code information, and the KEY is preset close
Key information.
For the geographical location information obtained by the GPS positioning interface of client itself, the encryption unit 22 can be with
Using des encryption algorithm LBS=DES.encrypt (latitude+longitude, KEY) at least one set of geographical location
Information is encrypted;It certainly, can benefit for the geographical location information that is obtained by the LBS finder also encryption unit 22
It is encrypted with des encryption algorithm;And for the geographical location information that the GPS positioning interface of client itself obtains, it is described to add
Close unit 22 equally also can use AES encryption algorithm and be encrypted.
After encrypting at least one set of geographical location information, the transmission unit 23 is geographical using preset each group
The corresponding transmission mode of location information sends at least one set of geographical location information.
Specifically, such as first group of geographical location information using the acquisition of LBS finder, the transmission unit 23
It can use Transmission Control Protocol predetermined and first group of geographical location information be sent to server.
And for second group of geographical location information for being obtained using LBS finder, the transmission unit 23 can be with
First group of geographical location information is sent to server using http protocol predetermined.
For the geographical location information that the GPS positioning interface using client itself obtains, the transmission unit 23
Encrypted at least one set of geographical location information can be added in the field of present communication protocols, after encryption
At least one set of geographical location information be sent to server;Wherein, the present communication protocols include live streaming client with
Any one communication protocol between server.For example, request protocol or gifts that user end to server is sent
Agreement etc..In this way, geographical location information can be hidden in the field of communication protocol, prevent from being tampered.
After this encryption using multiple encryption algorithms, reuses different network protocols and be reported to geographical location information
It is broadcast live in Platform Server, can preferably prevent illegal user from modifying the geographical location information sent in network packet.
After server receives at least one set of geographical location information, it is based on preset judgment rule, judgement is described at least
Whether one group of geographical location information can be mutually matched, if at least one set geographical location information can be mutually matched, basis
At least one set geographical location information is grouped user.At least one set geographical location information is with can be first group
Manage one group of any of them in location information, second group of geographical location information and third group geographical location information.
, any two groups can be calculated based on formula (1)
The distance between geographical location information:
Dis=distance (lbsA, lbsB) (1)
It is described when calculating the first distance Dis1 between the first geographical location and the second geographical location in formula (1)
LbsA is the latitude and longitude information in the first geographical location, and the lbsB is the latitude and longitude information in the second geographical location;Calculating first
When second distance Dis2 between geographical location and third geographical location, the lbsA is that the longitude and latitude in the first geographical location is believed
Breath, the lbsB are the latitude and longitude information in third geographical location.
In first distance and second distance, when there is any one to be greater than preset distance value (such as 1000 meters), then really
Fixed first geographical location information cannot be mutually matched with the second geographical location information, i.e. the geographical location of active user is improper
, then can directly kick out of the user, which will not be added any group.
When first distance and second distance are no more than preset distance value, it is determined that the first geographical location information and second
Geographical location information can be mutually matched, i.e., active user is normal users, be grouped to the user.
Specifically, for some direct broadcasting room, according to the city code information pair in the geographical location information of reporting of user
All users classify, and the user of city code having the same is then considered as the user in the same city.
Then user group is created, group's title of the user group can be arbitrarily arranged, in order to it will become apparent from user where
Group, the present embodiment are that group title is arranged according to the room number of direct broadcasting room and city name.
After creating user group, message request is sent to all users of city code having the same, it is true when receiving
After recognizing information, user is added in the user group.Also, if it is subsequent there are more users to be added to the direct broadcasting room after,
Different users can be added in different groups based on above-mentioned same method according to geographical location information.
After establishing group, server can push alive messages to user according to city name, poor to meet region
The demand of alienation, and then preferably promote certain activities.
After live streaming, user can automatically exit from group, while server determines that the user in current group is 0
When, current group can just be deleted.
Embodiment three
The present embodiment also provides a kind of electronic equipment for grouping, as shown in figure 3, the electronic equipment includes: radio frequency
(Radio Frequency, RF) circuit 310, memory 320, input unit 330, display unit 340, voicefrequency circuit 350,
The components such as WiFi module 360, processor 370 and power supply 380.It will be understood by those skilled in the art that electricity shown in Fig. 3
Sub- device structure does not constitute the restriction to electronic equipment, may include components more more or fewer than diagram, or combine certain
A little components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to electronic equipment:
RF circuit 310 can be used for sending and receiving for signal, particularly, after the downlink information of base station is received, to processing
The processing of device 370.In general, RF circuit 310 includes but is not limited at least one amplifier, transceiver, coupler, low noise amplification
Device (Low Noise Amplifier, LNA), duplexer etc..
Memory 320 can be used for storing software program and module, and processor 370 is stored in memory 320 by operation
Software program and module, thereby executing the various function application and data processing of electronic equipment.Memory 320 can be main
Including storing program area and storage data area, wherein storing program area can answer needed for storage program area, at least one function
With program etc.;Storage data area, which can be stored, uses created data etc. according to electronic equipment.In addition, memory 320 can be with
It can also include nonvolatile memory, for example, at least disk memory, a flash memory including high-speed random access memory
Device or other volatile solid-state parts.
Input unit 330 can be used for receiving the number or character information of input, and generates and set with the user of electronic equipment
It sets and the related key signals of function control inputs.Specifically, input unit 330 may include that keyboard 331 and other inputs are set
Standby 332.Keyboard 331 collects the input operation of user on it, and drives corresponding connection dress according to preset formula
It sets.Keyboard 331 gives processor 370 after collecting output information again.In addition to keyboard 331, input unit 330 can also include it
His input equipment 332.Specifically, other input equipments 332 can include but is not limited to touch panel, function key (such as volume
Control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 340 can be used for showing information input by user or the information and electronic equipment that are supplied to user
Various menus.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 341.Further, keyboard 331 can cover display panel 341, when keyboard 331 detect it is on it or attached
After close touch operation, processor 370 is sent to determine the type of touch event, is followed by subsequent processing device 370 according to incoming event
Type corresponding visual output is provided on display panel 341.Although keyboard 331 and display panel 341 are conducts in Fig. 3
Two independent components realize the input and input function of electronic equipment, but in some embodiments it is possible to by keyboard 331
It is integrated with display panel 341 and that realizes electronic equipment output and input function.
Voicefrequency circuit 350, loudspeaker 351, microphone 352 can provide the audio interface between user and electronic equipment.Sound
Electric signal after the audio data received conversion can be transferred to loudspeaker 351, be converted to by loudspeaker 351 by frequency circuit 350
Voice signal output;
WiFi belongs to short range wireless transmission technology, and electronic equipment can help user to receive and dispatch electricity by WiFi module 360
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 shows
Go out WiFi module 360, but it is understood that, and it is not belonging to must be configured into for electronic equipment, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Processor 370 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage
Data in device 320 execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.It can
Choosing, processor 370 may include one or more processing units;Preferably, processor 370 can integrate application processor, wherein
The main processing operation system of application processor, user interface and application program etc..
Electronic equipment further includes the power supply 380 (such as power supply adaptor) powered to all parts, it is preferred that power supply can be with
It is logically contiguous by power-supply management system and processor 370.
Group technology provided in an embodiment of the present invention and live streaming client energy bring beneficial effect are at least:
The present invention provides a kind of group technology, live streaming client and electronic equipments, which comprises utilizes at least one
Kind localization method obtains at least one set of geographical location information;At least one set of geographical location information is encrypted, and will be added
At least one set of geographical location information after close is sent to server;So that the server can be advised based on preset judgement
Then, judge whether at least one set of geographical location information can be mutually matched, if the equal energy of at least one set geographical location information
It is mutually matched, then user is grouped according at least one set of geographical location information;In this way, arriving at least one because available
Group geographical location information, so that server can match at least one set of geographical location information, if energy successful match,
The geographical location information for illustrating user is normal geographical location information, then can be grouped to user;If matching is unsuccessful, say
The geographical location information of bright user is improper geographical location information, then will not be grouped to the user, avoid in this way
The generation of the phenomenon in any group can be added by modifying geographical location information in certain illegal users, and then avoids
Advertising information or the propagation for harassing information, improve the interaction effect of live streaming platform.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all
Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention
Within the scope of.
Claims (10)
1. a kind of group technology, which is characterized in that the described method includes:
At least one set of geographical location information is obtained using at least one localization method;
At least one set of geographical location information is encrypted, and encrypted at least one set of geographical location information is sent out
It send to server;So that the server can be based on preset judgment rule, at least one set of geographical location information is judged
Whether can be mutually matched, if at least one set geographical location information can be mutually matched, according at least one set of geographical position
Confidence breath is grouped user.
2. the method as described in claim 1, which is characterized in that described to obtain at least one set of ground using at least one localization method
Manage location information, comprising:
The interface getlocation acquisition for calling at least one SDK based on location-based service LBS finder to provide is described at least
The longitude information and latitude information in one group of geographical location;
The interface getCountryCode for calling the SDK of at least one LBS finder to provide obtains at least one set
The corresponding city number information in geographical location;Wherein, the SDK of at least one LBS finder is to be previously integrated to be broadcast live
In client.
3. the method as described in claim 1, which is characterized in that described to obtain at least one set of ground using at least one localization method
Manage location information, further includes:
GPS positioning interface based on client itself utilizes acquisition function locationMgr=getSystemService
(Context.LOCATION_SERVICE) location information management object locationMgr is obtained;
Interface getLastKnownLocation based on the location information management object obtains at least one set of geographical position
Confidence breath.
4. the method as described in claim 1, which is characterized in that encrypt, wrap at least one set of geographical location information
It includes:
Using Encryption Algorithm LBS=TEA.encrypt (latitude+longitude+citycode, KEY) to described at least one
Group geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=AES.encrypt (latitude+longitude+citycode, KEY) to described at least one
Group geographical location information is encrypted;Alternatively,
Using Encryption Algorithm LBS=DES.encrypt (latitude+longitude, KEY) at least one set of geographical position
Confidence breath is encrypted;
Wherein, the LBS is encrypted geographical location information, and the latitude is longitude information, and the longitude is
Latitude information, the citycode are city code information, and the KEY is preset key information.
5. the method as described in claim 1, which is characterized in that described by encrypted at least one set of geographical location information
It is sent to server, comprising:
Using the corresponding transmission mode of preset each group geographical location information, at least one set of geographical location information is sent.
6. the method as described in claim 1, which is characterized in that described by encrypted at least one set of geographical location information
It is sent to server, further includes:
Encrypted at least one set of geographical location information is added in the field of present communication protocols, after encryption
At least one set of geographical location information be sent to server;Wherein, the present communication protocols include live streaming client with
Any one communication protocol between server.
7. a kind of live streaming client, which is characterized in that the client includes:
Acquiring unit, for obtaining at least one set of geographical location information using at least one localization method;
Encryption unit, for being encrypted at least one set of geographical location information;
Transmission unit, for encrypted at least one set of geographical location information to be sent to server;So that the clothes
Be engaged in device can be based on preset judgment rule, judge it is described at least one set geographical location information whether can be mutually matched, if it is described extremely
Few one group of geographical location information can be mutually matched, then be grouped according at least one set of geographical location information to user.
8. live streaming client as claimed in claim 7, which is characterized in that the acquiring unit is specifically used for:
The interface getlocation acquisition for calling at least one SDK based on location-based service LBS finder to provide is described at least
The longitude information and latitude information in one group of geographical location;
The interface getCountryCode for calling the SDK of at least one LBS finder to provide obtains at least one set
City number information corresponding to geographical location;Wherein, the SDK of at least one LBS finder is to be previously integrated to directly
It broadcasts in client.
9. live streaming client as claimed in claim 7, which is characterized in that the acquiring unit is specifically also used to:
Based on the GPS positioning interface of the client itself, acquisition function locationMgr=getSystemService is utilized
(Context.LOCATION_SERVICE) location information management object locationMgr is obtained;
Interface getLastKnownLocation based on the location information management object obtains at least one set of geographical position
Confidence breath.
10. a kind of electronic equipment for grouping characterized by comprising
At least one processor;And
At least one processor being connect with the processor communication, wherein
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy
Enough methods executed as described in claim 1 to 6 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710356026.3A CN108965897A (en) | 2017-05-19 | 2017-05-19 | A kind of group technology, live streaming client and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710356026.3A CN108965897A (en) | 2017-05-19 | 2017-05-19 | A kind of group technology, live streaming client and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965897A true CN108965897A (en) | 2018-12-07 |
Family
ID=64462119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710356026.3A Pending CN108965897A (en) | 2017-05-19 | 2017-05-19 | A kind of group technology, live streaming client and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965897A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4173253A4 (en) * | 2020-06-26 | 2024-01-24 | T-Mobile USA, Inc. | Location reporting in a wireless telecommunications network, such as for live broadcast data streaming |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686617A (en) * | 2013-12-23 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for creating instant communication group |
CN104199964A (en) * | 2014-09-19 | 2014-12-10 | 大连民族学院 | Information processing method and information processing device |
CN104869638A (en) * | 2015-05-28 | 2015-08-26 | 北京嘀嘀无限科技发展有限公司 | Detection method and device for GPS coordinate cheating |
US9253616B1 (en) * | 2005-04-04 | 2016-02-02 | X One, Inc. | Apparatus and method for obtaining content on a cellular wireless device based on proximity |
CN105827508A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Processing method and processing system of joining vehicle terminal in group, vehicle terminal and server |
CN106228799A (en) * | 2016-08-04 | 2016-12-14 | 神州优车(福建)信息技术有限公司 | The method and apparatus monitoring illegal tampering vehicle positional information |
CN106453049A (en) * | 2016-10-11 | 2017-02-22 | 福建师范大学 | Neighbor detection method capable of protecting position privacy |
-
2017
- 2017-05-19 CN CN201710356026.3A patent/CN108965897A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9253616B1 (en) * | 2005-04-04 | 2016-02-02 | X One, Inc. | Apparatus and method for obtaining content on a cellular wireless device based on proximity |
CN103686617A (en) * | 2013-12-23 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for creating instant communication group |
CN104199964A (en) * | 2014-09-19 | 2014-12-10 | 大连民族学院 | Information processing method and information processing device |
CN104869638A (en) * | 2015-05-28 | 2015-08-26 | 北京嘀嘀无限科技发展有限公司 | Detection method and device for GPS coordinate cheating |
CN105827508A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Processing method and processing system of joining vehicle terminal in group, vehicle terminal and server |
CN106228799A (en) * | 2016-08-04 | 2016-12-14 | 神州优车(福建)信息技术有限公司 | The method and apparatus monitoring illegal tampering vehicle positional information |
CN106453049A (en) * | 2016-10-11 | 2017-02-22 | 福建师范大学 | Neighbor detection method capable of protecting position privacy |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4173253A4 (en) * | 2020-06-26 | 2024-01-24 | T-Mobile USA, Inc. | Location reporting in a wireless telecommunications network, such as for live broadcast data streaming |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10306539B2 (en) | Wireless network host in silent mode | |
US10567553B2 (en) | Apparatus and method for secure over the air programming of a communication device | |
US10278012B2 (en) | Location-based reminding method, indication device, reminding device, and mobile terminal | |
CN105430424B (en) | A kind of methods, devices and systems of net cast | |
KR101823562B1 (en) | A system and method for registering network information strings | |
US9496968B2 (en) | Proximity detection by mobile devices | |
CN104753808B (en) | A kind of method, apparatus and data transmission system for transmitting data in network system | |
KR101577920B1 (en) | Location-based group generation method, apparatus and system | |
CN109756758A (en) | Live-broadcast control method and device | |
CN104967608B (en) | Play method, mobile terminal and the fixed terminal of multimedia file | |
CN106302325A (en) | The methods, devices and systems specifying communication service are provided | |
CN107332976A (en) | Karaoke method, device, equipment and system | |
CN112087362B (en) | Message forwarding method and device between clients and terminal | |
CN108605206A (en) | A kind of social information exchange method and device | |
CN104702678B (en) | Document transmission method and device | |
CN104753819A (en) | Wireless router and flow control method | |
CN105704106B (en) | A kind of visualization IVR implementation method and mobile terminal | |
CN106534877B (en) | A kind of method and device sending Media Stream | |
CN106303605A (en) | A kind of methods, devices and systems sent a notification message | |
CN106027738B (en) | A kind of synchronous method of message registration, device and mobile terminal | |
US7885674B2 (en) | Determining which channels are accessible by a communication device in a push-to-talk communication network | |
KR20070010570A (en) | System and method for providing supplement information classified by broadcasting program | |
CN109729582A (en) | Information interacting method, device and computer readable storage medium | |
CN108965897A (en) | A kind of group technology, live streaming client and electronic equipment | |
CN112040057B (en) | Device control method, device, electronic device, control system and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |