CN112306212B - Terminal control method and device - Google Patents
Terminal control method and device Download PDFInfo
- Publication number
- CN112306212B CN112306212B CN202011184736.0A CN202011184736A CN112306212B CN 112306212 B CN112306212 B CN 112306212B CN 202011184736 A CN202011184736 A CN 202011184736A CN 112306212 B CN112306212 B CN 112306212B
- Authority
- CN
- China
- Prior art keywords
- image
- frame
- data
- current frame
- client
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000007958 sleep Effects 0.000 claims description 94
- 230000001960 triggered effect Effects 0.000 claims description 6
- 239000002699 waste material Substances 0.000 abstract description 7
- 238000001514 detection method Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000004134 energy conservation Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000005059 dormancy Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009897 systematic effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Evolutionary Biology (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Power Sources (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The disclosure provides a terminal control method and device, relates to the technical field of terminal control, and can solve the problems of information safety and energy waste caused by forgetting to turn off a screen. The specific technical scheme is as follows: collecting a current frame image; judging whether the current frame image is changed compared with the reference frame image; generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image; and sending the image frame data to the client so that the client executes corresponding processing strategies according to the image frame data. The method comprises the steps that identification judgment of a current frame image can be carried out on the basis of the current frame image and a reference frame image at a source end, so that the situation that a user forgets to turn off display equipment can be accurately identified, intelligent control is carried out, information leakage is effectively avoided, energy is saved, the environment is protected, and the problems of information safety and energy waste caused by forgetting to turn off a screen are solved easily.
Description
Technical Field
The disclosure relates to the technical field of terminal control, and in particular relates to a terminal control method and device.
Background
If the screen is forgotten to be closed, the electronic products such as a computer and the like are not used for a long time, and the risk of information security leakage exists while the power resource is wasted. Although the risk of information leakage can be avoided through screen protection, the method needs manual setting by a user, is ineffective for energy conservation, and has no complete solution scheme of cross-platform, cross-operating system and cross-equipment, so that the method is complicated to apply.
Disclosure of Invention
The embodiment of the disclosure provides a terminal control method and device, which can solve the problems of information safety and energy waste caused by forgetting to turn off a screen. The technical scheme is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a terminal control method, where the method is applied to a source end, the method includes:
collecting a current frame image;
judging whether the current frame image is changed compared with a reference frame image;
generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image;
sending the image frame data to a client so that the client executes a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode.
The terminal control method provided by the embodiment of the disclosure comprises the following steps: collecting a current frame image; judging whether the current frame image is changed compared with the reference frame image; generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image; and sending the image frame data to the client so that the client executes corresponding processing strategies according to the image frame data, wherein the processing strategies comprise: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode. The method comprises the steps that identification judgment of a current frame image can be carried out on the basis of the current frame image and a reference frame image at a source end, so that the situation that a user forgets to turn off display equipment can be accurately identified, intelligent control is carried out, information leakage is effectively avoided, energy is saved, the environment is protected, and the problems of information safety and energy waste caused by forgetting to turn off a screen are solved easily.
In one embodiment, the generating the image frame data corresponding to the current frame image according to the change condition includes:
if the current frame image is unchanged from the reference frame image, generating first image frame data, wherein the first image frame data comprises: the method comprises the steps of enabling position information of a current frame image and a first frame type corresponding to the current frame image;
If the current frame image is changed compared with the reference frame image, judging the number of pixels of the current frame image, which is changed compared with the reference frame image;
if the number of the pixel points is smaller than a preset threshold value, coding an image of a change area of the current frame image compared with the reference frame image;
generating second image frame data, wherein the second image frame data comprises the following components: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change area further comprises: and the position information of the change area.
In one embodiment, the method further comprises:
judging whether the current frame image is a reference frame image or not;
if yes, generating third image frame data, wherein the third image frame data comprises the following steps: the coded data of the current frame image and a third frame type corresponding to the current frame image.
According to a second aspect of embodiments of the present disclosure, there is provided a terminal control method, which is applied to a client, the method including:
receiving image frame data sent by a source end, wherein the image frame data comprises: the method comprises the steps of encoding data of a current frame image and a frame type corresponding to the current frame image;
Executing a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode.
In one embodiment, executing a corresponding processing policy based on the image frame data comprises:
judging whether the received frame type corresponding to the current frame image is a first frame type or not;
if yes, detecting whether the received image frames are all of the first frame type or not within a first preset time;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, executing a corresponding processing policy based on the image frame data comprises:
judging whether the received frame type corresponding to the current frame image is a first frame type or not;
if yes, detecting whether the frame types of the preset number of image frames received continuously are all the first frame types;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the executing the corresponding processing policy according to the image frame data includes:
judging whether the received frame type corresponding to the current frame image is a second frame type or not;
If yes, judging whether the image frames continuously received in the second preset time are of the second frame type or not, and judging whether the coordinate positions of the change areas are the same or not;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the method further comprises:
detecting whether the received current frame image is an image frame of a third frame type;
if yes, resetting the timer;
if not, detecting whether the received current frame image is the image frame of the first frame type;
if yes, controlling the timer to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
if the subsequent continuously received image frames are all of the first frame type, judging whether the timer meets the first preset time or not;
if the timer meets the first preset time, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the timer to be cleared.
In one embodiment, the method further comprises:
detecting whether the received current frame image is an image frame of a third frame type;
If yes, resetting the counter;
if not, detecting whether the received current frame image is the image frame of the first frame type;
if yes, controlling the counter to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
if the subsequent continuously received image frames are all of the first frame type, judging whether the counter meets the preset quantity or not;
if the counter meets the preset quantity, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the counter to be cleared.
In one embodiment, the method further comprises:
if the image frame of the second frame type is received subsequently, judging the size of the image frame of the second frame type;
if the image frame of the second frame type is less than a preset threshold,
judging whether the continuously received image frames are of the second frame type or not in a second preset time, and judging whether the coordinate positions of the change areas are the same or not;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the controlling the client to enter the sleep mode or the power saving mode includes:
The method comprises the steps of entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
controlling the client to enter the sleep mode or the energy-saving mode according to the feedback information;
if feedback information sent by a user is not received within a third preset time, controlling the client to enter the energy-saving mode;
if feedback information sent by the user is not received in fourth preset time, controlling the client to enter the sleep mode; wherein the fourth preset time is greater than the third preset time.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal control apparatus, the apparatus being applied to a source terminal, the apparatus including:
the acquisition module is used for acquiring the current frame image;
the first judging module is used for judging whether the current frame image is changed compared with the reference frame image;
the generating module is configured to generate image frame data corresponding to the current frame image according to a change condition, where the image frame data includes: the coding data of the current frame image and the frame type corresponding to the current frame image;
The sending module is configured to send the image frame data to a client, so that the client executes a corresponding processing policy according to the image frame data, where the processing policy includes: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode.
In one embodiment, the generating module includes:
a first generation sub-module, configured to generate first image frame data if the current frame image is unchanged from the reference frame image, where the first image frame data includes: the method comprises the steps of enabling position information of a current frame image and a first frame type corresponding to the current frame image;
the first judging sub-module is used for judging the number of pixels of the current frame image, which is changed compared with the reference frame image, if the current frame image is changed compared with the reference frame image;
the coding submodule is used for coding the image of the change area of the current frame image compared with the reference frame image if the number of the pixel points is smaller than a preset threshold value;
a second generation sub-module, configured to generate second image frame data, where the second image frame data includes: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change area further comprises: and the position information of the change area.
In one embodiment, the generating module further comprises:
the second judging sub-module is used for judging whether the current frame image is a reference frame image or not;
and the third generating sub-module is used for generating third image frame data if yes, wherein the third image frame data comprises the following components: the coded data of the current frame image and a third frame type corresponding to the current frame image.
According to a fourth aspect of embodiments of the present disclosure, there is provided a terminal control apparatus applied to a client, the apparatus including:
the receiving module is used for receiving image frame data sent by a source end, and the image frame data comprises: the method comprises the steps of encoding data of a current frame image and a frame type corresponding to the current frame image;
the processing module is used for executing a corresponding processing strategy according to the image frame data, and the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode.
In one embodiment, the processing module comprises:
a third judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a first frame type;
the first detection submodule is used for detecting whether the received image frames are all of the first frame type or not within a first preset time if yes;
And the first control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
a fourth judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a first frame type;
the second detection submodule is used for detecting whether the frame types of the preset number of image frames which are continuously received subsequently are all the first frame types if yes;
and the second control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
a fifth judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a second frame type;
a sixth judging submodule, configured to judge whether the continuously received image frames are of the second frame type within a second preset time if yes, and whether the coordinate positions of the change regions are the same;
and the third control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
A third detection sub-module, configured to detect whether the received current frame image is an image frame of a third frame type;
the first zero clearing sub-module is used for clearing the timer if yes;
a fourth detection sub-module, configured to detect whether the received current frame image is an image frame of the first frame type if not;
the first timer control submodule is used for controlling the timer to start working if yes;
a fifth detection sub-module, configured to detect whether the image frames that are continuously received and are of the first frame type;
a seventh judging sub-module, configured to judge whether the timer meets the first preset time if the subsequent continuously received image frames are all of the first frame type;
a fourth control sub-module, configured to control the client to enter a sleep mode or an energy-saving mode if the timer meets the first preset time;
and the fifth control sub-module is used for controlling the timer to be cleared if the image frame of the third frame type is received subsequently.
In one embodiment, the processing module comprises:
a sixth detection sub-module, configured to detect whether the received current frame image is an image frame of a third frame type;
The second zero clearing sub-module is used for clearing the counter if yes;
a sixth detection sub-module, configured to detect whether the received current frame image is an image frame of the first frame type if not;
the second timer control submodule is used for controlling the counter to start working if yes;
a seventh detection sub-module, configured to detect whether the image frames that are continuously received and are all of the first frame type;
an eighth judging sub-module, configured to judge whether the counter meets the preset number if the image frames of the first frame type are continuously received subsequently;
a sixth control sub-module, configured to control the client to enter a sleep mode or an energy-saving mode if the counter meets the preset number;
and the third zero clearing sub-module is used for controlling the counter to be zero cleared if the image frame of the third frame type is received subsequently.
In one implementation, the method further comprises:
a ninth judging sub-module, configured to judge the size of the image frame of the second frame type if the image frame of the second frame type is subsequently received;
a tenth judging sub-module, configured to judge whether the continuously received image frames are all of the second frame type within a second preset time and whether the coordinate positions of the change regions are the same if the image frames of the second frame type are smaller than a preset threshold;
And the seventh control submodule is used for controlling the client to enter the sleep mode or the energy-saving mode if yes.
In one embodiment, further comprising:
the reminding module enters a sub-module and is used for entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
the receiving sub-module is used for receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
an eighth control sub-module, configured to control the client to enter the sleep mode or the energy-saving mode according to the feedback information;
the eighth control sub-module is further configured to control the client to enter the energy-saving mode if feedback information sent by the user is not received within a third preset time;
the eighth control sub-module is further configured to control the client to enter the sleep mode if feedback information sent by the user is not received within a fourth preset time; wherein the fourth preset time is greater than the third preset time.
According to a fifth aspect of embodiments of the present disclosure, there is provided a terminal control system, the system comprising: the system comprises a source end and a client end;
the source is configured to perform the method steps according to any one of the first aspect;
The client is configured to perform the method steps as described in any of the second aspects above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of a terminal control system provided in an embodiment of the present disclosure;
fig. 2 is a flowchart of a terminal control method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart of a terminal control method provided in an embodiment of the present disclosure;
FIG. 4 is a schematic image diagram provided by an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of an image provided by an embodiment of the present disclosure;
fig. 6 is a flowchart of a terminal control method provided in an embodiment of the present disclosure;
fig. 7 is a block diagram of a terminal control system according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a terminal control apparatus according to an embodiment of the present disclosure.
Fig. 9 is a block diagram of a terminal control apparatus provided in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The embodiment of the disclosure provides a terminal control system, as shown in fig. 1, the whole system is composed of a source end and a client end.
The source end comprises an acquisition end and an encoder.
The source end is a server, which includes an acquisition end and an encoder, and the acquisition end is used for acquiring image frames.
The client is a terminal device or a set of system composed of a decoder and a display terminal.
The decoder and the display are illustratively implemented in different devices, such as the decoder being located in a zero terminal and the display being a display.
Based on the system, the present disclosure provides a terminal control method.
The embodiment of the disclosure provides a terminal control method, which is applied to a source end, as shown in fig. 2, and includes the following steps:
101. And collecting the current frame image.
102. And judging whether the current frame image is changed compared with the reference frame image.
By way of example, the methods in this disclosure may rely on the vGTP protocol.
Specifically, the vGTP acquisition end acquires a current frame image, identifies the current frame image and judges whether the current frame image is changed compared with a reference frame image.
103. Generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image.
104. And sending the image frame data to the client so that the client executes corresponding processing strategies according to the image frame data, wherein the processing strategies comprise: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode.
In the present disclosure, different image frame data may be generated based on the change conditions of the current frame image and the reference frame image, so that the client may determine the change condition of the current frame image based on the image frame data, so as to select an appropriate processing policy based on the change condition of the current frame.
The sleep mode, namely the stop of the work of the decoding end and the encoding end, the stop of the work of acquisition, encoding, transmission and decoding, and the sleep. When the user wakes up by people, login information such as a user name, a password and the like is required to be input.
The energy-saving mode means that the client display module does not output data to the display device any more, and the display device is automatically closed after no signal source is input.
Reminding mode-when the source end stops at a frame, the method can control:
(1) Outputting an image of the client;
(2) Encoding program of source end and decoding program of client end: program termination, program dormancy, low power consumption operation of the program:
(3) And printing reminding information.
The terminal control method provided by the embodiment of the disclosure comprises the following steps: collecting a current frame image; judging whether the current frame image is changed compared with the reference frame image; generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image; and sending the image frame data to the client so that the client executes corresponding processing strategies according to the image frame data, wherein the processing strategies comprise: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode. The method comprises the steps that identification judgment of a current frame image can be carried out on the basis of the current frame image and a reference frame image at a source end, so that the situation that a user forgets to turn off display equipment can be accurately identified, intelligent control is carried out, information leakage is effectively avoided, energy is saved, the environment is protected, and the problems of information safety and energy waste caused by forgetting to turn off a screen are solved easily.
For the purposes of information security, energy saving and environmental protection, an identification monitoring module (vanxum Discern Moniter Module, abbreviated as vDMM) can be arranged at the encoding end, and the vDMM needs to classify the decoded data information. In particular, such information generally includes:
(1) Reference frame data: encoding, transmitting and decoding the whole frame image; the third frame type mentioned in the later embodiments;
(2) Pseudo-decoded data: the data is not transmitted per se, and only the decoding position information is marked; the first frame type mentioned in the following embodiments;
(3) Delta data: encoding, transmitting, and decoding only the change region; the second frame type mentioned in the later embodiments.
The vDMM focuses mainly on both (2) and (3) types of data.
In one embodiment, as shown in fig. 3, the step 103 includes the following sub-steps:
1031. if the current frame image is unchanged from the reference frame image, generating first image frame data, wherein the first image frame data comprises: the position information of the current frame image and the first frame type corresponding to the current frame image.
For example, whether each pixel point of the current frame image is identical to the pixel point of the corresponding position of the reference frame image or not may be determined, and if so, it is determined that the current frame image is unchanged from the reference frame image.
Further, if no change occurs compared with the reference frame image, the encoder is informed that the entire frame image is unchanged, and the position information of the current frame image is transmitted to the encoder.
When the whole frame of image is unchanged, the pixel point is unchanged, so that only one basic decoding position information is transmitted, and the image data in the true sense is not contained. During decoding, the pixels at the corresponding positions in the restored reference frame image are copied to finish decoding. The essence is a Pseudo decoding (Pseudo decoding) from which it can be distinguished that the image has not changed.
The reference frame image may be the previous frame image or another image.
1032. If the current frame image is changed compared with the reference frame image, judging the number of pixel points of the current frame image, which is changed compared with the reference frame image.
If each pixel point of the current frame image is not completely identical to the pixel point of the corresponding position of the reference frame image, and the same part of the pixel point of the current frame image and the pixel point of the corresponding position of the reference frame image exceeds a preset threshold (for example, 95%), determining the change amount (change area data is called Delta data) of the current frame image and the reference frame image.
1033. If the number of the pixel points is smaller than the preset threshold value, coding the image of the change area of the current frame image compared with the reference frame image.
1034. Generating second image frame data including: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change region further includes: position information of the change area.
If the image is changed compared with the reference frame image, only the region with changed pixel points is transmitted to the coding end, and particularly, when the current frame is changed by a small amount of pixel points compared with the reference frame image, the acquisition end only transmits the image information of the changed region to the coding end, and the information is called Delta data. At this time, the encoding end only encodes the Delta data, but does not encode the whole frame data, so that the workload of the encoding code stream and the decoding end is reduced while the consumption of hardware resources of a source end system is effectively reduced.
Furthermore, when the Delta data transferred is substantially the same, the pixel point changes only in a small amount of area, such as: I. the text editing interface only flashes the cursor II. The time and date change of the lower right corner can judge that the user does not operate at the moment according to the time and date change.
In one implementation, the method further includes:
judging whether the current frame image is a reference frame image or not;
if yes, generating third image frame data, wherein the third image frame data comprises: the coded data of the current frame image and a third frame type corresponding to the current frame image.
In addition, it is necessary to explain that: the acquisition end supporting Delta function only sends the changed regions to the encoder at a time. If the change regions transmitted are the same, then the delta data is the same twice.
The acquisition end supporting Delta function only sends the changed area to the encoder each time, and the acquisition end can be set according to the ratio of the pixel points of the changed area to the pixel points of the whole frame, for example < = 3%, which means that the change tends to be carried out only in a small amount.
If the cursor is flashing (as shown in fig. 4), the cursor is flashing at the same position, and the cursor is recognized at the encoding end, and whether the Delta area is consistent or not is checked.
If it is the time-date transformation in the lower right corner (as shown in fig. 5), it is identified at the encoding end whether the two Delta regions agree.
Furthermore, in addition to cursor flash and date, other small ranges of variation may be incorporated,
such as: i. the dog search input method menu bar animation ii. New message prompt in the lower right corner.
The embodiment of the disclosure provides a terminal control method, which is applied to a client, as shown in fig. 6, and includes:
201. receiving image frame data sent by a source end, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image.
202. Executing a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode.
After receiving the current image frame data, the client determines the frame type of the current image frame, and then executes a corresponding processing strategy based on the image frame data.
In the method, the source end generates different image frame data based on the change conditions of the current frame image and the reference frame image, so that the client end can judge the change condition of the current frame image based on the image frame data, and a proper processing strategy is selected based on the change condition of the current frame.
The terminal control method provided by the embodiment of the disclosure comprises the following steps: receiving image frame data sent by a source end, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image; executing a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode. The method comprises the steps that identification judgment of a current frame image can be carried out on the basis of the current frame image and a reference frame image at a source end, so that the situation that a user forgets to turn off display equipment can be accurately identified, intelligent control is carried out, information leakage is effectively avoided, energy is saved, the environment is protected, and the problems of information safety and energy waste caused by forgetting to turn off a screen are solved easily.
Further, the frame types include: reference frame data, delta data and dummy decoded data.
If the received image frame data is the reference frame data, the image frame data is directly decoded and displayed.
In one embodiment, the step 202 includes the sub-steps of:
2021. judging whether the frame type corresponding to the received current frame image is a first frame type (i.e., pseudo decoded data);
2022. if yes, detecting whether the received image frames are all of the first frame type or not within the first preset time.
2023. If yes, the client is controlled to enter a sleep mode or a power saving mode.
If all of the dummy decoded data is received within the first preset time, a sleep or power saving mode is entered.
In one embodiment, the step 202 includes the sub-steps of:
2024. it is determined whether the frame type corresponding to the received current frame image is the first frame type (i.e., dummy decoding data).
2025. If yes, detecting whether the frame types of the preset number of image frames received continuously are all the first frame types.
2026. If yes, the client is controlled to enter a sleep mode or a power saving mode.
If N frames of images received successively are all pseudo code data, a sleep or power saving mode is entered.
In one embodiment, the step 202 includes the sub-steps of:
2027. judging whether the frame type corresponding to the received current frame image is a second frame type (namely Delta data);
2028. if yes, judging whether the image frames continuously received in the second preset time are of the second frame type or not, and judging whether the coordinate positions of the change areas are the same or not;
2029. if yes, the client is controlled to enter a sleep mode or a power saving mode.
If the received image frame data are Delta data, the coordinate position of the received differential information Delta data is recorded, and if the Delta data continuously received within the second preset time are identical in the coordinate position, the sleep mode or the energy-saving mode is entered.
It should be noted that, in the above embodiment, the user may set different modes, and the first preset time, the second preset time and the preset number are all modified by the user according to the needs, or may be fixed, which is not limited.
In one embodiment, the step 202 includes the sub-steps of:
a1, detecting whether the received current frame image is an image frame of a third frame type.
A2, if yes, resetting the timer;
the received image frame is a reference frame and the timer is cleared to 0.
A3, if not, detecting whether the received current frame image is an image frame of the first frame type;
a4, if yes, controlling a timer to start working;
the timer starts to operate when the dummy decoded data is received.
A5, detecting whether the subsequent continuously received image frames are all of the first frame type;
a6, if the subsequent continuously received image frames are all of the first frame type, judging whether the timer meets the first preset time;
a7, if the timer meets the first preset time, controlling the client to enter a sleep mode or an energy-saving mode;
and continuously receiving the pseudo decoding data, judging whether the timer meets a preset first preset time, and if so, entering a sleep mode or an energy-saving mode.
A8, if the image frame of the third frame type is received subsequently, the control timer is cleared.
If the timer does not meet the first preset time, but the reference frame is received, step A1 is executed.
In one embodiment, the step 202 includes the sub-steps of:
b1, detecting whether the received current frame image is an image frame of a third frame type;
b2, if yes, resetting a counter;
the received image frame is a reference frame and the timer is cleared to 0.
B3, if not, detecting whether the received current frame image is an image frame of the first frame type;
b4, if yes, controlling the counter to start working;
the timer starts to operate when the dummy decoded data is received.
B5, detecting whether the subsequent continuously received image frames are all of the first frame type;
b6, if the subsequent continuously received image frames are all of the first frame type, judging whether the counter meets the preset quantity;
b7, if the counter meets the preset quantity, controlling the client to enter a sleep mode or an energy-saving mode;
and continuously receiving the pseudo decoding data, judging whether the counter meets the preset quantity, and if so, entering a sleep mode or an energy-saving mode.
And B8, if the image frame of the third frame type is received subsequently, the control counter is cleared.
If the counter does not meet the preset number, but the reference frame is received, step B1 is performed.
The preset number, the steps further include:
c1, if the image frame of the second frame type is received subsequently, judging the size of the image frame of the second frame type;
if the first preset time is not met in the timer or the preset quantity is not met in the counter, the delta data is received, and the size of the delta data is judged first.
C2 if the image frame of the second frame type is smaller than the preset threshold,
c3, judging whether the image frames continuously received in the second preset time are of a second frame type or not, and judging whether the coordinate positions of the change areas are the same or not;
and C4, if yes, controlling the client to enter a sleep mode or a power saving mode.
And judging the continuously received delta data, and if the delta data are basically the same or the N delta data are basically the same within the second preset time, identifying that no user operation exists.
By way of example, delta data is interpreted substantially identically as follows: delta1 of the first frame, delta2 of the second frame are recorded, and then the coordinate positions of delta1 and delta2 are the same.
Based on step C2 and step C3, the change area of the continuous frame is small and changes in the same place, for example, the cursor blinks, the time in the lower right corner of the display screen changes, and the like, and it can be recognized that there is no user operation.
In one embodiment, controlling a client to enter a sleep mode or a power saving mode includes the sub-steps of:
d1, entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
d2, receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
D3, controlling the client to enter a sleep mode or an energy-saving mode according to the feedback information;
d4, if feedback information sent by the user is not received within the third preset time, controlling the client to enter an energy-saving mode;
d5, if feedback information sent by the user is not received in the fourth preset time, controlling the client to enter a sleep mode; wherein the fourth preset time is greater than the third preset time.
The method can firstly enter a reminding mode to remind a user to select to enter a sleep mode or an energy-saving mode;
the energy saving mode may be entered if no user operation is performed within the third preset time T1, which is directly set, and the sleep mode may be entered if no user operation is performed within the fourth preset time T2 (T2 > T1).
Only one of them may be selected, or other defined modes may be used, and the present disclosure is not limited thereto.
Further, the user may set the monitoring time of the vDMM before formally using the product, for example: and I.5 minutes, the sleep mode is automatically entered when no operation is performed, and II.4 minutes, the energy-saving mode is automatically entered when no operation is performed.
The administrator can also perform unified configuration on the server side, set the monitoring time of the vDMM and issue to each client. Specifically, the vDMM Client works at the Client to control dormancy and energy conservation of the local Client; the vDMM Server works on the Server to perform unified configuration, setting and issuing. The unified configuration scheme is directed to clustered steering scenarios.
Specific scenarios to which the present disclosure may be applied are as follows:
scene 1: the user has no operation in 2 minutes before setting up to enter the security and energy-saving mode automatically. After the user leaves work, forgets to turn off the computer and the display device, and the current interface is a text editing page; the vDMM monitors that the decoded data is Delta data at this time and has no change for 2 minutes, and starts the sleep and power saving modes.
Specific:
(1) After the energy-saving mode is started, the client display module does not output data to the display equipment any more, and the display equipment is automatically closed after no signal source is input.
(2) After the sleep mode is started, the decoding end and the encoding end stop working, and the acquisition, encoding, transmission and decoding all stop working and enter the sleep mode. When the user wakes up by people, login information such as a user name, a password and the like is required to be input. Here, it is necessary to explain: the computer itself is not powered off and therefore does not result in the loss of user data information.
Scene 2: the user has set no operation before for 3 minutes to automatically enter the security mode. The user leaves the office for a long time, and the current interface is a static picture; the vDMM monitors the now dummy decoded data and automatically initiates sleep mode without change for 3 minutes.
Specifically, the decoding end and the encoding end stop working, and the acquisition, encoding, transmission and decoding all stop working and enter a sleep mode. When the user wakes up by people, login information such as a user name, a password and the like is required to be input.
In sum, the scheme can effectively solve the problems of information security leakage and power resource waste caused when a user forgets to close the screen; the scheme essentially utilizes the bottom layer information of the self-grinding vGTP protocol to carry out systematic analysis at the encoding end and the decoding end, accurately identifies the frame type, further carries out statistics and control, and finally achieves the purposes of security and energy conservation. That is, in the present disclosure, systematic analysis is performed at the encoding end and the decoding end, so that the situation that the user forgets to turn off the display device is accurately identified, intelligent control is performed, information leakage is effectively avoided, and energy conservation and environmental protection are achieved.
As shown in fig. 7, the present disclosure further provides a terminal control system, the system including: the system comprises a source end and a client end;
the source terminal acquires a current frame image;
the source end judges whether the current frame image is changed compared with a reference frame image;
the source end generates image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image;
The source end sends the image frame data to a client end so that the client end executes a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode. The method comprises the steps of carrying out a first treatment on the surface of the
The client receives image frame data sent by a source end, wherein the image frame data comprises: the method comprises the steps of encoding data of a current frame image and a frame type corresponding to the current frame image;
the client executes a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: and controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode.
In one embodiment, the generating the image frame data corresponding to the current frame image according to the change condition includes:
if the current frame image is unchanged from the reference frame image, generating first image frame data, wherein the first image frame data comprises: the method comprises the steps of enabling position information of a current frame image and a first frame type corresponding to the current frame image;
if the current frame image is changed compared with the reference frame image, judging the number of pixels of the current frame image, which is changed compared with the reference frame image;
If the number of the pixel points is smaller than a preset threshold value, coding an image of a change area of the current frame image compared with the reference frame image;
generating second image frame data, wherein the second image frame data comprises the following components: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change area further comprises: and the position information of the change area.
In one embodiment, the method further comprises:
judging whether the current frame image is a reference frame image or not;
if yes, generating third image frame data, wherein the third image frame data comprises the following steps: the coded data of the current frame image and a third frame type corresponding to the current frame image.
In one embodiment, executing a corresponding processing policy based on the image frame data comprises:
judging whether the received frame type corresponding to the current frame image is a first frame type or not;
if yes, detecting whether the received image frames are all of the first frame type or not within a first preset time;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, executing a corresponding processing policy based on the image frame data comprises:
Judging whether the received frame type corresponding to the current frame image is a first frame type or not;
if yes, detecting whether the frame types of the preset number of image frames received continuously are all the first frame types;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the executing the corresponding processing policy according to the image frame data includes:
judging whether the received frame type corresponding to the current frame image is a second frame type or not;
if yes, judging whether the image frames continuously received in the second preset time are of the second frame type or not, and judging whether the coordinate positions of the change areas are the same or not;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the method further comprises:
detecting whether the received current frame image is an image frame of a third frame type;
if yes, resetting the timer;
if not, detecting whether the received current frame image is the image frame of the first frame type;
if yes, controlling the timer to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
If the subsequent continuously received image frames are all of the first frame type, judging whether the timer meets the first preset time or not;
if the timer meets the first preset time, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the timer to be cleared.
In one embodiment, the method further comprises:
detecting whether the received current frame image is an image frame of a third frame type;
if yes, resetting the counter;
if not, detecting whether the received current frame image is the image frame of the first frame type;
if yes, controlling the counter to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
if the subsequent continuously received image frames are all of the first frame type, judging whether the counter meets the preset quantity or not;
if the counter meets the preset quantity, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the counter to be cleared.
In one embodiment, the method further comprises:
if the image frame of the second frame type is received subsequently, judging the size of the image frame of the second frame type;
if the image frame of the second frame type is less than a preset threshold,
judging whether the continuously received image frames are of the second frame type or not in a second preset time, and judging whether the coordinate positions of the change areas are the same or not;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
In one embodiment, the controlling the client to enter the sleep mode or the power saving mode includes:
the method comprises the steps of entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
controlling the client to enter the sleep mode or the energy-saving mode according to the feedback information;
if feedback information sent by a user is not received within a third preset time, controlling the client to enter the energy-saving mode;
if feedback information sent by the user is not received in fourth preset time, controlling the client to enter the sleep mode; wherein the fourth preset time is greater than the third preset time.
Based on the terminal control method described in the embodiment corresponding to fig. 1, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a terminal control device, as shown in fig. 8, where the device is applied to a source end, and the device includes:
the acquisition module 11 is used for acquiring the current frame image;
a first judging module 12, configured to judge whether the current frame image is changed compared with the reference frame image;
a generating module 13, configured to generate image frame data corresponding to the current frame image according to a change condition, where the image frame data includes: the coding data of the current frame image and the frame type corresponding to the current frame image;
a sending module 14, configured to send the image frame data to a client, so that the client executes a corresponding processing policy according to the image frame data, where the processing policy includes: and controlling the client to enter a sleep mode, a power saving mode or a reminding mode.
In one embodiment, the generating module includes:
a first generation sub-module, configured to generate first image frame data if the current frame image is unchanged from the reference frame image, where the first image frame data includes: the method comprises the steps of enabling position information of a current frame image and a first frame type corresponding to the current frame image;
The first judging sub-module is used for judging the number of pixels of the current frame image, which is changed compared with the reference frame image, if the current frame image is changed compared with the reference frame image;
the coding submodule is used for coding the image of the change area of the current frame image compared with the reference frame image if the number of the pixel points is smaller than a preset threshold value;
a second generation sub-module, configured to generate second image frame data, where the second image frame data includes: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change area further comprises: and the position information of the change area.
In one embodiment, the generating module further comprises:
the second judging sub-module is used for judging whether the current frame image is a reference frame image or not;
and the third generating sub-module is used for generating third image frame data if yes, wherein the third image frame data comprises the following components: the coded data of the current frame image and a third frame type corresponding to the current frame image.
Based on the terminal control method described in the embodiment corresponding to fig. 6, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a terminal control apparatus, as shown in fig. 9, which is applied to a client, and includes:
a receiving module 21, configured to receive image frame data sent by a source, where the image frame data includes: the method comprises the steps of encoding data of a current frame image and a frame type corresponding to the current frame image;
a processing module 22, configured to execute a corresponding processing policy according to the image frame data, where the processing policy includes: and controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode.
In one embodiment, the processing module comprises:
a third judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a first frame type;
the first detection submodule is used for detecting whether the received image frames are all of the first frame type or not within a first preset time if yes;
and the first control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
a fourth judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a first frame type;
The second detection submodule is used for detecting whether the frame types of the preset number of image frames which are continuously received subsequently are all the first frame types if yes;
and the second control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
a fifth judging sub-module, configured to judge whether a frame type corresponding to the received current frame image is a second frame type;
a sixth judging submodule, configured to judge whether the continuously received image frames are of the second frame type within a second preset time if yes, and whether the coordinate positions of the change regions are the same;
and the third control sub-module is used for controlling the client to enter the sleep mode or the energy-saving mode if the client is in the sleep mode.
In one embodiment, the processing module comprises:
a third detection sub-module, configured to detect whether the received current frame image is an image frame of a third frame type;
the first zero clearing sub-module is used for clearing the timer if yes;
a fourth detection sub-module, configured to detect whether the received current frame image is an image frame of the first frame type if not;
The first timer control submodule is used for controlling the timer to start working if yes;
a fifth detection sub-module, configured to detect whether the image frames that are continuously received and are of the first frame type;
a seventh judging sub-module, configured to judge whether the timer meets the first preset time if the subsequent continuously received image frames are all of the first frame type;
a fourth control sub-module, configured to control the client to enter a sleep mode or an energy-saving mode if the timer meets the first preset time;
and the fifth control sub-module is used for controlling the timer to be cleared if the image frame of the third frame type is received subsequently.
In one embodiment, the processing module comprises:
a sixth detection sub-module, configured to detect whether the received current frame image is an image frame of a third frame type;
the second zero clearing sub-module is used for clearing the counter if yes;
a sixth detection sub-module, configured to detect whether the received current frame image is an image frame of the first frame type if not;
the second timer control submodule is used for controlling the counter to start working if yes;
A seventh detection sub-module, configured to detect whether the image frames that are continuously received and are all of the first frame type;
an eighth judging sub-module, configured to judge whether the counter meets the preset number if the image frames of the first frame type are continuously received subsequently;
a sixth control sub-module, configured to control the client to enter a sleep mode or an energy-saving mode if the counter meets the preset number;
and the third zero clearing sub-module is used for controlling the counter to be zero cleared if the image frame of the third frame type is received subsequently.
In one implementation, the method further comprises:
a ninth judging sub-module, configured to judge the size of the image frame of the second frame type if the image frame of the second frame type is subsequently received;
a tenth judging sub-module, configured to judge whether the continuously received image frames are all of the second frame type within a second preset time and whether the coordinate positions of the change regions are the same if the image frames of the second frame type are smaller than a preset threshold;
and the seventh control submodule is used for controlling the client to enter the sleep mode or the energy-saving mode if yes.
In one embodiment, further comprising:
the reminding module enters a sub-module and is used for entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
the receiving sub-module is used for receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
an eighth control sub-module, configured to control the client to enter the sleep mode or the energy-saving mode according to the feedback information;
the eighth control sub-module is further configured to control the client to enter the energy-saving mode if feedback information sent by the user is not received within a third preset time;
the eighth control sub-module is further configured to control the client to enter the sleep mode if feedback information sent by the user is not received within a fourth preset time; wherein the fourth preset time is greater than the third preset time.
Based on the terminal control method described in the above embodiment corresponding to fig. 1, the embodiment of the present disclosure further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the terminal control method described in the embodiment corresponding to fig. 1, which is not described herein.
Based on the terminal control method described in the above embodiment corresponding to fig. 6, the embodiment of the present disclosure further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the terminal control method described in the embodiment corresponding to fig. 6, which is not described herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A terminal control method, wherein the method is applied to a source terminal, the method comprising:
collecting a current frame image;
judging whether the current frame image is changed compared with a reference frame image;
generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises: the coding data of the current frame image and the frame type corresponding to the current frame image;
sending the image frame data to a client so that the client executes a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode;
and generating image frame data corresponding to the current frame image according to the change condition, wherein the image frame data comprises:
if the current frame image is unchanged from the reference frame image, generating first image frame data, wherein the first image frame data comprises: the method comprises the steps of enabling position information of a current frame image and a first frame type corresponding to the current frame image;
if the current frame image is changed compared with the reference frame image, judging the number of pixels of the current frame image, which is changed compared with the reference frame image;
If the number of the pixel points is smaller than a preset threshold value, coding an image of a change area of the current frame image compared with the reference frame image;
generating second image frame data, wherein the second image frame data comprises the following components: the coded data corresponding to the change area and the second frame type corresponding to the current frame image; the coded data corresponding to the change area further comprises: and the position information of the change area.
2. The method according to claim 1, wherein the method further comprises:
judging whether the current frame image is a reference frame image or not;
if yes, generating third image frame data, wherein the third image frame data comprises the following steps: the coded data of the current frame image and a third frame type corresponding to the current frame image.
3. A terminal control method, wherein the method is applied to a client, the method comprising:
receiving image frame data sent by a source end, wherein the image frame data comprises: the method comprises the steps of encoding data of a current frame image and a frame type corresponding to the current frame image;
executing a corresponding processing strategy according to the image frame data, wherein the processing strategy comprises the following steps: controlling the client to enter a sleep mode, an energy-saving mode or a reminding mode;
The executing a corresponding processing strategy according to the image frame data comprises the following steps:
judging whether the frame type corresponding to the received current frame image is a second frame type or not, wherein the second frame type refers to delta data;
if yes, judging whether the image frames continuously received in the second preset time are of the second frame type or not, and judging whether the coordinate positions of the change areas are the same or not;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
4. A method according to claim 3, wherein performing a corresponding processing policy based on the image frame data comprises:
judging whether the received frame type corresponding to the current frame image is a first frame type or not, wherein the first frame type refers to pseudo decoding data;
if yes, detecting whether the received image frames are all of the first frame type or not within a first preset time;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
5. A method according to claim 3, wherein performing a corresponding processing policy based on the image frame data comprises:
judging whether the received frame type corresponding to the current frame image is a first frame type or not, wherein the first frame type refers to pseudo decoding data;
If yes, detecting whether the frame types of the preset number of image frames received continuously are all the first frame types;
and if yes, controlling the client to enter the sleep mode or the energy-saving mode.
6. A method according to claim 3, characterized in that the method further comprises:
detecting whether the received current frame image is an image frame of a third frame type, wherein the third frame type refers to reference frame data;
if yes, resetting the timer;
if not, detecting whether the received current frame image is an image frame of a first frame type, wherein the first frame type refers to pseudo decoding data;
if yes, controlling the timer to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
if the subsequent continuously received image frames are all of the first frame type, judging whether the timer meets a first preset time or not;
if the timer meets the first preset time, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the timer to be cleared.
7. A method according to claim 3, characterized in that the method further comprises:
Detecting whether the received current frame image is an image frame of a third frame type, wherein the third frame type refers to reference frame data;
if yes, resetting the counter;
if not, detecting whether the received current frame image is an image frame of a first frame type, wherein the first frame type refers to pseudo decoding data;
if yes, controlling the counter to start working;
detecting whether the subsequent continuously received image frames are all of the first frame type;
if the subsequent continuously received image frames are all of the first frame type, judging whether the counter meets the preset quantity or not;
if the counter meets the preset quantity, controlling the client to enter a sleep mode or an energy-saving mode;
and if the image frame of the third frame type is subsequently received, controlling the counter to be cleared.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
if the image frame of the second frame type is received subsequently, judging the size of the image frame of the second frame type;
if the image frame of the second frame type is less than a preset threshold,
judging whether the continuously received image frames are of the second frame type or not in a second preset time, and judging whether the coordinate positions of the change areas are the same or not;
And if yes, controlling the client to enter the sleep mode or the energy-saving mode.
9. The method according to any of claims 4-7, wherein the controlling the client to enter the sleep mode or the power saving mode comprises:
the method comprises the steps of entering a reminding mode, wherein the reminding mode is used for reminding a user to select to enter a sleep mode or an energy-saving mode;
receiving feedback information triggered by a user, wherein the feedback information indicates a mode to be entered;
controlling the client to enter the sleep mode or the energy-saving mode according to the feedback information;
if feedback information sent by a user is not received within a third preset time, controlling the client to enter the energy-saving mode;
if feedback information sent by the user is not received in fourth preset time, controlling the client to enter the sleep mode; wherein the fourth preset time is greater than the third preset time.
10. A terminal control system, the system comprising: the system comprises a source end and a client end;
the source is configured to perform the method steps of claim 1 or 2;
the client being adapted to perform the method steps of any of claims 3-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011184736.0A CN112306212B (en) | 2020-10-29 | 2020-10-29 | Terminal control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011184736.0A CN112306212B (en) | 2020-10-29 | 2020-10-29 | Terminal control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112306212A CN112306212A (en) | 2021-02-02 |
CN112306212B true CN112306212B (en) | 2024-02-23 |
Family
ID=74331874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011184736.0A Active CN112306212B (en) | 2020-10-29 | 2020-10-29 | Terminal control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112306212B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216726A (en) * | 2008-01-03 | 2008-07-09 | 埃派克森微电子(上海)有限公司 | Optical indicating equipment electricity-saving method |
CN101340313A (en) * | 2008-08-12 | 2009-01-07 | 中兴通讯股份有限公司 | Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering |
CN101458560A (en) * | 2008-12-25 | 2009-06-17 | 张有成 | Computer intelligent energy-conserving method |
CN101866209A (en) * | 2009-04-14 | 2010-10-20 | 鸿富锦精密工业(深圳)有限公司 | Auto sleep apparatus for computer |
CN103137074A (en) * | 2011-11-30 | 2013-06-05 | 天津三星电子有限公司 | Energy-saving method and device for displayer and displayer |
CN103543817A (en) * | 2013-08-14 | 2014-01-29 | 南通腾启电子商务有限公司 | Novel computer energy-saving system |
CN103853305A (en) * | 2012-11-28 | 2014-06-11 | 联想(北京)有限公司 | Power management method and electronic device |
CN104685873A (en) * | 2012-10-05 | 2015-06-03 | 索尼公司 | Encoding control device and encoding control method |
WO2015196540A1 (en) * | 2014-06-23 | 2015-12-30 | 中兴通讯股份有限公司 | Method, apparatus and device for testing response time of user interface of terminal |
CN105657531A (en) * | 2015-12-30 | 2016-06-08 | 深圳Tcl数字技术有限公司 | Hibernation control method and system for mobile terminal |
CN106155263A (en) * | 2015-04-14 | 2016-11-23 | 华为技术有限公司 | A kind of parameter adjusting method and device |
CN106293030A (en) * | 2015-06-02 | 2017-01-04 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN106604371A (en) * | 2016-10-28 | 2017-04-26 | 努比亚技术有限公司 | Intelligent terminal energy-saving controlling device and method and mobile terminal |
CN108811056A (en) * | 2018-03-27 | 2018-11-13 | 广东欧珀移动通信有限公司 | Frame per second method of adjustment, device, terminal device and storage medium |
CN109451027A (en) * | 2017-07-07 | 2019-03-08 | 西安万像电子科技有限公司 | Data transmission method and system |
CN109545136A (en) * | 2018-12-28 | 2019-03-29 | 深圳市华星光电半导体显示技术有限公司 | Energy-saving device of display equipment and method |
CN111093079A (en) * | 2019-12-30 | 2020-05-01 | 西安万像电子科技有限公司 | Image processing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8581974B2 (en) * | 2010-05-06 | 2013-11-12 | Aptina Imaging Corporation | Systems and methods for presence detection |
TW201403497A (en) * | 2012-07-09 | 2014-01-16 | Alpha Imaging Technology Corp | Electronic device and digital display device |
CN105845086B (en) * | 2016-05-31 | 2017-08-25 | 京东方科技集团股份有限公司 | ELVDD method of supplying power to and electric supply installation and display device based on displayer part |
-
2020
- 2020-10-29 CN CN202011184736.0A patent/CN112306212B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216726A (en) * | 2008-01-03 | 2008-07-09 | 埃派克森微电子(上海)有限公司 | Optical indicating equipment electricity-saving method |
CN101340313A (en) * | 2008-08-12 | 2009-01-07 | 中兴通讯股份有限公司 | Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering |
CN101458560A (en) * | 2008-12-25 | 2009-06-17 | 张有成 | Computer intelligent energy-conserving method |
CN101866209A (en) * | 2009-04-14 | 2010-10-20 | 鸿富锦精密工业(深圳)有限公司 | Auto sleep apparatus for computer |
CN103137074A (en) * | 2011-11-30 | 2013-06-05 | 天津三星电子有限公司 | Energy-saving method and device for displayer and displayer |
CN104685873A (en) * | 2012-10-05 | 2015-06-03 | 索尼公司 | Encoding control device and encoding control method |
CN103853305A (en) * | 2012-11-28 | 2014-06-11 | 联想(北京)有限公司 | Power management method and electronic device |
CN103543817A (en) * | 2013-08-14 | 2014-01-29 | 南通腾启电子商务有限公司 | Novel computer energy-saving system |
WO2015196540A1 (en) * | 2014-06-23 | 2015-12-30 | 中兴通讯股份有限公司 | Method, apparatus and device for testing response time of user interface of terminal |
CN106155263A (en) * | 2015-04-14 | 2016-11-23 | 华为技术有限公司 | A kind of parameter adjusting method and device |
CN106293030A (en) * | 2015-06-02 | 2017-01-04 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN105657531A (en) * | 2015-12-30 | 2016-06-08 | 深圳Tcl数字技术有限公司 | Hibernation control method and system for mobile terminal |
CN106604371A (en) * | 2016-10-28 | 2017-04-26 | 努比亚技术有限公司 | Intelligent terminal energy-saving controlling device and method and mobile terminal |
CN109451027A (en) * | 2017-07-07 | 2019-03-08 | 西安万像电子科技有限公司 | Data transmission method and system |
CN108811056A (en) * | 2018-03-27 | 2018-11-13 | 广东欧珀移动通信有限公司 | Frame per second method of adjustment, device, terminal device and storage medium |
CN109545136A (en) * | 2018-12-28 | 2019-03-29 | 深圳市华星光电半导体显示技术有限公司 | Energy-saving device of display equipment and method |
CN111093079A (en) * | 2019-12-30 | 2020-05-01 | 西安万像电子科技有限公司 | Image processing method and device |
Non-Patent Citations (1)
Title |
---|
视频图像变化信息的动态检测算法与实现;曾韬;余永权;;微计算机信息(第09期);311-312 * |
Also Published As
Publication number | Publication date |
---|---|
CN112306212A (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100039376A1 (en) | System and method for reducing power consumption of a display device | |
CN103281064B (en) | A kind of realize the method and device that household electrical appliances are energy-conservation | |
CN107085508B (en) | Information processing method and electronic equipment | |
US10750076B2 (en) | Network device, image processing method, and computer readable medium | |
CN110706391A (en) | Face identification verification passing method, identity verification device and storage medium | |
CN106200904A (en) | A kind of gesture identifying device, electronic equipment and gesture identification method | |
CN103236249A (en) | Method and device for automatically adjusting display equipment | |
US20030227972A1 (en) | Apparatus and method for coding moving image | |
CN112306212B (en) | Terminal control method and device | |
CN114842424A (en) | Intelligent security image identification method and device based on motion compensation | |
CN116246416A (en) | Intelligent analysis early warning platform and method for security protection | |
CN101411190A (en) | Spurious motion filter | |
CN114745767A (en) | Power consumption control method and device for electronic equipment, electronic equipment and storage medium | |
CN107317992A (en) | video communication control device and control method | |
CN105718033A (en) | Fatigue detection system and method | |
CN114187327A (en) | Target identification tracking method and device, computer readable medium and electronic equipment | |
CN113552989A (en) | Screen recording method and device and electronic equipment | |
CN115412381B (en) | Notification method, intelligent access control equipment, doorbell module, server and storage medium | |
CN117274177A (en) | Power transmission line external damage prevention method and device based on image recognition | |
CN112035082A (en) | Image processing method, device and system and electronic equipment | |
CN111970486B (en) | Video occlusion method, device and storage medium | |
CN116304441A (en) | Page locking method, device, medium and equipment | |
CN103095967A (en) | Video noise quantization calculation method and video noise quantization calculation system | |
CN112954359A (en) | Equipment control method and device | |
CN116994183A (en) | Multi-algorithm intelligent analysis method and device, storage medium and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |