CN106506105A - The wireless method and device of one kind control - Google Patents

The wireless method and device of one kind control Download PDF

Info

Publication number
CN106506105A
CN106506105A CN201610932823.7A CN201610932823A CN106506105A CN 106506105 A CN106506105 A CN 106506105A CN 201610932823 A CN201610932823 A CN 201610932823A CN 106506105 A CN106506105 A CN 106506105A
Authority
CN
China
Prior art keywords
device identification
wap
radio
channel number
played
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610932823.7A
Other languages
Chinese (zh)
Inventor
傅强
周世全
侯恩星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610932823.7A priority Critical patent/CN106506105A/en
Publication of CN106506105A publication Critical patent/CN106506105A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/76Arrangements characterised by transmission systems other than for broadcast, e.g. the Internet
    • H04H60/81Arrangements characterised by transmission systems other than for broadcast, e.g. the Internet characterised by the transmission system itself
    • H04H60/90Wireless transmission systems
    • H04H60/91Mobile communication networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

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

Abstract

The invention discloses a kind of control wireless method and device, belong to field of Internet communication.Methods described includes:Obtain device identification and the access pin of WAP;According to device identification and the access pin of the WAP, set up and the network connection between broadcast station server;By the network connection, audio signal is obtained from the broadcast station server;Play the audio signal.The present invention can avoid radio from sending noise and listen to desultory phenomenon.

Description

The wireless method and device of one kind control
Technical field
The present invention relates to field of Internet communication, the more particularly to wireless method and device of one kind control.
Background technology
Radio is a kind of a kind of equipment of the audio signal for being capable of the transmitting of broadcast listening radio station.People are often using receipts at present Sound machine listening to the entertainments such as music, news, cross-talk or essay, is common amusement equipment in people's life, wide by people General use.
The entertainment of oneself is converted into audio signal by broadcasting station at present, then by the short-wave signal of certain frequency Broadcast the audio signal.User can start radio, adjust radio and receive broadcasting station from the short-wave signal of the frequency The audio signal of broadcast, is demodulated to the audio signal, while playing the audio signal of demodulation.
Content of the invention
In order to avoid radio sends noise and listens to desultory phenomenon, the invention provides a kind of control radio Method and device.The technical scheme is as follows:
On the one hand, there is provided the wireless method of one kind control, methods described include:
Obtain device identification and the access pin of WAP;
According to device identification and the access pin of the WAP, set up and broadcast station server between Network connection;
By the network connection, audio signal is obtained from the broadcast station server;
Play the audio signal.
Optionally, the device identification for obtaining WAP and access pin, including:
Obtain device identification and the access pin of the locally stored WAP of radio;Or,
Broadcast access point request message, receives mobile terminal broadcast access point after described access point request message is received and rings Message, described access point response message is answered to carry the device identification of the WAP and access pin.
Optionally, device identification and the access pin according to the WAP, sets up and broadcasting station Network connection between server, including:
Device identification and the access pin access WAP according to the WAP;
According to the address of default broadcast station server, set up by the WAP and taken with the broadcasting station Network connection between business device.
Optionally, described by the network connection, audio signal is obtained from the broadcast station server, including:
Obtain channel number to be played;
By the network connection, playing request message is sent to the broadcast station server, the playing request disappears Breath carries the channel number to be played;
By the network connection, the channel number described to be played for receiving the broadcast station server transmission corresponds to channel Audio signal.
Optionally, acquisition channel number to be played, including:
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played; Or,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to institute State direction of rotation and increased or decrease the channel number of the currently playing channel of the radio and obtain channel number to be played.
On the other hand, there is provided the wireless method of one kind control, methods described include:
Receive the access point request message of radio;
Obtain device identification and the access pin of WAP;
Broadcast access point response message, described access point response message carry the device identification and access pin, described Access point response message is used for the radio and is set up and radio station server according to the device identification and the access pin Network connection between device simultaneously connects acquisition playing audio signal from the broadcast station server by the netting twine.
Optionally, methods described also includes:
Play instruction is sent to application background server, the play instruction carries user account and channel number to be played, The play instruction is used for the application background server and obtains the wireless device identification that is bound with the user account simultaneously The play instruction is forwarded to the corresponding radio of the device identification.
Optionally, methods described also includes:
The equipment for accessing the WAP and not binding with the user account is obtained, to the application background service Device sends bind-request message, and the bind-request message carries the device identification of the user account and the equipment, described Bind-request message is used for corresponding to for the device identification of the application background server storage user account and the equipment Relation.
On the other hand, there is provided the wireless device of one kind control, described device include:
Acquisition module, is configured to device identification and the access pin for obtaining WAP;
Set up module, be configured to device identification and the access pin according to the WAP, set up with wide Broadcast the network connection between radio station server;
The acquisition module, is also set to by the network connection, obtains audio frequency from the broadcast station server Signal;
Playing module, is configured to play the audio signal.
Optionally, the acquisition module, for obtaining the device identification of the locally stored WAP of the radio And access pin;Or, broadcast access point request message receives mobile terminal and broadcasts after described access point request message is received Access point response message, described access point response message carry the device identification of the WAP and access pin.
Optionally, the module of setting up includes:
Access unit, described wirelessly connects for being accessed according to the device identification of the WAP and the access pin Access point;
Set up unit, for the address according to default broadcast station server, by the WAP set up with Network connection between the broadcast station server.
Optionally, the acquisition module includes:
Acquiring unit, for obtaining channel number to be played;
Transmitting element, for by the network connection, sending playing request message, institute to the broadcast station server State playing request message and carry the channel number to be played;
Receiving unit, for by the network connection, receiving the described to be played of the broadcast station server transmission The audio signal of the corresponding channel of channel number.
Optionally, the acquiring unit, is used for
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played; Or,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to institute State direction of rotation and increased or decrease the channel number of the currently playing channel of the radio and obtain channel number to be played.
On the other hand, there is provided the wireless device of one kind control, described device include:
Receiver module, is configured to the access point request message for receiving radio;
Acquisition module, is configured to device identification and the access pin for obtaining WAP;
Broadcast module, is configured to broadcast access point response message, and described access point response message carries the equipment mark Know and access pin, described access point response message is built according to the device identification and the access pin for the radio Found the network connection between broadcast station server and be connected by the netting twine and obtain from the broadcast station server And playing audio signal.
Optionally, described device also includes:
Sending module, is configured to send play instruction to application background server, and the play instruction carries user's account Number and channel number to be played, the play instruction be used for described application background server obtain and the user account binding receipts The device identification of sound machine simultaneously forwards the play instruction to the corresponding radio of the device identification.
Optionally, described device also includes:
Binding module, is configured to obtain the equipment for accessing the WAP and not binding with the user account, Bind-request message is sent to the application background server, the bind-request message carries the user account and described sets Standby device identification, the bind-request message are used for the application background server and store the user account and the equipment Device identification corresponding relation.
On the other hand, there is provided a kind of wireless device of control, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Obtain device identification and the access pin of WAP;
According to device identification and the access pin of the WAP, set up and broadcast station server between Network connection;
By the network connection, audio signal is obtained from the broadcast station server;
Play the audio signal.
On the other hand, there is provided a kind of wireless device of control, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Receive the access point request message of radio;
Obtain device identification and the access pin of WAP;
Broadcast access point response message, described access point response message carry the device identification and access pin, described Access point response message is used for the radio and is set up and radio station server according to the device identification and the access pin Network connection between device simultaneously connects acquisition playing audio signal from the broadcast station server by the netting twine.
In the technical scheme that the present invention is provided, radio is according to device identification and the access pin of WAP, set up with Network connection between broadcasting station, obtains audio signal from broadcasting station by the network connection.Due to network connection Reliability is higher, and the audio signal of reception substantial amounts of interference signal and will not can continuously receive the audio frequency of broadcasting station transmission Signal, such that it is able to avoiding radio from sending noise and listening to desultory phenomenon.
Description of the drawings
Fig. 1-1 is a kind of network architecture schematic diagram that the embodiment of the present invention one is provided;
Fig. 1-2 is another kind of network architecture schematic diagram that the embodiment of the present invention one is provided;
Fig. 2-1 is that one kind that the embodiment of the present invention two is provided controls wireless method flow diagram;
Fig. 2-2 is that the another kind that the embodiment of the present invention two is provided controls wireless method stream and figure;
Fig. 3 is that one kind that the embodiment of the present invention three is provided controls wireless method flow diagram;
Fig. 4 is that one kind that the embodiment of the present invention four is provided controls wireless apparatus structure schematic diagram;
Fig. 5-1 is that one kind that the embodiment of the present invention five is provided controls wireless apparatus structure schematic diagram;
Fig. 5-2 is that the another kind that the embodiment of the present invention five is provided controls wireless apparatus structure schematic diagram;
Fig. 5-3 is that the another kind that the embodiment of the present invention five is provided controls wireless apparatus structure schematic diagram;
Fig. 6 is a kind of terminal structure schematic diagram that the embodiment of the present invention five is provided.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The audio signal that is transmitted by short-wave signal at present, radio are received the short-wave signal, the short-wave signal are carried out Decoding obtains audio signal playing audio signal.Short-wave signal is unstable and tonequality is poor, radio usually send noise and Listen to desultory phenomenon.For this invention provides following any embodiment, controls radio and access WAP, By WAP from broadcast station server direct access audio signal playing audio signal, so as to avoid because of shortwave Jitter and tonequality is poor, causes radio to send noise and listen to desultory phenomenon.
Referring to Fig. 1-1, a kind of network architecture is embodiments provided, the network architecture includes:Radio 1, wireless Access point 2, mobile terminal 3 and broadcast station server 4;
Radio 1, can be from shifting in the situation of the device identification and access pin that locally do not preserve WAP 2 Device identification and the access pin of WAP 2 is obtained in dynamic terminal 3;According to the device identification of the WAP 2 and connect Enter password and access the WAP 2, set up by the WAP 2 and the network connection between broadcast station server 4; Then audio signal playing audio signal are obtained from broadcast station server 4 by the network connection.
Wherein, WAP 2 can be router, and its corresponding WLAN can be wifi network, mobile whole End 3 can be mobile phone or panel computer etc..
Due to radio 1 set up and with the network connection between broadcast station server 4, by the network connection from wide Broadcast, such that it is able to avoiding radio from sending noise and listening to Desultory phenomenon.
Optionally, referring to Fig. 1-2, the network architecture can also include application background server 5;
One control application for controlling radio 1 can be installed in mobile terminal 3, user can in advance in the control Register user account in the corresponding application background server 5 of application.After radio 1 accesses WAP 2, mobile terminal 3 The radio 1 and user account can be bound after application in platform server 5.
When user needs the broadcast that certain channel listened to by control radio, user can open control in mobile terminal 3 The application interface of application, the application interface include the channel number of each channel in broadcast station server 4, and user can be at this Select to need in application interface the channel number that listens to as channel number to be played.Mobile terminal 3 can be to backstage application server 5 Play instruction is sent, the play instruction carries channel number to be played and user account;Background application server to user's account Number binding radio 1 forward the play instruction, radio 1 is obtained from broadcast station server 4 and is played frequency to be played The corresponding audio signal of Taoist monastic name.
Referring to Fig. 2-1, a kind of wireless method of control is embodiments provided, is applied to radio in this way As a example by, including:
In step 201:Radio obtains the device identification of WAP and access pin.
In step 202.:Device identification and access pin of the radio according to the WAP, set up and broadcasting station Network connection between server.
In step 203:Radio obtains audio signal by the network connection, from broadcasting station.
In step 204:The audio signal played by radio.
In embodiments of the present invention, as radio is according to device identification and the access pin of WAP, set up with Network connection between broadcast station server, obtains audio signal from broadcast station server by the network connection.By Higher in the reliability of network connection, the audio signal of reception substantial amounts of interference signal and will not can continuously receive broadcast electricity The audio signal that platform server sends, such that it is able to avoiding radio from sending noise and listening to desultory phenomenon.
Referring to Fig. 2-2, the embodiment of the present invention additionally provides a kind of wireless method of control, is applied to movement in this way As a example by terminal, the method includes:
In step 211:Receive the access point request message of radio.
In the step 212:Obtain device identification and the access pin of WAP.
In step 213:Broadcast access point response message, the access point response message carry the device identification and access close Code, the access point response message are used for radio and are set up and broadcast station server between according to the device identification and access pin Network connection being connected by the netting twine obtain and playing audio signal from broadcast station server.
A kind of wireless method of control is embodiments provided, the method can apply to the offer of embodiment one Any one network architecture.Referring to Fig. 3, the method includes:
In step 301:Radio detects broadcast access point request message when cannot access WAP after starting.
Radio detects the device identification of the WAP for locally whether storing and access pin upon actuation, if inspection Broadcast access point request message when locally not storing device identification and the access pin of WAP is measured, the access point please Message is sought for device identification and the access pin of acquisition request WAP.Or, if locally stored whetheing there is detected The device identification of line access point and access pin, but the device identification according to the WAP and access pin cannot access this WAP, now radio can also broadcast access point request message.
In step 302:Mobile terminal receives the access point request message, obtains the device identification of WAP and connects Enter password, broadcast access point response message, the access point response response message carry the device identification of the WAP and connect Enter password.
It is provided with mobile terminal for controlling wireless control application, and user is corresponding in the control application in advance Register user account in application background server.
In this step, mobile terminal receives the access point request message, and search covers each WLAN of its own Corresponding WAP, then starts the control application, and shows the nothing for searching in the application interface of the control application The device identification of line access point.User can select one can cover the corresponding WAP of wireless WLAN Device identification, and be input into the access pin of the WAP.Accordingly, mobile terminal detection user select this wirelessly connect The device identification of access point simultaneously receives the access pin of the WAP, then broadcast access point response message, and the access point rings Message is answered to carry device identification and the access pin of the WAP.
As mobile terminal and radio may all in the range of same WLAN is covered, so this step Can be:Mobile terminal receives access point request message, obtains the corresponding wireless access of the WLAN itself being currently accessed The device identification of point and access pin, broadcast access point response message, the access point response message carry the WAP Device identification and access pin.
Wherein, in the present embodiment, WAP can be router etc., and WLAN can be wifi network Deng.
In step 303:Radio receives access point response message, is wirelessly connect according to what the access point response message was carried The device identification of access point and access pin, access the WAP.
The device identification of the WAP and access pin can also be stored in locally by radio, so work as radio After being again started up, the locally device identification of the WAP of preservation and access pin can be obtained and access the wireless access Point.
Optionally, radio access WAP after, mobile terminal can obtain access WAP and not with The equipment of its corresponding user account binding, then request apply background server to bind the equipment and user account.
If the user while not binding radio and user account before current, then wrap in the equipment of acquisition for mobile terminal Include radio.In addition, application background server also preserves the corresponding relation of device identification and user account, the corresponding relation is used In the device identification and user account that preserve the equipment that mutually binds.
Optionally, for the detailed process of above-mentioned binding can be:Mobile terminal sends query statement to WAP, WAP receives the query statement, sends the device identification for accessing each equipment of its own to mobile terminal.Mobile terminal The device identification of each equipment being received, inquiry request message being sent to application background server, the inquiry request message is carried and respectively set Standby device identification.Application background server receives the inquiry request message, according to each equipment that the inquiry request message is carried Device identification and preservation device identification and the corresponding relation of user account, determine the equipment not with user account binding Device identification, sends query response message to mobile terminal, and the query response message carries the device identification for determining.Mobile terminal Query response message is received, and is defined as accessing WAP and not right with which by the device identification that query response message is carried The device identification of the user account binding that answers, sends bind-request message to application background server, and the bind-request message is taken Device identification and user account with the determination.Application background server receives the bind-request message, and the bind request is disappeared The device identification and user account that breath is carried is stored in the corresponding relation of device identification and user account.
In step 304:The network connection that radio is set up and broadcast station server between by the WAP.
In step 305:Radio obtains channel number to be played.
This step can be realized by following several ways, including:
The first, receive the play instruction of mobile terminal, the play instruction carries channel number to be played.
Mobile terminal can obtain the channel number of each channel in broadcast station server, and the channel number by each channel Show in the application interface of control application.User can select the channel of a channel for needing to listen in the application interface Number.The channel number that user is selected after detecting the channel number that the user selects by mobile terminal is used as channel number to be played, Xiang Ying Play instruction is sent with background server, the play instruction carries channel number to be played and user account.Application background server The play instruction is received, according to the user account that the play instruction is carried, from locally stored device identification and user account The wireless device identification with the user account binding is found out in corresponding relation, according to the wireless device identification to this Radio forwards the play instruction.
Secondth, the radio local default channel number that preserve is obtained as channel number to be played.
Wherein it is possible to locally preserve default channel number in radio in advance, can be somebody's turn to do with direct access after radio starts Default channel number simultaneously plays the audio signal of the corresponding channel of the default channel number.
3rd, the channel number of the nearest last channel played that radio locally preserve is obtained as channel to be played Number.
The direction of rotation of the frequency modulation button rotation is obtained when the 4th, detecting wireless frequency modulation button rotation, according to this Direction of rotation increaseds or decreases the channel number of the currently playing channel of radio and obtains channel number to be played.
Wherein, radio include one can with the frequency modulation button of left rotation and right rotation, the frequency modulation button can be used for adjust radio reception The frequency of short-wave signal listened to by machine.When the audio signal of certain channel played by radio, user can pass through rotation should Frequency modulation button, switches the audio signal that other channels played by radio.
For example, when user is to the anticlockwise frequency modulation button, radio can be according to the frequency modulation button to anticlockwise Direction of rotation, increases currently playing channel number and obtains channel number to be played, when user is to the right rotation frequency modulation button, radio reception Machine can reduce currently playing channel number and obtain channel to be played according to the dextrorotary direction of rotation of the frequency modulation button Number;Or, when user is to the anticlockwise frequency modulation button, radio can be according to the rotation side to anticlockwise of the frequency modulation button To, reduce currently playing channel number and obtain channel number to be played, when user is to the right rotation frequency modulation button, radio can be with According to the dextrorotary direction of rotation of the frequency modulation button, increase currently playing channel number and obtain channel number to be played.
Wherein, channel number can be increased by 1 by the operation for increasing channel number, and channel number can be subtracted by the operation for reducing channel number Little by 1.
Within step 306:Radio sends playing request message by the network connection to broadcast station server, should Playing request message carries channel number to be played.
In step 307:Broadcast station server receives the playing request message, is carried according to the playing request message Channel number to be played, obtains the audio signal of corresponding channel.
In step 308:Broadcast station server sends the audio signal by the network connection to radio.
In a step 309:The audio signal that radio receives broadcast station server transmission by the network connection is simultaneously Play the audio signal.
, wherein it is desired to illustrated is:In the present embodiment, if radio cannot access WAP, radio can To directly receive the short-wave signal of broadcast station server broadcast, the short-wave signal is then demodulated and plays.
In embodiments of the present invention, radio can obtain the device identification and access of WAP from mobile terminal Password, according to device identification and the access pin of the WAP, sets up and the network connection between broadcast station server, Audio signal is obtained from broadcast station server by the network connection.Due to the reliability of network connection higher, reception Audio signal substantial amounts of interference signal and will not can continuously receive the audio signal of broadcast station server transmission, so as to can To avoid radio from sending noise and listen to desultory phenomenon.
Referring to Fig. 4, a kind of radio 400 is embodiments provided, the radio 400 includes:
Acquisition module 401, is configured to device identification and the access pin for obtaining WAP;
Set up module 402, be configured to device identification and the access pin according to the WAP, set up with Network connection between broadcast station server;
The acquisition module, is also set to by the network connection, obtains audio frequency from the broadcast station server Signal;
Playing module 403, is configured to play the audio signal.
Optionally, the acquisition module 401, for obtaining the equipment mark of the locally stored WAP of the radio Know and access pin;Or, broadcast access point request message receives mobile terminal wide after described access point request message is received Access point response message is broadcast, described access point response message carries the device identification of the WAP and access pin.
Optionally, the module 402 of setting up includes:
Access unit, described wirelessly connects for being accessed according to the device identification of the WAP and the access pin Access point;
Set up unit, for the address according to default broadcast station server, by the WAP set up with Network connection between the broadcast station server.
Optionally, the acquisition module 401 includes:
Acquiring unit, for obtaining channel number to be played;
Transmitting element, for by the network connection, sending playing request message, institute to the broadcast station server State playing request message and carry the channel number to be played;
Receiving unit, for by the network connection, receiving the described to be played of the broadcast station server transmission The audio signal of the corresponding channel of channel number.
Optionally, the acquiring unit, is used for
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played; Or,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to institute State direction of rotation and increased or decrease the channel number of the currently playing channel of the radio and obtain channel number to be played.
In embodiments of the present invention, due to the device identification according to WAP and access pin, set up and broadcast electricity Network connection between platform server, obtains audio signal from broadcast station server by the network connection.Due to network The reliability of connection is higher, and the audio signal of reception substantial amounts of interference signal and will not can continuously receive radio station server The audio signal that device sends, such that it is able to avoiding radio from sending noise and listening to desultory phenomenon.
Referring to Fig. 5-1, a kind of mobile terminal 500 is embodiments provided, the mobile terminal 500 includes:
Receiver module 501, is configured to the access point request message for receiving radio;
Acquisition module 502, is configured to device identification and the access pin for obtaining WAP;
Broadcast module 503, is configured to broadcast access point response message, and described access point response message carries the equipment Mark and access pin, described access point response message are used for the radio according to the device identification and the access pin Network connection between foundation and broadcast station server is simultaneously obtained from the broadcast station server by netting twine connection Take and playing audio signal.
Optionally, referring to Fig. 5-2, the mobile terminal 500 also includes:
Sending module 504, is configured to send play instruction to application background server, and the play instruction carries user Account and channel number to be played, the play instruction are used for the application background server and obtain and user account binding Wireless device identification simultaneously forwards the play instruction to the corresponding radio of the device identification.
Optionally, referring to Fig. 5-3, the mobile terminal 500 also includes:
Binding module 505, is configured to obtain and accesses the WAP and do not set with user account binding Standby, bind-request message is sent to the application background server, the bind-request message carries the user account and institute State the device identification of equipment, the bind-request message is used for the application background server and stores the user account and described The corresponding relation of the device identification of equipment.
Referring to Fig. 6, a kind of terminal 600 is embodiments provided, the terminal 600 can be the mobile end of above-mentioned introduction Radio of end, or above-mentioned introduction etc..
With reference to Fig. 6, the terminal 600 can include following one or more assemblies:Process assembly 602, memory 604, electricity Source component 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, with And communication component 616.
The integrated operation of 602 usual control terminal 600 of process assembly, such as with display, call, data communication, phase The associated operation of machine operation and record operation.Process assembly 602 can refer to execute including one or more processors 620 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 602 can include one or more modules, just Interaction between process assembly 602 and other assemblies.For example, process assembly 602 can include multi-media module, many to facilitate Interaction between media component 608 and process assembly 602.
Memory 604 is configured to store various types of data to support the operation in terminal 600.These data are shown Example includes the instruction of any application program or method for operating in terminal 600, and contact data, telephone book data disappear Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) erasable are compiled Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of terminal 600.Power supply module 606 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for terminal 600.
Multimedia groupware 608 is included in the screen of one output interface of offer between the terminal 600 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 608 includes a front-facing camera and/or post-positioned pick-up head.When terminal 600 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured to output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike Wind (MIC), when terminal 600 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 604 or via communication set Part 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a loudspeaker, for exports audio signal.
I/O interfaces 612 are to provide interface between process assembly 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 614 includes one or more sensors, comments for providing the state of various aspects for terminal 600 Estimate.For example, sensor cluster 614 can detect the opening/closed mode of terminal 600, and the relative positioning of component is for example described Display and keypad of the component for terminal 600, sensor cluster 614 can be with 600 1 components of detection terminal 600 or terminal Position change, user is presence or absence of with what terminal 600 was contacted, 600 orientation of terminal or acceleration/deceleration and terminal 600 Temperature change.Sensor cluster 614 can include proximity transducer, be configured to detect when without any physical contact The presence of object nearby.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for into Used in as application.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between terminal 600 and other equipment.Terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 616 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, terminal 600 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include that the memory 604 for instructing, above-mentioned instruction can be executed by the processor 620 of terminal 600 to complete said method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of terminal 600 When device is executed so that terminal 600 is able to carry out a kind of wireless method of control.
Optionally, when terminal 600 is radio, methods described includes:
Radio obtains the device identification of WAP and access pin;
Device identification and the access pin of the radio according to the WAP, are set up and are taken with broadcasting station Network connection between business device;
The radio obtains audio signal by the network connection, from the broadcast station server;
The audio signal played by the radio.
Optionally, the device identification for obtaining WAP and access pin, including:
Obtain device identification and the access pin of the locally stored WAP of the radio;Or,
Broadcast access point request message, receives mobile terminal broadcast access point after described access point request message is received and rings Message, described access point response message is answered to carry the device identification of the WAP and access pin.
Optionally, device identification and the access pin according to the WAP, sets up and broadcasting station Network connection between server, including:
Device identification and the access pin access WAP according to the WAP;
According to the address of default broadcast station server, set up by the WAP and taken with the broadcasting station Network connection between business device.
Optionally, described by the network connection, audio signal is obtained from the broadcast station server, including:
Obtain channel number to be played;
By the network connection, playing request message is sent to the broadcast station server, the playing request disappears Breath carries the channel number to be played;
By the network connection, the channel number described to be played for receiving the broadcast station server transmission corresponds to channel Audio signal.
Optionally, acquisition channel number to be played, including:
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played; Or,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to institute State direction of rotation and increased or decrease the channel number of the currently playing channel of the radio and obtain channel number to be played.
Optionally, when terminal 600 is mobile terminal, methods described includes:
Receive the access point request message of radio;
Obtain device identification and the access pin of WAP;
Broadcast access point response message, described access point response message carry the device identification and access pin, described Access point response message is used for the radio and is set up and radio station server according to the device identification and the access pin Network connection between device simultaneously connects acquisition playing audio signal from the broadcast station server by the netting twine.
Optionally, methods described also includes:
Play instruction is sent to application background server, the play instruction carries user account and channel number to be played, The play instruction is used for the application background server and obtains the wireless device identification that is bound with the user account simultaneously The play instruction is forwarded to the corresponding radio of the device identification.
Optionally, methods described also includes:
The equipment for accessing the WAP and not binding with the user account is obtained, to the application background service Device sends bind-request message, and the bind-request message carries the device identification of the user account and the equipment, described Bind-request message is used for corresponding to for the device identification of the application background server storage user account and the equipment Relation.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware To complete, it is also possible to which the hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements that is made etc. should be included within the scope of the present invention.

Claims (18)

1. one kind controls wireless method, it is characterised in that methods described includes:
Obtain device identification and the access pin of WAP;
According to device identification and the access pin of the WAP, set up and the network between broadcast station server Connection;
By the network connection, audio signal is obtained from the broadcast station server;
Play the audio signal.
2. the method for claim 1, it is characterised in that the device identification of the acquisition WAP and access close Code, including:
Obtain device identification and the access pin of the locally stored WAP of radio;Or,
Broadcast access point request message, receives mobile terminal broadcast access point response after described access point request message is received and disappears Breath, described access point response message carry the device identification of the WAP and access pin.
3. the method for claim 1, it is characterised in that the device identification according to the WAP and described Access pin, sets up and the network connection between broadcast station server, including:
Device identification and the access pin access WAP according to the WAP;
According to the address of default broadcast station server, set up and the broadcast station server by the WAP Between network connection.
4. the method for claim 1, it is characterised in that described by the network connection, takes from the broadcasting station Audio signal is obtained in business device, including:
Obtain channel number to be played;
By the network connection, playing request message is sent to the broadcast station server, the playing request message is taken With the channel number to be played;
By the network connection, the channel number described to be played for receiving the broadcast station server transmission corresponds to the sound of channel Frequency signal.
5. method as claimed in claim 4, it is characterised in that acquisition channel number to be played, including:
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played;Or Person,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to the rotation Turn direction and increased or decrease the channel number of the currently playing channel of the radio to obtain channel number to be played.
6. one kind controls wireless method, it is characterised in that methods described includes:
Receive the access point request message of radio;
Obtain device identification and the access pin of WAP;
Broadcast access point response message, described access point response message carry the device identification and access pin, the access Point response message be used for the radio according to the device identification and the access pin set up with broadcast station server it Between network connection and by the netting twine connect from the broadcast station server obtain and playing audio signal.
7. method as claimed in claim 6, it is characterised in that methods described also includes:
Play instruction is sent to application background server, the play instruction carries user account and channel number to be played, described Play instruction is used for the wireless device identification for applying background server acquisition to bind with the user account and to institute State the corresponding radio of device identification and forward the play instruction.
8. method as claimed in claim 7, it is characterised in that methods described also includes:
The equipment for accessing the WAP and not binding with the user account is obtained, is sent out to the application background server Bind-request message, the bind-request message is sent to carry the device identification of the user account and the equipment, the binding Request message is used for the corresponding relation that the application background server stores the device identification of the user account and the equipment.
9. one kind controls wireless device, it is characterised in that described device includes:
Acquisition module, is configured to device identification and the access pin for obtaining WAP;
Module is set up, device identification and the access pin according to the WAP is configured to, is set up and broadcast electricity Network connection between platform server;
The acquisition module, is also set to by the network connection, obtains audio signal from the broadcast station server;
Playing module, is configured to play the audio signal.
10. device as claimed in claim 9, it is characterised in that
The acquisition module, for obtaining device identification and the access pin of the locally stored WAP of radio;Or, Broadcast access point request message, receives mobile terminal broadcast access point response message after described access point request message is received, Described access point response message carries the device identification of the WAP and access pin.
11. devices as claimed in claim 9, it is characterised in that the module of setting up includes:
Access unit, accesses the wireless access for the device identification according to the WAP and the access pin Point;
Set up unit, for the address according to default broadcast station server, by the WAP set up with described Network connection between broadcast station server.
12. devices as claimed in claim 9, it is characterised in that the acquisition module includes:
Acquiring unit, for obtaining channel number to be played;
Transmitting element, for by the network connection, sends playing request message to the broadcast station server, described broadcasts Put request message and carry the channel number to be played;
Receiving unit, for by the network connection, receiving the channel described to be played that the broadcast station server sends The audio signal of number corresponding channel.
13. devices as claimed in claim 12, it is characterised in that the acquiring unit, are used for
The play instruction of the mobile terminal is received, the play instruction carries channel number to be played;Or,
The local default channel number for preserving of the radio is obtained as channel number to be played;Or,
The channel number of the nearest last channel that plays that the radio is locally preserved is obtained as channel number to be played;Or Person,
The direction of rotation of the frequency modulation button rotation is obtained when detecting the wireless frequency modulation button rotation, according to the rotation Turn direction and increased or decrease the channel number of the currently playing channel of the radio to obtain channel number to be played.
14. a kind of control wireless device, it is characterised in that described device includes:
Receiver module, is configured to the access point request message for receiving radio;
Acquisition module, is configured to device identification and the access pin for obtaining WAP;
Broadcast module, is configured to broadcast access point response message, described access point response message carry the device identification and Access pin, described access point response message be used for the radio according to the device identification and the access pin set up with Network connection between broadcast station server is simultaneously obtained from the broadcast station server and is broadcast by netting twine connection Put audio signal.
15. devices as claimed in claim 14, it is characterised in that described device also includes:
Sending module, is configured to send play instruction to application background server, the play instruction carry user account and Channel number to be played, the play instruction are used for the server and obtain the wireless equipment mark with user account binding Know and the play instruction is forwarded to the corresponding radio of the device identification.
16. devices as claimed in claim 15, it is characterised in that described device also includes:
Binding module, is configured to obtain the equipment for accessing the WAP and not binding with the user account, to institute State application background server and send bind-request message, the bind-request message carrying user account and the equipment Device identification, the bind-request message are used for the application background server and store setting for the user account and the equipment The corresponding relation of standby mark.
The wireless device of 17. one kind controls, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Obtain device identification and the access pin of WAP;
According to device identification and the access pin of the WAP, set up and the network between broadcast station server Connection;
By the network connection, audio signal is obtained from the broadcast station server;
Play the audio signal.
The wireless device of 18. one kind controls, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Receive the access point request message of radio;
Obtain device identification and the access pin of WAP;
Broadcast access point response message, described access point response message carry the device identification and access pin, the access Point response message be used for the radio according to the device identification and the access pin set up with broadcast station server it Between network connection and by the netting twine connect from the broadcast station server obtain and playing audio signal.
CN201610932823.7A 2016-10-31 2016-10-31 The wireless method and device of one kind control Pending CN106506105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610932823.7A CN106506105A (en) 2016-10-31 2016-10-31 The wireless method and device of one kind control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610932823.7A CN106506105A (en) 2016-10-31 2016-10-31 The wireless method and device of one kind control

Publications (1)

Publication Number Publication Date
CN106506105A true CN106506105A (en) 2017-03-15

Family

ID=58319740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610932823.7A Pending CN106506105A (en) 2016-10-31 2016-10-31 The wireless method and device of one kind control

Country Status (1)

Country Link
CN (1) CN106506105A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023521A (en) * 2012-11-05 2013-04-03 太仓市同维电子有限公司 Multimedia radio
CN103327366A (en) * 2013-05-23 2013-09-25 深圳市龙视传媒有限公司 One-way video-on-demand method, one-way video-on-demand related equipment and one-way video-on-demand system
CN103684644A (en) * 2012-09-05 2014-03-26 昆达电脑科技(昆山)有限公司 Broadcast receiving device and method capable of automatically switching signal sources
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
CN105546931A (en) * 2015-12-22 2016-05-04 Tcl集团股份有限公司 Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN105897363A (en) * 2015-01-07 2016-08-24 深圳楼兰辉煌科技有限公司 Implementation method and system for wireless remote control network radio station
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684644A (en) * 2012-09-05 2014-03-26 昆达电脑科技(昆山)有限公司 Broadcast receiving device and method capable of automatically switching signal sources
CN103023521A (en) * 2012-11-05 2013-04-03 太仓市同维电子有限公司 Multimedia radio
CN103327366A (en) * 2013-05-23 2013-09-25 深圳市龙视传媒有限公司 One-way video-on-demand method, one-way video-on-demand related equipment and one-way video-on-demand system
CN105897363A (en) * 2015-01-07 2016-08-24 深圳楼兰辉煌科技有限公司 Implementation method and system for wireless remote control network radio station
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
CN105546931A (en) * 2015-12-22 2016-05-04 Tcl集团股份有限公司 Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point

Similar Documents

Publication Publication Date Title
JP6121621B2 (en) Voice call method, apparatus, program, and recording medium
CN104159275B (en) Method for connecting network and device
CN108831448A (en) The method, apparatus and storage medium of voice control smart machine
CN106020634B (en) Screenshotss method and device
CN104967889A (en) Method used for controlling intelligent television to carry out video information processing and device
CN104780155A (en) Method and device for binding equipment
CN105338389A (en) Method and apparatus for controlling intelligent television
CN105163366A (en) Wireless network connection method and device
CN104636110B (en) Control the method and device of volume
CN105162982A (en) Answering extension function display method and device
CN104640166A (en) Communication method and device
CN107071862A (en) Account binding method and device and smart machine
CN105426218A (en) Method and device for controlling audio playing
CN104506703B (en) Tone information, tone information player method and device
CN104158854B (en) Resource share method and device
CN106357883A (en) Audio playing method and device thereof as well as playing system
CN109087650A (en) voice awakening method and device
CN106941635A (en) Audio amplifier connection method and device
CN104333641B (en) Call method and device
CN106357913A (en) Method and device for prompting information
CN105515923A (en) Equipment control method and device
CN105141880A (en) Call answering method and call answering device
CN106598540A (en) Audio playing method and device
CN106375846A (en) Method and device for processing live audio
CN105430469A (en) Method and device for playing audio/video data, terminal and server

Legal Events

Date Code Title Description
C06 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: 20170315