CN113596538A - Equipment control method and device, electronic equipment and storage medium - Google Patents
Equipment control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113596538A CN113596538A CN202110739143.4A CN202110739143A CN113596538A CN 113596538 A CN113596538 A CN 113596538A CN 202110739143 A CN202110739143 A CN 202110739143A CN 113596538 A CN113596538 A CN 113596538A
- Authority
- CN
- China
- Prior art keywords
- equipment
- information
- access
- target server
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004891 communication Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 13
- 239000003795 chemical substances by application Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
Abstract
The application provides a device control method and device, electronic equipment and a storage medium, and belongs to the technical field of device control. The method comprises the steps that interface information of a target server is obtained, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment; and sending the interface information to second equipment so that the second equipment accesses the target server through the interface information and controls an application program on the first equipment through the target server when accessing the first equipment. According to the scheme, the application program on the first equipment can be controlled through the embedded server only by exposing the port of the embedded server on the first equipment, and the port does not need to be exposed by each application program on the first equipment, so that the port resource is saved.
Description
Technical Field
The present application relates to the field of device control technologies, and in particular, to a device control method and apparatus, an electronic device, and a storage medium.
Background
Along with the development of smart homes, smart televisions are more and more popular, and in order to facilitate the use of users, many smart televisions support remote control. At present, when an application program on the smart television is remotely controlled, a control terminal accesses the application program through a port of the application program, and then controls the application program. However, when the smart television is controlled in this way, each application program of the smart television needs to expose its port, which wastes port resources.
Disclosure of Invention
An object of the embodiments of the present application is to provide a device control method, an apparatus, an electronic device, and a storage medium, so as to solve the problem that when an existing method is used to control an intelligent television, each application of the intelligent television needs to expose its port, which wastes port resources. The specific technical scheme is as follows:
in a first aspect, a device control method is provided, the method including:
acquiring interface information of a target server, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment;
and sending the interface information to second equipment so that the second equipment accesses the target server through the interface information and controls an application program on the first equipment through the target server when accessing the first equipment.
In one possible embodiment, the method further comprises:
acquiring equipment information sent by first equipment;
generating access information corresponding to the first device based on the device information;
and sending the access information to the second equipment so that the second equipment can access the first equipment through the access information.
In one possible embodiment, the method further comprises:
acquiring flow data corresponding to at least two agent nodes and at least two agent nodes, wherein the agent nodes are used for processing access information;
determining an agent node with the flow data smaller than a preset threshold value as a target node;
and distributing the access information to the target node for processing.
In one possible embodiment, the method further comprises:
receiving an access request of the second device, wherein the access request carries the access information;
and when the access request meets a preset access condition, determining a target node corresponding to the access information so that the second device accesses the first device through the target node.
In one possible embodiment, the method further comprises:
receiving media information sent by the second equipment;
generating a control link based on the media information;
sending the control link to the first device to cause the first device to process the media information based on the control link.
In one possible embodiment, the method further comprises:
acquiring image information of an object acquired by the first equipment;
determining corresponding control information and a target application program corresponding to the control information based on the image information;
and sending the control information to the target server so that the target server controls the target application program according to the control information.
In a second aspect, there is provided an apparatus for controlling a device, the apparatus comprising:
the system comprises a first acquisition module, a first processing module and a second processing module, wherein the first acquisition module is used for acquiring interface information of a target server, the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment;
and the first sending module is used for sending the interface information to second equipment so as to enable the second equipment to access the target server through the interface information when accessing the first equipment and control an application program on the first equipment through the target server.
In one possible embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the equipment information sent by the first equipment;
a first generation module, configured to generate access information corresponding to the first device based on the device information;
and the second sending module is used for sending the access information to the second equipment so that the second equipment can access the first equipment through the access information.
In one possible embodiment, the method further comprises:
a third obtaining module, configured to obtain at least two proxy nodes and flow data corresponding to the at least two proxy nodes, where the proxy nodes are configured to process access information;
the first determining module is used for determining the agent node with the flow data smaller than the preset threshold value as a target node;
and the distribution module is used for distributing the access information to the target node for processing.
In one possible embodiment, the apparatus further comprises:
a first receiving module, configured to receive an access request of the second device, where the access request carries the access information;
and the second determining module is used for determining a target node corresponding to the access information when the access request meets a preset access condition, so that the second device accesses the first device through the target node.
In one possible embodiment, the apparatus further comprises:
the second receiving module is used for receiving the media information sent by the second equipment;
a second generation module for generating a control link based on the media information;
a third sending module, configured to send the control link to the first device, so that the first device processes the media information based on the control link.
In one possible embodiment, the apparatus further comprises:
the fourth acquisition module is used for acquiring the image information of the object acquired by the first equipment;
the searching module is used for determining corresponding control information and a target application program corresponding to the control information based on the image information;
and the fourth sending module is used for sending the control information to the target server so that the target server controls the target application program according to the control information.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the method steps of any of the first aspects.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above described method of controlling a device.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides a device control method, a device, an electronic device and a storage medium, and the method comprises the steps of firstly, acquiring interface information of a target server, wherein the target server is an embedded server which is embedded into first equipment in advance, and is used for controlling an application program on the first equipment; and then, sending the interface information to the second equipment. When the second device accesses the first device, the target server can be accessed through the interface information, and the application program on the first device is controlled through the target server. According to the scheme, the application program on the first equipment can be controlled through the embedded server only by exposing the port of the embedded server on the first equipment, and the port does not need to be exposed by each application program on the first equipment, so that the port resource is saved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an apparatus control method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a second apparatus provided in an embodiment of the present application;
fig. 3 is a flowchart of an apparatus control method according to another embodiment of the present application;
fig. 4 is a signaling diagram of a device control method according to an embodiment of the present application;
fig. 5 is a signaling diagram of a device control method according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, when an application program on the smart television is remotely controlled, the control end accesses the application program through a port of the application program, and then the application program is controlled. However, when the smart television is controlled in this way, each application program of the smart television needs to expose its port, which wastes port resources. Therefore, the embodiment of the application provides an equipment control method which can be applied to a server.
The following will describe an apparatus control method provided in an embodiment of the present application in detail with reference to specific embodiments, as shown in fig. 1, the specific steps are as follows:
s101, acquiring interface information of a target server, wherein the target server is an embedded server pre-embedded in first equipment and is used for controlling an application program on the first equipment.
In this embodiment of the application, the first device is a controlled end of a remote control, for example, a smart television. The target server is an embedded server (such as an embedded web server) pre-embedded in the first device, and the target server is used for controlling the application program on the first device. In order to enable the target server to control the application program on the first device, the application program on the first device may be developed in advance based on the specification of the target server, and each application program needs to report its own package name, class name and parameters of the opened capability, call type (e.g., activity, broadcast), and register its own capability on the target server. The interface information refers to a port address of the target server.
S102, sending the interface information to a second device, so that when the second device accesses the first device, the target server is accessed through the interface information, and the application program on the first device is controlled through the target server.
In this embodiment, the second device is a control end of a remote control, such as a smart phone. After the interface information is sent to the second device, when the second device accesses the first device, the target server can be accessed through the interface information, and then the application program on the first device is controlled through the target server.
As shown in fig. 2, a web server APP (target server) is embedded in a television, APP1-8 is an application program developed based on the specification of the web server APP on the television, each APP needs to report its own package name, class name and parameter of open capability, and call type (e.g., activity, broadcast), so as to register its own capability on the web server APP, so that a control end can access the web server APP through interface information of the web server APP, and further control APP1-8 on the television through the web server APP.
In the embodiment of the application, first, interface information of a target server is obtained, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment; and then, sending the interface information to the second equipment. When the second device accesses the first device, the target server can be accessed through the interface information, and the application program on the first device is controlled through the target server. According to the scheme, the application program on the first equipment can be controlled through the embedded server only by exposing the port of the embedded server on the first equipment, and the port does not need to be exposed by each application program on the first equipment, so that the port resource is saved.
In another embodiment of the present application, as shown in fig. 3, the method may further include the steps of:
s201, acquiring the device information sent by the first device.
In the embodiment of the present application, the device information may include, but is not limited to, a device ID. The first device sends its device information to the server before establishing the remote control connection.
S202, generating access information corresponding to the first device based on the device information.
In the embodiment of the present application, the access information refers to a remote access connection address of the first device, where authentication information (such as token and other information for authentication) of the first device may be included, for example, http:// www.example.com/6c1b8443d42311ebb7b3525400961d23, where 6c1b8443d42311ebb7b3525400961d23 is the only token for accessing the first device. After receiving the device information, the server may generate access information corresponding to the first device based on the device information.
S203, sending the access information to the second device, so that the second device accesses the first device through the access information.
In the embodiment of the application, after the access information is generated, the access information is sent to the second device, and after the second device receives the access information, the first device can be accessed through the access information.
In the embodiment of the application, the device information of the first device is acquired, the access information is generated based on the device information, and then the access information is sent to the second device, so that the second device can access the first device through the access information, and the access process is simple and efficient.
In yet another embodiment of the present application, the method may further comprise the steps of:
acquiring at least two agent nodes and flow data corresponding to the at least two agent nodes, wherein the agent nodes are used for processing access information;
step two, determining the agent node with the flow data smaller than the preset threshold value as a target node;
and step three, distributing the access information to the target node for processing.
In this embodiment of the present application, the proxy node may be an frp server node, and the traffic data refers to a traffic condition handled by the proxy node. Determining an agent node with the flow data smaller than a preset threshold value as a target node; the access information is distributed to the target node for processing. When the traffic processed by the plurality of proxy nodes is smaller than the preset threshold, the proxy node with the smallest processed traffic can be selected as the target node from the plurality of proxy nodes.
As shown in fig. 4, a Frp (fast reverse proxy) client (Frp client) is configured in the first device ("device" in the figure) in advance. When the Frp client is started, the Frp client may send device information of the first device to the server. After a server (in the figure, "agent") receives the equipment information and generates access information according to the equipment information, an agent node (frp server node) meeting preset conditions is distributed to the access information.
By the scheme, the agent node with the flow data smaller than the preset threshold value can be determined as the target node, and the access information is distributed to the target node for processing. The access information is prevented from being distributed to the proxy node which is already processing a lot of traffic, thereby improving the processing efficiency of the access information.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, receiving an access request of the second device, wherein the access request carries the access information;
and step two, when the access request meets the preset access condition, determining a target node corresponding to the access information so that the second device accesses the first device through the target node.
In the embodiment of the application, the access request is used for requesting access to the first device, and carries access information, when the access request of the second device is received, whether the access request is legal or not needs to be judged through authentication information in the access information, and when the authentication information is correct, the access request is determined to be legal, that is, the access request meets the preset access condition. And determining a target node corresponding to the access information so that the second device accesses the first device through the target node.
As shown in fig. 5, a control interface of the second device (the "user" in the figure) is opened, the access request is sent to the server (the "proxy" in the figure), after receiving the access request, the server allocates the access request to a target node corresponding to the access information in the access request, the target node processes the access request, so that the second device (the "user" in the figure) accesses the first device (the "device" in the figure), and after the first device (the "device" in the figure) executes a corresponding operation according to an instruction of the second device (the "user" in the figure), the execution result is returned to the second device (the "user" in the figure).
In the embodiment of the application, the second device can determine the corresponding target node through the access information, and then access the first device through the target node, so that the access process is simple and efficient, and the access to the first device by using the proxy node which is already processing a lot of flows can be avoided, thereby improving the access efficiency.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, receiving media information sent by the second equipment.
And step two, generating a control link based on the media information.
And step three, the control link is sent to the first equipment, so that the first equipment processes the media information based on the control link.
In the embodiment of the present application, the media information refers to media content stored or collected by the second device, such as content such as pictures or videos. After receiving the media information sent by the second device, the media information may be stored in the server, and a control link may be generated based on the media information and sent to the first device. After receiving the control link, the first device may process the media information through the control link, for example, when the media information is a video, the video may be played.
In this embodiment of the application, a control link may be generated based on the media information sent by the second device, and the control link is sent to the first device, so that the first device processes the media information based on the control link. Therefore, the first device is not required to store the media information, and the storage resource of the first device is occupied.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, acquiring image information of an object acquired by the first equipment.
And secondly, determining corresponding control information and a target application program corresponding to the control information based on the image information.
And step three, the control information is sent to the target server, so that the target server controls the target application program according to the control information.
In this embodiment, the object may refer to a user in an area where the first device is located, and the image information refers to an image of the object acquired by the first device. The control information refers to control instructions for the target application. When the image information of the object acquired by the first device is acquired, the control information corresponding to the image information and the target application program corresponding to the control information can be determined according to the user in the image information, and the control information is sent to the target server, so that the target server controls the target application program according to the control information.
For example, when the user in the image information is an old person, the target application program is a news playing application, and the control information is used for controlling the news playing application to play news; or when the user in the image information is child, the target application program is an animation film playing application, and the control information is used for controlling the animation film playing application to play the animation film.
By the scheme, the corresponding control information and the target application program can be determined according to the image information of the object acquired by the first device, and the control information is sent to the target server, so that the target server controls the target application program according to the control information corresponding to the image information of the object acquired by the first device. Therefore, the application program on the first equipment can be automatically controlled according to the object, manual control is not needed, and the control process is simplified.
In the embodiment of the application, first, interface information of a target server is obtained, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment; and then, sending the interface information to the second equipment. When the second device accesses the first device, the target server can be accessed through the interface information, and the application program on the first device is controlled through the target server. According to the scheme, the application program on the first equipment can be controlled through the embedded server only by exposing the port of the embedded server on the first equipment, and the port does not need to be exposed by each application program on the first equipment, so that the port resource is saved.
Based on the same technical concept, an embodiment of the present application further provides an apparatus control device, as shown in fig. 6, the apparatus includes:
a first obtaining module 301, configured to obtain interface information of a target server, where the target server is an embedded server that is embedded in a first device in advance, and the target server is used to control an application program on the first device;
a first sending module 302, configured to send the interface information to a second device, so that when the second device accesses the first device, the target server is accessed through the interface information, and an application program on the first device is controlled through the target server.
In one possible embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the equipment information sent by the first equipment;
a first generation module, configured to generate access information corresponding to the first device based on the device information;
and the second sending module is used for sending the access information to the second equipment so that the second equipment can access the first equipment through the access information.
In one possible embodiment, the method further comprises:
a third obtaining module, configured to obtain at least two proxy nodes and flow data corresponding to the at least two proxy nodes, where the proxy nodes are configured to process access information;
the first determining module is used for determining the agent node with the flow data smaller than the preset threshold value as a target node;
and the distribution module is used for distributing the access information to the target node for processing.
In one possible embodiment, the apparatus further comprises:
a first receiving module, configured to receive an access request of the second device, where the access request carries the access information;
and the second determining module is used for determining a target node corresponding to the access information when the access request meets a preset access condition, so that the second device accesses the first device through the target node.
In one possible embodiment, the apparatus further comprises:
the second receiving module is used for receiving the media information sent by the second equipment;
a second generation module for generating a control link based on the media information;
a third sending module, configured to send the control link to the first device, so that the first device processes the media information based on the control link.
In one possible embodiment, the apparatus further comprises:
the fourth acquisition module is used for acquiring the image information of the object acquired by the first equipment;
the searching module is used for determining corresponding control information and a target application program corresponding to the control information based on the image information;
and the fourth sending module is used for sending the control information to the target server so that the target server controls the target application program according to the control information.
In the embodiment of the application, first, interface information of a target server is obtained, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment; and then, sending the interface information to the second equipment. When the second device accesses the first device, the target server can be accessed through the interface information, and the application program on the first device is controlled through the target server. According to the scheme, the application program on the first equipment can be controlled through the embedded server only by exposing the port of the embedded server on the first equipment, and the port does not need to be exposed by each application program on the first equipment, so that the port resource is saved.
Based on the same technical concept, the embodiment of the present application further provides an electronic device, as shown in fig. 7, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114,
a memory 113 for storing a computer program;
the processor 111, when executing the program stored in the memory 113, implements the following steps:
acquiring interface information of a target server, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment;
and sending the interface information to second equipment so that the second equipment accesses the target server through the interface information and controls an application program on the first equipment through the target server when accessing the first equipment.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program realizes the steps of any one of the above-mentioned device control methods when executed by a processor.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described method of controlling a device.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An apparatus control method, characterized in that the method comprises:
acquiring interface information of a target server, wherein the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment;
and sending the interface information to second equipment so that the second equipment accesses the target server through the interface information and controls an application program on the first equipment through the target server when accessing the first equipment.
2. The method of claim 1, further comprising:
acquiring equipment information sent by first equipment;
generating access information corresponding to the first device based on the device information;
and sending the access information to the second equipment so that the second equipment can access the first equipment through the access information.
3. The method of claim 2, further comprising:
acquiring flow data corresponding to at least two agent nodes and at least two agent nodes, wherein the agent nodes are used for processing access information;
determining an agent node with the flow data smaller than a preset threshold value as a target node;
and distributing the access information to the target node for processing.
4. The method of claim 3, further comprising:
receiving an access request of the second device, wherein the access request carries the access information;
and when the access request meets a preset access condition, determining a target node corresponding to the access information so that the second device accesses the first device through the target node.
5. The method of claim 1, further comprising:
receiving media information sent by the second equipment;
generating a control link based on the media information;
sending the control link to the first device to cause the first device to process the media information based on the control link.
6. The method of claim 1, further comprising:
acquiring image information of an object acquired by the first equipment;
determining corresponding control information and a target application program corresponding to the control information based on the image information;
and sending the control information to the target server so that the target server controls the target application program according to the control information.
7. An apparatus control device, characterized in that the device comprises:
the system comprises a first acquisition module, a first processing module and a second processing module, wherein the first acquisition module is used for acquiring interface information of a target server, the target server is an embedded server which is embedded into first equipment in advance, and the target server is used for controlling an application program on the first equipment;
and the first sending module is used for sending the interface information to second equipment so as to enable the second equipment to access the target server through the interface information when accessing the first equipment and control an application program on the first equipment through the target server.
8. The apparatus of claim 7, further comprising:
the second acquisition module is used for acquiring the equipment information sent by the first equipment;
a first generation module, configured to generate access information corresponding to the first device based on the device information;
and the second sending module is used for sending the access information to the second equipment so that the second equipment can access the first equipment through the access information.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739143.4A CN113596538A (en) | 2021-06-30 | 2021-06-30 | Equipment control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739143.4A CN113596538A (en) | 2021-06-30 | 2021-06-30 | Equipment control method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113596538A true CN113596538A (en) | 2021-11-02 |
Family
ID=78245345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110739143.4A Pending CN113596538A (en) | 2021-06-30 | 2021-06-30 | Equipment control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113596538A (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101729553A (en) * | 2009-11-19 | 2010-06-09 | 中兴通讯股份有限公司 | Method for realizing terminal remote control, terminal server, control terminal and controlled terminal |
CN102118641A (en) * | 2010-12-30 | 2011-07-06 | 广州市聚晖电子科技有限公司 | High-definition video system and method supporting remote mobile reservation based on set-top box |
CN102572529A (en) * | 2010-12-13 | 2012-07-11 | 中国移动通信集团广东有限公司 | Method, device and system for playing program resources |
CN102970610A (en) * | 2012-11-26 | 2013-03-13 | 东莞宇龙通信科技有限公司 | Intelligent displaying method and electronic equipment |
CN103092636A (en) * | 2011-11-02 | 2013-05-08 | 康佳集团股份有限公司 | Method and system for remotely managing application programs of smart televisions |
CN103108244A (en) * | 2013-01-31 | 2013-05-15 | 冠捷显示科技(厦门)有限公司 | Method for virtualizing television system |
EP2663052A1 (en) * | 2012-05-09 | 2013-11-13 | Netflix, Inc. | API Platform That Includes Server-Executed Client-Based Code |
WO2014067256A1 (en) * | 2012-11-02 | 2014-05-08 | 华为技术有限公司 | Remote control method, intelligent terminal and intelligent remote control system |
CN104243337A (en) * | 2013-06-09 | 2014-12-24 | 杭州华三通信技术有限公司 | Method and device for cross-cluster load balancing |
CN104270662A (en) * | 2014-10-27 | 2015-01-07 | 冠捷显示科技(厦门)有限公司 | System of terminal equipment for controlling intelligent television through browser |
CN104580012A (en) * | 2013-10-14 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | Method and device for selecting content delivery network nodes |
CN105282625A (en) * | 2014-05-27 | 2016-01-27 | Tcl集团股份有限公司 | Television interaction method and television interaction system |
CN105516744A (en) * | 2015-12-25 | 2016-04-20 | Tcl集团股份有限公司 | Smart TV accessing method and smart TV accessing system |
US20170118520A1 (en) * | 2015-10-23 | 2017-04-27 | Ovomedia Creative Inc. | Personalized Smart TV Management System and Method for Pushing information to Television Device |
CN109039943A (en) * | 2018-09-14 | 2018-12-18 | 迈普通信技术股份有限公司 | Flow allocating method, apparatus, network system and SDN controller |
CN110024369A (en) * | 2016-11-30 | 2019-07-16 | 华为技术有限公司 | A kind of photographic method, device and terminal device |
CN110046486A (en) * | 2019-04-10 | 2019-07-23 | 芋头科技(杭州)有限公司 | Intelligent interaction device management-control method, system and controller and medium |
CN111654722A (en) * | 2020-05-12 | 2020-09-11 | 中铁大桥科学研究院有限公司 | Method and device for playing bridge field video on demand based on H5 |
CN112702647A (en) * | 2020-12-24 | 2021-04-23 | 深圳市酷开网络科技股份有限公司 | Play control method, smart television and computer readable storage medium |
-
2021
- 2021-06-30 CN CN202110739143.4A patent/CN113596538A/en active Pending
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101729553A (en) * | 2009-11-19 | 2010-06-09 | 中兴通讯股份有限公司 | Method for realizing terminal remote control, terminal server, control terminal and controlled terminal |
CN102572529A (en) * | 2010-12-13 | 2012-07-11 | 中国移动通信集团广东有限公司 | Method, device and system for playing program resources |
CN102118641A (en) * | 2010-12-30 | 2011-07-06 | 广州市聚晖电子科技有限公司 | High-definition video system and method supporting remote mobile reservation based on set-top box |
CN103092636A (en) * | 2011-11-02 | 2013-05-08 | 康佳集团股份有限公司 | Method and system for remotely managing application programs of smart televisions |
EP2663052A1 (en) * | 2012-05-09 | 2013-11-13 | Netflix, Inc. | API Platform That Includes Server-Executed Client-Based Code |
WO2014067256A1 (en) * | 2012-11-02 | 2014-05-08 | 华为技术有限公司 | Remote control method, intelligent terminal and intelligent remote control system |
CN102970610A (en) * | 2012-11-26 | 2013-03-13 | 东莞宇龙通信科技有限公司 | Intelligent displaying method and electronic equipment |
CN103108244A (en) * | 2013-01-31 | 2013-05-15 | 冠捷显示科技(厦门)有限公司 | Method for virtualizing television system |
CN104243337A (en) * | 2013-06-09 | 2014-12-24 | 杭州华三通信技术有限公司 | Method and device for cross-cluster load balancing |
CN104580012A (en) * | 2013-10-14 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | Method and device for selecting content delivery network nodes |
CN105282625A (en) * | 2014-05-27 | 2016-01-27 | Tcl集团股份有限公司 | Television interaction method and television interaction system |
CN104270662A (en) * | 2014-10-27 | 2015-01-07 | 冠捷显示科技(厦门)有限公司 | System of terminal equipment for controlling intelligent television through browser |
US20170118520A1 (en) * | 2015-10-23 | 2017-04-27 | Ovomedia Creative Inc. | Personalized Smart TV Management System and Method for Pushing information to Television Device |
CN105516744A (en) * | 2015-12-25 | 2016-04-20 | Tcl集团股份有限公司 | Smart TV accessing method and smart TV accessing system |
CN110024369A (en) * | 2016-11-30 | 2019-07-16 | 华为技术有限公司 | A kind of photographic method, device and terminal device |
CN109039943A (en) * | 2018-09-14 | 2018-12-18 | 迈普通信技术股份有限公司 | Flow allocating method, apparatus, network system and SDN controller |
CN110046486A (en) * | 2019-04-10 | 2019-07-23 | 芋头科技(杭州)有限公司 | Intelligent interaction device management-control method, system and controller and medium |
CN111654722A (en) * | 2020-05-12 | 2020-09-11 | 中铁大桥科学研究院有限公司 | Method and device for playing bridge field video on demand based on H5 |
CN112702647A (en) * | 2020-12-24 | 2021-04-23 | 深圳市酷开网络科技股份有限公司 | Play control method, smart television and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566786B (en) | Method and device for acquiring monitoring video and terminal equipment | |
US10448082B2 (en) | Information exchanging method and device, audio terminal and computer-readable storage medium | |
CN112087644B (en) | Pull stream request processing method, device and system, electronic equipment and storage medium | |
CN109391673B (en) | Method, system and terminal equipment for managing update file | |
CN110022259B (en) | Message arrival rate determining method and device, data statistics server and storage medium | |
CN110620828A (en) | File pushing method, system, device, electronic equipment and medium | |
CN110716734A (en) | Software upgrading method and device, electronic equipment and medium | |
CN113709530A (en) | Resource downloading method, system, electronic equipment and storage medium | |
CN113821307B (en) | Method, device and equipment for quickly importing virtual machine images | |
CN110099292B (en) | Data center node determination method and device and electronic equipment | |
CN109446445B (en) | Resource acquisition method and device | |
CN111107118B (en) | Picture access acceleration method, device, equipment, system and storage medium | |
CN112653736B (en) | Parallel source returning method and device and electronic equipment | |
CN109032693B (en) | Method and device for loading display information, electronic equipment and readable storage medium | |
CN112866062B (en) | Distributed pressure test system, method, device, equipment and storage medium | |
CN108132836B (en) | Task distribution method and device and electronic equipment | |
CN109995863B (en) | Dynamic resource downloading method and device, electronic equipment and storage medium | |
CN113835789A (en) | Rendering method, rendering device, electronic equipment and computer storage medium | |
CN113596538A (en) | Equipment control method and device, electronic equipment and storage medium | |
CN110020290B (en) | Webpage resource caching method and device, storage medium and electronic device | |
CN114327710B (en) | Function management method, management device, terminal equipment and readable storage medium | |
CN111400327B (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN109309717B (en) | Data transmission method and device, electronic equipment and storage medium | |
CN114866247A (en) | Communication method, device, system, terminal and server | |
CN112860432A (en) | Process management method, device and server |
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 |