CN108111602A - Data push method, device and computer readable storage medium - Google Patents

Data push method, device and computer readable storage medium Download PDF

Info

Publication number
CN108111602A
CN108111602A CN201711392042.4A CN201711392042A CN108111602A CN 108111602 A CN108111602 A CN 108111602A CN 201711392042 A CN201711392042 A CN 201711392042A CN 108111602 A CN108111602 A CN 108111602A
Authority
CN
China
Prior art keywords
mobile terminal
data
push
location
change
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
CN201711392042.4A
Other languages
Chinese (zh)
Other versions
CN108111602B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711392042.4A priority Critical patent/CN108111602B/en
Publication of CN108111602A publication Critical patent/CN108111602A/en
Application granted granted Critical
Publication of CN108111602B publication Critical patent/CN108111602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of data push method, during change in location by detecting mobile terminal in television, determine whether the change in location is effective push action;Then when the change in location of the mobile terminal acts for effective push, determine whether the mobile terminal carried out registration;When carrying out registration in the mobile terminal afterwards, propelling data is obtained.The invention also discloses a kind of data-pushing device and computer readable storage mediums.This method changes the single-mode of conventional mobile phone Push Service, and Push Service is made to have more realization methods, so that the system of this method more has competitiveness, only need to simply configure and just can be used directly, and greatly reduce user uses threshold.

Description

Data push method, device and computer readable storage medium
Technical field
The present invention relates to ntelligent television technolog field more particularly to a kind of data push method, devices and computer-readable Storage medium.
Background technology
At present, the driving effect that technological innovation is brought, which is doubling, to be shown, the Business Innovation mould full of imagination growth space Formula slowly emerges.Due to its high performance-price ratio and operability, the smart television as a kind of emerging epoch product is early Huge numbers of families have been entered into, have received liking for general public.
Meanwhile with the development of multimedia technology and electronics industry correlation technique, ripe method is provided so that people will Data-pushing on the intelligent mobile terminals such as mobile phone also has been able to realize to television terminal.Mobile phone propelling data is to smart television The function of client is increasingly favored by general public, however Most current smart television is still using the fixed step of tradition Realize push function.Due to can all there is substantial amounts of smart television client to be used daily, Push Service also will be transported largely With, it is traditional that data-pushing function from mobile phone terminal to television is realized by fixed operation, push operation convenience and Seem not fully up to expectations in terms of user experience.
Following push concept will no longer simply by some fixed operation steps, but by as a part for life, Realize functionalization, it is ubiquitous with people’s lives.In view of the convenience for carrying out push operation and better user's body Under the background tested, it is proposed that a kind of method that quick propelling data is realized based on iBeacon technologies, instead of traditional data Push, can allow data-pushing to become more convenient, follow one's bent, and then realize the quick response of supplying system.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of data push method, device and computer readable storage medium, purport It is needed solving available data push process through fixed operation come the technical issues of realization.
To achieve the above object, the present invention provides a kind of data push method, applied to data delivery system, the data Supplying system includes television and mobile terminal, and the data push method comprises the following steps:
When television detects the change in location of mobile terminal, determine whether the change in location is effective push action;
When the change in location of the mobile terminal acts for effective push, determine whether the mobile terminal carried out registration;
When carrying out registration in the mobile terminal, propelling data is obtained.
Preferably, it is described mobile terminal is detected in television change in location when, determine whether the change in location is to have The step of effect push action, includes:
Based on the announcement frame that mobile terminal is periodically sent out, the corresponding universal unique identifier in mobile terminal and the first signal are obtained Intensity;
Based on first signal strength, determine whether the current change in location in mobile terminal is effective push action.
Preferably, it is described based on first signal strength, determine whether the current change in location in mobile terminal is effectively to push away The step of sending action includes:
Based on first signal strength, the distance of mobile terminal and television is determined, and then determine first of mobile terminal It puts;
After prefixed time interval, obtain the secondary signal intensity of mobile terminal again, determine mobile terminal and television away from From, and then determine the second position of mobile terminal;
Based on the first position, the second position and prefixed time interval, the movement velocity of mobile terminal is determined, based on pre- If whether the change in location of the definite mobile terminal of rule is effective push action.
Preferably, the data delivery system further includes server end, and the change in location in the mobile terminal is to have When imitating push action, determine that the step of whether mobile terminal carried out registration includes:
When the change in location of the mobile terminal acts for effective push, request of data is sent to server end, wherein, institute It states request of data and includes the corresponding universal unique identifier in mobile terminal;
Obtain the registering result information that server end is fed back based on the universal unique identifier.
Preferably, the data delivery system further includes server end, described when carrying out registration in the mobile terminal, obtains The step of taking propelling data includes:
When carrying out registration in the mobile terminal, the push number that simultaneously resolution server end group is fed back in request of data is obtained According to;
Corresponding action is performed based on the propelling data.
Preferably, when the change in location in the mobile terminal acts for effective push, whether the mobile terminal is determined After the step of carrying out registration, the method further includes:
When not carrying out registration in the mobile terminal, enrollment page is shown;
When getting the registering result that server end is fed back based on the enrollment page, the registering result page is shown.
Preferably, it is described mobile terminal is detected in television change in location when, determine whether the change in location is to have After the step of imitating push action, the method further includes:
When the effective push for not detecting mobile terminal acts, monitoring state is kept.
In addition, to achieve the above object, the present invention also provides a kind of data push method, applied to data delivery system, The data delivery system includes server end, and the data push method comprises the following steps:
When getting the registration request that mobile terminal is triggered based on the Quick Response Code that television is shown, the mobile terminal pair is obtained Universal unique identifier and the propelling data link answered;
Bind the universal unique identifier and propelling data link.
In addition, to achieve the above object, the present invention also provides a kind of data-pushing devices, which is characterized in that the data Pusher includes:It memory, processor and is stored in the data that can be run on the memory and on the processor and pushes away Program is sent, is realized when the data-pushing program is performed by the processor such as data push method described in any one of the above embodiments Step.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute It states and data-pushing program is stored on computer readable storage medium, realized such as when the data-pushing program is executed by processor The step of data push method described in any one of the above embodiments.
Whether the present invention program during change in location by detecting mobile terminal in television, determines the change in location It is acted for effectively push;Then when the change in location of the mobile terminal acts for effective push, whether the mobile terminal is determined Carried out registration;When carrying out registration in the mobile terminal afterwards, propelling data is obtained;This method changes conventional mobile phone push The single-mode of service makes Push Service have more realization methods, so that the system of this method more has competitiveness, only It need to simply configure and just can be used directly, greatly reduce user uses threshold.
Description of the drawings
Fig. 1 is that the structure of the affiliated terminal of data-pushing device in the hardware running environment that the embodiment of the present invention is related to is shown It is intended to;
Fig. 2 is the flow diagram of data push method first embodiment of the present invention;
Fig. 3 is according to supplying system flow chart in data push method first embodiment of the present invention;
Fig. 4 be data push method second embodiment of the present invention in when television detects the change in location of mobile terminal, The refinement flow diagram for the step of whether change in location is effective push action determined;
Fig. 5 is to determine that mobile terminal is worked as based on first signal strength in data push method 3rd embodiment of the present invention The refinement flow diagram for the step of whether preceding change in location is effective push action;
Fig. 6 is that the change in location in the mobile terminal is that effective push is dynamic in data push method fourth embodiment of the present invention When making, the refinement flow diagram for the step of whether mobile terminal carried out registration determined;
Fig. 7 is when carrying out registration in the mobile terminal in the 5th embodiment of data push method of the present invention, to obtain push The refinement flow diagram of the step of data;
Fig. 8 is the flow diagram in data push method sixth embodiment of the present invention;
Fig. 9 is the flow diagram in the 7th embodiment of data push method of the present invention;
Figure 10 is the server-side flow chart in the 7th embodiment of data push method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the affiliated terminal structure of device for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to shows It is intended to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to implement the connection communication between these components. User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet It can detect that size and the direction of gravity when only, the application available for identification mobile terminal posture is (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap It includes and either combines some components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network Believe module, Subscriber Interface Module SIM and data-pushing program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the data-pushing program stored in memory 1005.
In the present embodiment, data-pushing device includes:Memory 1005, processor 1001 and it is stored in the memory On 1005 and the data-pushing program that can be run on the processor 1001, wherein, processor 1001 calls memory 1005 During the data-pushing program of middle storage, and perform following operation:
When television detects the change in location of mobile terminal, determine whether the change in location is effective push action;
When the change in location of the mobile terminal acts for effective push, determine whether the mobile terminal carried out registration;
When carrying out registration in the mobile terminal, propelling data is obtained.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
Based on the announcement frame that mobile terminal is periodically sent out, the corresponding universal unique identifier in mobile terminal and the first signal are obtained Intensity;
Based on first signal strength, determine whether the current change in location in mobile terminal is effective push action.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
Based on first signal strength, the distance of mobile terminal and television is determined, and then determine first of mobile terminal It puts;
After prefixed time interval, obtain the secondary signal intensity of mobile terminal again, determine mobile terminal and television away from From, and then determine the second position of mobile terminal;
Based on the first position, the second position and prefixed time interval, the movement velocity of mobile terminal is determined, based on pre- If whether the change in location of the definite mobile terminal of rule is effective push action.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
When the change in location of the mobile terminal acts for effective push, request of data is sent to server end, wherein, institute It states request of data and includes the corresponding universal unique identifier in mobile terminal;
Obtain the registering result information that server end is fed back based on the universal unique identifier.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
When carrying out registration in the mobile terminal, the push number that simultaneously resolution server end group is fed back in request of data is obtained According to;
Corresponding action is performed based on the propelling data.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
When not carrying out registration in the mobile terminal, enrollment page is shown;
When getting the registering result that server end is fed back based on the enrollment page, the registering result page is shown.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
When the effective push for not detecting mobile terminal acts, monitoring state is kept.
Further, processor 1001 can call the network operation stored in memory 1005 to control application program, also Perform following operation:
When getting the registration request that mobile terminal is triggered based on the Quick Response Code that television is shown, the mobile terminal pair is obtained Universal unique identifier and the propelling data link answered;
Bind the universal unique identifier and propelling data link.
First embodiment of the invention provides a kind of data push method, and with reference to Fig. 2, Fig. 2 is data push method of the present invention The flow diagram of first embodiment.
In the present embodiment, which is applied to data delivery system, and the data delivery system includes electricity Include depending on end and mobile terminal, the data push method:
Step S100 when television detects the change in location of mobile terminal, determines whether the change in location is effective Push acts;
IBeacon is that a kind of equipment from equipped with low-power consumption bluetooth (BLE) communication function is sent out using BLE technologies to surrounding Give oneself distinctive ID, and the function that the application software by receiving the ID takes some actions according to the ID.IBeacon makes It is Bluetooth Low Energy BLE (Bluetooth Low Energy) technology, specifically, what is utilized is " notice entitled in BLE The broadcast frame of frame " (Advertising).Announcement frame is a kind of frame periodically sent, as long as supporting the equipment of BLE can connect It receives.IBeacon is by realizing the transmission of data in the payload part embedding data of this announcement frame.IBeacon's Data are mainly made of four kinds of information, are universal unique identifier UUID (Universally Unique respectively Identifier)、Major、Minor、Measured Power.UUID refers to that one kind is defined as ISO/IEC11578:1996 marks 128 accurate bit identifiers.Major and Minor is the identifier of 16 by iBeacon publisher's sets itself.For example, even Locksmith can in Major writing area information, the ID in indivedual shops etc. can be write in Minor.It is in addition, embedded in household electrical appliances During iBeacon functions, it can represent product type with Major, error code is represented with Minor, for external notification failure. Measured Power be between iBeacon modules and receiver at a distance of 1m when reference received signal strength RSSI (Received Signal Strength Indicator).Receiver is pushed away according to this with reference to RSSI with receiving the intensity of signal Calculate the distance of sending module and receiver.
IBeacon ends in the present embodiment, that is, such as mobile phone moves end equipment, can use BLE technologies, periodically The broadcast frame of BLE is sent around, and this broadcast frame is also referred to as announcement frame in BLE, in the payload part of broadcast frame Include universal unique identifier UUID and reference signal strength Measured Power both key datas.Wherein, UUID represents the identification information that can uniquely represent mobile terminal equipment identities, and Measured Power represent mobile end equipment With receiver at a distance of 1 meter when reference signal strength.Television is by receiving broadcast frame so as to getting movement wherein included The UUID of end equipment and current signal strength, based on the signal strength received and Measured Power calculate television with The horizontal distance of mobile end equipment.In prefixed time interval S and then secondary acquisition broadcast frame, and then obtain television and same The horizontal distance of mobile end equipment.The corresponding position of the horizontal distance got for the first time is set to initial position X, and by second The secondary corresponding position of horizontal distance got is set to end position Y.Prefixed time interval S, initial position X and end are based on afterwards Tail position Y calculates horizontal movement velocity Z=(X-Y)/S of mobile end equipment.It is assumed that K represents a predetermined standard value, Meet X-Y simultaneously>0 and Z>During K, the change in location of mobile end equipment can be just determined as effective push action by television.Also It is to say, only when mobile end equipment is moved with the speed more than K to television, this change in location just can be by television It is determined as effective push action.
Step S200, the mobile terminal change in location for effective push act when, determine the mobile terminal whether into Went registration;
When the change in location of mobile end equipment is determined as that effective push acts by television, television sends request of data To server end, which includes the corresponding UUID of mobile terminal equipment.Server end is receiving the data of television During request, the UUID of the movement end equipment is retrieved in the push list of server end, that is, judges whether mobile terminal has Server end carried out registration, and then determined whether the movement end equipment has and bound with any propelling data.
Step S300 when carrying out registration in the mobile terminal, obtains propelling data.
When mobile end equipment carried out registration, that is, the push list of server end includes currently moving end equipment UUID, the propelling data of feedback mobile terminal binding is to television, such as video, picture or webpage etc..Television is receiving During the propelling data fed back to server-side, it is parsed, and perform corresponding playback action, such as play video or opening Webpage etc..
Further, in one embodiment, after step S300, the method further includes:
When the effective push for not detecting mobile terminal acts, monitoring state is kept.
As shown in the flow chart of the data delivery system of Fig. 3, there is no change in location or change in location in mobile end equipment It is unsatisfactory in the case of being determined as effective push action by television, television does not make other feedback actions, continues to keep prison Survey state.
The data push method proposed in the present embodiment, during change in location by detecting mobile terminal in television, really Whether the fixed change in location is effective push action;Then when the change in location of the mobile terminal acts for effective push, Determine whether the mobile terminal carried out registration;When carrying out registration in the mobile terminal afterwards, propelling data is obtained;This method The single-mode of conventional mobile phone Push Service is changed, Push Service is made there are more realization methods, so that this method is System more has competitiveness, only need to simply configure and just can be used directly, and greatly reduce user uses threshold.
Based on first embodiment, the second embodiment of proposition data push method of the present invention, with reference to Fig. 4, step S100 bags It includes:
Step S110 based on the announcement frame that mobile terminal is periodically sent out, obtains the corresponding universal unique identifier in mobile terminal With the first signal strength;
IBeacon ends in the present embodiment, that is, such as mobile phone moves end equipment, can use BLE technologies, periodically The broadcast frame of BLE is sent around, and this broadcast frame is also referred to as announcement frame in BLE, in the payload part of broadcast frame Include universal unique identifier UUID and reference signal strength Measured Power both key datas.Wherein, UUID represents the identification information that can uniquely represent mobile terminal equipment identities, and Measured Power represent mobile end equipment With receiver at a distance of 1 meter when reference signal strength.
Step S120 based on first signal strength, determines whether the current change in location in mobile terminal is effectively to push Action.
Television is by receiving broadcast frame so as to getting the UUID of mobile end equipment wherein included and current signal Intensity calculates the horizontal distance of television and mobile end equipment based on the signal strength received and Measured Power. Prefixed time interval S and then secondary acquisition broadcast frame, and then obtain the horizontal distance of television and same mobile end equipment.It will The corresponding position of horizontal distance got for the first time is set to initial position X, and the horizontal distance got for the second time is corresponded to Position be set to end position Y.Mobile terminal is calculated based on prefixed time interval S, initial position X and end position Y afterwards to set Standby horizontal movement velocity Z=(X-Y)/S.It is assumed that K represents a predetermined standard value, meet X-Y at the same time>0 and Z>During K, The change in location of mobile end equipment can be just determined as effective push action by television.That is, only when mobile end equipment With the speed more than K to television move when, this change in location can be just determined as that effective push is acted by television.
The data push method proposed in the present embodiment by the announcement frame being periodically sent out based on mobile terminal, is obtained and moved The corresponding universal unique identifier in moved end and the first signal strength;First signal strength is then based on, determines that mobile terminal is worked as Whether preceding change in location is effective push action;Optimize conventional mobile phone push function, it is ensured that will not be because of traditional complexity It operates and is sick of user, only push need to can be realized by a gesture in user, effectively increase operating efficiency.
Based on second embodiment, the 3rd embodiment of proposition data push method of the present invention, with reference to Fig. 5, step S120 bags It includes:
Step S121 based on first signal strength, determines the distance of mobile terminal and television, and then determines mobile terminal First position;
Television is by receiving broadcast frame so as to getting the UUID of mobile end equipment wherein included and current signal Intensity calculates the horizontal distance of television and mobile end equipment based on the signal strength received and Measured Power.
Step S122 after prefixed time interval, obtains the secondary signal intensity of mobile terminal, determines mobile terminal and electricity again Depending on the distance at end, and then determine the second position of mobile terminal;
In prefixed time interval S and then secondary acquisition broadcast frame, and then obtain the water of television and same mobile end equipment Flat distance.The corresponding position of the horizontal distance got for the first time is set to initial position X, and the level that will be got for the second time End position Y is set to apart from corresponding position.
Step S123 based on the first position, the second position and prefixed time interval, determines that the movement of mobile terminal is fast Degree, whether the change in location that mobile terminal is determined based on preset rules is that effective push acts.
Moving horizontally for mobile end equipment is calculated based on prefixed time interval S, initial position X and end position Y afterwards Speed Z=(X-Y)/S.It is assumed that K represents a predetermined standard value, meet X-Y at the same time>0 and Z>During K, mobile end equipment Change in location can be just determined as effective push action by television.That is, only when mobile end equipment with one more than K's Speed to television move when, this change in location can be just determined as effective push action by television.
The data push method proposed in the present embodiment by being based on first signal strength, determines mobile terminal and electricity Depending on the distance at end, and then determine the first position of mobile terminal;Then after prefixed time interval, the second of mobile terminal is obtained again Signal strength determines the distance of mobile terminal and television, and then determines the second position of mobile terminal;Described first is based on afterwards It puts, the second position and prefixed time interval, determines the movement velocity of mobile terminal, the position of mobile terminal is determined based on preset rules Whether variation is effective push action;Effective push action is determined according to movement velocity and the direction of motion, ensure that television Data feedback meets user's requirement.
Based on first embodiment, the fourth embodiment of proposition data push method of the present invention, with reference to Fig. 6, step S200 bags It includes:
Step S210 when the change in location of the mobile terminal acts for effective push, sends request of data to server End, wherein, the request of data includes the corresponding universal unique identifier in mobile terminal;
When the change in location of mobile end equipment is determined as that effective push acts by television, television sends request of data To server end, which includes the corresponding UUID of mobile terminal equipment.
Step S220 obtains the registering result information that server end is fed back based on the universal unique identifier.
Server end retrieves the mobile terminal when receiving the request of data of television in the push list of server end The UUID of equipment, that is, judge whether mobile terminal has and carried out registration in server end, and then determine that the movement end equipment is It is no to have and the binding of any propelling data.
The data push method proposed in the present embodiment is acted by the change in location in the mobile terminal for effective push When, request of data is sent to server end, wherein, the request of data includes the corresponding universal unique identifier in mobile terminal; Then when received server-side is to the universal unique identifier, determine whether the mobile terminal carried out registration;Server The push list of the mobile end equipment UUID of registration is preserved, when getting request of data, judges the corresponding UUID of request of data With the presence or absence of in pushing in list, and then decide whether to carry out data feedback, because only that registered mobile end equipment can Binding push content, therefore ensure that the correctness of server end feedback data.
Based on first embodiment, the 5th embodiment of proposition data push method of the present invention, with reference to Fig. 7, step S300 bags It includes:
Step S310 when carrying out registration in the mobile terminal, is obtained and resolution server end group is fed back in request of data Propelling data;
Mobile end equipment sends UUID to server end when can registering for the first time, then tied up when needing propelling data Need the content pushed calmly, server end when the push for receiving mobile end equipment is asked, can preserve binding UUID and Push content.
When mobile end equipment carried out registration, that is, the push list of server end includes currently moving end equipment UUID, the propelling data of feedback mobile terminal binding is to television, such as video, picture or webpage etc..
Step S320 performs corresponding action based on the propelling data.
Television parses it when receiving the propelling data of server-side feedback, and performs corresponding play and move Make, such as play video or open webpage.
The data push method proposed in the present embodiment during by carrying out registration in the mobile terminal, being obtained and parsed The propelling data that server end is fed back based on request of data;It is then based on the propelling data and performs corresponding action;Mobile terminal Equipment and television can be connected to server end, and preserve the UUID of binding and push content in advance by server end, Propelling data can be sent when receiving request of data as early as possible to television, ensure that pushing efficiency.
Based on first embodiment, propose the sixth embodiment of data push method of the present invention, reference Fig. 8, step S200 it Afterwards, the method further includes:
Step S400 when not carrying out registration in the mobile terminal, shows enrollment page;
Detect that the corresponding UUID of request of data not when pushing list, judges that the mobile terminal did not carried out in server end Registration, returns to the unregistered results of the UUID to television.Television shows enrollment page when receiving this and returning the result.Note The Quick Response Code that display is registered for mobile terminal on album of paintings or calligraphy face.
Step S500, when getting the registering result that server end is fed back based on the enrollment page, display registration knot The fruit page.
Mobile terminal enters enrollment page progress accreditation process by scanning the two-dimensional code, when completing accreditation process, by servicing Device end preserves the UUID of mobile terminal to pushing list, and registering result is fed back to television, and registration knot is shown by television The fruit page.
The data push method proposed in the present embodiment, during by not carrying out registration in the mobile terminal, display registration The page;Then when getting the registering result that server end is fed back based on the enrollment page, the registering result page is shown; During data-pushing, server end can confirm the permission of mobile terminal, avoid malicious interference and improve push effect Rate and accuracy.
Seventh embodiment of the invention provides a kind of data push method, and with reference to Fig. 9, Fig. 9 is data push method of the present invention The flow diagram of 7th embodiment.The described method includes:
Step S600 when getting the registration request that mobile terminal is triggered based on the Quick Response Code that television is shown, obtains institute State the corresponding universal unique identifier in mobile terminal and propelling data link;
As shown in Figure 10, mobile terminal is after being mounted with to support the application program with smart television interaction, when the mobile terminal is set It is standby when for the first time using data-pushing function, it is necessary to be registered in server end.User is being needed through mobile phone terminal to TV When holding propelling data, the corresponding page of television push function is opened, television is shown on a display screen when getting the instruction Show the Quick Response Code for mobile terminal registration.Mobile terminal enters enrollment page progress accreditation process by scanning the two-dimensional code, and completes to note During volume program, the UUID of mobile terminal is preserved to pushing list by server end.
Step S700 binds the universal unique identifier and propelling data link.
User can select to need the data for pushing to television, after chosen successfully, the selection result meeting in mobile terminal Be sent to server end, and by server end by the universal unique identifier UUID of the mobile terminal and data to be pushed into Row binding.
The data push method proposed in the present embodiment, by the Quick Response Code for getting mobile terminal and being shown based on television During the registration request of triggering, the corresponding universal unique identifier in the mobile terminal and propelling data link are obtained;Then institute is bound State universal unique identifier and propelling data link;Mobile terminal after registration just has the permission of propelling data, avoids malice Interference.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with data-pushing program, following operation is realized when the data-pushing program is executed by processor:
When television detects the change in location of mobile terminal, determine whether the change in location is effective push action;
When the change in location of the mobile terminal acts for effective push, determine whether the mobile terminal carried out registration;
When carrying out registration in the mobile terminal, propelling data is obtained.
Further, following operation is also realized when the data-pushing program is executed by processor:
Based on the announcement frame that mobile terminal is periodically sent out, the corresponding universal unique identifier in mobile terminal and the first signal are obtained Intensity;
Based on first signal strength, determine whether the current change in location in mobile terminal is effective push action.
Further, following operation is also realized when the data-pushing program is executed by processor:
Based on first signal strength, the distance of mobile terminal and television is determined, and then determine first of mobile terminal It puts;
After prefixed time interval, obtain the secondary signal intensity of mobile terminal again, determine mobile terminal and television away from From, and then determine the second position of mobile terminal;
Based on the first position, the second position and prefixed time interval, the movement velocity of mobile terminal is determined, based on pre- If whether the change in location of the definite mobile terminal of rule is effective push action.
Further, following operation is also realized when the data-pushing program is executed by processor:
When the change in location of the mobile terminal acts for effective push, request of data is sent to server end, wherein, institute It states request of data and includes the corresponding universal unique identifier in mobile terminal;
When received server-side is to the universal unique identifier, determine whether the mobile terminal carried out registration.
Further, following operation is also realized when the data-pushing program is executed by processor:
When carrying out registration in the mobile terminal, the push number that simultaneously resolution server end group is fed back in request of data is obtained According to;
Corresponding action is performed based on the propelling data.
Further, following operation is also realized when the data-pushing program is executed by processor:
When getting the registration request that mobile terminal is triggered based on the Quick Response Code that television is shown, the mobile terminal pair is obtained Universal unique identifier and the propelling data link answered;
Bind the universal unique identifier and propelling data link.
Further, following operation is also realized when the data-pushing program is executed by processor:
When not carrying out registration in the mobile terminal, enrollment page is shown;
When getting the registering result that server end is fed back based on the enrollment page, the registering result page is shown.
Further, following operation is also realized when the data-pushing program is executed by processor:
When the effective push for not detecting mobile terminal acts, monitoring state is kept.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or system institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data push method, applied to data delivery system, which is characterized in that the data delivery system includes TV End and mobile terminal, the data push method comprise the following steps:
When television detects the change in location of mobile terminal, determine whether the change in location is effective push action;
When the change in location of the mobile terminal acts for effective push, determine whether the mobile terminal carried out registration;
When carrying out registration in the mobile terminal, propelling data is obtained.
2. data push method as described in claim 1, which is characterized in that the position that mobile terminal is detected in television During variation, determine that the step of whether change in location is effective push action includes:
Based on the announcement frame that mobile terminal is periodically sent out, obtain the corresponding universal unique identifier in mobile terminal and the first signal is strong Degree;
Based on first signal strength, determine whether the current change in location in mobile terminal is effective push action.
3. data push method as claimed in claim 2, which is characterized in that it is described based on first signal strength, it determines The step of whether current change in location in mobile terminal is effective push action includes:
Based on first signal strength, the distance of mobile terminal and television is determined, and then determine the first position of mobile terminal;
After prefixed time interval, the secondary signal intensity of mobile terminal is obtained again, determines the distance of mobile terminal and television, into And determine the second position of mobile terminal;
Based on the first position, the second position and prefixed time interval, the movement velocity of mobile terminal is determined, based on default rule Whether the change in location for then determining mobile terminal is effective push action.
4. data push method as described in claim 1, which is characterized in that the data delivery system further includes server End when the change in location in the mobile terminal acts for effective push, determines whether the mobile terminal carried out registration Step includes:
When the change in location of the mobile terminal acts for effective push, request of data is sent to server end, wherein, the number Contain the corresponding universal unique identifier in mobile terminal according to request bag;
Obtain the registering result information that server end is fed back based on the universal unique identifier.
5. data push method as described in claim 1, which is characterized in that the data delivery system further includes server End, described when carrying out registration in the mobile terminal, the step of obtaining propelling data, includes:
When carrying out registration in the mobile terminal, the propelling data that simultaneously resolution server end group is fed back in request of data is obtained;
Corresponding action is performed based on the propelling data.
6. data push method as described in claim 1, which is characterized in that the change in location in the mobile terminal is to have When imitating push action, after determining the step of whether mobile terminal carried out registration, the method further includes:
When not carrying out registration in the mobile terminal, enrollment page is shown;
When getting the registering result that server end is fed back based on the enrollment page, the registering result page is shown.
7. data push method as described in claim 1, which is characterized in that the position that mobile terminal is detected in television During variation, after determining the step of whether change in location is effective push action, the method further includes:
When the effective push for not detecting mobile terminal acts, monitoring state is kept.
8. a kind of data push method, applied to data delivery system, which is characterized in that the data delivery system includes service Device end, the data push method comprise the following steps:
When getting the registration request that mobile terminal is triggered based on the Quick Response Code that television is shown, it is corresponding to obtain the mobile terminal Universal unique identifier and propelling data link;
Bind the universal unique identifier and propelling data link.
9. a kind of data-pushing device, which is characterized in that the data-pushing device includes:It memory, processor and is stored in On the memory and the data-pushing program that can run on the processor, the data-pushing program is by the processor It is realized during execution such as the step of data push method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with data on the computer readable storage medium and push away Program is sent, such as data-pushing described in any item of the claim 1 to 8 is realized when the data-pushing program is executed by processor The step of method.
CN201711392042.4A 2017-12-20 2017-12-20 Data pushing method and device and computer readable storage medium Active CN108111602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711392042.4A CN108111602B (en) 2017-12-20 2017-12-20 Data pushing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711392042.4A CN108111602B (en) 2017-12-20 2017-12-20 Data pushing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108111602A true CN108111602A (en) 2018-06-01
CN108111602B CN108111602B (en) 2021-06-11

Family

ID=62211484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711392042.4A Active CN108111602B (en) 2017-12-20 2017-12-20 Data pushing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108111602B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004671A1 (en) * 2002-06-25 2004-01-08 Fuji Photo Film Co., Ltd. Digital camera system
CN104935661A (en) * 2015-06-18 2015-09-23 小米科技有限责任公司 Household appliances control method, device, router and terminal
CN105094732A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Screen display method and apparatus
CN106095084A (en) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 Throw screen method and device
CN106792055A (en) * 2016-12-28 2017-05-31 福建星网视易信息系统有限公司 Screen method, equipment and system are thrown in real time
CN107040811A (en) * 2017-03-15 2017-08-11 中国移动通信集团江苏有限公司 Method and apparatus for entering from row information push to set top box

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004671A1 (en) * 2002-06-25 2004-01-08 Fuji Photo Film Co., Ltd. Digital camera system
CN104935661A (en) * 2015-06-18 2015-09-23 小米科技有限责任公司 Household appliances control method, device, router and terminal
CN105094732A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Screen display method and apparatus
CN106095084A (en) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 Throw screen method and device
CN106792055A (en) * 2016-12-28 2017-05-31 福建星网视易信息系统有限公司 Screen method, equipment and system are thrown in real time
CN107040811A (en) * 2017-03-15 2017-08-11 中国移动通信集团江苏有限公司 Method and apparatus for entering from row information push to set top box

Also Published As

Publication number Publication date
CN108111602B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN106534941B (en) Method and device for realizing video interaction
CN105828145A (en) Interaction method and interaction device
CN108513671B (en) Display method and terminal for 2D application in VR equipment
CN108664185A (en) Picture display process, mobile terminal and computer readable storage medium
JP2022523509A (en) Information transmission method, information detection method, terminal equipment and network equipment
CN112423087A (en) Video interaction information display method and terminal equipment
CN108632446A (en) A kind of information cuing method and mobile terminal
CN107071180A (en) Desktop customization layout method, mobile terminal and computer-readable recording medium
WO2019141130A1 (en) Payment method and terminal device
WO2021083091A1 (en) Screenshot capturing method and terminal device
CN104426747B (en) Instant communicating method, terminal and system
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN109889741A (en) Caption presentation method, storage medium and mobile terminal
WO2015010611A1 (en) Method, apparatus, and communication system of updating user data
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN110784394A (en) Prompting method and electronic equipment
CN108108338B (en) Lyric processing method, lyric display method, server and mobile terminal
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
CN106330672A (en) Instant messaging method and system
CN110471895B (en) Sharing method and terminal device
CN108628509A (en) Location regulation method, mobile terminal and the readable storage medium storing program for executing of graph text information
CN105094872A (en) Method and apparatus for displaying webpage application
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN108111602A (en) Data push method, device and computer readable 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
GR01 Patent grant
GR01 Patent grant