CN107645675A - Node control method and related product - Google Patents

Node control method and related product Download PDF

Info

Publication number
CN107645675A
CN107645675A CN201710790422.7A CN201710790422A CN107645675A CN 107645675 A CN107645675 A CN 107645675A CN 201710790422 A CN201710790422 A CN 201710790422A CN 107645675 A CN107645675 A CN 107645675A
Authority
CN
China
Prior art keywords
music
node
playback equipment
video processing
current location
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
CN201710790422.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.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication 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 Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710790422.7A priority Critical patent/CN107645675A/en
Publication of CN107645675A publication Critical patent/CN107645675A/en
Pending legal-status Critical Current

Links

Abstract

The embodiments of the invention provide a kind of node control method and Related product, applied to the Internet of things system, it includes gateway, music node and Video processing node, the music node, the Video processing node are connected with the gateway, the Video processing node is also connected with multiple cameras, the music node is also connected with multiple playback equipments, the Video processing node, for when monitoring user in movement by the multiple camera, current location is obtained, the current location is sent to the gateway;The gateway, for determination and the nearest target playback equipment in the current location, the identification information of the target playback equipment is sent to the music node, the target playback equipment is one in the multiple playback equipment;The music node, for controlling the target playback equipment to carry out music by the identification information.Personalizable of the embodiment of the present invention plays music.

Description

Node control method and Related product
Technical field
The present invention relates to Internet technical field, and in particular to a kind of node control method and Related product.
Background technology
With the fast development of information technology, Internet of Things increasingly gos deep into the life of user.Internet of Things is generation information The important component of technology, and the important development stage in " informationization " epoch.Its English name is:"Internet of things(IoT).As its name suggests, Internet of Things is exactly the connected internet of thing thing.This has two layers of meaning:First, the core of Internet of Things The heart and basis are still internet, are the networks of extension on Internet basic and extension;Second, the extension of its user terminal and expansion Open up between any article and article, entered row information and exchange and communicate, that is, thing thing mutually ceases.Internet of Things passes through intelligent sense Know, the cognition technology that communicates such as identification technology and general fit calculation, be widely used in the fusion of network, be also therefore referred to as after calculating The third wave that world information industry develops after machine, internet.Internet of Things is the application extension of internet, Internet of Things Net is network, not equal to Internet of Things is business and application.Therefore, application innovation is the core of Internet of Things development, with Consumer's Experience Innovation 2.0 for core is the soul of Internet of Things development.
In life, user is intended to listen music anywhere or anytime, in this way, feeling to live in the ocean of music, therefore, such as Where under environment of internet of things, there is provided it is a kind of play music whenever and wherever possible mode the problem of it is urgently to be resolved hurrily.
The content of the invention
, can be under environment of internet of things, at any time the embodiments of the invention provide a kind of node control method and Related product Music is played everywhere, improves Consumer's Experience.
First aspect of the embodiment of the present invention provides a kind of Internet of things system, and the Internet of things system includes gateway, music Broadcast nodes and Video processing node, the music node, the Video processing node are connected with the gateway, described Video processing node is also connected with multiple cameras, and the music node is also connected with multiple playback equipments, wherein,
The Video processing node, for when monitoring user in movement by the multiple camera, obtaining current Position, the current location is sent to the gateway;
The gateway, for determination and the nearest target playback equipment in the current location, by the target playback equipment Identification information be sent to the music node, the target playback equipment is one in the multiple playback equipment;
The music node, broadcast for controlling the target playback equipment to carry out music by the identification information Put.
Second aspect of the embodiment of the present invention provides a kind of music control method, described applied to Internet of things system Internet of things system includes gateway, music node and Video processing node, the music node, the Video processing section Point is connected with the gateway, and the Video processing node is also connected with multiple cameras, and the music node is also connected with more Individual playback equipment, including:
The Video processing node obtains current location when monitoring user in movement by the multiple camera, The current location is sent to the gateway;
The gateway determines and the nearest target playback equipment in the current location, by the mark of the target playback equipment Information is sent to the music node, and the target playback equipment is one in the multiple playback equipment;
The music node controls the target playback equipment to carry out music by the identification information.
The third aspect of the embodiment of the present invention provides a kind of music play control apparatus, described applied to Internet of things system Internet of things system includes gateway, music node and Video processing node, the music node, the Video processing section Point is connected with the gateway, and the Video processing node is also connected with multiple cameras, and the music node is also connected with more Individual playback equipment, the music play control apparatus include:Video processing unit, control unit, music unit, wherein,
The video processing unit, for controlling the Video processing node to monitor to use by the multiple camera Family obtains current location, the current location is sent into the gateway in movement;
Described control unit, will for controlling the gateway determination and the nearest target playback equipment in the current location The identification information of the target playback equipment is sent to the music node, and the target playback equipment is broadcast to be the multiple Put one in equipment;
The music unit, for controlling the music node to control the target by the identification information Playback equipment carries out music.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, it is described computer-readable Storage medium is used to store computer program, wherein, the computer program causes computer to perform such as the embodiment of the present invention the The instruction of part or all of step described in two aspects.
5th aspect, the embodiments of the invention provide a kind of computer program product, wherein, the computer program product Non-transient computer-readable recording medium including storing computer program, the computer program are operable to make calculating Machine is performed such as the part or all of step described in second aspect of the embodiment of the present invention.The computer program product can be one Individual software installation bag.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that the embodiment of the present invention is applied to Internet of things system, the Internet of things system includes gateway, music section Point and Video processing node, music node, Video processing node are connected with gateway, and Video processing node is also connected with multiple Camera, music node are also connected with multiple playback equipments, wherein, Video processing node, for passing through multiple cameras Monitor that user in movement, obtains current location, current location is sent into gateway;Gateway, for determination and current location Nearest target playback equipment, the identification information of target playback equipment is sent to music node, target playback equipment is One in multiple playback equipments;Music node, broadcast for carrying out music by identification information control targe playback equipment Put.In this way, can be called by Internet of things system when for moving and continue to play music with the nearest playback equipment of user, Consumer's Experience is improved, allows user to play music whenever and wherever possible.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the network architecture diagram of music control system provided in an embodiment of the present invention;
Fig. 1-1 is the another network architecture diagram of music control system provided in an embodiment of the present invention;
A kind of Fig. 2 embodiment schematic flow sheets of music control method provided in an embodiment of the present invention;
A kind of Fig. 3 embodiment schematic flow sheets of music control method provided in an embodiment of the present invention;
Fig. 4 a are the structural representations of music play control apparatus provided in an embodiment of the present invention;
Fig. 4 b are the another structural representations of music play control apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of example structure schematic diagram of gateway provided in an embodiment of the present invention;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
User described by the embodiment of the present invention can be regarded as user, or, user terminal.User terminal can be with Lower at least one:Smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phones), tablet personal computer, palm Computer, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., when So it can also include the other equipment with network savvy, such as intelligent television, intelligent air condition, intelligent kettle, intelligent lamp, intelligence The smart machine of energy switch or some Internet of Things.Above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal. Music node in the embodiment of the present invention can be understood as the node being specially controlled to music, or, have The node of audio frequency process and control function, it is mainly used in the broadcasting for controlling playback equipment, and Video processing node is appreciated that For the node of special disposal video, or, there is the node of video processing function.By the work(of different nodes in the embodiment of the present invention It can be defined, allow each node to have the processing advantage of itself, node processing power can be lifted to a certain extent.
Technical scheme for a better understanding of the present invention, below first to music control method provided in an embodiment of the present invention The network architecture for the Internet of things system being applicable briefly is introduced.As shown in figure 1, Fig. 1 is the network architecture diagram, the Internet of Things Net system includes gateway, music node and Video processing node, and the music node, the Video processing node are equal It is connected with the gateway, the Video processing node is also connected with multiple cameras, and the music node is also connected with multiple broadcast Equipment is put, wherein, the Video processing node, for when monitoring user in movement by the multiple camera, obtaining Current location, the current location is sent to the gateway;The gateway, for determining and the nearest mesh in the current location Playback equipment is marked, the identification information of the target playback equipment is sent to the music node, the target is played and set Standby is one in the multiple playback equipment;The music node, for controlling the mesh by the identification information Mark playback equipment and carry out music.Wherein, playback equipment can be distributed in different spaces, for example, the family of user includes 3 Playback equipment is placed in individual room, room 1, and playback equipment 2 is placed in room 2, and playback equipment 3 is placed in room 3, and different rooms is placed Different playback equipments, certainly, different rooms can also have different cameras, in this way, can be carried out to the family of user Overall monitor.
Alternatively, in terms of the acquisition current location, the Video processing node is specifically used for:
Control the multiple camera to obtain the video segment of the user, recognition of face carried out to the video segment, P facial images are obtained, the P is the integer more than 1;
Determine that the P facial images correspond to background information;
Position corresponding with the background information is searched in map indoors, and using the position as the present bit Put.
Alternatively, in terms of the determination P facial image corresponds to background information, the Video processing node is specific For:
Obtained from the P facial images with nearest Q facial images of current time, the Q be less than or equal to The positive integer of the P;
Image quality evaluation is carried out to the Q facial images, obtains the Q image quality evaluation values;
The image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and obtain the maximum figure The target facial image as corresponding to quality evaluation value;
Image segmentation is carried out to the target facial image, obtains the background information.
Alternatively, in terms of the determination is with the nearest target playback equipment in the current location, the gateway is specifically used In:
The distance between each playback equipment and the current location are determined, obtains multiple distance values;
The lowest distance value in the multiple distance value is chosen, using playback equipment corresponding to the lowest distance value as institute State target playback equipment.
Alternatively, such as Fig. 1-1, a kind of modification structures of Internet of things system of the Fig. 1-1 described by Fig. 1, the system is also Including:User profile receiving node, the user profile receiving node is connected with gateway, for obtaining user profile, for example, receiving The instruction that user sends, in another example, obtain the heart rate of user, the user profile receiving node, for obtaining the user's Mood, and play parameter is determined according to the mood;
In terms of the target playback equipment progress music by identification information control, the music is broadcast Node is put to be specifically used for:
The target playback equipment is controlled to carry out music according to the play parameter by the identification information.
As can be seen that the embodiment of the present invention is applied to Internet of things system, the Internet of things system includes gateway, music section Point and Video processing node, music node, Video processing node are connected with gateway, and Video processing node is also connected with multiple Camera, music node are also connected with multiple playback equipments, wherein, Video processing node, for passing through multiple cameras Monitor that user in movement, obtains current location, current location is sent into gateway;Gateway, for determination and current location Nearest target playback equipment, the identification information of target playback equipment is sent to music node, target playback equipment is One in multiple playback equipments;Music node, broadcast for carrying out music by identification information control targe playback equipment Put.In this way, can be called by Internet of things system when for moving and continue to play music with the nearest playback equipment of user, Consumer's Experience is improved, allows user to play music whenever and wherever possible.
Based on the network architecture described by Fig. 1 and Fig. 1-1, referring to Fig. 2, being a kind of sound provided in an embodiment of the present invention The embodiment schematic flow sheet of happy control method for playing back.Music control method described in the present embodiment, the Internet of Things Net system includes gateway, music node and Video processing node, and the music node, the Video processing node are equal It is connected with the gateway, the Video processing node is also connected with multiple cameras, and the music node is also connected with multiple broadcast Equipment is put, wherein, comprise the following steps:
201st, the Video processing node obtains present bit when monitoring user in movement by the multiple camera Put, the current location is sent to the gateway.
Wherein, Video processing node can be controlled to camera, and the coherent video of user is obtained using camera, is entered And these images are parsed, so as to obtain current location, the current location can also be sent into gateway.
Alternatively, the specific implementation of the Video processing node acquisition current location is:
11st, control the multiple camera to obtain the video segment of the user, face knowledge is carried out to the video segment Not, P facial images are obtained, the P is the integer more than 1;
12nd, determine that the P facial images correspond to background information;
13rd, position corresponding with the background information is searched in map indoors, and using the position as described current Position.
Wherein, due to Video processing node, available for multiple cameras are controlled, corresponding one of each camera is supervised Scope is controlled, therefore, the zone of action of user can be covered to a certain extent by multiple cameras, by entering to zone of action Row monitoring, can obtain the position of user and corresponding environmental images.Therefore, multiple cameras can be controlled to obtain user's Video segment, parsed to obtain image one by one to video segment, recognition of face is carried out to these images, obtains P Facial image, P are the integer more than 1, and the background information of the user can be obtained by P facial images, i.e. user institute is in place The environmental information put, and position corresponding with the background information is searched in map indoors, using the position as current location.
Further, corresponding with background information position is searched in above-mentioned map indoors, can according to lower aspect Implement:
Obtain camera identification corresponding with the background information;Obtain indoor ground corresponding with the camera identification Figure;Position corresponding to the background information is searched in the indoor map.
Wherein, background information comes from facial image, and each facial image is corresponding with a camera identification, the shooting Leader knowledge represents the facial image and shot by which camera, and certainly, each camera also has individual fixed position, and it is corresponding one Regional extent, the regional extent also corresponds to an indoor map, in this way, corresponding shooting can be obtained by background information Leader is known;And corresponding indoor map, and lookup and background information in the indoor map are obtained by camera identification Corresponding position.
Still optionally further, the Video processing node determines that the P facial images correspond to the specific reality of background information Now mode is:
121st, obtained from the P facial images with nearest Q facial images of current time, the Q to be less than or Equal to the positive integer of the P;
122nd, image quality evaluation is carried out to the Q facial images, obtains the Q image quality evaluation values;
123rd, the image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and obtain the maximum Image quality evaluation values corresponding to target facial image;
124th, image segmentation is carried out to the target facial image, obtains the background information.
Wherein, the corresponding shooting time of each facial image in P facial images, can be selected from P facial images It is the positive integer less than or equal to P to take with current time nearest Q facial images, Q, due to nearer with current time, is obtained Current location it is more reliable, herein, Q is taken, when being mainly in view of recognition of face, it is possible to image occur and obscure, then lead Cause recognition of face failure, therefore, if multiple, recognition of face efficiency can be lifted, it is of course also possible to a facial image Possible recognition of face success.It is possible to further carry out image quality evaluation to Q facial images, obtain Q picture quality and comment Value, certain image quality evaluation values are bigger, then illustrate that picture quality is better, and the successful probability of recognition of face also can be higher, because This, chooses target facial image corresponding to the image quality evaluation values of maximum, and image segmentation is carried out according to the target facial image, Background information is obtained, because facial image can include face and background, face is removed and is left with background.
It is above-mentioned that image quality evaluation is carried out to the Q facial images, the Q image quality evaluation values are obtained, can be adopted Realized with following manner:
At least one image quality evaluation values can be used to carry out image quality evaluation to the Q facial images, obtain institute State Q image quality evaluation values.
Wherein, if multiple images quality evaluation index, each image quality evaluation index also corresponds to a weight, such as This, when each image quality evaluation index carries out image quality evaluation to facial image, can obtain an evaluation result, most Eventually, it is weighted, also just obtains final image quality evaluation values.Image quality evaluation index may include but not only limit In:Average, standard deviation, entropy, definition, signal to noise ratio etc..
It should be noted that due to when use single evaluation index is evaluated picture quality, there is certain limitation Property, therefore, picture quality can be evaluated using multiple images quality evaluation index, certainly, picture quality is evaluated When, not image quality evaluation index is The more the better, because image quality evaluation index is more, the meter of image quality assessment process It is higher to calculate complexity, it is better also to may not be certain image quality evaluation effect, therefore, higher situation is being required to image quality evaluation Under, picture quality can be evaluated using 2~8 image quality evaluation indexs.Specifically, image quality evaluation index is chosen Number and which index, according to depending on specific implementation situation.Certainly, it must also combine specifically scene and choose image quality evaluation Index, the image quality index for carrying out carrying out image quality evaluation selection under dark situation under image quality evaluation and bright ring border can It is different.
Alternatively, in the case of not high to image quality evaluation required precision, an image quality evaluation index can be used Evaluated, for example, carrying out image quality evaluation values to pending image with entropy, it is believed that entropy is bigger, then illustrates picture quality It is better, on the contrary, entropy is smaller, then illustrate that picture quality is poorer.
Alternatively, in the case of higher to image quality evaluation required precision, multiple images quality evaluation can be used Index is evaluated image, and when multiple images quality evaluation index carries out image quality evaluation to image, it is more that this can be set The weight of each image quality evaluation index in individual image quality evaluation index, can obtain multiple images quality evaluation value, according to The plurality of image quality evaluation values and its corresponding weight can obtain final image quality evaluation values, for example, three image matter Measuring evaluation index is respectively:A indexs, B indexs and C indexs, A weight is a1, and B weight is a2, and C weight is a3, is used A, when B and C carries out image quality evaluation to a certain image, image quality evaluation values corresponding to A are b1, picture quality corresponding to B Evaluation of estimate is b2, and image quality evaluation values corresponding to C are b3, then, last image quality evaluation values=a1b1+a2b2+ a3b3.Under normal circumstances, image quality evaluation values are bigger, illustrate that picture quality is better.
202nd, the gateway determination and the nearest target playback equipment in the current location, by the target playback equipment Identification information is sent to the music node, and the target playback equipment is one in the multiple playback equipment.
Wherein, gateway can determine the target playback equipment nearest with current location, and the target playback equipment is above-mentioned more One in individual playback equipment, if the playback equipment nearest with current location, its music user played listens most clear Chu, in this way, Consumer's Experience can be lifted.The identification information of above-mentioned target playback equipment can be following at least one:Numbering, MAC Address, IP address etc..The identification information of target playback equipment can be sent to music node by gateway, to facilitate the sound Happy broadcast nodes control playback equipment plays out.
Alternatively, in terms of the determination is with the nearest target playback equipment in the current location, the gateway is specifically used In:
21st, the distance between each playback equipment and the current location are determined, obtains multiple distance values;
22nd, the lowest distance value in the multiple distance value is chosen, playback equipment corresponding to the lowest distance value is made For the target playback equipment.
Wherein, gateway can determine the distance between each playback equipment and current location, multiple distance values be obtained, from this Lowest distance value is chosen in multiple distance values, using its corresponding playback equipment as target playback equipment.
The 203 music nodes control the target playback equipment to carry out music by the identification information.
Wherein, music node can carry out music by the target playback equipment corresponding with identification information.
Alternatively, music node can obtain currently playing song, and the control target corresponding with identification information plays Equipment continues to play the currently playing song.
Alternatively, music node, which can obtain, plays style corresponding to target playback equipment, control the target to play Equipment plays out according to the broadcasting style.Playing style may include but be not limited only to:Heavy metal, light music, rock and roll, hip- Hop etc..
Under illustration, using the embodiment of the present invention, if user can go to B rooms from A rooms, it is possible to achieve by It is near or the playback equipment broadcasting music near with A rooms is just used in A rooms, close or B rooms can automatically switch and B The near playback equipment in room plays music.
As can be seen that the embodiment of the present invention is applied to Internet of things system, the Internet of things system includes gateway, music section Point and Video processing node, music node, Video processing node are connected with gateway, and Video processing node is also connected with multiple Camera, music node are also connected with multiple playback equipments, wherein, Video processing node, for passing through multiple cameras Monitor that user in movement, obtains current location, current location is sent into gateway;Gateway, for determination and current location Nearest target playback equipment, the identification information of target playback equipment is sent to music node, target playback equipment is One in multiple playback equipments;Music node, broadcast for carrying out music by identification information control targe playback equipment Put.In this way, can be called by Internet of things system when for moving and continue to play music with the nearest playback equipment of user, Consumer's Experience is improved, allows user to play music whenever and wherever possible.
Consistent with the abovely, referring to Fig. 3, being a kind of implementation of music control method provided in an embodiment of the present invention Example schematic flow sheet.Music control method described in the present embodiment, the Internet of things system include gateway, and music is broadcast Node and Video processing node are put, the music node, the Video processing node are connected with the gateway, described to regard Frequency processing node is also connected with multiple cameras, and the music node is also connected with multiple playback equipments, the Internet of things system Also include user profile receiving node, the user profile receiving node is connected with gateway, for receiving user's letter of user's input Breath, wherein, comprise the following steps:
301st, the Video processing node obtains present bit when monitoring user in movement by the multiple camera Put, the current location is sent to the gateway.
302nd, the gateway determination and the nearest target playback equipment in the current location, by the target playback equipment Identification information is sent to the music node, and the target playback equipment is one in the multiple playback equipment.
303rd, the user profile receiving node obtains the mood of the user, and determines to play according to the mood and join Number.
Wherein, the mood of user can be obtained by the wearable device of user, and different hearts rate corresponds to different moods, leads to Cross and the customer parameter of wearable device collection is analyzed, obtain the mood of user, certainly, the wearable device connects with user profile Node connection is received, user profile receiving node can receive the user of user, and play parameter is determined according to the mood, and mood can be with Play parameter is bound, and is formed a mapping relations between the two, can be obtained broadcasting corresponding to mood by the mapping relations Parameter is put, mood can be following at least one:Glad, depressed, angry, sobbing etc., play parameter may include but be not limited only to: Play style, volume, sound channel etc..
304th, the music node controls the target playback equipment according to the broadcasting by the identification information Parameter carries out music.
Wherein, music node can find target playback equipment by identification information, and then, control targe is played and set It is standby to carry out music according to play parameter.
As can be seen that the embodiment of the present invention is applied to Internet of things system, the Internet of things system includes gateway, music section Point and Video processing node, music node, Video processing node are connected with gateway, and Video processing node is also connected with multiple Camera, music node are also connected with multiple playback equipments, wherein, Video processing node, for passing through multiple cameras Monitor that user in movement, obtains current location, current location is sent into gateway;Gateway, for determination and current location Nearest target playback equipment, the identification information of target playback equipment is sent to music node, target playback equipment is One in multiple playback equipments, user profile receiving node, for obtaining the mood of user, and determine to play according to mood and join Number.Music node, for carrying out music according to play parameter by identification information control targe playback equipment.Such as This, can be called when for moving and continue to play music with the nearest playback equipment of user, improved by Internet of things system Consumer's Experience, user is allowed to play music whenever and wherever possible.
Consistent with the abovely, below to implement the gateway for the music control method that the embodiments of the present invention provide, It is specific as follows:
Fig. 4 a are referred to, are shown for a kind of example structure of music play control apparatus 400 provided in an embodiment of the present invention It is intended to.Applied to Internet of things system, the Internet of things system includes gateway, music node and Video processing node, described Music node, the Video processing node are connected with the gateway, and the Video processing node is also connected with multiple shootings Head, the music node are also connected with multiple playback equipments, and the music play control apparatus 400 includes:Video processing list Member 410, control unit 420, music unit 430, wherein,
The video processing unit 410, for controlling the Video processing node to be monitored by the multiple camera To user in movement, current location is obtained, the current location is sent to the gateway;
Described control unit 420, for controlling the gateway determination and the nearest target playback equipment in the current location, The identification information of the target playback equipment is sent to the music node, the target playback equipment is the multiple One in playback equipment;
The music unit 430, for controlling the music node to pass through described in identification information control Target playback equipment carries out music.
Alternatively, the specific implementation of the acquisition of video processing unit 410 current location is:
Control the multiple camera to obtain the video segment of the user, recognition of face carried out to the video segment, P facial images are obtained, the P is the integer more than 1;
Determine that the P facial images correspond to background information;
Position corresponding with the background information is searched in map indoors, and using the position as the present bit Put.
Alternatively, the video processing unit 410 determines that the P facial images correspond to the specific implementation side of background information Formula is:
Obtained from the P facial images with nearest Q facial images of current time, the Q be less than or equal to The positive integer of the P;
Image quality evaluation is carried out to the Q facial images, obtains the Q image quality evaluation values;
The image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and obtain the maximum figure The target facial image as corresponding to quality evaluation value;
Image segmentation is carried out to the target facial image, obtains the background information.
Alternatively, described control unit 420 determines the specific implementation with the nearest target playback equipment in the current location Mode is:
The distance between each playback equipment and the current location are determined, obtains multiple distance values;
The lowest distance value in the multiple distance value is chosen, using playback equipment corresponding to the lowest distance value as institute State target playback equipment.
The alternatively another modification structures of the music play control apparatus as described by Fig. 4 b, Fig. 4 b are Fig. 4 a, it may be used also With including receiving unit 440 is specific as follows:
The receiving unit 440, for controlling the user profile receiving node to obtain the mood of the user, and according to The mood determines play parameter;
Further, music unit 430 controls the target playback equipment to carry out music by the identification information The specific implementation of broadcasting is:
The target playback equipment is controlled to carry out music according to the play parameter by the identification information.
As can be seen that the music play control apparatus described by the embodiment of the present invention, applied to Internet of Things, the Internet of Things system System includes gateway, music node and Video processing node, and music node, Video processing node are connected with gateway, Video processing node is also connected with multiple cameras, and music node is also connected with multiple playback equipments, wherein, Video processing section Point, for when monitoring user in movement by multiple cameras, obtaining current location, current location being sent into gateway; Gateway, for determination and the nearest target playback equipment in current location, the identification information of target playback equipment is sent to music Broadcast nodes, target playback equipment are one in multiple playback equipments;Music node, for being controlled by identification information Target playback equipment carries out music.In this way, it can be called when for moving by Internet of things system nearest with user Playback equipment continues to play music, improves Consumer's Experience, allows user to play music whenever and wherever possible.
It should be noted that the music play control apparatus described by apparatus of the present invention embodiment is the shape with functional unit Formula is presented.Term " unit " used herein above should be understood to implication as most wide as possible, for realizing each " unit " institute The object of representation function for example can be integrated circuit ASIC, single circuit, for performing one or more software or firmware journeys The processor (shared, special or chipset) and memory of sequence, combinational logic circuit, and/or provide and realize above-mentioned function Other suitable components.
For example, the video processing unit 410, for controlling the Video processing node to be taken the photograph by the multiple As head monitors that user when mobile, obtains current location, the function that the current location is sent to the gateway can be by Mobile terminal shown in Fig. 5 realizes, specifically can be by processor 3000 by calling the executable journey in memory 4000 Sequence code, the Video processing node is controlled to obtain present bit when monitoring user in movement by the multiple camera Put, the current location is sent to the gateway.
Consistent with the abovely, referring to Fig. 5, illustrating for a kind of example structure of gateway provided in an embodiment of the present invention Figure.Gateway described in the present embodiment, including:At least one input equipment 1000;At least one output equipment 2000;At least One processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 Being connected with memory 4000 by bus 5000, the gateway application includes gateway in Internet of things system, the Internet of things system, Music node and Video processing node, the music node, the Video processing node are connected with the gateway, The Video processing node is also connected with multiple cameras, and the music node is also connected with multiple playback equipments.
It should be noted that processor 3000 here can be a treatment element or multiple treatment elements General designation.For example, the treatment element can be central processing unit (Central Processing Unit, CPU) or Specific integrated circuit (Application Specific Integrated Circuit, ASIC), or be arranged to implement One or more integrated circuits of the embodiment of the present application, such as:One or more microprocessors (digital singnal Processor, DSP), or, one or more field programmable gate array (Field Programmable Gate Array, FPGA)。
Memory 4000 can be the general designation of a storage device or multiple memory elements, and can for storage Parameter, data etc. required for configuration processor code or the operation of application program running gear.And memory 4000 can be included at random Memory (RAM), nonvolatile memory (non-volatile memory), such as magnetic disk storage, flash memory can also be included (Flash) etc..
Bus 5000 can be that industry standard architecture (Industry Standard Architecture, ISA) is total Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control Bus processed etc..For ease of representing, only represented in Fig. 4 with a thick line, it is not intended that an only bus or a type of Bus.
Above-mentioned processor 3000, is used for:
The Video processing node is controlled to obtain present bit when monitoring user in movement by the multiple camera Put, the current location is sent to the gateway;
The gateway determination and the nearest target playback equipment in the current location are controlled, by the target playback equipment Identification information is sent to the music node, and the target playback equipment is one in the multiple playback equipment;
The music node is controlled, for controlling the target playback equipment to carry out music by the identification information Play.
Alternatively, in terms of the acquisition current location, above-mentioned processor 3000 is specifically used for:
Control the Video processing node to obtain the video segment of the user by the multiple camera, regarded to described Frequency fragment carries out recognition of face, obtains P facial images, and the P is the integer more than 1;Determine that the P facial images are corresponding Background information;Position corresponding with the background information is searched in map indoors, and using the position as the present bit Put.
Alternatively, in terms of the determination P facial image corresponds to background information, above-mentioned processor 3000 is specifically used In:
Obtained and nearest Q face figures of current time from the P facial images by the Video processing node Picture, the Q are the positive integer less than or equal to the P;Image quality evaluation is carried out to the Q facial images, obtains the Q Individual image quality evaluation values;The image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and described in acquisition Target facial image corresponding to maximum image quality evaluation values;Image segmentation is carried out to the target facial image, obtains institute State background information.
Alternatively, in terms of the determination is with the nearest target playback equipment in the current location, above-mentioned processor 3000 It is specifically used for:
The distance between each playback equipment and the current location are determined by the gateway, obtain multiple distance values; The lowest distance value in the multiple distance value is chosen, playback equipment corresponding to the lowest distance value is broadcast as the target Put equipment.
Alternatively, the Internet of things system also includes user profile receiving node, and above-mentioned processor 3000 controls the use Family information receiving node, play parameter is determined for obtaining the mood of the user, and according to the mood;
In terms of the target playback equipment progress music by identification information control, above-mentioned processor 3000 are specifically used for:
The target playback equipment is controlled according to the broadcasting by the identification information by the music node Parameter carries out music.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of of any music control method described in the above method embodiment when program performs Step.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above The part or all of step of any music control method described in method embodiment.
Although combining each embodiment herein, invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, the word of " comprising " (comprising) one is not excluded for other compositions Part or step, "a" or "an" are not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, gateway (equipment) or computer journey Sequence product.Therefore, in terms of the present invention can use complete hardware embodiment, complete software embodiment or combine software and hardware The form of embodiment.Moreover, the present invention can use the calculating for wherein including computer usable program code in one or more The computer program that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or one as hardware Part, other distribution forms can also be used, such as pass through the wired or wireless telecommunication systems of Internet or other.
The present invention be with reference to the method for the embodiment of the present invention, gateway (equipment) and computer program product flow chart with/ Or block diagram describes.It should be understood that can by each flow in computer program instructions implementation process figure and/or block diagram and/ Or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided To the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce one Individual machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing The gateway for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of gateway, the instruction gateway realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, do not departing from this hair In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art can to the present invention carry out it is various change and modification without Depart from the spirit and scope of the present invention.So, if the present invention these modifications and variations belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of Internet of things system, it is characterised in that the Internet of things system includes gateway, music node and Video processing Node, the music node, the Video processing node are connected with the gateway, and the Video processing node is also connected with Multiple cameras, the music node are also connected with multiple playback equipments, wherein,
The Video processing node, for when monitoring user in movement by the multiple camera, obtaining current location, The current location is sent to the gateway;
The gateway, for determination and the nearest target playback equipment in the current location, by the mark of the target playback equipment Know information and be sent to the music node, the target playback equipment is one in the multiple playback equipment;
The music node, for controlling the target playback equipment to carry out music by the identification information.
2. system according to claim 1, it is characterised in that in terms of the acquisition current location, the Video processing Node is specifically used for:
Control the multiple camera to obtain the video segment of the user, recognition of face is carried out to the video segment, obtains P Facial image is opened, the P is the integer more than 1;
Determine that the P facial images correspond to background information;
Position corresponding with the background information is searched in map indoors, and using the position as the current location.
3. system according to claim 2, it is characterised in that determine that the P facial image corresponds to background letter described In terms of breath, the Video processing node is specifically used for:
It is less than or equal to the P to be obtained from the P facial images with nearest Q facial images of current time, the Q Positive integer;
Image quality evaluation is carried out to the Q facial images, obtains the Q image quality evaluation values;
The image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and obtain the maximum image matter Measure target facial image corresponding to evaluation of estimate;
Image segmentation is carried out to the target facial image, obtains the background information.
4. according to the system described in claim any one of 1-3, it is characterised in that nearest with the current location in the determination Target playback equipment in terms of, the gateway is specifically used for:
The distance between each playback equipment and the current location are determined, obtains multiple distance values;
The lowest distance value in the multiple distance value is chosen, using playback equipment corresponding to the lowest distance value as the mesh Mark playback equipment.
5. according to the system described in claim any one of 1-4, it is characterised in that the system also includes:User profile receives Node, the user profile receiving node, play parameter is determined for obtaining the mood of the user, and according to the mood;
In terms of the target playback equipment progress music by identification information control, the music section Point is specifically used for:
The target playback equipment is controlled to carry out music according to the play parameter by the identification information.
6. a kind of music control method, it is characterised in that applied to Internet of things system, the Internet of things system includes net Close, music node and Video processing node, the music node, the Video processing node connect with the gateway Connecing, the Video processing node is also connected with multiple cameras, and the music node is also connected with multiple playback equipments, including:
The Video processing node obtains current location, by institute when monitoring user in movement by the multiple camera State current location and be sent to the gateway;
The gateway determines and the nearest target playback equipment in the current location, by the identification information of the target playback equipment The music node is sent to, the target playback equipment is one in the multiple playback equipment;
The music node controls the target playback equipment to carry out music by the identification information.
7. according to the method for claim 6, it is characterised in that the Video processing node obtains the specific reality of current location Now mode is:
Control the multiple camera to obtain the video segment of the user, recognition of face is carried out to the video segment, obtains P Facial image is opened, the P is the integer more than 1;
Determine that the P facial images correspond to background information;
Position corresponding with the background information is searched in map indoors, and using the position as the current location.
8. according to the method for claim 7, it is characterised in that the Video processing node determines the P facial images Correspondingly the specific implementation of background information is:
It is less than or equal to the P to be obtained from the P facial images with nearest Q facial images of current time, the Q Positive integer;
Image quality evaluation is carried out to the Q facial images, obtains the Q image quality evaluation values;
The image quality evaluation values of maximum are chosen from the Q image quality evaluation values, and obtain the maximum image matter Measure target facial image corresponding to evaluation of estimate;
Image segmentation is carried out to the target facial image, obtains the background information.
9. a kind of music play control apparatus, it is characterised in that applied to Internet of things system, the Internet of things system includes net Close, music node and Video processing node, the music node, the Video processing node connect with the gateway Connect, the Video processing node is also connected with multiple cameras, and the music node is also connected with multiple playback equipments, the sound Happy broadcast control device includes:Video processing unit, control unit, music unit, wherein,
The video processing unit, for controlling the Video processing node monitoring that user exists by the multiple camera When mobile, current location is obtained, the current location is sent to the gateway;
Described control unit, for controlling the gateway determination and the nearest target playback equipment in the current location, by described in The identification information of target playback equipment is sent to the music node, and the target playback equipment sets for the multiple broadcasting One in standby;
The music unit, for controlling the music node to control the target to play by the identification information Equipment carries out music.
A kind of 10. computer-readable storage medium, it is characterised in that it is used to store computer program, wherein, the computer program So that computer performs the method as described in claim any one of 6-8.
CN201710790422.7A 2017-09-05 2017-09-05 Node control method and related product Pending CN107645675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710790422.7A CN107645675A (en) 2017-09-05 2017-09-05 Node control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710790422.7A CN107645675A (en) 2017-09-05 2017-09-05 Node control method and related product

Publications (1)

Publication Number Publication Date
CN107645675A true CN107645675A (en) 2018-01-30

Family

ID=61111048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710790422.7A Pending CN107645675A (en) 2017-09-05 2017-09-05 Node control method and related product

Country Status (1)

Country Link
CN (1) CN107645675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727193A (en) * 2021-08-19 2021-11-30 杭州逗酷软件科技有限公司 Method and system for processing connection of multimedia content, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249142A (en) * 2013-04-26 2013-08-14 东莞宇龙通信科技有限公司 Locating method, locating system and mobile terminal
CN103858449A (en) * 2011-07-22 2014-06-11 S.M.娱乐有限公司 Method and system for providing a social music service using an LBS, and recording medium for recording a program for executing the method
CN105607735A (en) * 2015-12-17 2016-05-25 深圳Tcl数字技术有限公司 Output controlling system and method of multimedia equipment
CN105652704A (en) * 2014-12-01 2016-06-08 青岛海尔智能技术研发有限公司 Playing control method for household background music
CN106851199A (en) * 2017-02-07 2017-06-13 深圳云天励飞技术有限公司 A kind of method for processing video frequency and device
US20170180696A1 (en) * 2015-12-22 2017-06-22 Daniel P. Broughton Mobile Photography Studio for Improved Vehicle Photography Suitable for Memorabilia
CN107085512A (en) * 2017-04-24 2017-08-22 广东小天才科技有限公司 A kind of audio frequency playing method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103858449A (en) * 2011-07-22 2014-06-11 S.M.娱乐有限公司 Method and system for providing a social music service using an LBS, and recording medium for recording a program for executing the method
CN103249142A (en) * 2013-04-26 2013-08-14 东莞宇龙通信科技有限公司 Locating method, locating system and mobile terminal
CN105652704A (en) * 2014-12-01 2016-06-08 青岛海尔智能技术研发有限公司 Playing control method for household background music
CN105607735A (en) * 2015-12-17 2016-05-25 深圳Tcl数字技术有限公司 Output controlling system and method of multimedia equipment
US20170180696A1 (en) * 2015-12-22 2017-06-22 Daniel P. Broughton Mobile Photography Studio for Improved Vehicle Photography Suitable for Memorabilia
CN106851199A (en) * 2017-02-07 2017-06-13 深圳云天励飞技术有限公司 A kind of method for processing video frequency and device
CN107085512A (en) * 2017-04-24 2017-08-22 广东小天才科技有限公司 A kind of audio frequency playing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727193A (en) * 2021-08-19 2021-11-30 杭州逗酷软件科技有限公司 Method and system for processing connection of multimedia content, and storage medium

Similar Documents

Publication Publication Date Title
CN108460362B (en) System and method for detecting human body part
CN106921829A (en) A kind of photographic method and device and photographing device
CN101118366A (en) Image sensing apparatus and control method therefor
CN107871345A (en) Information processing method and related product
CN102103617A (en) Method and device for acquiring expression meanings
CN106454100B (en) Focusing method, device and mobile terminal
CN108632536A (en) A kind of camera control method and device, terminal, storage medium
CN110009090A (en) Neural metwork training and image processing method and device
CN104601876B (en) Method and device for detecting passerby
CN106131391A (en) A kind of image pickup method and device
CN115049057B (en) Model deployment method and device, electronic equipment and storage medium
CN109714636A (en) A kind of user identification method, device, equipment and medium
CN113157246A (en) Volume adjusting method and device, electronic equipment and storage medium
CN103905739A (en) Electronic equipment control method and electronic equipment
CN107018406A (en) Video information processing method and device
CN103685349A (en) Method for information processing and electronic equipment
CN105208337B (en) Image processing method and device based on combination
CN107645675A (en) Node control method and related product
CN114416260A (en) Image processing method, image processing device, electronic equipment and storage medium
CN103248799B (en) Destination object follows the trail of image pickup method, filming apparatus and electronic equipment
CN109121042B (en) Voice data processing method and related product
CN110536087A (en) Electronic equipment and its motion profile picture synthesis method, device and embedded equipment
CN110225285A (en) Audio/video communication method, apparatus, computer installation and readable storage medium storing program for executing
CN113645419B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN110418056A (en) A kind of image processing method, device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180130