CN111901677A - Method for uniformly controlling process starting and display equipment - Google Patents

Method for uniformly controlling process starting and display equipment Download PDF

Info

Publication number
CN111901677A
CN111901677A CN202010721110.2A CN202010721110A CN111901677A CN 111901677 A CN111901677 A CN 111901677A CN 202010721110 A CN202010721110 A CN 202010721110A CN 111901677 A CN111901677 A CN 111901677A
Authority
CN
China
Prior art keywords
data
data packet
configuration file
starting
preset configuration
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.)
Granted
Application number
CN202010721110.2A
Other languages
Chinese (zh)
Other versions
CN111901677B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010721110.2A priority Critical patent/CN111901677B/en
Publication of CN111901677A publication Critical patent/CN111901677A/en
Application granted granted Critical
Publication of CN111901677B publication Critical patent/CN111901677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • 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
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Abstract

The application discloses a method for uniformly controlling process starting and display equipment, which are used for improving the starting speed of the display equipment. The method comprises the following steps: receiving a data packet, and detecting port information in the data packet; if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file; if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.

Description

Method for uniformly controlling process starting and display equipment
Technical Field
The application relates to the technical field of process control, in particular to a method for uniformly controlling process starting and display equipment.
Background
At present, a great number of functions which can be completed only by network interaction exist in an android system, but it is often found that the functions gradually become a plurality of startup self-starting processes, and most of the processes run in a background, for example, the self-starting processes may be communication applications which are automatically started when a user starts up, or binary executable programs.
With the increasing functions of the system, the number of self-starting processes is increasing, and the number of processes residing in the background is also increasing, which affects the starting speed and the running performance of the system, and in addition, the problems of large occupation of a central processing unit (CPU processor), insufficient memory and the like become potential risks. Therefore, how to avoid the above problems becomes an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a method for uniformly controlling process starting and display equipment, which are used for improving the starting speed of the display equipment.
In a first aspect, there is provided a display device comprising:
a display;
a controller for performing: receiving a data packet, and detecting port information in the data packet;
if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file;
if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
In some embodiments, the controller is further configured to perform: and if the port information does not exist in the preset configuration file, sending the data packet to a system.
In some embodiments, the controller is further configured to perform: and if the key data do not exist in the data packet, sending the data packet to a system.
In some embodiments, the controller is further configured to perform: and if the process is failed to be started, restarting the corresponding process by using the starting mode corresponding to the key data in the preset configuration file until the restarting times reach the preset times.
In some embodiments, if there is no data interaction, the corresponding process is notified to exit.
In a second aspect, a method for uniformly controlling process startup is provided, including: receiving a data packet, and detecting port information in the data packet;
if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file;
if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
In some embodiments, the method further comprises: and if the port information does not exist in the preset configuration file, sending the data packet to a system.
In some embodiments, the method further comprises: and if the key data do not exist in the data packet, sending the data packet to a system.
In some embodiments, the method further comprises: and if the process is failed to be started, restarting the corresponding process by using the starting mode corresponding to the key data in the preset configuration file until the restarting times reach the preset times.
In some embodiments, the method further comprises: and if the data interaction does not exist, informing the corresponding process to exit.
In the above embodiment, a method for uniformly controlling the starting of a process and a display device are used to increase the starting speed of the display device. The method comprises the following steps: receiving a data packet, and detecting port information in the data packet; if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file; if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
Drawings
Fig. 1A is a schematic diagram illustrating an operation scenario between a display device and a control apparatus;
fig. 1B is a block diagram schematically illustrating a configuration of the control apparatus 100 in fig. 1A;
fig. 1C is a block diagram schematically illustrating a configuration of the display device 200 in fig. 1A;
FIG. 1D is a block diagram illustrating an architectural configuration of an operating system in memory of display device 200;
a flow chart of a method of unified control process launch is illustrated in fig. 2.
Detailed Description
To make the objects, technical solutions and advantages of the exemplary embodiments of the present application clearer, the technical solutions in the exemplary embodiments of the present application will be clearly and completely described below with reference to the drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, but not all the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments shown in the present application without inventive effort, shall fall within the scope of protection of the present application. Moreover, while the disclosure herein has been presented in terms of exemplary one or more examples, it is to be understood that each aspect of the disclosure can be utilized independently and separately from other aspects of the disclosure to provide a complete disclosure.
As used in this application, the terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" as used herein refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, or result.
Fig. 1A is a schematic diagram illustrating an operation scenario between the display device 200 and the control apparatus 100. As shown in fig. 1A, the control apparatus 100 and the display device 200 may communicate with each other in a wired or wireless manner.
Among them, the control apparatus 100 is configured to control the display device 200, which may receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an intermediary for interaction between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.
The control device 100 may be a remote controller 100A, which includes infrared protocol communication or bluetooth protocol communication, and other short-distance communication methods, etc. to control the display apparatus 200 in a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control device 100 may also be an intelligent device, such as a mobile terminal 100B, a tablet computer, a notebook computer, and the like. For example, the display device 200 is controlled using an application program running on the smart device. The application program may provide various controls to a user through an intuitive User Interface (UI) on a screen associated with the smart device through configuration.
For example, the mobile terminal 100B may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 100B may be caused to establish a control instruction protocol with the display device 200 to implement the functions of the physical keys as arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
The display apparatus 200 may be implemented as a television, and may provide an intelligent network television function of a broadcast receiving television function as well as a computer support function. Examples of the display device include a digital television, a web television, a smart television, an Internet Protocol Television (IPTV), and the like.
The display device 200 may be a liquid crystal display, an organic light emitting display, a projection display device. The specific display device type, size, resolution, etc. are not limited.
The display apparatus 200 also performs data communication with the server 300 through various communication means. Here, the display apparatus 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display apparatus 200. By way of example, the display device 200 may send and receive information such as: receiving Electronic Program Guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The servers 300 may be a group or groups of servers, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
Fig. 1B is a block diagram illustrating the configuration of the control device 100. As shown in fig. 1B, the control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, and a power supply 160.
The controller 110 includes a Random Access Memory (RAM)111, a Read Only Memory (ROM)112, a processor 113, a power-on interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components of the communication cooperation, external and internal data processing functions.
Illustratively, when an interaction of a user pressing a key disposed on the remote controller 100A or an interaction of touching a touch panel disposed on the remote controller 100A is detected, the controller 110 may control to generate a signal corresponding to the detected interaction and transmit the signal to the display device 200.
And a memory 120 for storing various operation programs, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 120 may store various control signal commands input by a user.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the control apparatus 100 transmits a control signal (e.g., a touch signal or a button signal) to the display device 200 via the communicator 130, and the control apparatus 100 may receive the signal transmitted by the display device 200 via the communicator 130. The communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132. For example: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
The user input interface 140 may include at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like, so that a user can input a user instruction regarding controlling the display apparatus 200 to the control apparatus 100 through voice, touch, gesture, press, and the like.
The output interface 150 outputs a user instruction received by the user input interface 140 to the display apparatus 200, or outputs an image or voice signal received by the display apparatus 200. Here, the output interface 150 may include an LED interface 151, a vibration interface 152 generating vibration, a sound output interface 153 outputting sound, a display 154 outputting an image, and the like. For example, the remote controller 100A may receive an output signal such as audio, video, or data from the output interface 150, and display the output signal in the form of an image on the display 154, in the form of audio on the sound output interface 153, or in the form of vibration on the vibration interface 152.
And a power supply 160 for providing operation power support for each element of the control device 100 under the control of the controller 110. In the form of a battery and associated control circuitry.
A hardware configuration block diagram of the display device 200 is exemplarily illustrated in fig. 1C. As shown in fig. 1C, the display apparatus 200 may further include a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, an audio processor 280, an audio input interface 285, and a power supply 290.
The tuner demodulator 210 receives the broadcast television signal in a wired or wireless manner, may perform modulation and demodulation processing such as amplification, mixing, and resonance, and is configured to demodulate, from a plurality of wireless or wired broadcast television signals, an audio/video signal carried in a frequency of a television channel selected by a user, and additional information (e.g., EPG data).
The tuner demodulator 210 is responsive to the user selected frequency of the television channel and the television signal carried by the frequency, as selected by the user and controlled by the controller 250.
The tuner demodulator 210 can receive a television signal in various ways according to the broadcasting system of the television signal, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, a digital modulation mode or an analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to the different kinds of the received television signals.
In other exemplary embodiments, the tuning demodulator 210 may also be in an external device, such as an external set-top box. In this way, the set-top box outputs a television signal after modulation and demodulation, and inputs the television signal into the display apparatus 200 through the external device interface 240.
The communicator 220 is a component for communicating with an external device or an external server according to various communication protocol types. For example, the display apparatus 200 may transmit content data to an external apparatus connected via the communicator 220, or browse and download content data from an external apparatus connected via the communicator 220. The communicator 220 may include a network communication protocol module or a near field communication protocol module, such as a WIFI module 221, a bluetooth module 222, and a wired ethernet module 223, so that the communicator 220 may receive a control signal of the control device 100 according to the control of the controller 250 and implement the control signal as a WIFI signal, a bluetooth signal, a radio frequency signal, and the like.
The detector 230 is a component of the display apparatus 200 for collecting signals of an external environment or interaction with the outside. The detector 230 may include an image collector 231, such as a camera, a video camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and the function of acquiring the attribute of the user or interacting gestures with the user so as to realize the interaction between the display equipment and the user. A light receiver 232 may also be included to collect ambient light intensity to adapt to changes in display parameters of the display device 200, etc.
In some other exemplary embodiments, the detector 230 may further include a temperature sensor, such as by sensing an ambient temperature, and the display device 200 may adaptively adjust a display color temperature of the image. For example, when the temperature is higher, the display apparatus 200 may be adjusted to display a color temperature of an image that is cooler; when the temperature is lower, the display device 200 may be adjusted to display a warmer color temperature of the image.
In some other exemplary embodiments, the detector 230, which may further include a sound collector, such as a microphone, may be configured to receive a sound of a user, such as a voice signal of a control instruction of the user to control the display device 200; alternatively, ambient sounds may be collected that identify the type of ambient scene, enabling the display device 200 to adapt to ambient noise.
The external device interface 240 is a component for providing the controller 210 to control data transmission between the display apparatus 200 and an external apparatus. The external device interface 240 may be connected to an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 240 may include: a High Definition Multimedia Interface (HDMI) terminal 241, a Composite Video Blanking Sync (CVBS) terminal 242, an analog or digital Component terminal 243, a Universal Serial Bus (USB) terminal 244, a Component terminal (not shown), a red, green, blue (RGB) terminal (not shown), and the like.
The controller 250 controls the operation of the display device 200 and responds to the operation of the user by running various software control programs (such as an operating system and various application programs) stored on the memory 260.
As shown in FIG. 1C, controller 250 includes Random Access Memory (RAM)251, Read Only Memory (ROM)252, graphics processor 253, processor 254, power-on interface 255, and communication bus 256. The RAM251, the ROM252, the graphic processor 253, and the power interface 255 of the processor 254 are connected by a communication bus 256.
The ROM252 stores various system boot instructions. When the power-on signal is received, the display apparatus 200 starts to be powered on, and the processor 254 executes the system boot instruction in the ROM252 and copies the operating system stored in the memory 260 to the RAM251 to start running the boot operating system. After the start of the operating system is completed, the processor 254 copies the various applications in the memory 260 to the RAM251 and then starts running the various applications.
A graphic processor 253 for generating screen images of various graphic objects such as icons, images, and operation menus. The graphic processor 253 may include an operator for performing an operation by receiving various interactive instructions input by a user, and further displaying various objects according to display attributes; and a renderer for generating various objects based on the operator and displaying the rendered result on the display 275.
A processor 254 for executing operating system and application program instructions stored in memory 260. And according to the received user input instruction, processing of various application programs, data and contents is executed so as to finally display and play various audio-video contents.
In some demonstrative embodiments, processor 254 may include a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some initialization operations of the display apparatus 200 in the display apparatus preload mode and/or operations of displaying a screen in the normal mode. A plurality of or one sub-processor for performing an operation in a state of a standby mode or the like of the display apparatus.
The power-up interface 255 may include a first interface through an nth interface. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 250 may control the overall operation of the display apparatus 200. For example: in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.
Where the object may be any one of the selectable objects, such as a hyperlink or an icon. The operation related to the selected object is, for example, an operation of displaying a link to a hyperlink page, document, image, or the like, or an operation of executing a program corresponding to an icon. The user input command for selecting the GUI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch panel, etc.) connected to the display apparatus 200 or a voice command corresponding to a user uttering voice.
A memory 260 for storing various types of data, software programs, or applications for driving and controlling the operation of the display device 200. The memory 260 may include volatile and/or nonvolatile memory. And the term "memory" includes the memory 260, the RAM251 and the ROM252 of the controller 250, or a memory card in the display device 200.
In some embodiments, the memory 260 is specifically used for storing an operating program for driving the controller 250 of the display device 200; storing various application programs built in the display apparatus 200 and downloaded by a user from an external apparatus; data such as visual effect images for configuring various GUIs provided by the display 275, various objects related to the GUIs, and selectors for selecting GUI objects are stored.
In some embodiments, the memory 260 is specifically configured to store drivers and related data for the tuner demodulator 210, the communicator 220, the detector 230, the external device interface 240, the video processor 270, the display 275, the audio processor 280, and the like, external data (e.g., audio-visual data) received from the external device interface, or user data (e.g., key information, voice information, touch information, and the like) received from the user interface.
In some embodiments, memory 260 specifically stores software and/or programs representing an Operating System (OS), which may include, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. Illustratively, the kernel may control or manage system resources, as well as functions implemented by other programs (e.g., the middleware, APIs, or applications); at the same time, the kernel may provide an interface to allow middleware, APIs, or applications to access the controller to enable control or management of system resources.
A block diagram of the architectural configuration of the operating system in the memory of the display device 200 is illustrated in fig. 1D. The operating system architecture comprises an application layer, a middleware layer and a kernel layer from top to bottom.
The application layer, the application programs built in the system and the non-system-level application programs belong to the application layer and are responsible for direct interaction with users. The application layer may include a plurality of applications such as NETFLIX applications, setup applications, media center applications, and the like. These applications may be implemented as Web applications that execute based on a WebKit engine, and in particular may be developed and executed based on HTML, Cascading Style Sheets (CSS), and JavaScript.
Here, HTML, which is called HyperText Markup Language (HyperText Markup Language), is a standard Markup Language for creating web pages, and describes the web pages by Markup tags, where the HTML tags are used to describe characters, graphics, animation, sound, tables, links, etc., and a browser reads an HTML document, interprets the content of the tags in the document, and displays the content in the form of web pages.
CSS, known as Cascading Style Sheets (Cascading Style Sheets), is a computer language used to represent the Style of HTML documents, and may be used to define Style structures, such as fonts, colors, locations, etc. The CSS style can be directly stored in the HTML webpage or a separate style file, so that the style in the webpage can be controlled.
JavaScript, a language applied to Web page programming, can be inserted into an HTML page and interpreted and executed by a browser. The interaction logic of the Web application is realized by JavaScript. The JavaScript can package a JavaScript extension interface through a browser, realize the communication with the kernel layer,
the middleware layer may provide some standardized interfaces to support the operation of various environments and systems. For example, the middleware layer may be implemented as multimedia and hypermedia information coding experts group (MHEG) middleware related to data broadcasting, DLNA middleware which is middleware related to communication with an external device, middleware which provides a browser environment in which each application program in the display device operates, and the like.
The kernel layer provides core system services, such as: file management, memory management, process management, network management, system security authority management and the like. The kernel layer may be implemented as a kernel based on various operating systems, for example, a kernel based on the Linux operating system.
The kernel layer also provides communication between system software and hardware, and provides device driver services for various hardware, such as: provide display driver for the display, provide camera driver for the camera, provide button driver for the remote controller, provide wiFi driver for the WIFI module, provide audio driver for audio output interface, provide power management drive for Power Management (PM) module etc..
A user interface 265 receives various user interactions. Specifically, it is used to transmit an input signal of a user to the controller 250 or transmit an output signal from the controller 250 to the user. For example, the remote controller 100A may transmit an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by the user to the user interface 265, and then the input signal is transferred to the controller 250 through the user interface 265; alternatively, the remote controller 100A may receive an output signal such as audio, video, or data output from the user interface 265 via the controller 250, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on the display 275, and the user interface 265 receives the user input commands through the GUI. Specifically, the user interface 265 may receive user input commands for controlling the position of a selector in the GUI to select different objects or items.
Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user interface 265 receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 270 is configured to receive an external video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 275.
Illustratively, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is configured to demultiplex an input audio/video data stream, where, for example, an input MPEG-2 stream (based on a compression standard of a digital storage media moving image and voice), the demultiplexing module demultiplexes the input audio/video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, for example, convert a frame rate of an input 60Hz video into a frame rate of 120Hz or 240Hz, where a common format is implemented by using, for example, an interpolation frame method.
And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
And a display 275 for receiving the image signal from the output of the video processor 270 and displaying video, images and menu manipulation interfaces. For example, the display may display video from a broadcast signal received by the tuner demodulator 210, may display video input from the communicator 220 or the external device interface 240, and may display an image stored in the memory 260. The display 275, while displaying a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, the display 275 may include a display screen assembly for presenting a picture and a driving assembly for driving the display of an image. Alternatively, a projection device and projection screen may be included, provided display 275 is a projection display.
The audio processor 280 is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing to obtain an audio signal that can be played by the speaker 286.
Illustratively, audio processor 280 may support various audio formats. Such as MPEG-2, MPEG-4, Advanced Audio Coding (AAC), high efficiency AAC (HE-AAC), and the like.
Audio output interface 285 receives audio signals from the output of audio processor 280. For example, the audio output interface may output audio in a broadcast signal received via the tuner demodulator 210, may output audio input via the communicator 220 or the external device interface 240, and may output audio stored in the memory 260. The audio output interface 285 may include a speaker 286, or an external audio output terminal 287, such as an earphone output terminal, that outputs to a generating device of an external device.
In other exemplary embodiments, video processor 270 may comprise one or more chips. Audio processor 280 may also comprise one or more chips.
And, in other exemplary embodiments, the video processor 270 and the audio processor 280 may be separate chips or may be integrated with the controller 250 in one or more chips.
And a power supply 290 for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 250. The power supply 290 may be a built-in power supply circuit installed inside the display apparatus 200 or may be a power supply installed outside the display apparatus 200.
At present, a great number of functions which can be completed only by network interaction exist in an android system, but it is often found that the functions gradually become a plurality of startup self-starting processes, and most of the processes run in a background, for example, the self-starting processes may be communication applications which are automatically started when a user starts up, or binary executable programs. With the increasing of the functions of the system, more and more self-starting processes are provided, and more processes residing in the background are provided, which may affect the starting speed and the running performance of the system, and in addition, the problems of large occupation of the central processing unit and insufficient memory become potential risks.
The method for uniformly controlling the starting of the process, as shown in fig. 2, provided by the embodiment of the application, includes the following steps:
and S101, after the system is started, the original self-starting process and the original background resident process are not started. S102, only one unique process is started, and the process which needs to be started really is determined by utilizing the unique process, so that the problem of overlong starting time caused by running of a self-starting process and a background resident process can be solved.
S103, receiving the data packet by using the special process, and detecting the port information in the data packet. It should be noted that, when a function on the system that can only be completed by using network interaction is used, a data packet needs to be sent to the system through the network. In this embodiment, the unique process may receive data packets, each data packet has a corresponding process, and for example, one data packet corresponds to one process.
The method and the device for processing the information are used for presetting the information corresponding to the process which is possibly started in the preset configuration file. The preset configuration file comprises a process name, monitored port information, a process starting mode and key data required by the process.
And S104, judging whether the port information exists in a preset configuration file.
In this embodiment of the present application, the registration method of the preset configuration file includes the following four steps: 1. the relevant information is directly prefabricated into the preset configuration file in the system compiling stage, and in the step, the process information for identifying which process the data packet received by the system is to be sent to can be added into the preset configuration file. 2. In the stage of starting up and scanning the application of the system, the application installed in the system is identified, and the acquired relevant information of the application is stored in a preset configuration file by scanning the configuration file (xml file) of the application. 3. After the special process is started, a notice is sent globally, the relevant process is awakened to register the information in the preset configuration file, and the process exits after the registration is completed. In this step, the process information that needs to communicate with the external network during operation can be added to the preset configuration file. 4. For the process which has special reason and needs to be started and automatically started, the relevant information of the process is registered in a preset configuration file in an active registration mode after the process is automatically started, and then the process is automatically quitted. The related information mentioned in the above four steps includes the process name, the monitored port information, the starting mode of the process and the key data required by the process. The format in which the relevant information is stored in the preset configuration file is shown in table 1.
TABLE 1
Figure BDA0002600046840000121
In the embodiment of the present application, the manner of using the preset configuration file is only one, and related information may also be put into a database or other manners capable of making data persistent. In the embodiment of the present application, the preset configuration file includes one or more related information, for example, port information A, B, C and D in the preset configuration file.
And S105, if the port information exists in the preset configuration file, acquiring key data corresponding to the port information from the preset configuration file. Illustratively, the port information detected from the data packet is a, and if it is found that the port information in the preset configuration file also includes a, it indicates that the port information exists in the preset configuration file, and key data corresponding to the port information a is obtained from the preset configuration file.
In some embodiments, the method further comprises: s106, if the port information does not exist in the preset configuration file, the data packet is sent to a system, and the special process does not process the data packet.
And S107, judging whether the key data exist in the data packet.
And S108, if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file. In the embodiment of the application, whether the data sent to the port is the data required by the corresponding process can be determined by judging whether the data packet has the key data. If the key data is contained, the data sent to the port is the data required by the corresponding process. In the embodiment of the present application, the key data of different processes may be different, for example, the key data may be a version number or may also be a package name.
In some embodiments, the method further comprises: and S109, if the key data does not exist in the data packet, sending the data packet to a system, and the special process does not process the data packet.
S110, if the process is failed to be started, the step of starting the corresponding process by using the starting mode corresponding to the key data in the preset configuration file is executed again until the number of times of restarting reaches the preset number of times. Because the starting failure has various reasons, for example, insufficient memory or some data is not initialized, and the like, in order to ensure the fault tolerance of the specific process and make the starting result more accurate, in the embodiment of the present application, after the starting process fails, the step of starting the corresponding process by using the starting manner corresponding to the key data in the preset configuration file is executed again until the number of times of restarting reaches the preset number of times, for example, the preset number of times is 5.
And S111, if the process is started successfully, sending the data packet into the process for processing. In the embodiment of the application, the data packet received by the specific process is not processed, and the real logic service function is completed by other processes started by the specific process, so that the process started by the specific process is the process which needs the data packet to complete the function, and further needs to send the data packet to the process for processing.
And S112, recording the successfully started process by using a timer, and detecting whether data interaction exists in the successfully started process by using the timer at preset time intervals. In the embodiment of the application, the timer is synchronously triggered and started at the same time of starting the special process. Whether data interaction exists is determined by judging whether the port corresponding to the process still receives data, if so, S113, determining that data interaction exists in the process, and repeatedly executing the interval preset time to detect whether data interaction exists in the process which is started successfully by using a timer. The preset time can be 5s, and the preset time can be set according to actual needs, which is not limited in the present application.
And S114, if the data is not received, determining that no data interaction exists in the process. In some embodiments, if there is no data interaction, the corresponding process is notified to exit.
In the above embodiment, a method for uniformly controlling the starting of a process and a display device are used to accelerate the system starting speed and reduce a self-starting process and a background resident process in the system, thereby improving the working performance of the system and increasing the utilization rate of a central processing unit. The method comprises the following steps: receiving a data packet, and detecting port information in the data packet; if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file; if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display;
a controller for performing: receiving a data packet, and detecting port information in the data packet;
if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file;
if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
2. The display device according to claim 1, wherein the controller is further configured to perform: and if the port information does not exist in the preset configuration file, sending the data packet to a system.
3. The display device according to claim 1, wherein the controller is further configured to perform: and if the key data do not exist in the data packet, sending the data packet to a system.
4. The display device according to claim 1, wherein the controller is further configured to perform: and if the process is failed to be started, restarting the corresponding process by using the starting mode corresponding to the key data in the preset configuration file until the restarting times reach the preset times.
5. The display device according to claim 1, wherein the controller is further configured to perform: and if the data interaction does not exist, informing the corresponding process to exit.
6. A method for uniformly controlling the starting of processes is characterized by comprising the following steps: receiving a data packet, and detecting port information in the data packet;
if the port information exists in the preset configuration file, key data corresponding to the port information is obtained from the preset configuration file; if the key data exist in the data packet, starting a corresponding process by using a starting mode corresponding to the key data in a preset configuration file;
if the process is started successfully, sending the data packet into the process for processing, recording the process which is started successfully by using a timer, and detecting whether data interaction exists in the process which is started successfully by using the timer at intervals of preset time; if the data interaction exists, repeatedly executing the interval preset time and detecting whether the data interaction exists in the process which is started successfully by using a timer.
7. The method of claim 6, further comprising: and if the port information does not exist in the preset configuration file, sending the data packet to a system.
8. The method of claim 6, further comprising: and if the key data do not exist in the data packet, sending the data packet to a system.
9. The method of claim 6, further comprising: and if the process is failed to be started, restarting the corresponding process by using the starting mode corresponding to the key data in the preset configuration file until the restarting times reach the preset times.
10. The method of claim 6, further comprising: and if the data interaction does not exist, informing the corresponding process to exit.
CN202010721110.2A 2020-07-24 2020-07-24 Method for uniformly controlling process starting and display equipment Active CN111901677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010721110.2A CN111901677B (en) 2020-07-24 2020-07-24 Method for uniformly controlling process starting and display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010721110.2A CN111901677B (en) 2020-07-24 2020-07-24 Method for uniformly controlling process starting and display equipment

Publications (2)

Publication Number Publication Date
CN111901677A true CN111901677A (en) 2020-11-06
CN111901677B CN111901677B (en) 2022-08-02

Family

ID=73190919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010721110.2A Active CN111901677B (en) 2020-07-24 2020-07-24 Method for uniformly controlling process starting and display equipment

Country Status (1)

Country Link
CN (1) CN111901677B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090235200A1 (en) * 2008-03-13 2009-09-17 Microsoft Corporation Unifying application launchers and switchers
CN102594944A (en) * 2012-03-19 2012-07-18 杭州华三通信技术有限公司 Automatic configuration method and network device
CN103034545A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Communication framework and method based on ACE (adaptive communication environment) and communication method among function modules
CN103544151A (en) * 2012-07-09 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for processing data in linux system
US20150043388A1 (en) * 2012-04-28 2015-02-12 Huawei Technologies Co., Ltd. Online upgrade processing method, associated apparatus and system
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN105528226A (en) * 2015-11-30 2016-04-27 海信集团有限公司 Method and apparatus for starting intelligent terminal
US20170169218A1 (en) * 2015-12-14 2017-06-15 Samsung Electronics Co., Ltd. Electronic device and method of operating the same
CN107368343A (en) * 2017-08-21 2017-11-21 广州创维平面显示科技有限公司 A kind of starting up of terminal method, terminal and storage medium based on Android system
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment
CN110750284A (en) * 2019-10-15 2020-02-04 Oppo(重庆)智能科技有限公司 Application quick starting method, terminal and computer readable storage medium
CN110895473A (en) * 2018-08-24 2020-03-20 山东华软金盾软件股份有限公司 Self-starting keep-alive system and method based on android mobile device
CN111064982A (en) * 2019-12-16 2020-04-24 青岛海信传媒网络技术有限公司 Display control method, storage medium and display device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090235200A1 (en) * 2008-03-13 2009-09-17 Microsoft Corporation Unifying application launchers and switchers
CN102594944A (en) * 2012-03-19 2012-07-18 杭州华三通信技术有限公司 Automatic configuration method and network device
US20150043388A1 (en) * 2012-04-28 2015-02-12 Huawei Technologies Co., Ltd. Online upgrade processing method, associated apparatus and system
CN103544151A (en) * 2012-07-09 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for processing data in linux system
CN103034545A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Communication framework and method based on ACE (adaptive communication environment) and communication method among function modules
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN105528226A (en) * 2015-11-30 2016-04-27 海信集团有限公司 Method and apparatus for starting intelligent terminal
US20170169218A1 (en) * 2015-12-14 2017-06-15 Samsung Electronics Co., Ltd. Electronic device and method of operating the same
CN107368343A (en) * 2017-08-21 2017-11-21 广州创维平面显示科技有限公司 A kind of starting up of terminal method, terminal and storage medium based on Android system
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment
CN110895473A (en) * 2018-08-24 2020-03-20 山东华软金盾软件股份有限公司 Self-starting keep-alive system and method based on android mobile device
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN110750284A (en) * 2019-10-15 2020-02-04 Oppo(重庆)智能科技有限公司 Application quick starting method, terminal and computer readable storage medium
CN111064982A (en) * 2019-12-16 2020-04-24 青岛海信传媒网络技术有限公司 Display control method, storage medium and display device

Also Published As

Publication number Publication date
CN111901677B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN111200746B (en) Method for awakening display equipment in standby state and display equipment
CN111343492B (en) Display method and display device of browser in different layers
CN111372133A (en) Method for reserving upgrading and display device
CN111045557A (en) Moving method of focus object and display device
CN111901653B (en) Configuration method of external sound equipment of display equipment and display equipment
CN111654729B (en) Account login state updating method and display device
CN111526401B (en) Video playing control method and display equipment
CN112040308A (en) HDMI channel switching method and display device
CN111857363A (en) Input method interaction method and display equipment
CN111324411A (en) Method for upgrading user interface in display device and display device
CN112040285B (en) Interface display method and display equipment
CN111726674B (en) HbbTV application starting method and display equipment
CN111885415B (en) Audio data rapid output method and display device
CN111901677B (en) Method for uniformly controlling process starting and display equipment
CN113010074A (en) Webpage Video control bar display method and display equipment
CN111897641A (en) Micro-service monitoring and scheduling method and display equipment
CN111614995A (en) Menu display method and display equipment
CN113329246A (en) Display device and shutdown method
CN111901686B (en) Method for keeping normal display of user interface stack and display equipment
CN112040317B (en) Event response method and display device
CN113438296B (en) Upgrade package downloading method and display device
CN113094140B (en) System update display method and display equipment
CN111756413B (en) Method for adjusting Bluetooth mode on display device and display device
CN111246282B (en) Program information acquisition method in display equipment and display equipment
CN111654734A (en) Centralized control terminal, display equipment and machine number setting method

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