CN108881360A - A kind of terminal control method and device based on view networking - Google Patents
A kind of terminal control method and device based on view networking Download PDFInfo
- Publication number
- CN108881360A CN108881360A CN201711175544.1A CN201711175544A CN108881360A CN 108881360 A CN108881360 A CN 108881360A CN 201711175544 A CN201711175544 A CN 201711175544A CN 108881360 A CN108881360 A CN 108881360A
- Authority
- CN
- China
- Prior art keywords
- resource
- view
- application program
- server
- summation
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a kind of terminal control methods and device based on view networking, method through the embodiment of the present invention, once it was found that system resource used in view networked terminals is greater than or equal to default resource threshold, the one or more application program being currently running on depending on networked terminals can be closed in time, to reduce system resource used in view networked terminals, so as to avoid maintaining higher level for a long time depending on system resource used in networked terminals and causing to be unable to operate normally depending on networked terminals, and then avoid the occurrence of the case where user can not continue normal use terminal, therefore, compared with the prior art, user experience can be improved in the embodiment of the present invention.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of terminal control method and dress based on view networking
It sets.
Background technique
Currently, the terminals such as mobile phone, tablet computer or laptop play more next in people's lives and work
More important role, meanwhile, with the rapid development of technology, explosive growth, Mei Geyong is presented in various application programs
Family usually can all install very more application programs in the terminal of oneself.
User often runs multiple application programs simultaneously at the terminal during using terminal, for example, wechat,
QQ, microblogging, facebook and browser etc..
However, each application program for being currently running can a part of system resource in using terminal, for example, memory
Resource and cpu resource etc., if in a long time simultaneously operation application program it is more, may result in terminal without
Method operates normally, such as crash or card machine etc., and then causes user that can not continue normal use terminal, leads to user experience
It is lower.
Summary of the invention
In view of the above problems, the embodiment of the present invention, which is shown, proposes a kind of terminal control method and dress based on view networking
It sets.
In a first aspect, the embodiment of the present invention shows a kind of terminal control method based on view networking, the view networking packet
View networked server, view networked terminals and NM server are included, between the view networked server and the view networked terminals,
And between the view networked server and the NM server, by view networking protocol communication connection, the method is answered
For in the NM server, the method includes:
The summation for the currently used system resource of view networked terminals that the view networked terminals are sent is received, it is described
The summation of system resource is that the view networked terminals generate, and is sent to the NM server depending on networked server via described
's;
If the summation of the system resource is greater than or equal to default resource threshold, calculate the summation of the system resource with
Resource difference between the default resource threshold;
Out code is sent to the view networked server, the view networked server is used to send out to the view networked terminals
Send the out code;The out code carries the resource difference, and the out code is used to indicate the view networking eventually
The summation that used system resource is closed at end is greater than or equal to an application program or multiple using journey for the resource difference
The combination of sequence.
Second aspect, the embodiment of the present invention show a kind of terminal control method based on view networking, the view networking packet
View networked server, view networked terminals and NM server are included, between the view networked server and the view networked terminals,
And between the view networked server and the NM server, by view networking protocol communication connection, the method is answered
For in the view networked terminals, the method includes:
Count the summation of the view currently used system resource of networked terminals;
To the summation for sending the system resource depending on networked server, the view networked server is used for the net
Pipe server sends the summation of the system resource;
Out code is received, the out code is that the NM server is generated for the summation of the system resource,
The view networked terminals are sent to depending on networked server via described;The out code carries the summation of the system resource
Resource difference between default resource threshold, the out code are used to indicate the view networked terminals and close used system
The summation for resource of uniting is greater than or equal to the combination of an application program or multiple application programs for the resource difference;
The combination of an application program or multiple application programs is closed according to the out code, so that the networking of shown view is eventually
The summation of system resource used in holding is less than the default resource threshold.
Wherein, the summation of the statistics view currently used system resource of networked terminals, including:
For described each currently running application program of view networked terminals, obtain for running the application program
The quantity of process;
According to the quantity determine the application program used in system resource;
System resource used in each currently running application program is summed, it is current to obtain the view networked terminals
The summation of used system resource.
Wherein, the combination that an application program or multiple application programs are closed according to the out code, including:
By sequence sequence of the currently running application program according to severity level from low to high on the view networked terminals;
Selection is located at the first application program from the application program of non-selected mistake;
It is poor to judge whether the summation of resource used in all application programs that selected is greater than or equal to the resource
Value;
If it is less than the resource difference, then returns to the execution selection from the application program of non-selected mistake and be located at first place
Application program the step of;
If it is greater than or equal to the resource difference, all application programs that selected are closed.
Wherein, the combination that an application program or multiple application programs are closed according to the out code, including:
By on the view networked terminals currently running application program according to used system resource from high to low
Sequence sorts;
Selection is located at the first application program from the application program of non-selected mistake;
It is poor to judge whether the summation of resource used in all application programs that selected is greater than or equal to the resource
Value;
If it is less than the resource difference, then returns to the execution selection from the application program of non-selected mistake and be located at first place
Application program the step of;
If it is greater than or equal to the resource difference, all application programs that selected are closed.
The third aspect, the embodiment of the present invention show a kind of terminal control mechanism based on view networking, the view networking packet
View networked server, view networked terminals and NM server are included, between the view networked server and the view networked terminals,
And between the view networked server and the NM server, by view networking protocol communication connection, described device is answered
For in the NM server, described device includes:
First receiving module, the currently used system of view networked terminals sent for receiving the view networked terminals
The summation for resource of uniting, the summation of the system resource are that the view networked terminals generate, and are sent via the view networked server
To the NM server;
Computing module calculates the system if the summation for the system resource is greater than or equal to default resource threshold
Resource difference between the summation and the default resource threshold of resource of uniting;
First sending module, it is described to be used for depending on networked server for sending out code to the view networked server
The out code is sent to the view networked terminals;The out code carries the resource difference, and the out code is used
One for being greater than or equal to the resource difference in the instruction summation for closing used system resource depending on networked terminals answers
With the combination of program or multiple application programs.
Fourth aspect, the embodiment of the present invention show a kind of terminal control mechanism based on view networking, the view networking packet
View networked server, view networked terminals and NM server are included, between the view networked server and the view networked terminals,
And between the view networked server and the NM server, by view networking protocol communication connection, described device is answered
For in the view networked terminals, described device to include:
Statistical module, for counting the summation of the view currently used system resource of networked terminals;
Second sending module, for the summation for sending the system resource depending on networked server, the view to be networked
Server is used to send the summation of the system resource to the NM server;
Second receiving module, for receiving out code, the out code is the NM server for the system
The summation for resource of uniting generates, and is sent to the view networked terminals depending on networked server via described;The out code carries
Resource difference between the summation of the system resource and default resource threshold, the out code are used to indicate the view networking
The summation that terminal closes used system resource is greater than or equal to an application program or multiple applications for the resource difference
The combination of program;
Closedown module, for closing the combination of an application program or multiple application programs according to the out code, with
The summation of system resource used in shown view networked terminals is set to be less than the default resource threshold.
Wherein, the statistical module includes:
Acquiring unit, for obtaining for running for described each currently running application program of view networked terminals
The quantity of the process of the application program;
Determination unit, for according to the quantity determine the application program used in system resource;
Summation unit obtains described for system resource used in each currently running application program to be summed
Depending on the summation of the currently used system resource of networked terminals.
Wherein, the closedown module includes:
First sequencing unit, for will on the view networked terminals currently running application program according to severity level by
It sorts down to high sequence;
First selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
First judging unit, for judging whether the summation of resource used in all application programs that selected is greater than
Or it is equal to the resource difference;
The first selecting unit is also used to then select from the application program of non-selected mistake if it is less than the resource difference
It selects positioned at the first application program;
First closing unit, is used for if it is greater than or is equal to the resource difference, and closing selected all using journey
Sequence.
Wherein, the closedown module includes:
Second sequencing unit, for will on the view networked terminals currently running application program according to used system
The sequence sequence of resource of uniting from high to low;
Second selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
Second judgment unit, for judging whether the summation of resource used in all application programs that selected is greater than
Or it is equal to the resource difference;
Second selecting unit is also used to then select from the application program of non-selected mistake if it is less than the resource difference
It selects positioned at the first application program;
Second closing unit, is used for if it is greater than or is equal to the resource difference, and closing selected all using journey
Sequence.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, NM server can currently be made via obtaining depending on networked server depending on networked terminals
System resource, and regarding the case where currently used system resource of networked terminals is greater than or equal to default resource threshold
Under, NM server sends out code to view networked terminals via view networked server, and out code carries view networked terminals
Difference of the currently used system resource between default resource threshold, when depending on networked terminals receive the out code it
Afterwards, the summation of system resource used in can closing is greater than or equal to an application program or multiple using journey for resource difference
The combination of sequence, so that system resource used in terminal is less than default resource threshold.
Method through the embodiment of the present invention, once system resource used in discovery view networked terminals is greater than or equal in advance
If resource threshold, the one or more application program being currently running on depending on networked terminals can be closed in time, to reduce view connection
System resource used in network termination is higher so as to avoid maintaining for a long time depending on system resource used in networked terminals
It is horizontal and cause to be unable to operate normally depending on networked terminals, and then the case where user can not continue normal use terminal is avoided the occurrence of,
Therefore, compared with the prior art, user experience can be improved in the embodiment of the present invention.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of structural block diagram of terminal control system embodiment based on view networking of the invention;
Fig. 6 is a kind of step flow chart of terminal control method embodiment based on view networking of the invention;
Fig. 7 is a kind of step flow chart of terminal control method embodiment based on view networking of the invention;
Fig. 8 is a kind of step flow chart of terminal control method embodiment based on view networking of the invention;
Fig. 9 is a kind of structural block diagram of terminal control mechanism embodiment based on view networking of the invention;
Figure 10 is a kind of structural block diagram of terminal control mechanism embodiment based on view networking of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow more than or equal to 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes:Node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes:Metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes:Node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded if meeting the following conditions:1) port
It is less than to send caching;2) the queue package counting facility is greater than or equal to zero.Disk array module 204 mainly realizes the control to hard disk
System is operated including initialization, the read-write etc. to hard disk;CPU module 203 is mainly responsible for (not to be shown with access switch, terminal in figure
Protocol processes between out), to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet
Location table) configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded:1)
It is less than that the port sends caching;2) the queue package counting facility is greater than or equal to zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than or equal to zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes:Node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
The data packet of access net mainly includes following sections:Destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention:Label uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition:Label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, is worked as depending on networked terminals
In the case that the summation of system resource used in preceding is greater than or equal to default resource threshold, NM server can join via view
Network server control view networked terminals close one or more application program, so that system money used in view networked terminals
The summation in source is less than default resource threshold, so as to avoid the summation of system resource used in view networked terminals from tieing up for a long time
Hold causes to be unable to operate normally depending on networked terminals in higher level, and then avoids the occurrence of user and can not continue normal use terminal
The case where, so as to improve user experience.
Referring to Fig. 5, a kind of structural block diagram of terminal control system embodiment based on view networking of the invention is shown, it should
System specifically includes:Depending on networked terminals 01, view networked server 02 and NM server 03;It networks depending on networked terminals 01 and view
Pass through view networking protocol communication connection between server 02;Depending on passing through view networking between networked server 02 and NM server 03
Protocol communication connection.
In embodiments of the present invention, within the system, the view networked server communicated to connect between NM server 03
02 can have one or more, with each depending on networked server 02 communicate to connect depending on networked terminals 01 can also have one or
It is multiple.
The embodiment of the present invention only in the system include 01, view networked server 02 and one of a view networked terminals
It is illustrated for a NM server 03, but not as the limitation to protection scope of the embodiment of the present invention.
Referring to Fig. 6, a kind of step flow chart of terminal control method embodiment based on view networking of the invention is shown,
This method can be applied in system as shown in Figure 5, and this method can specifically include following steps:
In step s101, the summation of the view currently used system resource of networked terminals is counted depending on networked terminals;
In order to avoid the summation depending on system resource used in networked terminals maintains higher level for a long time and cause to regard
Networked terminals are unable to operate normally, and then avoid the occurrence of the case where user can not continue normal use terminal.It can depending on networked terminals
With the summation of the periodic statistical view currently used system resource of networked terminals, and it is currently used to view networked server transmission
System resource summation, so as to which the summation of currently used system resource is forwarded to NM server depending on networked server.
However, it is generally the case that the summation depending on system resource used in networked terminals is also not and at every moment all maintains
In higher level, if higher depending on the frequency that networked terminals send the summation of currently used system resource, can also expend compared with
More Internet resources.
In order to save Internet resources, in an alternative embodiment of the invention, can come according to demand so that regarding networked terminals system
It counts the summation of currently used system resource and is sent via view networked server to NM server, for example, network manager service
Device generate according to demand obtain used in system resource summation acquisition request, then obtain to sending this depending on networked server
Request is taken, receives the acquisition request depending on networked server, and send the acquisition request to depending on networked terminals, is received depending on networked terminals
The acquisition request, and the summation of currently used system resource is counted according to the acquisition request, then via view the Internet services
Device sends the summation of the view currently used system resource of networked terminals to NM server.
Wherein, it can count in advance, in historical process, the summation of resource allocation used in which period view networked terminals
Higher level would generally be maintained, alternatively, when which external condition occurs, depending on the summation of resource allocation used in networked terminals
Higher level would generally be maintained, and in these periods or when these external conditions occur, NM server, which generates, to be obtained
The acquisition request of the summation of used system resource sends the acquisition request to depending on networked server, so that view the Internet services
Device forwards the acquisition request to depending on networked terminals, so as to avoid view networked terminals from also joining via view in unnecessary situation
Network server sends the summation of the view currently used system resource of networked terminals to NM server, and then saves network money
Source.
In embodiments of the present invention, depending on providing multiple processes in the operating system of networked terminals, process is answered for supporting
With the operation of program.Since application program is various, when different application programs needs to run, needed for process
Quantity is typically different.For regarding each currently running application program of networked terminals, obtain for running the application program
The quantity of process;According to the quantity determine the application program used in system resource;By it is currently running each apply journey
The summation of system resource used in sequence, obtains the summation of the view currently used system resource of networked terminals.
In step s 102, depending on networked terminals to the summation for sending the system resource depending on networked server;
In step s 103, the summation for the system resource that view networked terminals are sent is received depending on networked server;
In step S104, the summation of the system resource is sent to NM server depending on networked server;
In step s105, NM server receives the summation for the system resource that view networked server is sent;
In step s 106, if the summation of the system resource is greater than or equal to default resource threshold, NM server
Calculate the resource difference between the summation of the system resource and default resource threshold;
Default resource threshold can be locally located in advance, default resource threshold can be the system money in view networked terminals
80%, 85% or 90% etc. of source summation.
In embodiments of the present invention, NM server can compare the summation and default resource threshold of the system resource, such as
The summation of the fruit system resource is less than preset threshold, it is determined that maintains one depending on the currently used system resource of networked terminals
Lower level is not in the case where user can not continue normal use terminal, and then without closing application program, to tie
Line journey.
If the summation depending on the currently used system resource of networked terminals is greater than or equal to default resource threshold, illustrate
Summation depending on the currently used system resource of networked terminals is located at a higher level, is almost depending on networked terminals in other words
Operate at full capacity, if depending on maintained after the currently used system resource of networked terminals for a long time one it is higher horizontal or
Person operates at full capacity for a long time depending on networked terminals, is unable to operate normally depending on networked terminals.Alternatively, may also lead to also needs in user
When starting other applications in regarding networked terminals, it can not normally start other applications, Huo Zheneng depending on networked terminals
It is enough normally to start the other applications, but will affect the application program having been started up and operate normally.
Therefore, in order to avoid such case generation, if the summation of the system resource is greater than or equal to default resource threshold,
Then NM server needs the resource difference between the summation of computing system resource and default resource threshold then to execute step
S107。
In step s 107, NM server sends out code to view networked server;The out code carries the money
Source difference, the out code are used to indicate view networked terminals and close the summation of used system resource more than or equal to the resource
One application program of difference or the combination of multiple application programs.
In step S108, the out code that NM server is sent is received depending on networked server;
In step S109, depending on networked server to view networked terminals send the out code;
In step s 110, the out code that view networked server is sent is received depending on networked terminals;
In step S111, one application program or multiple application programs are closed according to the out code depending on networked terminals
Combination, so that the summation of system resource used in shown view networked terminals is less than default resource threshold.
In embodiments of the present invention, NM server can currently be made via obtaining depending on networked server depending on networked terminals
System resource, and regarding the case where currently used system resource of networked terminals is greater than or equal to default resource threshold
Under, NM server sends out code to view networked terminals via view networked server, and out code carries view networked terminals
Difference of the currently used system resource between default resource threshold, when depending on networked terminals receive the out code it
Afterwards, the summation of system resource used in can closing is greater than or equal to an application program or multiple using journey for resource difference
The combination of sequence, so that system resource used in terminal is less than default resource threshold.
Method through the embodiment of the present invention, once system resource used in discovery view networked terminals is greater than or equal in advance
If resource threshold, the one or more application program being currently running on depending on networked terminals can be closed in time, to reduce view connection
System resource used in network termination is higher so as to avoid maintaining for a long time depending on system resource used in networked terminals
It is horizontal and cause to be unable to operate normally depending on networked terminals, and then the case where user can not continue normal use terminal is avoided the occurrence of,
Therefore, compared with the prior art, user experience can be improved in the embodiment of the present invention.
Wherein, in embodiments of the present invention, it can be set in advance by being mounted on depending on each application program on networked terminals
Severity level is set, for example, it is assumed that application program, communication depending on the application program, music class that are equipped with video class on networked terminals
The application program of class, the application program of game class and system security classes application program, user usually often use game
The application program of class and communication class uses the application program of video class and music class once in a while, answering for system security classes is rarely employed
Use program.
Therefore, the severity level of the application program of game class and communication class can be set to high, by video class and music
The severity level of the application program of class is set as commonly, and sets low for the severity level of the application program of system security classes
Etc..
The higher application program of severity level is more important to user, and the lower application program of severity level does not weigh user
It wants.
For user itself, after user's starting higher application program of severity level on regarding networked terminals,
It generally requires to use the higher application program of severity level always;When starting severity level is lower on view networked terminals by user
After application program, often it is not necessarily required to that weight can be momentarily closed sometimes using the lower application program of severity level always
The lower application program of rank is wanted, and adverse effect can't be brought to user.
In this way, if user needs to close application program, the higher application program of severity level and severity level compared with
In low application program, user oneself often preferentially closes severity level and lower application program, and retains severity level
Higher application program.
However, if when closing application program preferentially by the higher closing application program of severity level, and remain weight
The lower application program of rank is wanted, may result in user to continue to use the higher application program of severity level being turned off
And start the higher application program of the severity level being turned off on depending on networked terminals again, so that being made depending on networked terminals
The summation of system resource is greater than or equal to default resource threshold, consequently, it is possible to regard system used in networked terminals
Resource maintains higher level and causes to be unable to operate normally depending on networked terminals for a long time, and then user occurs and can not continue normally
The feelings of using terminal.
Therefore, it in order to avoid above situation generation, when closing application program, can preferentially close unessential to user
Application program.Specifically, referring to Fig. 7, step S111 includes:
In step s 201, by view networked terminals currently running application program according to severity level from low to high
Sequence sorts;
In step S202, selection is located at the first application program from the application program of non-selected mistake;
In step S203, judge whether the summation of resource used in all application programs that selected is greater than or waits
In resource difference;
If it is less than resource difference, S202 is returned to step:Selection is located at first place from the application program of non-selected mistake
Application program;
All application programs that selected are closed in step S204 if it is greater than or equal to resource difference.
In embodiments of the present invention, in order to avoid closing excessive application program, after one application program of every selection, then
Whether the summation of resource used in all application programs for needing to judge selected is greater than or equal to resource difference;Once
The summation of resource used in all application programs selected is greater than or equal to resource difference, just without continuing reselection application
Program, and can directly close all application programs that selected and may make system resource used in view networked terminals
Summation is less than default resource threshold.
In embodiments of the present invention, different application programs required system resource used when depending on being run on networked terminals
It is different.
For example, QQ required system resource using 100MB when running on regarding networked terminals, wechat is on view networked terminals
Required system resource and browser using 150MB is required when depending on running on networked terminals when operation is using 180MB
System resource.
In embodiments of the present invention, user regard networked terminals on start an application program when, often need using
The application program.If closing more application program when closing application program depending on networked terminals, then it will lead to user only
It can continue to using less application program, it is lower so as to will lead to user experience.
Therefore, pre- being less than the summation for regarding system resource used in networked terminals in order to avoid reducing user experience
If in the case where resource threshold, it is also necessary to while enabling to run more application programs depending on networked terminals.However, since view joins
The system resource of network termination is limited, and therefore, it is higher used system resource can preferentially to be closed in view networked terminals
Application program.
Specifically, include referring to Fig. 8, step S111:
In step S301, will view networked terminals on currently running application program according to used system resource by
High to low sequence sequence;
In step s 302, selection is located at the first application program from the application program of non-selected mistake;
In step S303, judge whether the summation of resource used in all application programs that selected is greater than or waits
In resource difference;
If it is less than resource difference, S302 is returned to step, selection is located at first place from the application program of non-selected mistake
Application program;
All application programs that selected are closed in step s 304 if it is greater than or equal to resource difference.
In embodiments of the present invention, in order to avoid closing excessive application program, after one application program of every selection, then
Whether the summation of resource used in all application programs for needing to judge selected is greater than or equal to resource difference;Once
The summation of resource used in all application programs selected is greater than or equal to resource difference, just without continuing reselection application
Program, and can directly close all application programs that selected and may make system resource used in view networked terminals
Summation is less than default resource threshold.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 9, a kind of structural block diagram of terminal control mechanism embodiment based on view networking of the invention, institute are shown
Stating view networking includes view networked server, view networked terminals and NM server, and the view networked server and the view join
Between network termination, and, between the view networked server and the NM server, pass through view networking protocol communication link
It connects, described device is applied in the NM server, and described device includes:
First receiving module 11, it is currently used for receiving the view networked terminals that the view networked terminals are sent
The summation of system resource, the summation of the system resource are that the view networked terminals generate, and are sent out via the view networked server
Give the NM server;
Computing module 12, if the summation for the system resource, which is greater than or equal to, presets resource threshold, described in calculating
Resource difference between the summation of system resource and the default resource threshold;
First sending module 13, for sending out code to the view networked server, the view networked server is used
In sending the out code to the view networked terminals;The out code carries the resource difference, the out code
It is used to indicate one that the summation that the view networked terminals close used system resource is greater than or equal to the resource difference
The combination of application program or multiple application programs.
In embodiments of the present invention, NM server can currently be made via obtaining depending on networked server depending on networked terminals
System resource, and regarding the case where currently used system resource of networked terminals is greater than or equal to default resource threshold
Under, NM server sends out code to view networked terminals via view networked server, and out code carries view networked terminals
Difference of the currently used system resource between default resource threshold, when depending on networked terminals receive the out code it
Afterwards, the summation of system resource used in can closing is greater than or equal to an application program or multiple using journey for resource difference
The combination of sequence, so that system resource used in terminal is less than default resource threshold.
Through the embodiment of the present invention, once system resource used in discovery view networked terminals is greater than or equal to default resource
Threshold value can close the one or more application program being currently running on depending on networked terminals in time, to reduce view networked terminals
Used system resource, maintain higher level for a long time depending on system resource used in networked terminals so as to avoiding and
Cause to be unable to operate normally depending on networked terminals, and then avoids the occurrence of the case where user can not continue normal use terminal, therefore, phase
Than in the prior art, user experience is can be improved in the embodiment of the present invention.
Referring to Fig.1 0, a kind of terminal control mechanism based on view networking of the invention is shown, the view networking includes regarding
Networked server, view networked terminals and NM server, between the view networked server and the view networked terminals, with
And between the view networked server and the NM server, pass through view networking protocol communication connection, the method application
In the view networked terminals, described device includes:
Statistical module 21, for counting the summation of the view currently used system resource of networked terminals;
Second sending module 22, for the summation for sending the system resource depending on networked server, the view to join
Network server is used to send the summation of the system resource to the NM server;
Second receiving module 23, for receiving out code, the out code is the NM server for described
The summation of system resource generates, and is sent to the view networked terminals depending on networked server via described;The out code is taken
Resource difference between summation with the system resource and default resource threshold, the out code are used to indicate the view connection
Network termination close used in the summation of system resource be greater than or equal to an application program of the resource difference or multiple answer
With the combination of program;
Closedown module 24, for closing the combination of an application program or multiple application programs according to the out code,
So that the summation of system resource used in shown view networked terminals is less than the default resource threshold.
Wherein, the statistical module 21 includes:
Acquiring unit, for obtaining for running for described each currently running application program of view networked terminals
The quantity of the process of the application program;
Determination unit, for according to the quantity determine the application program used in system resource;
Summation unit obtains described for system resource used in each currently running application program to be summed
Depending on the summation of the currently used system resource of networked terminals.
Wherein, the closedown module 24 includes:
First sequencing unit, for will on the view networked terminals currently running application program according to severity level by
It sorts down to high sequence;
First selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
First judging unit, for judging whether the summation of resource used in all application programs that selected is greater than
Or it is equal to the resource difference;
The first selecting unit is also used to select from the application program of non-selected mistake if it is less than the resource difference
Positioned at the first application program;
First closing unit, is used for if it is greater than or is equal to the resource difference, and closing selected all using journey
Sequence.
Wherein, the closedown module 24 includes:
Second sequencing unit, for will on the view networked terminals currently running application program according to used system
The sequence sequence of resource of uniting from high to low;
Second selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
Second judgment unit, for judging whether the summation of resource used in all application programs that selected is greater than
Or it is equal to the resource difference;
Second selecting unit is also used to then select from the application program of non-selected mistake if it is less than the resource difference
It selects positioned at the first application program;
Second closing unit, is used for if it is greater than or is equal to the resource difference, and closing selected all using journey
Sequence.
In embodiments of the present invention, NM server can currently be made via obtaining depending on networked server depending on networked terminals
System resource, and regarding the case where currently used system resource of networked terminals is greater than or equal to default resource threshold
Under, NM server sends out code to view networked terminals via view networked server, and out code carries view networked terminals
Difference of the currently used system resource between default resource threshold, when depending on networked terminals receive the out code it
Afterwards, the summation of system resource used in can closing is greater than or equal to an application program or multiple using journey for resource difference
The combination of sequence, so that system resource used in terminal is less than default resource threshold.
Through the embodiment of the present invention, once system resource used in discovery view networked terminals is greater than or equal to default resource
Threshold value can close the one or more application program being currently running on depending on networked terminals in time, to reduce view networked terminals
Used system resource, maintain higher level for a long time depending on system resource used in networked terminals so as to avoiding and
Cause to be unable to operate normally depending on networked terminals, and then avoids the occurrence of the case where user can not continue normal use terminal, therefore, phase
Than in the prior art, user experience is can be improved in the embodiment of the present invention.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of terminal control method and device based on view networking provided by the present invention, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (10)
1. a kind of terminal control method based on view networking, which is characterized in that the view networking includes view networked server, view connection
Network termination and NM server, between the view networked server and the view networked terminals, and, the view the Internet services
Between device and the NM server, by view networking protocol communication connection, the method is applied to the NM server
In, the method includes:
Receive the summation for the currently used system resource of view networked terminals that the view networked terminals are sent, the system
The summation of resource is that the view networked terminals generate, and is sent to the NM server depending on networked server via described;
If the summation of the system resource is greater than or equal to default resource threshold, calculate the summation of the system resource with it is described
Resource difference between default resource threshold;
Out code is sent to the view networked server, the view networked server is used to send institute to the view networked terminals
State out code;The out code carries the resource difference, and the out code is used to indicate the view networked terminals and closes
The summation of system resource used in closing is greater than or equal to an application program or multiple application programs for the resource difference
Combination.
2. a kind of terminal control method based on view networking, which is characterized in that the view networking includes view networked server, view connection
Network termination and NM server, between the view networked server and the view networked terminals, and, the view the Internet services
Between device and the NM server, by view networking protocol communication connection, the method is applied to the view networked terminals
In, the method includes:
Count the summation of the view currently used system resource of networked terminals;
To the summation for sending the system resource depending on networked server, the view networked server is used to take to the network management
Business device sends the summation of the system resource;
Out code is received, the out code is that the NM server is generated for the summation of the system resource, via
It is described to be sent to the view networked terminals depending on networked server;The out code carries the summation of the system resource and pre-
If the resource difference between resource threshold, the out code is used to indicate the view networked terminals and closes used system money
The summation in source is greater than or equal to the combination of an application program or multiple application programs for the resource difference;
The combination that an application program or multiple application programs are closed according to the out code, so that shown view networked terminals institute
The summation of the system resource used is less than the default resource threshold.
3. according to the method described in claim 2, it is characterized in that, the statistics currently used system of the view networked terminals
The summation for resource of uniting, including:
For described each currently running application program of view networked terminals, the process for running the application program is obtained
Quantity;
According to the quantity determine the application program used in system resource;
System resource used in each currently running application program is summed, obtains described currently being made depending on networked terminals
The summation of system resource.
4. according to the method described in claim 3, it is characterized in that, described close an application program according to the out code
Or the combination of multiple application programs, including:
By sequence sequence of the currently running application program according to severity level from low to high on the view networked terminals;
Selection is located at the first application program from the application program of non-selected mistake;
Judge whether the summation of resource used in all application programs that selected is greater than or equal to the resource difference;
If it is less than the resource difference, then returns and execute selection the answering positioned at first place from the application program of non-selected mistake
The step of with program;
If it is greater than or equal to the resource difference, all application programs that selected are closed.
5. according to the method described in claim 3, it is characterized in that, described close an application program according to the out code
Or the combination of multiple application programs, including:
By sequence of the currently running application program according to used system resource from high to low on the view networked terminals
Sequence;
Selection is located at the first application program from the application program of non-selected mistake;
Judge whether the summation of resource used in all application programs that selected is greater than or equal to the resource difference;
If it is less than the resource difference, then returns and execute selection the answering positioned at first place from the application program of non-selected mistake
The step of with program;
If it is greater than or equal to the resource difference, all application programs that selected are closed.
6. a kind of terminal control mechanism based on view networking, which is characterized in that the view networking includes view networked server, view connection
Network termination and NM server, between the view networked server and the view networked terminals, and, the view the Internet services
Between device and the NM server, by view networking protocol communication connection, described device is applied to the NM server
In, described device includes:
First receiving module, for receiving the currently used system money of the view networked terminals that the view networked terminals are sent
The summation in source, the summation of the system resource are that the view networked terminals generate, and are sent to institute depending on networked server via described
State NM server;
Computing module calculates the system money if the summation for the system resource is greater than or equal to default resource threshold
Resource difference between the summation in source and the default resource threshold;
First sending module, for sending out code to the view networked server, the view networked server is used for institute
It states view networked terminals and sends the out code;The out code carries the resource difference, and the out code is for referring to
Show that the summation of system resource used in the view networked terminals closing is greater than or equal to one of the resource difference using journey
The combination of sequence or multiple application programs.
7. a kind of terminal control mechanism based on view networking, which is characterized in that the view networking includes view networked server, view connection
Network termination and NM server, between the view networked server and the view networked terminals, and, the view the Internet services
Between device and the NM server, by view networking protocol communication connection, described device is applied to the view networked terminals
In, described device includes:
Statistical module, for counting the summation of the view currently used system resource of networked terminals;
Second sending module, for the summation for sending the system resource depending on networked server, the view the Internet services
Device is used to send the summation of the system resource to the NM server;
Second receiving module, for receiving out code, the out code is that the NM server is provided for the system
The summation in source generates, and is sent to the view networked terminals depending on networked server via described;Described in the out code carries
Resource difference between the summation of system resource and default resource threshold, the out code are used to indicate the view networked terminals
The summation of system resource used in closing is greater than or equal to an application program or multiple application programs for the resource difference
Combination;
Closedown module, for closing the combination of an application program or multiple application programs according to the out code, so that institute
Show that the summation of system resource used in view networked terminals is less than the default resource threshold.
8. device according to claim 7, which is characterized in that the statistical module includes:
Acquiring unit, it is described for running for obtaining for described each currently running application program of view networked terminals
The quantity of the process of application program;
Determination unit, for according to the quantity determine the application program used in system resource;
Summation unit obtains the view connection for system resource used in each currently running application program to be summed
The summation of the currently used system resource of network termination.
9. device according to claim 8, which is characterized in that the closedown module includes:
First sequencing unit, for will on the view networked terminals currently running application program according to severity level by down to
High sequence sequence;
First selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
First judging unit, for judging whether the summation of resource used in all application programs that selected is greater than or waits
In the resource difference;
The first selecting unit is also used to then select position from the application program of non-selected mistake if it is less than the resource difference
In the first application program;
First closing unit is used for if it is greater than or is equal to the resource difference, closes all application programs that selected.
10. device according to claim 8, which is characterized in that the closedown module includes:
Second sequencing unit, for that currently running application program will be provided according to used system on the view networked terminals
The sequence sequence of source from high to low;
Second selecting unit is located at the first application program for selecting from the application program of non-selected mistake;
Second judgment unit, for judging whether the summation of resource used in all application programs that selected is greater than or waits
In the resource difference;
Second selecting unit is also used to then select position from the application program of non-selected mistake if it is less than the resource difference
In the first application program;
Second closing unit is used for if it is greater than or is equal to the resource difference, closes all application programs that selected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711175544.1A CN108881360B (en) | 2017-11-22 | 2017-11-22 | Terminal control method and device based on video network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711175544.1A CN108881360B (en) | 2017-11-22 | 2017-11-22 | Terminal control method and device based on video network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881360A true CN108881360A (en) | 2018-11-23 |
CN108881360B CN108881360B (en) | 2021-06-29 |
Family
ID=64325755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711175544.1A Active CN108881360B (en) | 2017-11-22 | 2017-11-22 | Terminal control method and device based on video network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881360B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102306095A (en) * | 2011-07-21 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Application management method and terminal |
CN103686072A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Video internet video monitoring method and system, protocol conversion server, and video internet server |
CN104778086A (en) * | 2015-04-15 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method and device for releasing resources |
WO2015131679A1 (en) * | 2014-08-28 | 2015-09-11 | 中兴通讯股份有限公司 | Task process processing method and device |
CN104956624A (en) * | 2012-12-05 | 2015-09-30 | 瑞典爱立信有限公司 | Network management model extension |
CN105307024A (en) * | 2014-06-13 | 2016-02-03 | 北京视联动力国际信息技术有限公司 | Graphic and text information interface control method and device based on internet of videos |
US20160062700A1 (en) * | 2014-09-01 | 2016-03-03 | Fu Tai Hua Industry (Shenzhen) Co., Ltd. | System, method for cleaning memory space and terminal device with memory space cleaning function |
CN106572250A (en) * | 2016-10-31 | 2017-04-19 | 努比亚技术有限公司 | Method and device for cleaning mobile terminal background application |
US20170149931A1 (en) * | 2015-11-24 | 2017-05-25 | Vmware, Inc. | Methods and apparatus to manage workload domains in virtual server racks |
-
2017
- 2017-11-22 CN CN201711175544.1A patent/CN108881360B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102306095A (en) * | 2011-07-21 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Application management method and terminal |
CN104956624A (en) * | 2012-12-05 | 2015-09-30 | 瑞典爱立信有限公司 | Network management model extension |
CN103686072A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Video internet video monitoring method and system, protocol conversion server, and video internet server |
CN105307024A (en) * | 2014-06-13 | 2016-02-03 | 北京视联动力国际信息技术有限公司 | Graphic and text information interface control method and device based on internet of videos |
WO2015131679A1 (en) * | 2014-08-28 | 2015-09-11 | 中兴通讯股份有限公司 | Task process processing method and device |
US20160062700A1 (en) * | 2014-09-01 | 2016-03-03 | Fu Tai Hua Industry (Shenzhen) Co., Ltd. | System, method for cleaning memory space and terminal device with memory space cleaning function |
CN104778086A (en) * | 2015-04-15 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method and device for releasing resources |
US20170149931A1 (en) * | 2015-11-24 | 2017-05-25 | Vmware, Inc. | Methods and apparatus to manage workload domains in virtual server racks |
CN106572250A (en) * | 2016-10-31 | 2017-04-19 | 努比亚技术有限公司 | Method and device for cleaning mobile terminal background application |
Non-Patent Citations (1)
Title |
---|
陈林: ""基于视联网技术的出入境预警系统设计与实现"", 《万方数据》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108881360B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109215653A (en) | A kind of method and apparatus of voice operating | |
CN109151058A (en) | A kind of data transmission method and device | |
CN110475125A (en) | Video transcoding method and device | |
CN108965226A (en) | A kind of data capture method and device based on view networking | |
CN110049346A (en) | A kind of method and system of net cast | |
CN109587432A (en) | A kind of conference speech terminal switching method and system | |
CN110049268A (en) | A kind of videophone connection method and device | |
CN110062194A (en) | A kind of processing method of audio, video data, device and device and storage medium | |
CN110048903A (en) | A kind of association turns gateway status monitoring method and device | |
CN109347930A (en) | A kind of task processing method and device | |
CN109729184A (en) | A kind of method and apparatus of view networking service processing | |
CN109194901A (en) | A kind of method for processing video frequency and device based on view networking | |
CN109286775A (en) | A kind of multi-person conference control method and system | |
CN110022500A (en) | A kind of loss treating method and device | |
CN109889380A (en) | A kind of transmission rate processing method and system of data packet | |
CN109922297A (en) | Call method and device | |
CN109218824A (en) | A kind of method and apparatus of business processing | |
CN109121017A (en) | A kind of view intranet network method for evaluating quality and device | |
CN110418199A (en) | A kind of information processing method and system based on view networking | |
CN110049069A (en) | A kind of data capture method and device | |
CN108881965B (en) | A kind of server processes operating method and device | |
CN110267110A (en) | A kind of concurrent program request processing method and system based on view networking | |
CN110493312A (en) | Processing method, device, electronic equipment and the storage medium of abnormal terminals box | |
CN109714558A (en) | A kind of communication connection detection method and system based on view networking | |
CN110022455A (en) | A kind of system and method for Conference control |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100000 Gehua Building 1103, No. 1 Qinglong Hutong, Dongcheng District, Beijing Applicant after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Address before: 100000 Beijing city Dongcheng District Qinglong Hutong No. 1 Gehua building A1103-1113 Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |