CN114650436B - Remote control method, device, equipment and medium based on background service - Google Patents

Remote control method, device, equipment and medium based on background service Download PDF

Info

Publication number
CN114650436B
CN114650436B CN202210255609.8A CN202210255609A CN114650436B CN 114650436 B CN114650436 B CN 114650436B CN 202210255609 A CN202210255609 A CN 202210255609A CN 114650436 B CN114650436 B CN 114650436B
Authority
CN
China
Prior art keywords
data
program
remote control
video content
background service
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.)
Active
Application number
CN202210255609.8A
Other languages
Chinese (zh)
Other versions
CN114650436A (en
Inventor
杨慧慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202210255609.8A priority Critical patent/CN114650436B/en
Publication of CN114650436A publication Critical patent/CN114650436A/en
Application granted granted Critical
Publication of CN114650436B publication Critical patent/CN114650436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving management of server-side video buffer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing

Abstract

The invention relates to the technical field of development assistance, and discloses a remote control method based on background service, which comprises the following steps: constructing a system form by the instruction translation data, the user view data and the system adaptation data; program schedule data are acquired by using a pre-built background service and written into a pre-built database; crawling the video content of the program and storing the video content into a database to obtain a local memory; sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, and calling a system form according to the access response; receiving a remote control instruction sent by a user, matching a local memory, and selecting program video content; and rendering the program video content by using the user view data and sending the program video content to the controlled intelligent display device. The invention also provides a remote control device, equipment and storage medium based on the background service. The present invention also relates to blockchain techniques, which system forms may be stored in blockchain nodes. The invention can improve the simplicity of the operation logic of the intelligent display device.

Description

Remote control method, device, equipment and medium based on background service
Technical Field
The present invention relates to the field of development assistance technologies, and in particular, to a remote control method, device, electronic apparatus, and computer readable storage medium based on a background service.
Background
With continuous iteration of science and technology, intelligent display devices are gradually popularized, and corresponding control modes are more complex. Mapping complex functions to remote controls with limited numbers of keys generally changes the conventional remote control development logic.
The current common remote control mode of the intelligent display device is mainly developed based on an android system, and usually only comprises a direction key, volume increment and decrement, determination, rollback, homepage and standby. The operator needs to understand the complex menu logic before using, and the learning cost is high. Some users cannot control the direction keys due to inconvenient fingers or cannot clearly confirm the currently selected object due to vision impairment, and the common interaction mode is difficult to grasp for the old due to voice recognition failure and other problems caused by difficult pronunciation, so that a method for simplifying the operation logic of the intelligent display device is needed.
Disclosure of Invention
The invention provides a remote control method, a remote control device, an electronic device and a computer readable storage medium based on background service, and the main purpose of the remote control method, the remote control device, the electronic device and the computer readable storage medium is to improve the simplicity of operation logic of intelligent display equipment.
In order to achieve the above object, the present invention provides a remote control method based on a background service, including:
Acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
acquiring program schedule data by using a pre-built background service, and writing the program schedule data into a pre-built database;
sending an access request to a server through the background service, crawling the video content of the program, and storing the video content of the program to the database to obtain a local memory;
sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program scheduling data, and selecting the corresponding program video content;
and rendering the program video content by using the user view data, and transmitting the rendered program video content to the controlled intelligent display device.
Optionally, writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form, including:
Constructing a data acquisition request and a data acquisition window based on the structured empty form;
sending the data acquisition request to an administrator, waiting for the administrator to input the instruction translation data, the user view data and the system adaptation data into the data acquisition window;
and filling the data acquired by the data acquisition window into the empty form according to a data structuring rule to obtain a system form.
Optionally, after writing the instruction translation data, the user view data and the system adaptation data into the pre-constructed form to obtain the system form, the method further comprises:
performing validity verification on the system form;
if the verification is successful, the system form is stored in the database;
and if the verification is unsuccessful, re-acquiring the instruction translation data, the user view data and the system adaptation data.
Optionally, the acquiring the program schedule data using the pre-built background service includes:
generating a structured empty form, a program schedule data acquisition request and a program schedule data acquisition window using the data structuring rule;
monitoring a remote control instruction until an administrator performs operation, and sending the program scheduling data acquisition request to the administrator;
Until the administrator confirms the program schedule data acquisition request, sending the program schedule data acquisition window to the administrator, waiting for the administrator to manually input the program schedule data into the program schedule data acquisition window;
and filling the program schedule data into the structured empty form to finish the acquisition of the program schedule data.
Optionally, the sending, by the background service, an access request to a server, crawling the video content of the program, includes:
extracting a program content name and a program acquisition position in the program schedule data;
filling the program acquisition position and the program content name into a pre-constructed crawler program to obtain the modified crawler program, wherein the crawler program is used for acquiring program video content from the server;
and accessing the server by using the modified crawler program to obtain the program video content.
Optionally, the receiving a remote control instruction sent by a user, matching the local memory by using the remote control instruction and the program schedule data, and selecting the corresponding program video content, including:
after the background service is started, waiting and monitoring the remote control instruction of the user until the user sends the remote control instruction;
Receiving the remote control instruction sent by a user, and converting the remote control data into an operation instruction of the intelligent display device by using the instruction translation data;
and accessing a local memory by using the remote control instruction, and determining matched program video content in combination with the program arrangement data.
Optionally, the storing the program video content in the database to obtain a local memory includes:
constructing a storage rule by using the program schedule data to generate a local memory form;
storing the video content of the program acquired by the crawler program according to the program arrangement data to the local memory form according to the storage rule;
and storing the local memory form into the database to obtain the local memory.
In order to solve the above problems, the present invention also provides a remote control device based on a background service, the device comprising:
the form construction module is used for acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
the content storage module is used for acquiring program schedule data by using a pre-built background service, writing the program schedule data into a pre-built database, sending an access request to a server through the background service, crawling program video content, and storing the program video content into the database to obtain a local memory;
The data extraction module is used for sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
the video content construction module is used for receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program arrangement data, selecting the corresponding program video content, rendering the program video content by using the user view data, and sending the rendered program video content to the controlled intelligent display device.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the background service-based remote control method as described above.
In order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium including a storage data area storing created data and a storage program area storing a computer program; wherein the computer program, when executed by a processor, implements a background service based remote control method as described above.
In the embodiment of the invention, the acquired instruction translation data, user view data and system adaptation data are written into a pre-constructed form to construct a system form, program schedule data of an administrator are acquired by using a pre-constructed background service, user operation logic of program selection is simplified, then the program schedule data are written into a pre-constructed database, an access request is sent to a server through the background service, program video content is crawled, the program video content is stored into the pre-constructed database to obtain a local memory so as to improve the access speed of the program, the access request is sent to a controlled intelligent display device and an access response of the intelligent display device is received, the system adaptation data in the system form are called according to the access response, the instruction translation data and the user view data are extracted, a remote control instruction is waited for the user to send, the remote control instruction and the program schedule data are utilized to match the local memory, the corresponding program video content is selected, and finally the program video content is rendered by using the user view data and is sent to the controlled intelligent display device. Therefore, the invention can simplify the operation method of the intelligent display device and promote the simplicity of the operation logic of the intelligent display device.
Drawings
Fig. 1 is a schematic flow chart of a remote control method based on a background service according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a remote control device based on background services according to an embodiment of the present application;
fig. 3 is a schematic diagram of an internal structure of an electronic device for implementing a background service-based remote control method according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The embodiment of the application provides a remote control method based on background service. The execution subject of the remote control method based on the background service comprises, but is not limited to, at least one of a server, a terminal and the like which can be configured to execute the method provided by the embodiment of the application. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. In other words, the background service-based remote control method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Referring to fig. 1, a flowchart of a remote control method based on a background service according to an embodiment of the present invention is shown. In this embodiment, the remote control method based on the background service includes:
s1, acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form.
In the embodiment of the present invention, the instruction translation data includes a remote control instruction sent by the user and an operation instruction of the intelligent display device that is adapted to the remote control instruction, and the user tries to control an intelligent display device, where the corresponding instruction translation data includes a remote control instruction sent by the user using a bluetooth remote controller and an operation instruction of the corresponding intelligent display device, and the intelligent display device may be an intelligent device such as an intelligent television or an intelligent mobile phone.
In addition, the user view is a display interface and an operation interface which can be seen by a user, and the main purpose of the user view data is to display the user view on the intelligent display device, including picture data, form formats, display codes and the like required by forming the user view on the intelligent display device.
It should be explained that, because the instruction translation data and the user view data required by the different types of intelligent display devices are different, the system adaptation data is required to solve the adaptation problem of the different types of intelligent display devices. The system adaptation data includes a model number of the smart display device, an identifier of the instruction translation data required for the smart display device, an identifier of the user view data required for the smart display device, and the like.
In the embodiment of the present invention, writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form, including:
constructing a data acquisition request and a data acquisition window based on the structured empty form;
sending the data acquisition request to an administrator, waiting for the administrator to input the instruction translation data, the user view data and the system adaptation data into the data acquisition window;
and filling the data acquired by the data acquisition window into the empty form according to a data structuring rule to obtain a system form.
Illustratively, when the intelligent display device is connected, a structured empty form, a data acquisition request and a data acquisition window are started to be constructed in the process of executing initialization, the data acquisition request and the data acquisition window are popped up when waiting for an administrator to operate, and the administrator is waited to input data until the administrator inputs the structured empty form and fills the structured empty form after the completion of the administrator input, so that a system form is obtained.
The data structuring rule serves a data acquisition process and comprises rules such as data names, storage positions, data positions and the like of the instruction translation data, the user view data and the system adaptation data. Illustratively, the data structuring rule corresponding to the instruction translation data includes rules such as data names, serial numbers, data identifiers, storage locations, and the like of the remote control instruction and the operation instruction.
In the embodiment of the present invention, after writing the instruction translation data, the user view data, and the system adaptation data into the pre-constructed form to obtain the system form, the method further includes:
performing validity verification on the system form;
if the verification is successful, the system form is stored in the database;
and if the verification is unsuccessful, re-acquiring the instruction translation data, the user view data and the system adaptation data.
In the embodiment of the present invention, the verification of the validity of the system form is performed after the administrator inputs the instruction translation data, the user view data, and the system adaptation data into the data acquisition window. In detail, the performing validity verification on the system form includes:
Matching the system adaptation data with the intelligent display device, and if the model of the intelligent display device, the identifier of the instruction translation data and the identifier of the user view data cannot be queried in the system adaptation data, generating a system form verification failure result;
if the model of the intelligent display device, the identifier of the instruction translation data and the identifier of the user view data can be queried in the system adaptation data, querying the system form by using the identifier of the user view data to obtain the user view data;
the user view data are sent to the intelligent display equipment, and if the user view cannot be displayed correctly through the intelligent display equipment, a system form verification failure result is generated;
if the user view can be effectively generated in the intelligent display device by using the user view data, accessing the system form by using the identifier of the instruction translation data to obtain the instruction translation data;
translating a pre-constructed instruction translation test form by using the instruction translation data, and if the correct translated operation instruction cannot be returned, generating a verification failure result of the system form;
And after returning the correct translated operation instruction, writing the system form into the database through the validity verification.
The administrator may input the instruction translation data, the user view data, and the system adaptation data, and then use the system adaptation data to match with the intelligent display device after obtaining the identifier of the instruction translation data and the identifier of the user view data after querying the model of the intelligent display device, and if the instruction translation data and the identifier of the user view data are successfully obtained through the identifier of the instruction translation data and the identifier of the user view data, store the system form in the database.
S2, acquiring program schedule data by using a pre-built background service, and writing the program schedule data into a pre-built database.
In the embodiment of the invention, the background service is a linking processing system for processing and sending the content to the intelligent display device according to the special access request in the instruction translation data. The obtaining program schedule data using the pre-built background service includes:
Generating a structured empty form, a program schedule data acquisition request and a program schedule data acquisition window using the data structuring rule;
monitoring a remote control instruction until an administrator performs operation, and sending the program scheduling data acquisition request to the administrator;
until the administrator confirms the program schedule data acquisition request, sending the program schedule data acquisition window to the administrator, waiting for the administrator to manually input the program schedule data into the program schedule data acquisition window;
and filling the program schedule data into the structured empty form to finish the acquisition of the program schedule data.
When the manager enters the background service to operate, the program schedule data acquisition request is popped up to the manager through the background service, the manager sends the program schedule data acquisition window to the manager after confirming the program schedule data acquisition request until the manager manually inputs the program schedule data, and fills the program schedule data into the structured empty form to finish the acquisition of the program schedule data.
In the embodiment of the present invention, the program schedule data serves the background service in the process of retrieving the content to the intelligent display device, and includes data such as a program content name, a program acquisition position, a program playing time, and the like.
And S3, sending an access request to a server through the background service, crawling the program video content, and storing the program video content into the database to obtain a local memory.
In the embodiment of the invention, the server is a television station or a main service server of some video operators.
In the embodiment of the present invention, the sending, by the background service, an access request to a server, crawling video content of a program, includes:
extracting the program content name and the program acquisition position in the program schedule data;
filling the program acquisition position and the program content name into a pre-constructed crawler program to obtain the modified crawler program;
and accessing the server by using the modified crawler program to obtain the program video content.
In the embodiment of the invention, the crawler program is a program and script for automatically downloading the video content of the program, which is contained in a video content website, according to a preset rule by combining the video name of the program with the program acquisition position.
Further, the storing the program video content in the database to obtain a local memory includes:
Constructing a storage rule by using the program schedule data to generate a local memory form;
storing the video content of the program acquired by the crawler program according to the program arrangement data to the local memory form according to the storage rule;
and storing the local memory form into the database to obtain the local memory.
S4, sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data.
In detail, the sending an access request to the controlled intelligent display device and receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data includes:
waiting for a user to start the intelligent display device, starting an initialization process, and establishing connection with the intelligent display device through the background service;
sending an access request to the intelligent display device until the intelligent display device sends an access response;
Unpacking the access response and extracting related information of the intelligent display device;
accessing the system form by using a background service, and extracting corresponding system adaptation data by combining the related information of the intelligent display equipment;
and extracting the instruction translation data and the user view data from the corresponding system adaptation data.
In the embodiment of the present invention, the extracting the corresponding system adaptation data may be implemented by a mid function.
Further, the accessing the system form by using the background service and extracting the corresponding system adaptation data in combination with the related information of the intelligent display device includes:
accessing the database through a background service, and extracting the system form;
the relevant information of the intelligent display equipment is called, and the intelligent display equipment model data and the corresponding system adaptation data identifier are obtained by combining the data structuring rule;
and matching the system form by using the system adaptation data identifier and the intelligent display equipment model data to obtain the system adaptation data.
S5, receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program arrangement data, and selecting the corresponding program video content.
In detail, the receiving the remote control command sent by the user, matching the local memory by using the remote control command and the program schedule data, and selecting the corresponding program video content includes:
after the background service is started, waiting and monitoring the remote control instruction of the user until the user sends the remote control instruction;
receiving the remote control instruction of a user, and converting the remote control data into the operation instruction of the intelligent display device by using the instruction translation data;
and accessing a local memory by using the remote control instruction, and determining matched program video content in combination with the program arrangement data.
In the embodiment of the invention, after the background service is started, the remote control instruction of the user is waited and monitored, and a pre-constructed instruction cache position is checked at intervals of designated time, when the user sends the remote control instruction, the remote control instruction is sent into the instruction cache position, if the remote control instruction sent by the user exists in the instruction cache position, the remote control instruction is sent into the background service for processing and clearing the content of the instruction cache position, and if the instruction cache position is empty, the user continues to wait for designated time and then checks again.
And S6, rendering the program video content by using the user view data, and transmitting the rendered program video content to the controlled intelligent display device.
In the embodiment of the invention, the rendering is to request the user view data, bind the user view data to the program video content through a template binding grammar, and finally present the program video content to a user, wherein the rendering is to modify the data such as the resolution, the position, the proportion and the like of the program video content through the user view data, and send the modified program video content to the intelligent display device, and the modification is a rendering process, which is essentially the replacement of character string data.
In the embodiment of the invention, the acquired instruction translation data, user view data and system adaptation data are written into a pre-constructed form to construct a system form, program schedule data of an administrator are acquired by using a pre-constructed background service, user operation logic of program selection is simplified, then the program schedule data are written into a pre-constructed database, an access request is sent to a server through the background service, program video content is crawled, the program video content is stored into the pre-constructed database to obtain a local memory so as to improve the access speed of the program, the access request is sent to a controlled intelligent display device and an access response of the intelligent display device is received, the system adaptation data in the system form are called according to the access response, the instruction translation data and the user view data are extracted, a remote control instruction is waited for the user to send, the remote control instruction and the program schedule data are utilized to match the local memory, the corresponding program video content is selected, and finally the program video content is rendered by using the user view data and is sent to the controlled intelligent display device. Therefore, the invention can simplify the operation method of the intelligent display device and promote the simplicity of the operation logic of the intelligent display device.
Fig. 2 is a schematic block diagram of a remote control device based on a background service according to the present invention.
The background service-based remote control device 100 of the present invention may be installed in an electronic apparatus. The background service-based remote control device may include a form construction module 101, a content storage module 102, a data extraction module 103, and a video content construction module 104, depending on the functions implemented. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the form construction module 101 is configured to obtain instruction translation data, user view data, and system adaptation data, and write the instruction translation data, the user view data, and the system adaptation data into a pre-constructed form to obtain a system form;
the content storage module 102 is configured to acquire program schedule data by using a pre-built background service, write the program schedule data into a pre-built database, send an access request to a server through the background service, crawl program video content, and store the program video content into the database to obtain a local memory;
A data extraction module 103, configured to send an access request to a controlled intelligent display device, receive an access response of the intelligent display device, and extract the instruction translation data and the user view data by calling the system adaptation data in the system form according to the access response;
the video content construction module 104 is configured to receive a remote control instruction sent by a user, match the local memory with the remote control instruction and the program schedule data, select the corresponding program video content, render the program video content using the user view data, and send the rendered program video content to the controlled intelligent display device.
In detail, each module in the remote control device 100 based on the background service in the embodiment of the present invention adopts the same technical means as the remote control method based on the background service described in fig. 1 and can produce the same technical effects, which are not described herein.
Fig. 3 is a schematic structural diagram of an electronic device implementing a remote control method based on a background service according to the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program stored in the memory 11 and executable on the processor 10, such as a remote control program based on a background service.
The processor 10 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing unit, CPU), a microprocessor, a digital processing chip, a graphics processor, a combination of various control chips, and so on. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects respective parts of the entire electronic device using various interfaces and lines, executes or executes programs or modules stored in the memory 11 (for example, executes a remote Control program based on a background service, etc.), and invokes data stored in the memory 11 to perform various functions of the electronic device and process data.
The memory 11 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of remote control programs based on a background service, but also for temporarily storing data that has been output or is to be output.
The communication bus 12 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
The communication interface 13 is used for communication between the electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the electronic device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device may further include various sensors, bluetooth modules, wi-Fi modules, etc., which are not described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The remote control program based on the background service stored in the memory 11 in the electronic device is a combination of a plurality of computer programs, which when run in the processor 10, can realize:
Acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
acquiring program schedule data by using a pre-built background service, and writing the program schedule data into a pre-built database;
sending an access request to a server through the background service, crawling the video content of the program, and storing the video content of the program to the database to obtain a local memory;
sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program scheduling data, and selecting the corresponding program video content;
and rendering the program video content by using the user view data, and transmitting the rendered program video content to the controlled intelligent display device.
In particular, the specific implementation method of the processor 10 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the electronic device integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a non-volatile computer readable storage medium. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
acquiring program schedule data by using a pre-built background service, and writing the program schedule data into a pre-built database;
Sending an access request to a server through the background service, crawling the video content of the program, and storing the video content of the program to the database to obtain a local memory;
sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program scheduling data, and selecting the corresponding program video content;
and rendering the program video content by using the user view data, and transmitting the rendered program video content to the controlled intelligent display device.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A background service-based remote control method, the method comprising:
acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
acquiring program schedule data by using a pre-built background service, and writing the program schedule data into a pre-built database;
sending an access request to a server through the background service, crawling the video content of the program, and storing the video content of the program to the database to obtain a local memory;
sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
Receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program scheduling data, and selecting the corresponding program video content;
and rendering the program video content by using the user view data, and transmitting the rendered program video content to the controlled intelligent display device.
2. The method for remote control based on background service according to claim 1, wherein writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form comprises:
constructing a data acquisition request and a data acquisition window based on the structured empty form;
sending the data acquisition request to an administrator, waiting for the administrator to input the instruction translation data, the user view data and the system adaptation data into the data acquisition window;
and filling the data acquired by the data acquisition window into the empty form according to a data structuring rule to obtain a system form.
3. The method for background service-based remote control of claim 1, wherein after writing the instruction translation data, user view data, and system adaptation data into a pre-constructed form to obtain a system form, the method further comprises:
Performing validity verification on the system form;
if the verification is successful, the system form is stored in the database;
and if the verification is unsuccessful, re-acquiring the instruction translation data, the user view data and the system adaptation data.
4. The background service-based remote control method of claim 2, wherein the acquiring the program schedule data using the pre-built background service comprises:
generating a structured empty form, a program schedule data acquisition request and a program schedule data acquisition window using the data structuring rule;
monitoring a remote control instruction until an administrator performs operation, and sending the program scheduling data acquisition request to the administrator;
until the administrator confirms the program schedule data acquisition request, sending the program schedule data acquisition window to the administrator, waiting for the administrator to manually input the program schedule data into the program schedule data acquisition window;
and filling the program schedule data into the structured empty form to finish the acquisition of the program schedule data.
5. The method for remote control based on background service according to claim 1, wherein said sending an access request to a server through said background service, crawling program video content, comprises:
Extracting a program content name and a program acquisition position in the program schedule data;
filling the program acquisition position and the program content name into a pre-constructed crawler program to obtain the modified crawler program, wherein the crawler program is used for acquiring program video content from the server;
and accessing the server by using the modified crawler program to obtain the program video content.
6. The method for remote control based on background service according to claim 1, wherein said receiving a remote control command sent by a user, matching said local memory with said remote control command and said program schedule data, selecting the corresponding program video content, comprises:
after the background service is started, monitoring the remote control instruction of the user until the user sends the remote control instruction;
receiving the remote control instruction sent by a user, and converting the remote control data into an operation instruction of the intelligent display device by using the instruction translation data;
and accessing a local memory by using the remote control instruction, and determining matched program video content in combination with the program arrangement data.
7. The method for background-service-based remote control of claim 5, wherein storing the program video content to the database to obtain a local memory comprises:
Constructing a storage rule by using the program schedule data to generate a local memory form;
storing the video content of the program acquired by the crawler program according to the program arrangement data to the local memory form according to the storage rule;
and storing the local memory form into the database to obtain the local memory.
8. A background service-based remote control device, the device comprising:
the form construction module is used for acquiring instruction translation data, user view data and system adaptation data, and writing the instruction translation data, the user view data and the system adaptation data into a pre-constructed form to obtain a system form;
the content storage module is used for acquiring program schedule data by using a pre-built background service, writing the program schedule data into a pre-built database, sending an access request to a server through the background service, crawling program video content, and storing the program video content into the database to obtain a local memory;
the data extraction module is used for sending an access request to the controlled intelligent display device, receiving an access response of the intelligent display device, calling the system adaptation data in the system form according to the access response, and extracting the instruction translation data and the user view data;
The video content construction module is used for receiving a remote control instruction sent by a user, matching the local memory by utilizing the remote control instruction and the program arrangement data, selecting the corresponding program video content, rendering the program video content by using the user view data, and sending the rendered program video content to the controlled intelligent display device.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the background service-based remote control method of any one of claims 1 to 7.
10. A computer-readable storage medium comprising a storage data area storing created data and a storage program area storing a computer program; wherein the computer program, when executed by a processor, implements a background service-based remote control method as claimed in any one of claims 1 to 7.
CN202210255609.8A 2022-03-15 2022-03-15 Remote control method, device, equipment and medium based on background service Active CN114650436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210255609.8A CN114650436B (en) 2022-03-15 2022-03-15 Remote control method, device, equipment and medium based on background service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210255609.8A CN114650436B (en) 2022-03-15 2022-03-15 Remote control method, device, equipment and medium based on background service

Publications (2)

Publication Number Publication Date
CN114650436A CN114650436A (en) 2022-06-21
CN114650436B true CN114650436B (en) 2023-11-28

Family

ID=81994259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210255609.8A Active CN114650436B (en) 2022-03-15 2022-03-15 Remote control method, device, equipment and medium based on background service

Country Status (1)

Country Link
CN (1) CN114650436B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018204822A1 (en) * 2017-05-04 2018-11-08 Monticello Enterprises LLC Providing cryptocurrency payments through a browser application programming interface
CN112650905A (en) * 2020-12-22 2021-04-13 深圳壹账通智能科技有限公司 Anti-crawler method and device based on label, computer equipment and storage medium
CN113590968A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Resource recommendation method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100094856A1 (en) * 2008-10-14 2010-04-15 Eric Rodrick System and method for using a list capable search box to batch process search terms and results from websites providing single line search boxes
US20140068689A1 (en) * 2012-08-17 2014-03-06 Flextronics Ap, Llc Systems and methods for providing social media with an intelligent television

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018204822A1 (en) * 2017-05-04 2018-11-08 Monticello Enterprises LLC Providing cryptocurrency payments through a browser application programming interface
CN112650905A (en) * 2020-12-22 2021-04-13 深圳壹账通智能科技有限公司 Anti-crawler method and device based on label, computer equipment and storage medium
CN113590968A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Resource recommendation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114650436A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN113806434B (en) Big data processing method, device, equipment and medium
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN111913922B (en) Binary structured log generation method, device, equipment and storage medium
CN114006885A (en) Data acquisition method and device based on intelligent equipment and electronic equipment
CN113626512A (en) Data processing method, device, equipment and readable storage medium
CN111158777B (en) Component calling method, device and computer readable storage medium
CN114650436B (en) Remote control method, device, equipment and medium based on background service
CN114626352B (en) Report automatic generation method, device, computer equipment and storage medium
CN107273102A (en) The generation method and device of mobile applications
CN114020414B (en) Android system and bottom Linux symbiotic method and device, electronic equipment and storage medium
CN115827115A (en) H5 page jump method, device, equipment and storage medium of WeChat applet
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN114461531A (en) Platform adaptability test method, device, equipment and storage medium of test case
CN112380820A (en) Automatic data backfilling method and device, electronic equipment and computer storage medium
CN112631675A (en) Workflow configuration method, device, equipment and computer readable storage medium
CN111679862A (en) Cloud host shutdown method and device, electronic equipment and medium
CN113703995B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium
CN114723400B (en) Service authorization management method, device, equipment and storage medium
CN113326421B (en) Data identification method and device for record carrier, electronic equipment and storage medium
CN113704109B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium
CN114416575A (en) Method, device and equipment for generating Mock data and storage medium
CN114218191A (en) System function migration method and device, computer equipment and storage medium
CN114595153A (en) Video generation method, device, equipment and storage medium based on automatic test
CN116431481A (en) Code parameter verification method and device based on multi-code condition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant