CN110347434A - A kind of processing method and device for calculating equipment application - Google Patents
A kind of processing method and device for calculating equipment application Download PDFInfo
- Publication number
- CN110347434A CN110347434A CN201910473264.1A CN201910473264A CN110347434A CN 110347434 A CN110347434 A CN 110347434A CN 201910473264 A CN201910473264 A CN 201910473264A CN 110347434 A CN110347434 A CN 110347434A
- Authority
- CN
- China
- Prior art keywords
- system service
- application
- service
- memory
- calculating equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 230000006870 function Effects 0.000 claims abstract description 46
- 230000007246 mechanism Effects 0.000 claims abstract description 12
- 230000002159 abnormal effect Effects 0.000 claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 34
- 230000001419 dependent effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 59
- 238000010586 diagram Methods 0.000 description 21
- 230000008569 process Effects 0.000 description 12
- 238000009434 installation Methods 0.000 description 9
- 230000004913 activation Effects 0.000 description 8
- 238000003860 storage Methods 0.000 description 7
- 238000012797 qualification Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
This application discloses a kind of for the processing method and device that calculate equipment application, this method comprises: obtaining system service applies information out of service;Acquisition causes the system service using cause informa out of service;The cause informa obtained according to above-mentioned steps, execute compensating operation corresponding with the cause informa, such as adjustment calculates the memory of equipment using data or starts system service application by preset Restart mechanisms or starting back-up system is served by, and establishes and the connection relationship of client application.Client application is aloowed to be quickly obtained system function service in the case where system service caused by the special screnes such as insufficient space or system service application upgrade can be used to apply by abnormal close for user misoperation, memory by using this method.
Description
Technical field
This application involves calculate equipment application field, and in particular to for the processing method for calculating equipment application.The application
It is related to simultaneously for the processing unit and electronic equipment for calculating equipment application.The application is further related to for system service application
Processing method, for system service application processing unit and electronic equipment.
Background technique
System customization service refers to the custom-built system ability interface provided by device manufacturer to scheduled client application
(service application) is called, and for the Interface integration in system service application, system service application carries above-mentioned service application
With the role as a bridge and a link between the hardware terminals such as businessman's management equipment.
In the operating scheme of existing system customization service, it will usually be arranged to the system service application of system customization
For the application of memory-resident, the program only considered system service application can long-play as far as possible, extend from the time
The offer time of system service, but do not account for system service and apply because of user misoperation, system service application upgrade
Cause system service using the case where being closed extremely etc. various special screnes, in that case, system service is caused to be answered
It is disconnected with the connection between closing, client application and system service application, so that system function can not be provided for client application
It can service.
Summary of the invention
The application provide it is a kind of for calculate equipment application processing method, with solve it is existing because special screne cause be
System is served by can not provide the problem of system function services caused by abnormal close for client application.The application is in addition
It provides a kind of for the processing unit and a kind of electronic equipment that calculate equipment application.
The application provides a kind of for the processing method for calculating equipment application, comprising:
It obtains system service and applies information out of service;
Acquisition causes the system service using cause informa out of service;
If the cause informa is that the system service is lower than using the usable memory headroom of affiliated calculating equipment
Pent information is applied in the system service caused by predetermined memory headroom threshold value, then will be belonging to system service application
The memory of calculating equipment can extremely make the state of the system service application continuous service using data point reuse;Start the system
It is served by;The system service is established using the connection relationship with client application;
If the cause informa is that the information closed extremely is applied in system service, start by preset Restart mechanisms
The system service application;The system service is established using the connection relationship with client application;
If the cause informa is that the system service application answer using the caused system service of update
With pent information, then starting is served by with the system service using back-up system with the same function;Establish institute
It states back-up system and is served by connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
Optionally, the cause informa is that the system service is low using the usable memory headroom of affiliated calculating equipment
Pent information is applied in the system service caused by predetermined memory headroom threshold value, and the acquisition causes the system to take
Cause informa out of service is applied in business, comprising:
Judge whether the system service is lower than predetermined memory sky using the usable memory headroom of affiliated calculating equipment
Between threshold value;
It is closed if it is, judging whether the system service is in using corresponding memory use priority numerical value
Calculating equipment application corresponding in the range of memory use priority numerical value;
If it is, determining that causing the system service to apply cause informa out of service is the system service application
The usable memory headroom of affiliated calculating equipment is lower than the system service application quilt caused by predetermined memory headroom threshold value
The information of closing;
Wherein, system service is that the memory applied with system service uses using corresponding memory use priority numerical value
The numerical value that qualification matches, when the usable memory headroom for calculating equipment is lower than predetermined memory headroom threshold value, the meter
The calculating equipment application calculated in equipment is successively closed according to the sequence of memory use priority numerical value from low to high.
Optionally, described that the system service can extremely be made into institute using data point reuse using the memory of affiliated calculating equipment
State the state of system service application continuous service, comprising:
The system service in the calculating equipment is supreme using corresponding memory use priority numerical value adjustment
Numerical priority value corresponding to other calculating equipment applications in the calculating equipment.
Optionally, further includes:
After the completion of system service application updates, the system service application is restarted;
The system service is established using the connection relationship with client application.
It is optionally, described to establish the system service using the connection relationship with client application, comprising:
Global notification information is sent, the client application is notified to establish a connection with the system service application.
The application also provides a kind of for the processing method for calculating equipment application, comprising:
Client application obtains system service and applies information out of service, and the client application depends on the system
It is served by provided system service;
The client application starts the system service application, and establishes a connection with the system service application.
Optionally, the client application obtains system service and applies information out of service, comprising:
When the client application and the system service application establish a connection, the client application registration is used
In the monitor that the operation conditions applied to the system service is monitored;
The client application receives the system service that the monitor returns and applies information out of service.
Optionally, the client application establishes a connection with the system service application, comprising:
The client application detects itself and the system before the system service provided using system service application
System is served by whether establish a connection;
If not, the client application establishes the connection relationship with system service application.
The application also provides a kind of processing method for system service application, comprising:
It obtains system service and uses data using the memory of affiliated calculating equipment;
When the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, if the calculating equipment
Memory can lead to the system service application using data and be closed, then the memory for calculating equipment is used data point reuse extremely
It can make the state of the system service application continuous service.
Optionally, the acquisition system service uses data using the memory of affiliated calculating equipment, comprising:
Obtain memory use priority numerical value corresponding to the calculating equipment application in the calculating equipment, wherein described
Calculating memory use priority numerical value corresponding to equipment application is and the memory competency for operation phase for calculating equipment application
The numerical value matched, when the usable memory headroom for calculating equipment is lower than predetermined memory headroom threshold value, in the calculating equipment
Calculating equipment application be successively closed according to the sequence of memory use priority numerical value from low to high.
Optionally, the memory for calculating equipment can lead to the system service application using data and be closed, comprising:
When the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, institute is applied in the system service
Corresponding memory use priority numerical value can be at needing memory use priority corresponding to pent calculating equipment application
In the range of numerical value;
It is corresponding, it is described using data point reuse extremely the system service application to continue the memory for calculating equipment
The state of operation, comprising:
The system service in the calculating equipment is supreme using corresponding memory use priority numerical value adjustment
Numerical priority value corresponding to other calculating equipment applications in the calculating equipment.
The application also provides a kind of for the processing method for calculating equipment application, comprising:
Obtain the information that destination computing device is operating abnormally;The information of the operation exception of the destination computing device is the mesh
The usable memory headroom that mark calculates equipment is less than the destination computing device caused by scheduled memory use space threshold value
Pent information is applied in system service;
For the information of the operation exception, according to the sequence of memory use priority data from low to high, from the mesh
Mark calculates selection in the calculating equipment application of equipment and needs the application to be closed closed, wherein the system service is applied interior
Deposit memory use priority data of the use priority data higher than any one client application of the destination computing device;
Close the application to be closed.
The application also provides a kind of for the processing unit for calculating equipment application, comprising:
Information obtainment unit out of service, for obtaining system service using information out of service;
Cause informa obtaining unit causes the system service using cause informa out of service for obtaining;
First result copes with unit, for being the system service using affiliated calculating equipment when the cause informa
When memory headroom can be used to apply pent information lower than the system service caused by predetermined memory headroom threshold value, by institute
The system service application continuous service can extremely be made using data point reuse using the memory of affiliated calculating equipment by stating system service
State;Start the system service application;The system service is established using the connection relationship with client application;
Second result copes with unit, for being closed extremely when the cause informa causes system service to be applied for abnormal operation
When the information closed, start the system service application by preset Restart mechanisms;Establish the system service application and client
The connection relationship of application;
Third result copes with unit, for draw using update by the system service application when the cause informa
When pent information is applied in the system service risen, starting applies spare system with the same function with the system service
System is served by;It establishes the back-up system and is served by connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
The application also provides a kind of electronic equipment, comprising:
Processor;
Memory is directed to the processing routine for calculating equipment application for storing, and described program is read by the processor
When execution, perform the following operations:
It obtains system service and applies information out of service;
Acquisition causes the system service using cause informa out of service;
If the cause informa is that the system service is lower than using the usable memory headroom of affiliated calculating equipment
Pent information is applied in the system service caused by predetermined memory headroom threshold value, then will be belonging to system service application
The memory of calculating equipment can extremely make the state of the system service application continuous service using data point reuse;Start the system
It is served by;The system service is established using the connection relationship with client application;
If the cause informa is that abnormal operation causes system service to apply the information closed extremely, by preset
Restart mechanisms start the system service application;The system service is established using the connection relationship with client application;
If the cause informa is that the system service application answer using the caused system service of update
With pent information, then starting is served by with the system service using back-up system with the same function;Establish institute
It states back-up system and is served by connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
The application also provides a kind of for the processing unit for calculating equipment application, comprising: information obtainment unit, for making visitor
The application of family end obtains system service and applies information out of service, and the client application applies institute dependent on the system service
The system service of offer;
Client application copes with unit, for making the client application start the system service application, and with it is described
System service application establishes a connection.
The application also provides a kind of electronic equipment, comprising:
Processor;
Memory is directed to the processing routine for calculating equipment application for storing, and described program is read by the processor
When execution, perform the following operations:
Client application obtains system service and applies information out of service, and the client application depends on the system
It is served by provided system service;
The client application starts the system service application, and establishes a connection with the system service application.
The application also provides a kind of processing unit for system service application, comprising:
Memory uses data acquiring unit, uses number using the memory of affiliated calculating equipment for obtaining system service
According to;
State adjustment unit, for it is described calculate equipment available memory space be lower than predetermined memory headroom threshold value when,
The memory for calculating equipment can lead to the system service using data and apply in pent situation, by the calculating equipment
Memory can extremely make the state of the system service application continuous service using data point reuse.
The application also provides a kind of electronic equipment, comprising:
Processor;
Memory, for storing the processing routine for being directed to system service application, described program is read by the processor
When execution, perform the following operations:
It obtains system service and uses data using the memory of affiliated calculating equipment;
If when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, described calculating equipment
Memory can lead to the system service application using data and be closed, then the memory for calculating equipment is used data point reuse extremely
It can make the state of the system service application continuous service.
The application also provides a kind of for the processing unit for calculating equipment application, comprising:
The information obtainment unit of operation exception, for obtaining the information of destination computing device operation exception;The target meter
The operation exception information for calculating equipment is the usable memory headroom of the destination computing device less than scheduled memory use space threshold
Pent information is applied in the system service of the destination computing device caused by value;
Selecting unit is applied wait close, for being directed to the information of the operation exception, according to memory use priority data
Sequence from low to high, what selection needed to close from the calculating equipment application of the destination computing device applies wait close,
In, any one client that the memory use priority data of the system service application are higher than the destination computing device is answered
Memory use priority data;
Closing unit is applied wait close, for closing the application to be closed.
The application also provides a kind of electronic equipment, comprising:
Processor;
Memory is directed to the processing routine for calculating equipment application for storing, and described program is read by the processor
When execution, perform the following operations:
Obtain the information that destination computing device is operating abnormally;The operation exception information of the destination computing device is the target
The usable memory headroom for calculating equipment is less than the destination computing device caused by scheduled memory use space threshold value and is
System is served by pent information;
For the information of the operation exception, according to the sequence of memory use priority data from low to high, from the mesh
Mark calculates selection in the calculating equipment application of equipment and needs the application to be closed closed, wherein the system service is applied interior
Deposit memory use priority data of the use priority data higher than any one client application of the destination computing device;
Close the application to be closed.
Compared with prior art, the application has the following advantages:
Processing method provided by the present application for calculating equipment application, can be in system service using rear acquisition out of service
Cause the system service using cause informa out of service, and executes corresponding compensating operation, example for the cause informa
The memory for calculating equipment is such as adjusted using data or starts system service application by preset Restart mechanisms or starts
Back-up system is served by, and establishes the connection relationship with client application.By using this method, user misoperation,
Memory system service caused by the special screnes such as insufficient space or system service application upgrade can be used to apply and be closed extremely
In the case where, aloow client application to be quickly obtained system function service.
Detailed description of the invention
Fig. 1 is the method flow diagram that the application first embodiment provides;
Fig. 1-A is scene frame diagram provided by the embodiments of the present application;
Fig. 2 is the method flow diagram that the application second embodiment provides;
Fig. 3 is the method flow diagram that the application 3rd embodiment provides;
Fig. 4 is the method flow diagram that the application fourth embodiment provides;
Fig. 5 is the device unit block diagram that the 5th embodiment of the application provides;
Fig. 6 is the electronic equipment schematic diagram that the application sixth embodiment provides;
Fig. 7 is the device unit block diagram that the 7th embodiment of the application provides;
Fig. 8 is the electronic equipment schematic diagram that the 8th embodiment of the application provides;
Fig. 9 is the device unit block diagram that the 9th embodiment of the application provides;
Figure 10 is the electronic equipment schematic diagram that the tenth embodiment of the application provides;
Figure 11 is the device unit block diagram that the 11st embodiment of the application provides;
Figure 12 is the electronic equipment schematic diagram that the 12nd embodiment of the application provides.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with
Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where
Under do similar popularization, therefore the application is not limited by following public specific implementation.
System service applies the process for providing system function service by client application can be by the structure that shows in Fig. 1-A
Frame realizes that the framework includes following three layers:
Service application layer, the layer mainly include the service application in client application, such as handheld POS machine;
System services layer: this layer is applied by system service and configures unified system function to the client application of service application layer
Energy interface, such as unified installation, clear data functional interface are provided;
Equipment management layer: this layer obtains the various software systems that distinct device manufacturer provides, the various software systems of synchronization gain
It unites corresponding system function, which realizes different according to distinct device manufacturer, and is applied and is directed to by system service
It is unified that the corresponding system function of various software systems carries out packaging.
It is applied for system service and provides the scene of system function service for client application, client is answered in order to realize
With stable system function service is provided, this application provides a kind of for the processing method and this method that calculate equipment application
Corresponding processing unit and electronic equipment for calculating equipment application, the application also provide one kind and answer for equipment is calculated
Processing method, the processing unit and electronic equipment for calculating equipment application corresponding with this method.The application is also
There is provided it is a kind of for system service application processing method, it is corresponding with this method for system service apply processing unit
And electronic equipment.In addition the application provides a kind of for the processing method for calculating equipment application, needle corresponding with this method
To the processing unit and electronic equipment for calculating equipment application.Embodiment presented below sets the method, device and electronics
It is standby to be described in detail.
The application first embodiment provides a kind of processing method for calculating equipment application, and the application main body of this method can
Think that, dedicated for doing the computer application for restoring processing to system service application, Fig. 1 is what the application first embodiment provided
For the processing method flow chart for calculating equipment application, method provided in this embodiment is described in detail below in conjunction with Fig. 1.
Embodiment involved in being described below is for illustrating Method And Principle, is not the restriction of actual use.
As shown in Figure 1, provided in this embodiment include the following steps: for the processing method for calculating equipment application
S101 obtains system service and applies information out of service.
For obtaining system service using information out of service, system service application refers to operating in calculating this step
The system-level application of backstage technical support is provided in equipment and to the client application for calculating equipment, is integrated with each of system
Kind function, client application apply provided system function service dependent on the system service.For example, being led in e-commerce
Domain, the system service application operated in businessman's management equipment (such as POS machine) can be used for answering the business of businessman's management equipment
System function service is provided with (such as desktop presentation application, application of ordering, payment application), above-mentioned desktop presentation application is ordered and answered
With, payment application etc. service applications be businessman's management equipment client application.Under normal conditions, businessman's management equipment
Only include a system service application, and system function service can be provided for multiple client application.
System service, which is applied, provides the process such as next stage of system function service for client application:
Initial phase: client application carries out service initialisation operation before using system function, which is mainly
It establishes a connection with system service application;
Function mounting phase: client application is served by offer when needing using system function, through calling system
Corresponding interface, to realize the calling of system function;
Function distribution phase: system service determines use and the equipment phase using the equipment according to belonging to above system function
The first floor system interface of pass realizes the real calling of system function.
The function validation phase: according to different system interfaces, system corresponding with system interface is provided to client application
Function services.
System service is using out of service, i.e., system service application terminates as client application and provides system function service.
The process that information out of service is applied in system service is obtained, substantially determines that system service application can not be client application
System function service is provided.It can be carried out by the operating status applied to system service or to the operating status of client application
The mode of monitoring determines that system service application is out of service.
S102, acquisition cause system service using cause informa out of service.
System service is determined using after out of service in above-mentioned steps, this step leads to the system service for obtaining
Using cause informa out of service.
Can lead to system service has much using reason out of service, and every kind of reason corresponds to a kind of above-mentioned cause informa,
In the present embodiment, cause the system service that can apply affiliated calculating using cause informa out of service for system service
The usable memory headroom of equipment applies pent information lower than system service caused by predetermined memory headroom threshold value, can also
Think that user causes system service to apply the information closed extremely for the abnormal operation at application management interface, or serves as reasons
It needs to carry out application upgrade in system service application and causes system service using pent information.
Obtaining causes system service to may include following process using a kind of mode of cause informa out of service:
A: judge whether system service is lower than predetermined memory headroom using the usable memory headroom of affiliated calculating equipment
Threshold value, the memory headroom threshold value, can be according to calculating equipment for indicating the minimum requirements that the calculating equipment can operate normally
Application scenarios be configured.For example, judging whether the free memory space of businessman's management equipment can meet runs any one
Service application or system service using required maximum can running memory space, if conditions are not met, then showing that the businessman manages
The free memory space of equipment is lower than predetermined memory headroom threshold value.
B: if it is determined that system service is lower than predetermined memory headroom using the usable memory headroom of affiliated calculating equipment
Threshold value then judges whether the system service is in using corresponding memory use priority numerical value and pent calculating is needed to set
In the range of the corresponding memory use priority numerical value of standby application;Wherein, system service uses excellent using corresponding memory
First value of series is the numerical value that the memory competency for operation applied with system service matches, in the usable memory headroom for calculating equipment
When lower than predetermined memory headroom threshold value, calculating equipment application in the calculating equipment according to memory use priority numerical value by as low as
High sequence is successively closed.For example, businessman's management equipment distributes identical maximum for service application and system service application
Can running memory, and configure the memory use priority numerical value of different application, the memory use priority numerical value is for indicating:
When whole system memory low to less than open an application maximum can running memory when, system is according to memory using excellent
First value of series height closes application, with this releasing memory, until being since minimum memory use priority numerical value one by one
System free memory is greater than the maximum individually applied can be until running memory.Such as shown in table 1:
Table 1
In table 1, system determines the memory use priority of each process according to the component states and system configuration of process
Numerical value ADJ, value is smaller, shows that the rank of process corresponding to the ADJ is higher, system according to rank sequence from low to high according to
The secondary process for closing application, to recycle expected free memory resource, to guarantee that system runs well.
C: if system service is in pent calculating equipment application using corresponding memory use priority numerical value
In the range of corresponding memory use priority numerical value, it is determined that the system service is caused to be believed using cause out of service
Breath is that the system service is lower than caused by predetermined memory headroom threshold value using the usable memory headroom of affiliated calculating equipment
The system service apply pent information.For example, needing to close memory in order to guarantee that system runs well and using preferentially
Three processes of value of series ADJ maximum (rank of corresponding process is minimum), and system service is maximum using corresponding ADJ
One of in three ADJ, then show that system service is in pent calculating using corresponding memory use priority numerical value
It is therefore, final to determine that system service application has been closed in the range of memory use priority numerical value corresponding to equipment application,
So that it is determined that causing the system service using cause informa out of service are as follows: system service can using affiliated calculating equipment
Pent information is applied lower than system service caused by predetermined memory headroom threshold value using memory headroom.
In the present embodiment, system service application updates upgrading, and essence is to have invoked the application that equipment management layer provides to rise
Grade interface, by application upgrade interface in be passed to application check, that is, can determine whether system service application whether into
Row updates upgrading.If it is determined that the application being passed in application upgrade interface includes system service application, it is determined that system is caused to take
Cause informa out of service is applied in business are as follows: the system service caused by carrying out because of system service application using updating, which is applied, is closed
The information closed.The case where for system service using being closed extremely, then it can be confirmed by way of checking system log.
S103 executes compensating operation corresponding with the cause informa according to the cause informa that above-mentioned steps obtain.
Cause system service using after cause informa out of service in above-mentioned steps acquisition, this step for execute with
The corresponding compensating operation of cause informa, so that client application is able to use system function.
In the present embodiment, executing compensating operation corresponding with cause informa includes following three kinds of modes:
Mode one: if causing system service using cause informa out of service are as follows: affiliated meter is applied in system service
The usable memory headroom for calculating equipment applies pent information lower than the system service caused by predetermined memory headroom threshold value,
System service can extremely then be made into the system service application continuous service using data point reuse using the memory of affiliated calculating equipment
State, activation system is served by this basis, and establishes system service using connection relationship with client application.
In the present embodiment, this can be extremely made using data point reuse to be using the memory of affiliated calculating equipment system service
System is served by the state of continuous service, and mode can be with are as follows: by the system service of businessman's management equipment using in corresponding
Use priority numerical value is deposited to adjust to memory use priority corresponding to the other service applications for being higher than businessman's management equipment
Numerical value, for example, adjusting system service using corresponding ADJ numerical value to the state of minimum (the rank highest of corresponding process).
Mode two: if causing system service using cause informa out of service are as follows: system service is applied is closed extremely
The information closed, for example, due to user maloperation and by system service application close, then starting this by preset Restart mechanisms is
System is served by, and establishes the system service after restarting using the connection relationship with client application.
Mode three: if causing system service using cause informa out of service are as follows: because system service application is answered
Pent information is applied with caused system service is updated, then starting is with the system service using with the same function standby
With system service application, and establishes the back-up system and be served by connection relationship with client application.When system service is answered
After the completion of update, the system service application is restarted, and discharge back-up system and be served by, establish system service and answer
With the connection relationship with client application, so that system service application provides system function to client application again.
It is above-mentioned to establish the system service and apply and the connection relationship of client application or establish back-up system service and answer
It can be with the mode of the connection relationship with client application are as follows: send global notification information, notify the client application and institute
It states system service application to establish a connection, for example, sending global broadcast in systems, the client that the broadcast is monitored in registration is answered
With service initialisation operation can be re-executed, that is, connect system service application.
Method provided in this embodiment can cause the system service application to stop in system service using rear obtain out of service
The cause informa only run, and corresponding compensating operation is executed for the cause informa, such as adjustment calculates the memory of equipment
Using data or start system service application by preset Restart mechanisms or starting back-up system is served by, and
Establish the connection relationship with client application.By using this method, user misoperation, memory can be used insufficient space or
System service may make client to answer using in the case where out of service caused by the special screnes such as system service application upgrade
With system function service can be quickly obtained.
The application second embodiment provides a kind of processing method for calculating equipment application, and the executing subject of this method is
Client application, as shown in Fig. 2, this method comprises the following steps
S201, client application obtain system service and apply information out of service.
The client application applies provided system function service dependent on system service.
Client application obtains system service can be with using the mode of information out of service are as follows: client application be
System is served by when establishing a connection, the operation conditions which is used to apply system service to system registry into
The monitor of row monitoring, if system service, using out of service, the system service listened to application is stopped fortune by monitor
Capable information returns to client application, which receives the system service application that the monitor returns and stop
The information only run.
The process that above-mentioned client application and system service application establish a connection can be with are as follows: client application is using
Before the system service that the system service application provides, detect whether it establishes a connection with system service application;
If not, the client application establishes the connection relationship with system service application.
S202, client application activation system are served by, and are established a connection again with the system service application.
Method provided in this embodiment can be used as the general system service application that is directed to of one kind and carry out method of resuming operation, and lead to
It crosses and the operating status that executing subject is limited to that system service can be applied is monitored and system service application execution can be directed to
Start-up operation, and the client application that can be established a connection with system service application, can make system service application no matter because
After out of service for which kind of reason, can fast and simple mode resume operation.The program can be used as system service using extensive
The scheme of guaranteeing the minimum run again.
The application 3rd embodiment provides a kind of processing method for system service application, as shown in figure 3, the present embodiment
The method of offer includes the following steps:
S301 obtains system service using the memory of affiliated calculating equipment and uses data.
In the present embodiment, the memory for calculating equipment refers to that the calculating equipment application institute in calculating equipment is right using data
The memory use priority numerical value answered obtains memory use priority corresponding to the calculating equipment application calculated in equipment
Numerical value runs on the calculating equipment when can be informed in the available memory space for calculating equipment lower than predetermined memory headroom threshold value
On the pent sequence of calculating equipment application.Calculating memory use priority numerical value corresponding to equipment application is and the meter
The numerical value that the memory competency for operation of equipment application matches is calculated, it is empty lower than predetermined memory in the usable memory headroom for calculating equipment
Between threshold value when, calculating equipment application in the calculating equipment according to memory use priority numerical value sequence from low to high successively by
It closes.
S302, when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, if the calculating equipment
Memory can lead to the system service application using data and be closed, then the memory for calculating equipment is used into data point reuse
The state of the system service application continuous service can extremely be made.
For example, when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, the system service
It can be at that memory corresponding to pent calculating equipment application is needed to use using corresponding memory use priority numerical value
In the range of numerical priority value;In that case, the system service in the calculating equipment is applied in corresponding
Use priority numerical value is deposited to adjust to numerical priority value corresponding to the other calculating equipment applications being higher than in the calculating equipment.
Method provided in this embodiment, first memory corresponding to the calculating equipment application in acquisition calculating equipment use excellent
First value of series, and when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, if it is determined that calculate equipment
In calculating equipment application corresponding to memory use priority numerical value can lead to calculate equipment system service application be closed,
The memory for then adjusting calculating equipment can extremely make the state of system service application continuous service using data.By using this method,
System service whether can be caused using situation out of service using data according to the memory for calculating equipment, which is used
Data adjust accordingly, to avoid system service apply because calculate equipment memory use data due to it is out of service, make system
Being served by can be always in the state operated normally.This method can be used as prevention system and be served by scheme out of service
One of.
The application fourth embodiment provides a kind of processing method for calculating equipment application, as shown in figure 4, this method packet
Include following steps:
S401 obtains the information that destination computing device is operating abnormally, in the present embodiment, the operation exception of destination computing device
Information be the destination computing device usable memory headroom be less than scheduled memory use space threshold value caused by the mesh
Pent information is applied in the system service that mark calculates equipment.The destination computing device can refer to businessman's management equipment, such as hand
Hold formula POS machine.
S402, for the information of the operation exception, according to the sequence of memory use priority data from low to high, from institute
It states selection in the calculating equipment application of destination computing device and needs the application to be closed closed.Wherein, the system service application
Memory use priority data be higher than the destination computing device any one client application memory use priority
Data.
S403 closes the application to be closed.
By using the above method provided in this embodiment, it is ensured that system service application is at the shape preferentially run
State, so that the system service application continuous service.
Above-mentioned first embodiment provides a kind of for the processing method for calculating equipment application, corresponding, this Shen
Please the 5th embodiment additionally provide it is a kind of for calculate equipment application processing unit, due to the Installation practice side of being substantially similar to
Method embodiment, so describing fairly simple, the method that the detail section of relevant technical characteristic refers to above-mentioned offer is implemented
The corresponding explanation of example, the description of following pairs of Installation practices are only schematical.
It please referring to Fig. 5 and understands the embodiment, Fig. 5 is the unit block diagram of device provided in this embodiment, as shown in figure 5, this
Embodiment provide device include:
Information obtainment unit 501 out of service, for obtaining system service using information out of service;
Cause informa obtaining unit 502 causes system service using cause informa out of service for obtaining;
First result copes with unit 503, for being that making for affiliated calculating equipment is applied in system service when cause informa
When applying pent information lower than system service caused by predetermined memory headroom threshold value with memory headroom, system service is answered
The state of system service application continuous service can extremely be made using data point reuse with the memory of affiliated calculating equipment;Activation system clothes
Business application;System service is established using the connection relationship with client application;
Second result copes with unit 504, for being closed extremely when cause informa causes system service to be applied for abnormal operation
When the information closed, it is served by by preset Restart mechanisms activation system;System service is established using the company with client application
Connect relationship;
Third result copes with unit 505, for being that system service application carries out applying update caused when cause informa
When pent information is applied in system service, starting is served by with system service using back-up system with the same function;
It establishes back-up system and is served by connection relationship with client application;
Wherein, system service, which is applied, provides system function service for client application.
Optionally, cause informa is that system service is interior lower than predetermined using the usable memory headroom of affiliated calculating equipment
System service caused by capacity-threshold is deposited using pent information, acquisition causes system service using cause out of service
Information, comprising:
Judge whether system service is lower than predetermined memory headroom threshold using the usable memory headroom of affiliated calculating equipment
Value;
If it is, judging whether system service is in pent meter using corresponding memory use priority numerical value
In the range of memory use priority numerical value corresponding to calculation equipment application;
If it is, determining causes system service to apply affiliated meter using cause informa out of service for system service
The usable memory headroom for calculating equipment applies pent information lower than system service caused by predetermined memory headroom threshold value;
Wherein, system service is that the memory applied with system service uses using corresponding memory use priority numerical value
The numerical value that qualification matches calculates in equipment when the usable memory headroom for calculating equipment is lower than predetermined memory headroom threshold value
Calculating equipment application be successively closed according to the sequence of memory use priority numerical value from low to high.
Optionally, can extremely system service be made to answer using data point reuse using the memory of affiliated calculating equipment system service
With the state of continuous service, comprising:
The system service calculated in equipment is adjusted using corresponding memory use priority numerical value to higher than calculating and is set
Numerical priority value corresponding to other calculating equipment applications in standby.
Optionally, further includes:
After the completion of system service application updates, restarting systems are served by;
System service is established using the connection relationship with client application.
Optionally, system service is established using the connection relationship with client application, comprising:
Global notification information is sent, notice client application establishes a connection with system service application.
In the above-described embodiment, it provides a kind of for the processing method for calculating equipment application and a kind of for calculating
The processing unit of equipment application, in addition, the application sixth embodiment also provides a kind of electronic equipment, due to electronic equipment embodiment
It is substantially similar to embodiment of the method, so describing fairly simple, the detail section of relevant technical characteristic refers to above-mentioned mention
The corresponding explanation of the embodiment of the method for confession, the description of following pairs of electronic equipment embodiments are only schematical.The electronics
Apparatus embodiments are as follows:
It please refers to Fig. 6 and understands that the present embodiment, Fig. 6 are the schematic diagram of electronic equipment provided in this embodiment.
As shown in fig. 6, electronic equipment includes: processor 601;Memory 602;
Memory 602, for storing the program for being directed to the processing for calculating equipment application, program is being read out by the processor execution
When, it performs the following operations:
It obtains system service and applies information out of service;
Acquisition causes system service using cause informa out of service;
If cause informa is that system service applies the usable memory headroom of affiliated calculating equipment to be lower than predetermined memory
Pent information is applied in system service caused by capacity-threshold, then system service is applied to the memory of affiliated calculating equipment
The state of system service application continuous service can extremely be made using data point reuse;Activation system is served by;System service is established to answer
With the connection relationship with client application;
If cause informa is that abnormal operation causes system service to apply the information closed extremely, restart by preset
Mechanism activation system is served by;System service is established using the connection relationship with client application;
If cause informa is that system service application is carried out using the caused system service of update using pent letter
Breath, then starting is served by with system service using back-up system with the same function;Establish back-up system be served by with
The connection relationship of client application;
Wherein, client application applies provided system service dependent on system service.
Optionally, cause informa is that system service is interior lower than predetermined using the usable memory headroom of affiliated calculating equipment
System service caused by capacity-threshold is deposited using pent information, acquisition causes system service using cause out of service
Information, comprising:
Judge whether system service is lower than predetermined memory headroom threshold using the usable memory headroom of affiliated calculating equipment
Value;
If it is, judging whether system service is in pent meter using corresponding memory use priority numerical value
In the range of memory use priority numerical value corresponding to calculation equipment application;
If it is, determining causes system service to apply affiliated meter using cause informa out of service for system service
The usable memory headroom for calculating equipment applies pent information lower than system service caused by predetermined memory headroom threshold value;
Wherein, system service is that the memory applied with system service uses using corresponding memory use priority numerical value
The numerical value that qualification matches calculates in equipment when the usable memory headroom for calculating equipment is lower than predetermined memory headroom threshold value
Calculating equipment application be successively closed according to the sequence of memory use priority numerical value from low to high.
Optionally, can extremely system service be made to answer using data point reuse using the memory of affiliated calculating equipment system service
With the state of continuous service, comprising:
The system service calculated in equipment is adjusted using corresponding memory use priority numerical value to higher than calculating and is set
Numerical priority value corresponding to other calculating equipment applications in standby.
Optionally, further includes:
After the completion of system service application updates, restarting systems are served by;
System service is established using the connection relationship with client application.
Optionally, system service is established using the connection relationship with client application, comprising:
Global notification information is sent, notice client application establishes a connection with system service application.
Above-mentioned second embodiment provides a kind of for the processing method for calculating equipment application, corresponding, this Shen
Please the 7th embodiment additionally provide it is a kind of for calculate equipment application processing unit, due to the Installation practice side of being substantially similar to
Method embodiment, so describing fairly simple, the method that the detail section of relevant technical characteristic refers to above-mentioned offer is implemented
The corresponding explanation of example, the description of following pairs of Installation practices are only schematical.
It please referring to Fig. 7 and understands the embodiment, Fig. 7 is the unit block diagram of device provided in this embodiment, as shown in fig. 7, this
Embodiment provide device include:
Information obtainment unit 701, for making client application obtain system service using information out of service, client
Provided system service is applied using dependent on system service;
Client application copes with unit 702, answers for being served by client application activation system, and with system service
With establishing a connection.
Optionally, client application obtains system service and applies information out of service, comprising:
When client application and system service application establish a connection, client application is registered for system service
The monitor that the operation conditions of application is monitored;
Client application receives the system service of monitor return using information out of service.
Optionally, client application establishes a connection with system service application, comprising:
Before the system service provided using system service application, detect it with system service application is client application
It is no to establish a connection;
If not, client application establishes the connection relationship with system service application.
In the above-described embodiment, it provides a kind of for the processing method for calculating equipment application and a kind of for calculating
The processing unit of equipment application, in addition, the 8th embodiment of the application also provides a kind of electronic equipment, due to electronic equipment embodiment
It is substantially similar to embodiment of the method, so describing fairly simple, the detail section of relevant technical characteristic refers to above-mentioned mention
The corresponding explanation of the embodiment of the method for confession, the description of following pairs of electronic equipment embodiments are only schematical.The electronics
Apparatus embodiments are as follows:
It please refers to Fig. 8 and understands that the present embodiment, Fig. 8 are the schematic diagram of electronic equipment provided in this embodiment.
As shown in figure 8, electronic equipment includes: processor 801;Memory 802;
Memory 802, for storing the program for being directed to the processing for calculating equipment application, program is being read out by the processor execution
When, it performs the following operations:
Client application obtains system service and applies information out of service, and client application depends on system service application
Provided system service;
Client application activation system is served by, and is established a connection with system service application.
Optionally, client application obtains system service and applies information out of service, comprising:
When client application and system service application establish a connection, client application is registered for system service
The monitor that the operation conditions of application is monitored;
Client application receives the system service of monitor return using information out of service.
Optionally, client application establishes a connection with system service application, comprising:
Before the system service provided using system service application, detect it with system service application is client application
It is no to establish a connection;
If not, client application establishes the connection relationship with system service application.
Above-mentioned 3rd embodiment provides a kind of processing method for system service application, corresponding, this Shen
Please the 9th embodiment additionally provide it is a kind of for system service application processing unit, due to the Installation practice side of being substantially similar to
Method embodiment, so describing fairly simple, the method that the detail section of relevant technical characteristic refers to above-mentioned offer is implemented
The corresponding explanation of example, the description of following pairs of Installation practices are only schematical.
It please referring to Fig. 9 and understands the embodiment, Fig. 9 is the unit block diagram of device provided in this embodiment, as shown in figure 9, this
Embodiment provide device include:
Memory uses data acquiring unit 901, uses for obtaining system service using the memory of affiliated calculating equipment
Data;
State adjustment unit 902, by calculate equipment available memory space be lower than predetermined memory headroom threshold value when, based on
The memory for calculating equipment can lead to system service using in pent situation using data, and the memory for calculating equipment is used data
It adjusts to the state that can make system service application continuous service.
Optionally, it obtains system service and uses data using the memory of affiliated calculating equipment, comprising:
Obtain memory use priority numerical value corresponding to the calculating equipment application calculated in equipment, wherein calculate equipment
It is the numerical value to match with the memory competency for operation for calculating equipment application using corresponding memory use priority numerical value, is counting
When calculating the usable memory headroom of equipment lower than predetermined memory headroom threshold value, the calculating equipment application in equipment is calculated according to memory
The sequence of use priority numerical value from low to high is successively closed.
Optionally, the memory for calculating equipment can lead to system service application using data and be closed, comprising: calculate equipment
Available memory space be lower than predetermined memory headroom threshold value when, system service using corresponding memory use priority numerical value can
In the range of needing memory use priority numerical value corresponding to pent calculating equipment application;
It is corresponding, the memory for calculating equipment can extremely be made to the state of system service application continuous service using data point reuse,
Include:
The system service calculated in equipment is adjusted using corresponding memory use priority numerical value to higher than calculating and is set
Numerical priority value corresponding to other calculating equipment applications in standby.
In the above-described embodiment, a kind of processing method for system service application and a kind of for system is provided
The processing unit being served by, in addition, the tenth embodiment of the application also provides a kind of electronic equipment, due to electronic equipment embodiment
It is substantially similar to embodiment of the method, so describing fairly simple, the detail section of relevant technical characteristic refers to above-mentioned mention
The corresponding explanation of the embodiment of the method for confession, the description of following pairs of electronic equipment embodiments are only schematical.The electronics
Apparatus embodiments are as follows:
It please refers to Figure 10 and understands that the present embodiment, Figure 10 are the schematic diagram of electronic equipment provided in this embodiment.
As shown in Figure 10, electronic equipment includes: processor 1001;Memory 1002;
Memory 1002, for storing the program for being directed to the processing of system service application, program is held being read out by the processor
When row, perform the following operations:
It obtains system service and uses data using the memory of affiliated calculating equipment;
If when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, the memory use of calculating equipment
Data can lead to system service application and be closed, then the memory for calculating equipment can extremely be made system service application using data point reuse
The state of continuous service.
Optionally, it obtains system service and uses data using the memory of affiliated calculating equipment, comprising:
Obtain memory use priority numerical value corresponding to the calculating equipment application calculated in equipment, wherein calculate equipment
It is the numerical value to match with the memory competency for operation for calculating equipment application using corresponding memory use priority numerical value, is counting
When calculating the usable memory headroom of equipment lower than predetermined memory headroom threshold value, the calculating equipment application in equipment is calculated according to memory
The sequence of use priority numerical value from low to high is successively closed.
Optionally, the memory for calculating equipment can lead to system service application using data and be closed, comprising:
When the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, system service is using corresponding interior
Depositing use priority numerical value can be at needing the model of memory use priority numerical value corresponding to pent calculating equipment application
In enclosing;
It is corresponding, the memory for calculating equipment can extremely be made to the state of system service application continuous service using data point reuse,
Include:
The system service calculated in equipment is adjusted using corresponding memory use priority numerical value to higher than calculating and is set
Numerical priority value corresponding to other calculating equipment applications in standby.
Above-mentioned fourth embodiment provides a kind of for the processing method for calculating equipment application, corresponding, this Shen
Please the 11st embodiment additionally provide it is a kind of for calculate equipment application processing unit, since Installation practice is substantially similar to
Embodiment of the method, so describing fairly simple, the method that the detail section of relevant technical characteristic refers to above-mentioned offer is real
The corresponding explanation of example is applied, the description of following pairs of Installation practices is only schematical.
It please referring to Figure 11 and understands the embodiment, Figure 11 is the unit block diagram of device provided in this embodiment, as shown in figure 11,
Device provided in this embodiment includes:
The information obtainment unit 1101 of operation exception, for obtaining the information of destination computing device operation exception;Target meter
The operation exception information for calculating equipment is the usable memory headroom of the destination computing device less than scheduled memory use space threshold
Pent information is applied in the system service of the destination computing device caused by value;
Selecting unit 1102 is applied wait close, for the information for operation exception, according to memory use priority data
Sequence from low to high, selection needs the application to be closed closed from the calculating equipment application of destination computing device, wherein is
The memory use priority data being served by of uniting are higher than the memory use of any one client application of destination computing device
Priority data;
Closing unit 1103 is applied wait close, for closing application to be closed.
In the above-described embodiment, it provides a kind of for the processing method for calculating equipment application and a kind of for calculating
The processing unit of equipment application, in addition, the 12nd embodiment of the application also provides a kind of electronic equipment, since electronic equipment is implemented
Example is substantially similar to embodiment of the method, so describing fairly simple, the detail section of relevant technical characteristic refers to above-mentioned
The corresponding explanation of the embodiment of the method for offer, the description of following pairs of electronic equipment embodiments are only schematical.The electricity
Sub- apparatus embodiments are as follows:
It please refers to Figure 12 and understands that the present embodiment, Figure 12 are the schematic diagram of electronic equipment provided in this embodiment.
As shown in figure 12, electronic equipment includes: processor 1201;Memory 1202;
Memory 1202, for storing the program for being directed to the processing for calculating equipment application, program is held being read out by the processor
When row, perform the following operations:
Obtain the information that destination computing device is operating abnormally;The operation exception information of destination computing device is target calculating
The usable memory headroom of equipment is less than the system clothes of the destination computing device caused by scheduled memory use space threshold value
Pent information is applied in business;
It is set according to the sequence of memory use priority data from low to high from target calculating for the information of operation exception
Selection needs the application to be closed closed in standby calculating equipment application, wherein the memory use priority of system service application
Data are higher than the memory use priority data of any one client application of destination computing device;
Close application to be closed.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
1, computer-readable medium can be by any side including permanent and non-permanent, removable and non-removable media
Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or
Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to
Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), such as modulates
Data-signal and carrier wave.
2, it will be understood by those skilled in the art that embodiments herein can provide as the production of method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It can be used moreover, the application can be used in the computer that one or more wherein includes computer usable program code
The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Form.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill
Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application
Shield range should be subject to the range that the claim of this application defined.
Claims (10)
1. a kind of for the processing method for calculating equipment application characterized by comprising
It obtains system service and applies information out of service;
Acquisition causes the system service using cause informa out of service;
If the cause informa is that the system service applies the usable memory headroom of affiliated calculating equipment lower than predetermined
Pent information is applied in the system service caused by memory headroom threshold value, then affiliated meter is applied in the system service
The memory for calculating equipment can extremely make the state of the system service application continuous service using data point reuse;Start the system service
Using;The system service is established using the connection relationship with client application;
If the cause informa is that the information closed extremely is applied in system service, by described in the starting of preset Restart mechanisms
System service application;The system service is established using the connection relationship with client application;
If the cause informa is that the system service application carries out the system service application quilt caused using update
The information of closing, then starting is served by with the system service using back-up system with the same function;It establishes described standby
With system service using the connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
2. a kind of for the processing method for calculating equipment application characterized by comprising
Client application obtains system service and applies information out of service, and the client application depends on the system service
Using provided system service;
The client application starts the system service application, and establishes a connection with the system service application.
3. a kind of processing method for system service application characterized by comprising
It obtains system service and uses data using the memory of affiliated calculating equipment;
When the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, if the memory for calculating equipment
It can lead to the system service application using data to be closed, then can extremely make the memory for calculating equipment using data point reuse
The state of the system service application continuous service.
4. a kind of for the processing method for calculating equipment application characterized by comprising
Obtain the information that destination computing device is operating abnormally;The information of the operation exception of the destination computing device is the target meter
The usable memory headroom for calculating equipment is less than the system of the destination computing device caused by scheduled memory use space threshold value
It is served by pent information;
For the information of the operation exception, according to the sequence of memory use priority data from low to high, from the target meter
It calculates selection in the calculating equipment application of equipment and needs the application to be closed closed, wherein the memory of the system service application makes
It is higher than the memory use priority data of any one client application of the destination computing device with priority data;
Close the application to be closed.
5. a kind of for the processing unit for calculating equipment application characterized by comprising
Information obtainment unit out of service, for obtaining system service using information out of service;
Cause informa obtaining unit causes the system service using cause informa out of service for obtaining;
First result copes with unit, for being that making for affiliated calculating equipment is applied in the system service when the cause informa
When applying pent information lower than the system service caused by predetermined memory headroom threshold value with memory headroom, by the system
The memory that system is served by affiliated calculating equipment can extremely make the shape of the system service application continuous service using data point reuse
State;Start the system service application;The system service is established using the connection relationship with client application;
Second result copes with unit, for being that abnormal operation causes system service to be applied to be closed extremely when the cause informa
When information, start the system service application by preset Restart mechanisms;Establish the system service application and client application
Connection relationship;
Third result copes with unit, for being that the system service application carries out applying update caused when the cause informa
When pent information is applied in the system service, starting is taken with the system service using back-up system with the same function
Business application;It establishes the back-up system and is served by connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
6. a kind of electronic equipment characterized by comprising
Processor;
Memory is directed to the processing routine for calculating equipment application for storing, and described program is reading execution by the processor
When, it performs the following operations:
It obtains system service and applies information out of service;
Acquisition causes the system service using cause informa out of service;
If the cause informa is that the system service applies the usable memory headroom of affiliated calculating equipment lower than predetermined
Pent information is applied in the system service caused by memory headroom threshold value, then affiliated meter is applied in the system service
The memory for calculating equipment can extremely make the state of the system service application continuous service using data point reuse;Start the system service
Using;The system service is established using the connection relationship with client application;
If the cause informa is that abnormal operation causes system service to apply the information closed extremely, restart by preset
Mechanism starts the system service application;The system service is established using the connection relationship with client application;
If the cause informa is that the system service application carries out the system service application quilt caused using update
The information of closing, then starting is served by with the system service using back-up system with the same function;It establishes described standby
With system service using the connection relationship with client application;
Wherein, the system service, which is applied, provides system function service for the client application.
7. a kind of for the processing unit for calculating equipment application characterized by comprising information obtainment unit, for making client
End application obtains system service and applies information out of service, and the client application is mentioned dependent on system service application
The system service of confession;
Client application copes with unit, for making the client application start the system service application, and with the system
It is served by and establishes a connection.
8. a kind of electronic equipment characterized by comprising
Processor;
Memory is directed to the processing routine for calculating equipment application for storing, and described program is reading execution by the processor
When, it performs the following operations:
Client application obtains system service and applies information out of service, and the client application depends on the system service
Using provided system service;
The client application starts the system service application, and establishes a connection with the system service application.
9. a kind of processing unit for system service application characterized by comprising
Memory uses data acquiring unit, uses data using the memory of affiliated calculating equipment for obtaining system service;
State adjustment unit, for it is described calculate equipment available memory space be lower than predetermined memory headroom threshold value when, it is described
The memory for calculating equipment can lead to the system service using data and apply in pent situation, will be in the calculating equipment
Deposit the state that can extremely make the system service application continuous service using data point reuse.
10. a kind of electronic equipment characterized by comprising
Processor;
Memory, for storing the processing routine for being directed to system service application, described program is reading execution by the processor
When, it performs the following operations:
It obtains system service and uses data using the memory of affiliated calculating equipment;
If when the available memory space for calculating equipment is lower than predetermined memory headroom threshold value, the memory for calculating equipment
It can lead to the system service application using data to be closed, then can extremely make the memory for calculating equipment using data point reuse
The state of the system service application continuous service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910473264.1A CN110347434A (en) | 2019-05-31 | 2019-05-31 | A kind of processing method and device for calculating equipment application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910473264.1A CN110347434A (en) | 2019-05-31 | 2019-05-31 | A kind of processing method and device for calculating equipment application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110347434A true CN110347434A (en) | 2019-10-18 |
Family
ID=68174171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910473264.1A Pending CN110347434A (en) | 2019-05-31 | 2019-05-31 | A kind of processing method and device for calculating equipment application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110347434A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080155209A1 (en) * | 2006-12-20 | 2008-06-26 | Denso Corporation | Information processing apparatus and program for controlling same |
CN101853196A (en) * | 2010-04-21 | 2010-10-06 | 中兴通讯股份有限公司 | Method and device recording exceptional data |
US20120102482A1 (en) * | 2009-06-25 | 2012-04-26 | Zte Corporation | Method for Communication System Service Upgrade and Upgrade Container Device Thereof |
US20130097414A1 (en) * | 2011-10-17 | 2013-04-18 | Honeywell International Inc. | Methods and reconfigurable systems to incorporate customized executable code within a condition based health maintenance system without recompiling base code |
CN103455366A (en) * | 2012-06-01 | 2013-12-18 | 阿里巴巴集团控股有限公司 | Method and device for calling services of external system |
CN103631617A (en) * | 2013-11-01 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for unloading system application on terminal equipment |
CN103631661A (en) * | 2013-11-27 | 2014-03-12 | 青岛海信电器股份有限公司 | Internal storage management method and device |
US20140379134A1 (en) * | 2013-06-24 | 2014-12-25 | Yokogawa Electric Corporation | Process control apparatus and system and updating method therefor |
CN105302637A (en) * | 2015-10-13 | 2016-02-03 | 广东欧珀移动通信有限公司 | Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN105893149A (en) * | 2016-03-30 | 2016-08-24 | 乐视控股(北京)有限公司 | Memory optimization method and device |
CN107357655A (en) * | 2017-06-22 | 2017-11-17 | 努比亚技术有限公司 | A kind of processing method of process, terminal and computer-readable recording medium |
CN107608785A (en) * | 2017-08-15 | 2018-01-19 | 深圳天珑无线科技有限公司 | Process management method, mobile terminal and readable storage medium |
CN108292213A (en) * | 2015-12-07 | 2018-07-17 | 微软技术许可有限责任公司 | Update relies on service |
CN109683979A (en) * | 2017-10-17 | 2019-04-26 | 中兴通讯股份有限公司 | A kind of control method and device using self-starting |
-
2019
- 2019-05-31 CN CN201910473264.1A patent/CN110347434A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080155209A1 (en) * | 2006-12-20 | 2008-06-26 | Denso Corporation | Information processing apparatus and program for controlling same |
US20120102482A1 (en) * | 2009-06-25 | 2012-04-26 | Zte Corporation | Method for Communication System Service Upgrade and Upgrade Container Device Thereof |
CN101853196A (en) * | 2010-04-21 | 2010-10-06 | 中兴通讯股份有限公司 | Method and device recording exceptional data |
US20130097414A1 (en) * | 2011-10-17 | 2013-04-18 | Honeywell International Inc. | Methods and reconfigurable systems to incorporate customized executable code within a condition based health maintenance system without recompiling base code |
CN103455366A (en) * | 2012-06-01 | 2013-12-18 | 阿里巴巴集团控股有限公司 | Method and device for calling services of external system |
US20140379134A1 (en) * | 2013-06-24 | 2014-12-25 | Yokogawa Electric Corporation | Process control apparatus and system and updating method therefor |
CN103631617A (en) * | 2013-11-01 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for unloading system application on terminal equipment |
CN103631661A (en) * | 2013-11-27 | 2014-03-12 | 青岛海信电器股份有限公司 | Internal storage management method and device |
CN105302637A (en) * | 2015-10-13 | 2016-02-03 | 广东欧珀移动通信有限公司 | Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal |
CN108292213A (en) * | 2015-12-07 | 2018-07-17 | 微软技术许可有限责任公司 | Update relies on service |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN105893149A (en) * | 2016-03-30 | 2016-08-24 | 乐视控股(北京)有限公司 | Memory optimization method and device |
CN107357655A (en) * | 2017-06-22 | 2017-11-17 | 努比亚技术有限公司 | A kind of processing method of process, terminal and computer-readable recording medium |
CN107608785A (en) * | 2017-08-15 | 2018-01-19 | 深圳天珑无线科技有限公司 | Process management method, mobile terminal and readable storage medium |
CN109683979A (en) * | 2017-10-17 | 2019-04-26 | 中兴通讯股份有限公司 | A kind of control method and device using self-starting |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108365993B (en) | Block link point dynamic changing method, system and computer readable storage medium | |
CN112165507B (en) | Method, device, equipment and medium for supporting multi-service architecture by single Web project | |
CN105991694B (en) | A kind of method and apparatus realizing Distributed Services and calling | |
CN108664343B (en) | State calling method and device for micro-service | |
CN112099935B (en) | Task processing method and device | |
CN110457154B (en) | Abnormal service processing method and device, storage medium and communication terminal | |
CN109189494B (en) | Configuration gray level publishing method, device and equipment and computer readable storage medium | |
WO2020211362A1 (en) | Method and apparatus for improving availability of trunking system, and computer device | |
CN109885612B (en) | Synchronous validation method and device for intelligent contracts of block chains | |
CN113434337B (en) | Retry strategy control method and device and electronic equipment | |
US20070064914A1 (en) | Method for notifying customers of an agent's progress in fulfilling work orders | |
CN105930249B (en) | Using monitoring method and device | |
CN114527996A (en) | Multi-service deployment method and device, electronic equipment and storage medium | |
CN115248692A (en) | Device and method for supporting cloud deployment of multiple deep learning framework models | |
CN107977243A (en) | A kind of third party's interface call method and device | |
CN105635231A (en) | Calling method and apparatus of distributed system | |
CN107463390A (en) | A kind of method for upgrading software and upgrade server | |
CN112565340B (en) | Service scheduling method, device, computer system and medium for distributed application | |
CN110489090B (en) | Application software development method and system based on application model | |
CN110730197A (en) | Service discovery method and system | |
CN110347434A (en) | A kind of processing method and device for calculating equipment application | |
CN111651469B (en) | Method and device for managing blockchain system contracts | |
CN115202934A (en) | Data backup method, device, equipment and storage medium | |
WO2021052026A1 (en) | Micro-service upgrading method, electronic device and readable storage medium | |
CN109067611B (en) | Method, device, storage medium and processor for detecting communication state between systems |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |