CN108182794A - A kind of program processing method and device - Google Patents

A kind of program processing method and device Download PDF

Info

Publication number
CN108182794A
CN108182794A CN201810008446.7A CN201810008446A CN108182794A CN 108182794 A CN108182794 A CN 108182794A CN 201810008446 A CN201810008446 A CN 201810008446A CN 108182794 A CN108182794 A CN 108182794A
Authority
CN
China
Prior art keywords
equipment
remote control
controlled
remotely
set programs
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
CN201810008446.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 Shell Technology Co Ltd
Original Assignee
Beijing Shell 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 Beijing Shell Technology Co Ltd filed Critical Beijing Shell Technology Co Ltd
Priority to CN201810008446.7A priority Critical patent/CN108182794A/en
Publication of CN108182794A publication Critical patent/CN108182794A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of program processing method and devices.Method includes:Receive broadcast message;When it is equipment link information to determine broadcast message, the current key word in equipment link information is obtained;Wherein:Equipment link information is used to indicate the connection of remotely-controlled equipment and remote control equipment;Pre-set programs is controlled to perform corresponding operating according to current key word, to be controlled by remote control equipment the pre-set programs on remotely-controlled equipment.By technical scheme of the present invention, the control mode of the pre-set programs on remotely-controlled equipment is not only enriched, but also decreases operation of the user to the pre-set programs, realizes the intelligent control to the pre-set programs.

Description

A kind of program processing method and device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of program processing method and device.
Background technology
At present, user to mobile phone, computer when the program in terminals controls, be all to be carried out by artificial mode Control, this results in the control mode of program relatively simple, and underaction and intelligence, and this in the relevant technologies Control mode undoubtedly also increases user's operation.
Invention content
The present invention provides a kind of program processing method and device, to be equipment connection letter in the broadcast message received During breath, by obtaining the current key word in equipment link information automatically, pre-set programs can certainly be advanced according to the current keyword Row corresponding operating, so as to realize the control to the pre-set programs on remotely-controlled equipment by remote control equipment, in this way, not only enriching The control mode of pre-set programs on remotely-controlled equipment, and decrease operation of the user to the pre-set programs, realizes pair The intelligent control of the pre-set programs.
The present invention provides a kind of program processing method, including:
Receive broadcast message;
When it is equipment link information to determine the broadcast message, the current key in the equipment link information is obtained Word;Wherein:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
The pre-set programs is controlled to perform corresponding operating according to the current key word, with by the remote control equipment to institute The pre-set programs stated on remotely-controlled equipment are controlled.
In one embodiment, it is described the pre-set programs to be controlled to perform corresponding operating, packet according to the current key word It includes:
Obtain the default correspondence between keyword and program;
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword matches;
When the current key word and the predetermined keyword match, controlled according to the current key word described pre- If program performs corresponding operating.
In one embodiment, it is described according to the default correspondence, determine the current key word whether with it is described The corresponding predetermined keyword of pre-set programs matches, including at least one of following:
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword is identical;
According to the default correspondence, current key word predetermined keyword corresponding with the pre-set programs is determined Similarity whether be more than default similarity;
According to the default correspondence, determine that the prefix of the current key word is corresponding with the pre-set programs default Whether the prefix of keyword meets default prefix rule.
In one embodiment, whether the connection is connected including the remotely-controlled equipment with the remote control equipment It connects;
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
When the connection is connected for the remotely-controlled equipment with the remote control equipment, according to the current key Word controls the pre-set programs to start according to the first predetermined manner;
When the connection is disconnected for the remotely-controlled equipment with the remote control equipment, according to the current pass Keyword controls the pre-set programs to be closed according to the second predetermined manner.
In one embodiment, the connection further includes:The remotely-controlled equipment is connected with the remote control equipment When, the connection mode between the remotely-controlled equipment and the remote control equipment, wherein, the connection mode includes following at least one :Bluetooth connection, infrared connection, USB connections.
In one embodiment, the current key word includes:The mark of the remote control equipment, wherein, the remote control is set Standby mark includes at least one of following:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control are set The prefix of standby title;
The pre-set programs include:It is default in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of preset function in.
The present invention also provides a kind of program processing apparatus, including:
Receiving module, for receiving broadcast message;
Acquisition module, for when it is equipment link information to determine the broadcast message, obtaining the equipment link information In current key word;Wherein:The equipment link information is used to indicate the connection feelings of the remotely-controlled equipment and remote control equipment Condition;
Control module, for the pre-set programs being controlled to perform corresponding operating according to the current key word, to pass through Remote control equipment is stated to control the pre-set programs on the remotely-controlled equipment.
In one embodiment, the control module includes:
Acquisition submodule, for obtaining the default correspondence between keyword and program;
Determination sub-module, for according to the default correspondence, determining whether the current key word is preset with described The corresponding predetermined keyword of program matches;
First control submodule, for when the current key word and the predetermined keyword match, according to described Current key word controls the pre-set programs to perform corresponding operating.
In one embodiment, the determination sub-module is used to perform at least one step:
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword is identical;
According to the default correspondence, current key word predetermined keyword corresponding with the pre-set programs is determined Similarity whether be more than default similarity;
According to the default correspondence, determine that the prefix of the current key word is corresponding with the pre-set programs default Whether the prefix of keyword meets default prefix rule.
In one embodiment, whether the connection is connected including the remotely-controlled equipment with the remote control equipment It connects;
The control module includes:
Second control submodule is connected for working as the connection for the remotely-controlled equipment with the remote control equipment When, the pre-set programs is controlled to start according to the first predetermined manner according to the current key word;
Third control submodule disconnects company for working as the connection for the remotely-controlled equipment and the remote control equipment When connecing, the pre-set programs is controlled to be closed according to the second predetermined manner according to the current key word.
In one embodiment, the connection further includes:The remotely-controlled equipment is connected with the remote control equipment When, the connection mode between the remotely-controlled equipment and the remote control equipment, wherein, the connection mode includes following at least one :Bluetooth connection, infrared connection, USB connections.
In one embodiment, the current key word includes:The mark of the remote control equipment, wherein, the remote control is set Standby mark includes at least one of following:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control are set The prefix of standby title;
The pre-set programs include:It is default in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of preset function in.
According to the third aspect of the embodiment of the present disclosure, a kind of program processing apparatus is additionally provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive broadcast message;
When it is equipment link information to determine the broadcast message, the current key in the equipment link information is obtained Word;Wherein:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
The pre-set programs is controlled to perform corresponding operating according to the current key word, with by the remote control equipment to institute The pre-set programs stated on remotely-controlled equipment are controlled.The technical scheme provided by this disclosed embodiment can include following Advantageous effect:
When the broadcast message received is equipment link information, by obtaining the current pass in equipment link information automatically Keyword, pre-set programs can voluntarily carry out corresponding operating according to the current keyword, so as to be realized by remote control equipment to being remotely-controlled Pre-set programs control in equipment, in this way, not only enriching the control mode of the pre-set programs on remotely-controlled equipment, but also subtracts Lack operation of the user to the pre-set programs, realize the intelligent control to the pre-set programs.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention is described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Example is applied together for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of program processing method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to another program processing method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to another program processing method shown in an exemplary embodiment.
Fig. 4 is the block diagram according to a kind of program processing apparatus shown in an exemplary embodiment.
Fig. 5 is the block diagram according to another program processing apparatus shown in an exemplary embodiment.
Fig. 6 is the block diagram according to another program processing apparatus shown in an exemplary embodiment.
Fig. 7 is according to the block diagram suitable for program processing apparatus shown in an exemplary embodiment.
Specific embodiment
The preferred embodiment of the present invention is illustrated below in conjunction with attached drawing, it should be understood that preferred reality described herein It applies example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of program processing method, and this method is suitable for In program handling system or device, the pre-set programs on remotely-controlled equipment, remotely-controlled equipment can be smart television, large-size screen monitors Terminal, smart mobile phone, tablet etc., and the operating system of remotely-controlled equipment can be Android system, and remote control equipment can be intelligence Can remote controler etc., as shown in Figure 1, the method comprising the steps of S101 is to step S103, wherein:
In step S101, (pre-set programs) receive broadcast message;
Broadcast message can be that the operating system of remotely-controlled equipment is sent out, can also the operating system of remotely-controlled equipment lead to Cross what some app (application) installed in operating system was sent out, but no matter broadcast message is sent out using which kind of mode, broadcast message From the operating system of remotely-controlled equipment.
In addition, it is necessary to explanation is one or more operating system can be installed on remotely-controlled equipment, and operating system Type can be one or more, and it can be remotely-controlled equipment to send out the operating system of above-mentioned broadcast message to pre-set programs Any one operating system of upper installation.
In step s 102, when it is equipment link information that (pre-set programs), which determine broadcast message, (pre-set programs) obtain Current key word in equipment link information;Wherein:Equipment link information is used to indicate the company of remotely-controlled equipment and remote control equipment Connect situation;
The equipment link information can essentially include two parts information, and a part of information is used to indicate the remotely-controlled equipment With the connection of remote control equipment, another part information, that is, above-mentioned current key word.
In step s 103, according to current key word control pre-set programs perform corresponding operating (i.e. pre-set programs according to ought Preceding keyword control performs corresponding operating), to be controlled by remote control equipment the pre-set programs on remotely-controlled equipment.
When the broadcast message received is equipment link information, by obtaining the current pass in equipment link information automatically Keyword, pre-set programs can voluntarily carry out corresponding operating according to the current keyword, so as to be realized by remote control equipment to being remotely-controlled The control of pre-set programs in equipment, in this way, the control mode of the pre-set programs on remotely-controlled equipment is not only enriched, but also Reduce operation of the user to the pre-set programs, realize the intelligent control to the pre-set programs.
Above-mentioned corresponding operating includes but not limited to pre-set programs is controlled to start or close.
As shown in Fig. 2, in one embodiment, above-mentioned step S103 shown in FIG. 1 is controlled pre- according to current key word If program performs corresponding operating, can be performed as:
In step s 201, the default correspondence between keyword and program is obtained;
In step S202, according to default correspondence, determine that whether corresponding with pre-set programs current key word is default Keyword matches;
In step S203, when current key word matches with predetermined keyword, controlled according to current key word default Program performs corresponding operating.
By above-mentioned default correspondence set in advance, can the above-mentioned current key word of automatic decision whether with pre-set programs Corresponding predetermined keyword matches, and when above-mentioned current key word matches with its predetermined keyword, illustrates the remote control equipment For controlling the pre-set programs, so as to pre-set programs be controlled to perform corresponding operating according to current key word, in this way, not only Control to the pre-set programs is realized, and different keywords can control different programs by remote control equipment The system i.e. different remote control equipment of remotely-controlled equipment connection can realize the intelligent control to distinct program, be conducive to further carry in this way The intelligence of elevation sort run.
In one embodiment, according to default correspondence, determine that whether corresponding with pre-set programs current key word is pre- If keyword matches, including at least one of following:
According to default correspondence, determine that whether corresponding with pre-set programs current key word predetermined keyword be identical;
According to default correspondence, determine current key word predetermined keyword corresponding with pre-set programs similarity whether More than default similarity;
Default similarity can freely be set, and such as can be 80% or 90%, and when judging similarity, semanteme can be passed through The modes such as identification judge.
According to default correspondence, the prefix of the prefix of current key word predetermined keyword corresponding with pre-set programs is determined Whether satisfaction presets prefix rule, wherein, which can also freely be set, and such as default prefix rule can be worked as The prefix of preceding keyword is identical with the prefix of predetermined keyword or the prefix of current key word and the prefix of predetermined keyword expire Certain algorithm of foot etc..
When judging whether current key word matches with predetermined keyword, it may be determined that current key word and predetermined keyword Whether whether identical, similarity is more than default similarity or whether prefix meets default prefix rule, if meeting above-mentioned one Item is multinomial, then can determine that current key word matches with predetermined keyword, certainly, the condition of satisfaction is more, matching result Accuracy rate it is higher.
As shown in figure 3, in one embodiment, whether connection is connected including remotely-controlled equipment with remote control equipment;
Above-mentioned step S103 shown in FIG. 1 controls pre-set programs to perform corresponding operating, can be held according to current key word Behavior:
In step S301, when connection is connected for remotely-controlled equipment with remote control equipment, according to current key word Control pre-set programs start according to the first predetermined manner;
In step s 302, when connection is disconnected for remotely-controlled equipment with remote control equipment, according to current key Word control pre-set programs are closed according to the second predetermined manner.
When pre-set programs is controlled to perform corresponding operating, when connection is connected for remotely-controlled equipment with remote control equipment When, illustrate that remotely-controlled equipment has been connected with remote control equipment, remote control equipment prepares to carry out the pre-set programs on remotely-controlled equipment It controls, thus, pre-set programs can be controlled to start according to the first predetermined manner according to current key word, in this way, being set being remotely-controlled Standby while be connected with remote control equipment, which can voluntarily start according to the first predetermined manner, so avoid User needs to manually boot the pre-set programs on remotely-controlled equipment when the two is connected, and also improves the startup effect of pre-set programs Rate and intelligent;Correspondingly,
When connection is disconnected for remotely-controlled equipment with remote control equipment, illustrate remotely-controlled equipment with remote control equipment not It is connected again, thus, pre-set programs can be controlled to be closed according to the second predetermined manner according to current key word, in this way, being remotely-controlled While equipment is disconnected with remote control equipment, which can voluntarily close according to the second predetermined manner, so avoid User needs the pre-set programs being turned off manually when the two disconnects on remotely-controlled equipment, also improves the closing of pre-set programs Efficiency and intelligent.
Wherein, include but not limited to according to the startup of the first predetermined manner:Start immediately, in remotely-controlled equipment and remote control equipment Start after first preset duration that is connected.
Include but not limited to according to the closing of the first predetermined manner:It closes, disconnected in remotely-controlled equipment and remote control equipment immediately It closed after second preset duration, send out prompt message after remotely-controlled equipment and remote control equipment disconnect to prompt the user whether to close Pre-set programs.
In one embodiment, connection further includes:When remotely-controlled equipment is connected with remote control equipment, remotely-controlled equipment Connection mode between remote control equipment, wherein, connection mode includes at least one of following:Bluetooth connection, infrared connection, USB Connection.
Above-mentioned connection can also include the connection mode between remotely-controlled equipment and remote control equipment, in this way, may indicate that Which kind of mode remotely-controlled equipment employs is connected with remote control equipment.
In one embodiment, current key word includes:The mark of remote control equipment, wherein, the mark of remote control equipment includes At least one of below:The title of remote control equipment, the MAC Address of remote control equipment, remote control equipment title prefix;
Pre-set programs include:Work(is preset in the default application in default application or remotely-controlled equipment on remotely-controlled equipment It can corresponding program.
Current key word can be the mark of remote control equipment, in this way, different remote control equipments can carry out different programs Control improves the flexibility and intelligent of program control, and certainly, the controllable program of different remote control equipments can be one Or multiple (i.e. pre-set programs can be one or more), while to its respective control of controllable one or more programs Duration and controllable operation are also different, in this way, the intelligent of the control to program can be further improved, can also facilitate use Family meets the different demands for control of user.
In addition, pre-set programs can be in the default application on default application or remotely-controlled equipment on remotely-controlled equipment The corresponding program of preset function, and default application can be any one or multiple applications installed on remotely-controlled equipment, preset Function can be any one of default application or multiple function, in this way, remote control equipment not only can be on remotely-controlled equipment Using being controlled, but also a certain function in being applied on remotely-controlled equipment or certain functions directly can be controlled System.
Finally, those skilled in the art above-mentioned six embodiments can be freely combined, herein not according to actual demand It repeats again.
The embodiment of the present invention will be further illustrated below:
Increase a broadcast reception program in application A in certain the large screen terminal controlled in intelligent remote controller needs.
For the large screen terminal after being connect with intelligent remote controller by bluetooth approach, the operating system of the large screen terminal is wide The bluetooth connection information of oneself is broadcast, bluetooth connection information includes the connection status being successfully connected and connection facility information, wherein, even It connects facility information and includes keyword, which is the unique mark of the intelligent remote controller, and such as can be can only remote control equipment Name or mac addresses (Media Access Control, media access control).
Using A after determining to receive bluetooth connection information, judge its connect facility information in keyword whether with this Using the corresponding keywords of A, if so, illustrating that remote control equipment is that can control the equipment for applying A, then voluntarily start using A.
As shown in figure 4, the present invention also provides a kind of program processing apparatus, including:
Receiving module 401 is configured as receiving broadcast message;
Acquisition module 402 when being configured as determining broadcast message as equipment link information, is obtained in equipment link information Current key word;Wherein:Equipment link information is configured as the connection of instruction remotely-controlled equipment and remote control equipment;
Control module 403 is configured as pre-set programs being controlled to perform corresponding operating according to current key word, to pass through remote control Equipment controls the pre-set programs on remotely-controlled equipment.
As shown in figure 5, in one embodiment, above-mentioned control module 403 shown in Fig. 4 can include:
Acquisition submodule 4031 is configured as obtaining the default correspondence between keyword and program;
Determination sub-module 4032 is configured as according to default correspondence, determine current key word whether with pre-set programs Corresponding predetermined keyword matches;
First control submodule 4033, when being configured as current key word and predetermined keyword and matching, according to current Keyword control pre-set programs perform corresponding operating.
In one embodiment, determination sub-module is configured as performing at least one step:
According to default correspondence, determine that whether corresponding with pre-set programs current key word predetermined keyword be identical;
According to default correspondence, determine current key word predetermined keyword corresponding with pre-set programs similarity whether More than default similarity;
According to default correspondence, the prefix of the prefix of current key word predetermined keyword corresponding with pre-set programs is determined Whether satisfaction presets prefix rule.
As shown in fig. 6, in one embodiment, whether connection is connected including remotely-controlled equipment with remote control equipment;
Above-mentioned control module shown in Fig. 4 403 includes:
Second control submodule 4034, be configured as connection for remotely-controlled equipment be connected with remote control equipment when, Pre-set programs is controlled to start according to the first predetermined manner according to current key word;
Third control submodule 4035 is configured as connection and is disconnected for remotely-controlled equipment with remote control equipment When, pre-set programs is controlled to be closed according to the second predetermined manner according to current key word.
In one embodiment, connection further includes:When remotely-controlled equipment is connected with remote control equipment, remotely-controlled equipment Connection mode between remote control equipment, wherein, connection mode includes at least one of following:Bluetooth connection, infrared connection, USB (Universal Serial Bus, universal serial bus) connects.
In one embodiment, current key word includes:The mark of remote control equipment, wherein, the mark of remote control equipment includes At least one of below:The title of remote control equipment, the MAC Address of remote control equipment, remote control equipment title prefix;
Pre-set programs include:Work(is preset in the default application in default application or remotely-controlled equipment on remotely-controlled equipment It can corresponding program.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
According to the third aspect of the embodiment of the present disclosure, a kind of program processing apparatus is additionally provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive broadcast message;
When it is equipment link information to determine the broadcast message, the current key in the equipment link information is obtained Word;Wherein:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
The pre-set programs is controlled to perform corresponding operating according to the current key word, with by the remote control equipment to institute The pre-set programs stated on remotely-controlled equipment are controlled.
Above-mentioned processor is also configured to:
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
Obtain the default correspondence between keyword and program;
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword matches;
When the current key word and the predetermined keyword match, controlled according to the current key word described pre- If program performs corresponding operating.
Above-mentioned processor is also configured to:
It is described according to the default correspondence, determine that whether corresponding with the pre-set programs current key word is pre- If keyword matches, including at least one of following:
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword is identical;
According to the default correspondence, current key word predetermined keyword corresponding with the pre-set programs is determined Similarity whether be more than default similarity;
According to the default correspondence, determine that the prefix of the current key word is corresponding with the pre-set programs default Whether the prefix of keyword meets default prefix rule.
Above-mentioned processor is also configured to:
Whether the connection is connected including the remotely-controlled equipment with the remote control equipment;
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
When the connection is connected for the remotely-controlled equipment with the remote control equipment, according to the current key Word controls the pre-set programs to start according to the first predetermined manner;
When the connection is disconnected for the remotely-controlled equipment with the remote control equipment, according to the current pass Keyword controls the pre-set programs to be closed according to the second predetermined manner.
Above-mentioned processor is also configured to:
The connection further includes:When the remotely-controlled equipment is connected with the remote control equipment, described be remotely-controlled sets The standby connection mode between the remote control equipment, wherein, the connection mode includes at least one of following:It is bluetooth connection, red Outer connection, USB connections.
Above-mentioned processor is also configured to:
The current key word includes:The mark of the remote control equipment, wherein, the mark of the remote control equipment is including following At least one of:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control equipment title prefix;
The pre-set programs include:It is default in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of preset function in.
Finally, the program processing apparatus in the present invention is suitable for terminal device.For example, it may be mobile phone, computer, Digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant Deng.
Fig. 7 is according to a kind of block diagram for program processing apparatus 1200 shown in an exemplary embodiment, which fits For terminal device.For example, device 1200 can be mobile phone, and computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, a number assistant etc..
With reference to Fig. 7, device 1200 can include with next or at least two components:Processing component 1202, memory 1204, power supply module 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor group Part 1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing component 1202 can be including one or at least two processors 1220 Execute instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 can include one or at least Two modules, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 can include multimedia Module, to facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data Example includes the instruction of any storage object or method for being operated on device 1200, contacts user data, telephone directory number According to, message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 1206 provides power supply for the various assemblies of device 1200.Power supply module 1206 can include power management System, one or at least two power supplys and other generate, manage and distribute power supply associated component with for device 1200.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel is touched including one or at least two Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments In, multimedia component 1208 includes a front camera and/or rear camera.When device 1200 is in operation mode, such as When screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Before each Putting camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or at least two sensors, for providing the shape of various aspects for device 1200 State is assessed.For example, sensor module 1214 can detect opening/closed state of device 1200, the relative positioning of component, example Such as the display and keypad that the component is device 1200, sensor module 1214 can be with detection device 1200 or device The position change of 1200 1 components, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/subtract The temperature change of speed and device 1200.Sensor module 1214 can include proximity sensor, be configured to not any Physical contact when detect the presence of nearby objects.Sensor module 1214 can also include optical sensor, as CMOS or CCD schemes As sensor, for being used in imaging applications.In some embodiments, which can also include acceleration Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by putting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can by one or at least two application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array It arranges (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by above device 1200 When processor performs so that above device 1200 is able to carry out a kind of program processing method, including:
Receive broadcast message;
When it is equipment link information to determine the broadcast message, the current key in the equipment link information is obtained Word;Wherein:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
The pre-set programs is controlled to perform corresponding operating according to the current key word, with by the remote control equipment to institute The pre-set programs stated on remotely-controlled equipment are controlled.
In one embodiment, it is described the pre-set programs to be controlled to perform corresponding operating, packet according to the current key word It includes:
Obtain the default correspondence between keyword and program;
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword matches;
When the current key word and the predetermined keyword match, controlled according to the current key word described pre- If program performs corresponding operating.
In one embodiment, it is described according to the default correspondence, determine the current key word whether with it is described The corresponding predetermined keyword of pre-set programs matches, including at least one of following:
According to the default correspondence, the current key word default pass whether corresponding with the pre-set programs is determined Keyword is identical;
According to the default correspondence, current key word predetermined keyword corresponding with the pre-set programs is determined Similarity whether be more than default similarity;
According to the default correspondence, determine that the prefix of the current key word is corresponding with the pre-set programs default Whether the prefix of keyword meets default prefix rule.
In one embodiment, whether the connection is connected including the remotely-controlled equipment with the remote control equipment It connects;
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
When the connection is connected for the remotely-controlled equipment with the remote control equipment, according to the current key Word controls the pre-set programs to start according to the first predetermined manner;
When the connection is disconnected for the remotely-controlled equipment with the remote control equipment, according to the current pass Keyword controls the pre-set programs to be closed according to the second predetermined manner.
In one embodiment, the connection further includes:The remotely-controlled equipment is connected with the remote control equipment When, the connection mode between the remotely-controlled equipment and the remote control equipment, wherein, the connection mode includes following at least one :Bluetooth connection, infrared connection, USB connections.
In one embodiment, the current key word includes:The mark of the remote control equipment, wherein, the remote control is set Standby mark includes at least one of following:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control are set The prefix of standby title;
The pre-set programs include:It is default in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of preset function in.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The shape of computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be 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 generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of program processing method, the pre-set programs on remotely-controlled equipment, which is characterized in that including:
Receive broadcast message;
When it is equipment link information to determine the broadcast message, the current key word in the equipment link information is obtained;Its In:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
The pre-set programs is controlled to perform corresponding operating according to the current key word, with by the remote control equipment to the quilt The pre-set programs on remote control equipment are controlled.
2. according to the method described in claim 1, it is characterized in that,
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
Obtain the default correspondence between keyword and program;
According to the default correspondence, current key word predetermined keyword whether corresponding with the pre-set programs is determined Match;
When the current key word and the predetermined keyword match, the default journey is controlled according to the current key word Sequence performs corresponding operating.
3. according to the method described in claim 2, it is characterized in that,
It is described according to the default correspondence, determine the current key word default pass whether corresponding with the pre-set programs Keyword matches, including at least one of following:
According to the default correspondence, current key word predetermined keyword whether corresponding with the pre-set programs is determined It is identical;
According to the default correspondence, the phase of current key word predetermined keyword corresponding with the pre-set programs is determined Whether it is more than default similarity like degree;
According to the default correspondence, the prefix default key corresponding with the pre-set programs of the current key word is determined Whether the prefix of word meets default prefix rule.
4. according to the method described in claim 1, it is characterized in that,
Whether the connection is connected including the remotely-controlled equipment with the remote control equipment;
It is described the pre-set programs to be controlled to perform corresponding operating according to the current key word, including:
When the connection is connected for the remotely-controlled equipment with the remote control equipment, according to the current key word control The pre-set programs are made according to the first predetermined manner to start;
When the connection is disconnected for the remotely-controlled equipment with the remote control equipment, according to the current key word The pre-set programs is controlled to be closed according to the second predetermined manner.
5. according to the method described in claim 4, it is characterized in that,
The connection further includes:When the remotely-controlled equipment is connected with the remote control equipment, the remotely-controlled equipment with Connection mode between the remote control equipment, wherein, the connection mode includes at least one of following:Bluetooth connection, infrared company It connects, USB connections.
6. the method according to any one of claims 1 to 5, it is characterized in that,
The current key word includes:The mark of the remote control equipment, wherein, the mark of the remote control equipment include it is following at least One:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control equipment title prefix;
The pre-set programs include:The default application in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of middle preset function.
7. a kind of program processing apparatus, the pre-set programs on remotely-controlled equipment, which is characterized in that including:
Receiving module, for receiving broadcast message;
Acquisition module, for when it is equipment link information to determine the broadcast message, obtaining in the equipment link information Current key word;Wherein:The equipment link information is used to indicate the connection of the remotely-controlled equipment and remote control equipment;
Control module, for the pre-set programs being controlled to perform corresponding operating according to the current key word, with by described distant Control equipment controls the pre-set programs on the remotely-controlled equipment.
8. device according to claim 7, which is characterized in that
The control module includes:
Acquisition submodule, for obtaining the default correspondence between keyword and program;
Determination sub-module, for according to the default correspondence, determine the current key word whether with the pre-set programs Corresponding predetermined keyword matches;
First control submodule, for when the current key word and the predetermined keyword match, according to described current Keyword controls the pre-set programs to perform corresponding operating.
9. device according to claim 8, which is characterized in that
The determination sub-module is used to perform at least one step:
According to the default correspondence, current key word predetermined keyword whether corresponding with the pre-set programs is determined It is identical;
According to the default correspondence, the phase of current key word predetermined keyword corresponding with the pre-set programs is determined Whether it is more than default similarity like degree;
According to the default correspondence, the prefix default key corresponding with the pre-set programs of the current key word is determined Whether the prefix of word meets default prefix rule.
10. device according to claim 7, which is characterized in that
Whether the connection is connected including the remotely-controlled equipment with the remote control equipment;
The control module includes:
Second control submodule, for when the connection for the remotely-controlled equipment be connected with the remote control equipment when, The pre-set programs is controlled to start according to the first predetermined manner according to the current key word;
Third control submodule disconnects for working as the connection for the remotely-controlled equipment with the remote control equipment When, the pre-set programs is controlled to be closed according to the second predetermined manner according to the current key word.
11. device according to claim 10, which is characterized in that
The connection further includes:When the remotely-controlled equipment is connected with the remote control equipment, the remotely-controlled equipment with Connection mode between the remote control equipment, wherein, the connection mode includes at least one of following:Bluetooth connection, infrared company It connects, USB connections.
12. the device according to any one of claim 7 to 11, which is characterized in that
The current key word includes:The mark of the remote control equipment, wherein, the mark of the remote control equipment include it is following at least One:The title of the remote control equipment, the MAC Address of the remote control equipment, the remote control equipment title prefix;
The pre-set programs include:The default application in default application or the remotely-controlled equipment on the remotely-controlled equipment The corresponding program of middle preset function.
CN201810008446.7A 2018-01-04 2018-01-04 A kind of program processing method and device Pending CN108182794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810008446.7A CN108182794A (en) 2018-01-04 2018-01-04 A kind of program processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810008446.7A CN108182794A (en) 2018-01-04 2018-01-04 A kind of program processing method and device

Publications (1)

Publication Number Publication Date
CN108182794A true CN108182794A (en) 2018-06-19

Family

ID=62549858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810008446.7A Pending CN108182794A (en) 2018-01-04 2018-01-04 A kind of program processing method and device

Country Status (1)

Country Link
CN (1) CN108182794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620844A (en) * 2019-09-09 2019-12-27 百度在线网络技术(北京)有限公司 Program starting method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000201168A (en) * 1999-01-08 2000-07-18 Nec Ic Microcomput Syst Ltd Remote program execution device and method by means of electronic mail
CN105091236A (en) * 2015-08-18 2015-11-25 耿懿超 Air conditioner control method based on voice recognition and control system thereof
CN105871968A (en) * 2015-10-08 2016-08-17 乐视致新电子科技(天津)有限公司 Device search method, device and system
CN106098063A (en) * 2016-07-01 2016-11-09 海信集团有限公司 A kind of sound control method, terminal unit and server
CN107273221A (en) * 2017-05-11 2017-10-20 努比亚技术有限公司 Application activating method, terminal and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000201168A (en) * 1999-01-08 2000-07-18 Nec Ic Microcomput Syst Ltd Remote program execution device and method by means of electronic mail
CN105091236A (en) * 2015-08-18 2015-11-25 耿懿超 Air conditioner control method based on voice recognition and control system thereof
CN105871968A (en) * 2015-10-08 2016-08-17 乐视致新电子科技(天津)有限公司 Device search method, device and system
CN106098063A (en) * 2016-07-01 2016-11-09 海信集团有限公司 A kind of sound control method, terminal unit and server
CN107273221A (en) * 2017-05-11 2017-10-20 努比亚技术有限公司 Application activating method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620844A (en) * 2019-09-09 2019-12-27 百度在线网络技术(北京)有限公司 Program starting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3119039B1 (en) Method and apparatus for controlling an intelligent device
CN104407592A (en) Method and device for regulating running state of smart home device
CN105182784A (en) Method and device of controlling intelligent devices and terminal
CN104932455A (en) Intelligent device grouping method and device of intelligent household system
CN105512545B (en) Access rights management method and device
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
CN104219388A (en) Voice control method and device
CN104898505A (en) Smart scene configuration method and device
CN104281432A (en) Method and device for regulating sound effect
CN105528151A (en) Brightness adjusting method and apparatus
CN104837154A (en) Wireless access point control method and device
CN105246135A (en) Wireless network accessing method and device, and mobile terminal
CN106095073A (en) The sending method of control instruction and device
CN104618783A (en) Remote control method and device
CN104978200A (en) Application program display method and device
CN105242942A (en) Application control method and apparatus
CN105207994A (en) Account number binding method and device
CN105653165A (en) Method and device for regulating character display
CN107330391A (en) Product information reminding method and device
CN107783715A (en) Using startup method and device
CN106535191A (en) Network connection establishing method and device
CN105511307A (en) Control method and apparatus of electronic device
CN104375760B (en) Method for information display and device
CN106775377A (en) The control method of gesture identifying device, equipment and gesture identifying device
CN107272427A (en) The control method and device of smart machine

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

Application publication date: 20180619

RJ01 Rejection of invention patent application after publication