CN108536545A - The information processing method and device of terminal device - Google Patents
The information processing method and device of terminal device Download PDFInfo
- Publication number
- CN108536545A CN108536545A CN201810179171.3A CN201810179171A CN108536545A CN 108536545 A CN108536545 A CN 108536545A CN 201810179171 A CN201810179171 A CN 201810179171A CN 108536545 A CN108536545 A CN 108536545A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- system data
- storage region
- information processing
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0778—Dumping, i.e. gathering error/state information after a fault for later diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0787—Storage of error reports, e.g. persistent data storage, storage using memory protection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/01—Customer relationship services
- G06Q30/015—Providing customer assistance, e.g. assisting a customer within a business location or via helpdesk
- G06Q30/016—After-sales
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Retry When Errors Occur (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Abstract
The present invention proposes a kind of information processing method and device of terminal device, wherein method includes:When terminal device monitors to need system reboot, determine the system data for not being sent to server, before the restart, terminal device stores system data to preset storage region, after restarting, the system data that storage region stores is sent to server by terminal device.By before the system reboot of terminal device, system data is stored to preset storage region, and it is sent to server after equipment is restarted, the storage and analysis for realizing system data, solve in the related technology, do not maintain system data before restarting terminal device, so that the failure cause restarted can not be caused according to the SDA system data analysis of equipment, optimization can not be provided equipment quality and performance, meanwhile, the problem of also can not providing foundation to after-sale service.
Description
Technical field
The present invention relates to intelligent appliance technical field more particularly to the information processing methods and device of a kind of terminal device.
Background technology
The smart machine of intelligent appliance industry at present, during the use of equipment, it may appear that equipment fault situation.
In the related technology, when device fails, common processing method is restarted to faulty equipment.And it is this
Loss of data, the producers of equipment such as daily record when mode is easy that failure is occurred can not analyze failure cause, to,
The quality and performance of product can not be improved, also can not provide foundation to subsequent after-sale service.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of information processing method of terminal device, by terminal
Before the system reboot of equipment, system data is stored to preset storage region, and server is sent to after equipment is restarted,
The storage and analysis for realizing system data, solve in the related technology, do not maintain system data before restarting terminal device so that
It can not lead to the failure cause restarted according to the SDA system data analysis of equipment, optimization can not be provided to equipment quality and performance, together
When, also can not give follow-up after-sale service provide effective foundation the problem of.
Second object of the present invention is to propose the information processing method of another terminal device.
Third object of the present invention is to propose a kind of information processing unit of terminal device.
Fourth object of the present invention is to propose the information processing unit of another terminal device.
The 5th purpose of the present invention is to propose a kind of wireless communication module.
The 6th purpose of the present invention is to propose a kind of housed device.
The 7th purpose of the present invention is to propose a kind of server.
The 8th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 9th purpose of the present invention is to propose a kind of computer program product.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of information processing method of terminal device, packet
It includes:
When terminal device monitors to need system reboot, the system data for not being sent to server is determined;
Before the restart, the terminal device stores the system data to preset storage region;
After restarting, the system data that the storage region stores is sent to the server by the terminal device.
In the information processing method for the terminal device that the embodiment of the present invention proposes, terminal device monitors to need system reboot
When, determine the system data for not being sent to server, before the restart, terminal device stores system data to preset storage
The system data that storage region stores is sent to server by region, after restarting, terminal device.By in terminal device
Before system reboot, system data is stored to preset storage region, and server is sent to after equipment is restarted, realized
The storage and analysis of system data, solve in the related technology, do not maintain system data before restarting terminal device so that Wu Fagen
According to the failure cause that the SDA system data analysis of equipment causes to restart, optimization can not be provided to equipment quality and performance, meanwhile, also without
The problem of method provides foundation to after-sale service.
In order to achieve the above object, second aspect of the present invention embodiment proposes the information processing method of another terminal device,
Including:
The system data of server receiving terminal equipment;Wherein, the system data is that the terminal device monitors to need
It when system reboot, determines and is not sent to the system data of server, and before the restart, the terminal device is by the system number
According to storing to preset storage region, after restarting, the system data that the terminal device stores the storage region is sent out
It send to the server;
The server carries out analyzing processing to the system data.
In the information processing method of the terminal device of the embodiment of the present invention, server receiving terminal equipment preserves before restarting
System data, and to system data carry out analyzing processing, realize by being obtained and being analyzed to system data, it is determined that
The reason of device fails, so as to be optimized to equipment quality and performance, meanwhile, after-sale service can be provided according to
According to.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of information processing unit of terminal device, it should
Device is set to terminal device, including:
Determining module when for monitoring to need system reboot, determines the system data for not being sent to server;
Memory module, for before the restart, the system data to be stored to preset storage region;
Sending module, for after restarting, the system data that the storage region stores being sent to the server.
In the information processing unit for the terminal device that the embodiment of the present invention proposes, determining module is for monitoring to need system weight
Qi Shi determines the system data for not being sent to server, and memory module is for before the restart, system data to be stored to default
Storage region, sending module is sent to server for after restarting, by the system data that storage region stores.By
Before the system reboot of terminal device, system data is stored to preset storage region, and clothes are sent to after equipment is restarted
Business device, realizes the storage of system data, solves in the related technology, do not maintain system data before restarting terminal device so that
It can not lead to the failure cause restarted according to the SDA system data analysis of equipment, optimization can not be provided to equipment quality and performance, together
When, also can not to after-sale service provide foundation the problem of.
In order to achieve the above object, fourth aspect present invention embodiment proposes the information processing unit of another terminal device,
The device is set to server, including:
Receiving module is used for the system data of receiving terminal apparatus;Wherein, the system data is the terminal device prison
It measures when needing system reboot, determines the system data not sent, and before the restart, the terminal device is by the system data
It stores to preset storage region, after restarting, the terminal device carries out the system data that the storage region stores
It sends;
Processing module, for carrying out analyzing processing to the system data.
In the information processing unit of the terminal device of the embodiment of the present invention, server receiving terminal equipment preserves before restarting
System data, and to system data carry out analyzing processing, realize by being obtained and being analyzed to system data, it is determined that
The reason of device fails, so as to be optimized to equipment quality and performance, meanwhile, after-sale service can be provided according to
According to.
To achieve the goals above, fifth aspect present invention embodiment proposes a kind of wireless communication module, including storage
Device, processor and storage on a memory and the computer program that can run on a processor, the processor execution journey
When sequence, the information processing method of terminal device as described in relation to the first aspect is realized.
To achieve the goals above, sixth aspect present invention embodiment proposes a kind of housed device, including the 5th aspect
Wireless communication module described in embodiment.
To achieve the goals above, seventh aspect present invention embodiment proposes a kind of server, including memory, processing
Device and storage on a memory and the computer program that can run on a processor, when the processor executes described program, reality
The now information processing method of the terminal device as described in second aspect.
To achieve the goals above, eighth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory
Medium is stored thereon with computer program, when which is executed by processor, realizes terminal device as described in relation to the first aspect
Information processing method, and/or, realize the information processing method of the terminal device as described in second aspect.
To achieve the goals above, ninth aspect present invention embodiment proposes a kind of computer program product, when described
When instruction in computer program product is executed by processor, the information processing side of terminal device as described in relation to the first aspect is realized
Method, and/or, realize the information processing method of the terminal device as described in second aspect.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
A kind of flow diagram of the information processing method for terminal device that Fig. 1 is provided by the embodiment of the present invention;
The flow diagram of the information processing method for another terminal device that Fig. 2 is provided by the embodiment of the present invention;
The flow diagram of the information processing method for another terminal device that Fig. 3 is provided by the embodiment of the present invention;
The flow diagram of the information processing method for another terminal device that Fig. 4 is provided by the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the information processing unit of terminal device provided in an embodiment of the present invention;
The structural schematic diagram of the information processing unit for another terminal device that Fig. 6 is provided by the embodiment of the present invention;With
And
The structural schematic diagram of the information processing unit for another terminal device that Fig. 7 is provided by the embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the information processing method and device of the terminal device of the embodiment of the present invention are described.
A kind of flow diagram of the information processing method for terminal device that Fig. 1 is provided by the embodiment of the present invention.
As shown in Figure 1, this approach includes the following steps:
Step 101, when terminal device monitors to need system reboot, the system data for not being sent to server is determined.
Specifically, when terminal device monitors system jam, processor sends instruction of restarting to system, in system weight
Before opening instruction execution, determine that terminal device is not sent to the system data of server, which includes system log, is
The combination of one or more of register information when stack information, system when system breaks down break down.
Step 102, before the restart, terminal device stores system data to preset storage region.
Wherein, storage region is pre-set in random access memory ram, and/or, it is pre-set at flash memory Flash
It is interior.
Specifically, before restarting terminal device, terminal device stores system data, terminal device calling pair
System data is stored in Flash by the interface that Flash executes write operation if calling successfully, if malloc failure malloc, by one
Partial data is stored in RAM in preset storage region, then total data is stored in Flash.
Step 103, after restarting, the system data that storage region stores is sent to server by terminal device.
Specifically, after restarting, whether terminal device inquiry storage region is stored with flag information, if in storage region
Flag information is inside inquired, terminal device reads system data from storage region, and the system data read is sent to clothes
Business device, so that server analyzes system data.
In the information processing method for the terminal device that the embodiment of the present invention proposes, terminal device monitors to need system reboot
When, determine the system data for not being sent to server, before the restart, terminal device stores system data to preset storage
The system data that storage region stores is sent to server by region, after restarting, terminal device.By in terminal device
Before system reboot, system data is stored to preset storage region, and server is sent to after equipment is restarted, realized
The storage of system data is solved in the related technology, is not maintained system data before restarting terminal device so that can not be according to equipment
SDA system data analysis lead to the failure cause restarted, optimization can not be provided equipment quality and performance, meanwhile, can not also be sold
Service provides the problem of foundation afterwards.
Preset storage region includes being set to storage region in random access memory ram and being set to flash memory Flash
Interior storage region, after terminal device breaks down, terminal device can be restarted, and before equipment is restarted, terminal is set
It is standby first to call the interface that write operation is executed to Flash, system data is stored into Flash.
For this purpose, the information processing method of alternatively possible terminal device is present embodiments provided, in a upper embodiment
On the basis of, in order to before more clearly illustrating restarting terminal device, be stored in different storage regions to system data
Process, the flow diagram of the information processing method for another terminal device that Fig. 2 is provided by the embodiment of the present invention such as schemes
Shown in 2, this method comprises the following steps:
Step 201, when terminal device monitors to need system reboot, the system data for not being sent to server is determined.
Specifically, specifically, when terminal device monitors system jam, processor sends instruction of restarting to system,
Before system executes instruction of restarting, determine that terminal device is not sent to the system data of server, which includes being
The combination of one or more of register information when stack information, system when system daily record, system break down break down.
Step 202, before restarting terminal device, terminal device calls the interface that write operation is executed to Flash, by system number
According to storing the storage region to Flash.
Specifically, before restarting terminal device, terminal device first calls the interface that write operation is executed to Flash, if calling
Success, then store system data into preset specific storage region in Flash.
It should be noted that breaking down before needs restart in terminal device, terminal device, which calls, executes write operation
The interface of Flash, as a kind of possible realization method, predeterminable allocating time threshold value writes behaviour in time threshold to execution
The interface of the Flash of work is called.If the case where calling successfully, illustrating present terminal equipment fault is not especially severe,
Again because storage is not easy to lose to the data in Flash, when Flash is called successfully, then writes direct Flash and specifically store
In region;Illustrate fault condition if it can not call successfully than more serious, need using other modes to system data into
Row storage, in this regard, being illustrated by next embodiment.
Step 203, flag information is written in storage region in terminal device.
Specifically, after terminal device is in the specific storage region that system data is written to Flash, then by flag information
It is written in the specific storage regions of Flash, wherein flag information, which is used to indicate in the storage region of Flash, is stored with system number
According to.
Step 204, after restarting terminal device, terminal device sends system data according to the identification information inquired
To server.
Specifically, it after restarting terminal device, is stored in inquiry instruction Flash in the storage region of terminal device to Flash
There is the identification information of system data, if in the storage region of Flash, inquires identification information, then read system from Flash
Data Concurrent is sent to server.
In the information processing method of the terminal data of the embodiment of the present invention, when terminal device monitors to need system reboot,
Determine the system data for not being sent to server, before the restart, terminal device calls the interface for the Flash for executing write operation,
If call successfully, the specific storage region for memory system data that will be divided in system data write-in Flash, and
After data are written successfully, the identification information for being stored with system data in Flash will be used to indicate and also stored into Flash specifically
In storage region, after equipment is restarted, the system data in Flash is sent to server.By by system data at end
Before end equipment is restarted, the storage region in Flash is written, realizes before need to restarting because of failure, the storage of system data.Cause
Flash is non-volatile memory cells, it can be ensured that after system reboot, data are not easy to lose.It, can be with by storing data
So that server determines the failure cause for causing to restart by the analysis to system data, the event analyzed can be directed to by realizing
Barrier reason optimizes equipment quality and performance, meanwhile, it can also give follow-up after-sale service provides effective foundation.
Above embodiments illustrate terminal devices before system reboot, can store system data into Flash, and real
In the application of border, when system is larger to the degree of bursting, system possibly can not call external Flash immediately, then system needs elder generation
A part of important system data is stored into the storage region in RAM, then all system datas are written in Flash,
The storage safety of system data is realized by dual memory.
For this purpose, an embodiment of the present invention provides the information processing method of another terminal device, further clearly explanation
, when calling Flash interfaces unsuccessful, to the process that system data is stored, Fig. 3 is provided by the embodiment of the present invention
The flow diagram of the information processing method of another terminal device, as shown in figure 3, this approach includes the following steps:
Step 301, when terminal device monitors to need system reboot, the system data for not being sent to server is determined.
Specifically, the step 201 in an embodiment is can refer to, details are not described herein again.
Step 302, before restarting terminal device, if terminal device calls the interface for executing write operation to Flash unsuccessful,
It then will be in the storage region in a part of system data and identification information write-in RAM.
Specifically, before restarting terminal device, terminal device first calls the interface that write operation is executed to Flash, if calling
It is unsuccessful, then a part of important system data is first stored into specific storage region in RAM, wherein a part of important
Register information when system data includes stack information and/or the system failure when system breaks down.It ensure that one
The important system data in part is stored at the first time, prevents from, because system crash degree is more serious, leading to loss of data, it is ensured that
The safety of system data.
Step 303, terminal device recalls the interface that write operation is executed to Flash, and by all system data and mark
In the storage region for knowing information write-in Flash.
Specifically, for a part of important system data after storing into memory ram, terminal device calls execution to write again
The Flash interfaces of operation store all system datas in the specific storage region to Flash after calling successfully,
It is written in the storage region of Flash after the completion of system data stores, then by identification information.
It should be noted that a part of system data is the important data in system data, refer to a part of system
The significance level of data is higher than the significance level of remaining system data.
It should be noted that when terminal equipment failure situation is more serious, terminal device calls again executes write operation
Flash interfaces can repeatedly call the interface when that can not call then, until calling successfully.
Step 304, terminal device is restarted.
Specifically, system data is stored to storage region, is restarted to terminal device, and right during restarting
RAM provides electric energy, and carries out memory refresh, to ensure that the content in memory ram is wiped free of during restarting terminal device.
Step 305, after restarting terminal device, terminal device, will be in RAM according to the identification information inquired in RAM
The system data of storage is sent to server.
Specifically, after restarting terminal device, identification information is inquired in terminal device to RAM, if finding identification information,
The important system data stored in RAM is then sent to server.
Step 306, after restarting terminal device, terminal device, will according to the identification information inquired in Flash
All system datas stored in Flash are sent to server.
Specifically, after the important system data stored in RAM is sent to server, then to inquiring mark in Flash
Know information, and according to the identification information inquired, all system datas stored in Flash are sent to server.
It, will before device fails needs are restarted in the information processing method of the terminal device of the embodiment of the present invention
Determining is not sent in the system data of server, and a part of important system data first stores the storage region to RAM
In, then all system datas are stored in the storage region to Flash, realize system data before system equipment is restarted
Storage, and by first storing a part of important system data in the storage region to RAM, realize it is most fast will be important
System data storage, then total data is stored into Flash, realizes the dual memory of system data, further
The safety that ensure that data.Pass through the storage to system data so that server is led by the analysis to system data, determination
The failure cause restarted is caused, the failure cause analyzed can be directed to by, which realizing, optimizes equipment quality and performance, meanwhile,
Follow-up after-sale service provides effective foundation can be given.
Based on above-described embodiment, the embodiment of the present invention also proposed a kind of the possible of the information processing method of terminal device
Realization method, executive agent are server, the information processing side for another terminal device that Fig. 4 is provided by the embodiment of the present invention
The flow diagram of method, as shown in figure 4, this method comprises the following steps:
Step 401, the system data of server receiving terminal equipment.
Specifically, server receiving terminal equipment after restart, the system data obtained in the slave storage region of transmission.
Step 402, server carries out analyzing processing to system data.
Specifically, server is according to the system data received, carries out user behavior analysis, analysis failure whether be because
Caused by user's operation is improper, to provide foundation to after-sale service.
Server can also carry out stabilization of equipment performance analysis, the reason of analysing terminal device fails, root to system data
Performance optimization, quality improvement are carried out to terminal device according to failure cause.
In the information processing method of the terminal data of the embodiment of the present invention, the system data of server receiving terminal equipment,
And system data is analyzed.By the way that SDA system data analysis, analysis result can be obtained, which can realize to terminal
Equipment performance optimizes, quality improvement, meanwhile, provide foundation to after-sale service.
In order to realize that above-described embodiment, the present invention also propose a kind of information processing unit of terminal device.
Fig. 5 is a kind of structural schematic diagram of the information processing unit of terminal device provided in an embodiment of the present invention, the device
It is set to terminal device.
As shown in figure 5, the device includes:Determining module 51, memory module 52 and sending module 53.
Determining module 51 when for monitoring to need system reboot, determines the system data for not being sent to server.
Memory module 52, for before the restart, system data to be stored to preset storage region.
Sending module 53, for after restarting, the system data that storage region stores being sent to server.
It should be noted that the explanation of aforementioned each embodiment to method performed by terminal device is also applied for the reality
The device of example is applied, details are not described herein again.
In the information processing unit for the terminal device that the embodiment of the present invention proposes, determining module is for monitoring to need system weight
Qi Shi determines the system data for not being sent to server, and memory module is for before the restart, system data to be stored to default
Storage region, sending module is sent to server for after restarting, by the system data that storage region stores.By
Before the system reboot of terminal device, system data is stored to preset storage region, and clothes are sent to after equipment is restarted
Business device, realizes the storage of system data, solves in the related technology, do not maintain system data before restarting terminal device so that
It can not lead to the failure cause restarted according to the SDA system data analysis of equipment, optimization can not be provided to equipment quality and performance, together
When, also can not to after-sale service provide foundation the problem of.
Based on above-described embodiment, the embodiment of the present invention additionally provides a kind of the possible of the information processing unit of terminal device
Realization method, the structural schematic diagram of the information processing unit for another terminal device that Fig. 6 is provided by the embodiment of the present invention,
On the basis of a upper embodiment, as shown in fig. 6, the device further includes:Writing module 54 and power on module 55.
Flag information is written in storage region for terminal device, wherein flag information, which is used to indicate, to be deposited in writing module 54
Storage area is stored with system data in domain.
As a kind of possible realization method, storage region is set in random access memory ram, and/or, it is set to
In flash memory Flash.
As a kind of possible realization method, storage region is set in random access memory ram and is set to flash memory
In Flash, then memory module 52, are specifically used for:
Terminal device calls the interface that write operation is executed to Flash, if interface malloc failure malloc, terminal device is by system data
Store the storage region to RAM;If interface calls successfully, system data is stored the memory block to Flash by terminal device
Domain.
As alternatively possible realization method, storage region is set in random access memory ram and is set to sudden strain of a muscle
It deposits in Flash, then memory module 52, also particularly useful for:
A part of system data is stored the storage region to RAM by terminal device, and terminal device is by whole system numbers
According to storing the storage region to Flash, wherein the significance level of a part of system data is important higher than remaining system data
Degree, including system break down when stack information and/or system break down when register information.
Module 55 is powered on, in the reboot process, terminal device to provide electric energy to RAM, and carries out memory refresh.
As a kind of possible realization method, sending module 53 is specifically used for:After restarting, terminal device inquiry is deposited
Whether storage area domain is stored with flag information, if inquiring flag information, terminal device reads system data, terminal from storage region
The system data read is sent to server by equipment.
As a kind of possible realization method, system data include system log, system break down when stack information,
The combination of one or more of register information when system breaks down.
It should be noted that the explanation of aforementioned each embodiment to method performed by terminal device is also applied for the reality
The device of example is applied, details are not described herein again.
The embodiment of the present invention propose terminal device information processing unit in, by the system reboot in terminal device with
Before, system data is stored to preset storage region, and server is sent to after equipment is restarted, realizes system data
Storage, solves in the related technology, does not maintain system data before restarting terminal device so that can not be according to the system data of equipment
Analysis leads to the failure cause restarted, and can not provide optimization to equipment quality and performance, meanwhile, it can not also be provided to after-sale service
The problem of foundation.
Based on above-described embodiment, the present invention also proposes that the information processing unit of another terminal device, Fig. 7 present invention are implemented
The structural schematic diagram of the information processing unit for another terminal device that example is provided, which is set to server, such as Fig. 7 institutes
Show, which includes:Receiving module 71 and processing module 72.
Receiving module 71 is used for the system data of receiving terminal apparatus, wherein system data is that terminal device monitors to need
When system reboot, the system data not sent is determined, and before the restart, system data is stored to preset and deposited by terminal device
Storage area domain, after restarting, the system data that terminal device stores storage region are sent.
Processing module 72, for carrying out analyzing processing to system data.
As a kind of possible realization method, processing module 72 is specifically used for:
Server carries out user behavior analysis to system data, and/or, server carries out stabilization of equipment performance to system data
Analysis.
It should be noted that the explanation of aforementioned each embodiment to method performed by server is also applied for the implementation
The device of example, details are not described herein again.
In the information processing unit of the terminal device of the embodiment of the present invention, server receiving terminal equipment preserves before restarting
System data, and to system data carry out analyzing processing, realize by being obtained and being analyzed to system data, it is determined that
The reason of device fails, so as to be optimized to equipment quality and performance, meanwhile, after-sale service can be provided according to
According to.
In order to realize that above-described embodiment, the embodiment of the present invention also proposed a kind of wireless communication module, including memory, place
The computer program managed device and storage on a memory and can run on a processor, when the processor executes described program,
Realize the information processing method of the terminal device performed by terminal device.
In order to realize that above-described embodiment, the embodiment of the present invention also proposed a kind of housed device, including above-described embodiment institute
The wireless communication module stated.
In order to realize above-described embodiment, the embodiment of the present invention also proposed a kind of server, including memory, processor and
The computer program that can be run on a memory and on a processor is stored, when the processor executes described program, realizes clothes
The information processing method for the terminal device being engaged in performed by device.
In order to realize that above-described embodiment, the embodiment of the present invention also proposed a kind of non-transitory computer-readable storage medium
Matter is stored thereon with computer program, when which is executed by processor, realizes the letter of the terminal device performed by terminal device
Processing method is ceased, and/or, realize the information processing method of the terminal device performed by server.
In order to realize that above-described embodiment, the embodiment of the present invention also proposed a kind of computer program product, when the calculating
When instruction in machine program product is executed by processor, the information processing method of the terminal device performed by terminal device is realized,
And/or realize the information processing method of the terminal device performed by server.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.Such as, if realized in another embodiment with hardware, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (16)
1. a kind of information processing method of terminal device, which is characterized in that include the following steps:
When terminal device monitors to need system reboot, the system data for not being sent to server is determined;
Before the restart, the terminal device stores the system data to preset storage region;
After restarting, the system data that the storage region stores is sent to the server by the terminal device.
2. facility information processing method according to claim 1, which is characterized in that the terminal device is by the system number
According to storing to preset storage region, further include:
Flag information is written in the storage region in the terminal device, and the flag information is used to indicate in the storage region
It is stored with the system data.
3. facility information processing method according to claim 2, which is characterized in that after restarting, the terminal device
The system data that the storage region stores is sent to the server, including:
After restarting, the terminal device inquires whether the storage region is stored with the flag information;
If inquiring the flag information, the terminal device reads system data from the storage region;
The system data read is sent to the server by the terminal device.
4. facility information processing method according to claim 1, which is characterized in that the storage region is set to deposits at random
In access to memory RAM, and/or, it is set in flash memory Flash.
5. facility information processing method according to claim 4, which is characterized in that if the terminal device is by the system
Data are stored to the storage region in the RAM, and the method further includes:
In the reboot process, the terminal device provides electric energy to the RAM, and carries out memory refresh.
6. facility information processing method according to claim 4, which is characterized in that the storage region is set to deposits at random
It in access to memory RAM and is set in flash memory Flash, the terminal device stores the system data to preset memory block
Domain, including:
The terminal device stores a part of system data to the storage region in the RAM;
The terminal device stores whole system datas to the storage region in the Flash;
Wherein, the significance level of a part of system data is higher than the significance level of remaining system data, including system occurs
Register information when stack information and/or system when failure break down.
7. according to claim 1-6 any one of them information processing methods, which is characterized in that the system data includes system
The combination of one or more of register information when stack information, system when daily record, system break down break down.
8. a kind of information processing method of terminal device, which is characterized in that the described method comprises the following steps:
The system data of server receiving terminal equipment;Wherein, the system data is that the terminal device monitors to need system
When restarting, the system data for not being sent to server is determined, and before the restart, the terminal device deposits the system data
Storage is to preset storage region, and after restarting, the system data that the storage region stores is sent to by the terminal device
The server;
The server carries out analyzing processing to the system data.
9. information processing method according to claim 8, which is characterized in that the server carries out the system data
Analyzing processing, including:
The server carries out user behavior analysis to the system data;
And/or the server carries out stabilization of equipment performance analysis to the system data.
10. a kind of information processing unit of terminal device, which is characterized in that including:
Determining module when for monitoring to need system reboot, determines the system data for not being sent to server;
Memory module, for before the restart, the system data to be stored to preset storage region;
Sending module, for after restarting, the system data that the storage region stores being sent to the server.
11. a kind of information processing unit of terminal device, which is characterized in that including:
Receiving module is used for the system data of receiving terminal apparatus;Wherein, the system data is that the terminal device monitors
When needing system reboot, the system data not sent is determined, and before the restart, the terminal device stores the system data
To preset storage region, after restarting, the system data that the terminal device stores the storage region is sent;
Processing module, for carrying out analyzing processing to the system data.
12. a kind of wireless communication module, which is characterized in that including memory, processor and store on a memory and can locate
The computer program run on reason device when the processor executes described program, is realized as described in any in claim 1-7
The information processing method of terminal device.
13. a kind of housed device, which is characterized in that including the wireless communication module described in claim 12.
14. a kind of server, which is characterized in that on a memory and can be on a processor including memory, processor and storage
The computer program of operation realizes terminal device as claimed in claim 8 or 9 when the processor executes described program
Information processing method.
15. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
The information processing method such as terminal device according to any one of claims 1-8 is realized when being executed by processor, and/or, it realizes
The information processing method of terminal device as claimed in claim 8 or 9.
16. a kind of computer program product, which is characterized in that when the instruction in the computer program product is executed by processor
When, the information processing method of the terminal device as described in any in claim 1-7 is executed, and/or, realize such as claim 8
Or the information processing method of the terminal device described in 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810179171.3A CN108536545B (en) | 2018-03-05 | 2018-03-05 | Information processing method and device for terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810179171.3A CN108536545B (en) | 2018-03-05 | 2018-03-05 | Information processing method and device for terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536545A true CN108536545A (en) | 2018-09-14 |
CN108536545B CN108536545B (en) | 2021-07-20 |
Family
ID=63485543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810179171.3A Active CN108536545B (en) | 2018-03-05 | 2018-03-05 | Information processing method and device for terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536545B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110536320A (en) * | 2019-08-06 | 2019-12-03 | 无锡小净共享网络科技有限公司 | Communication equipment, household electrical appliance data transmission method and system |
CN113391961A (en) * | 2021-06-11 | 2021-09-14 | 深圳市同泰怡信息技术有限公司 | Method and device for recording information of baseboard management controller and computer equipment |
CN113485858A (en) * | 2021-06-15 | 2021-10-08 | 荣耀终端有限公司 | System fault processing method of electronic equipment and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149699A (en) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | Method for reliably acquiring abnormal and repositioning information |
US20110078520A1 (en) * | 2009-09-30 | 2011-03-31 | Fujitsu Limited | Information processing apparatus, method of controlling information processing apparatus, and control program |
CN102902748A (en) * | 2012-09-18 | 2013-01-30 | 上海移远通信技术有限公司 | Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems |
CN104794016A (en) * | 2015-04-23 | 2015-07-22 | 惠州Tcl移动通信有限公司 | Mobile terminal crash testing and processing method and system |
CN104951377A (en) * | 2015-05-28 | 2015-09-30 | 小米科技有限责任公司 | Exception handling method and device for smart home terminal |
CN105183576A (en) * | 2015-09-21 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Method and system for collecting abnormal information after embedded OLT collapses |
US20160378579A1 (en) * | 2015-06-23 | 2016-12-29 | Microsoft Technology Licensing, Llc | Atypical Reboot Data Collection And Analysis |
-
2018
- 2018-03-05 CN CN201810179171.3A patent/CN108536545B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149699A (en) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | Method for reliably acquiring abnormal and repositioning information |
US20110078520A1 (en) * | 2009-09-30 | 2011-03-31 | Fujitsu Limited | Information processing apparatus, method of controlling information processing apparatus, and control program |
CN102902748A (en) * | 2012-09-18 | 2013-01-30 | 上海移远通信技术有限公司 | Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems |
CN104794016A (en) * | 2015-04-23 | 2015-07-22 | 惠州Tcl移动通信有限公司 | Mobile terminal crash testing and processing method and system |
CN104951377A (en) * | 2015-05-28 | 2015-09-30 | 小米科技有限责任公司 | Exception handling method and device for smart home terminal |
US20160378579A1 (en) * | 2015-06-23 | 2016-12-29 | Microsoft Technology Licensing, Llc | Atypical Reboot Data Collection And Analysis |
CN105183576A (en) * | 2015-09-21 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Method and system for collecting abnormal information after embedded OLT collapses |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110536320A (en) * | 2019-08-06 | 2019-12-03 | 无锡小净共享网络科技有限公司 | Communication equipment, household electrical appliance data transmission method and system |
CN113391961A (en) * | 2021-06-11 | 2021-09-14 | 深圳市同泰怡信息技术有限公司 | Method and device for recording information of baseboard management controller and computer equipment |
CN113485858A (en) * | 2021-06-15 | 2021-10-08 | 荣耀终端有限公司 | System fault processing method of electronic equipment and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108536545B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108376077A (en) | The upgrade method and device of control unit | |
CN108536545A (en) | The information processing method and device of terminal device | |
CN100365994C (en) | Method and system for regulating ethernet | |
CN104170323A (en) | Fault handling method, device and system based on network function virtualization | |
CN106502814B (en) | Method and device for recording error information of PCIE (peripheral component interface express) equipment | |
CN106201811A (en) | The fault recovery method of application program and terminal | |
CN108282385A (en) | Port testing method and communication equipment | |
CN110096363A (en) | A kind of correlating method and device of network event and process | |
CN104914815A (en) | Processor monitoring method, device and system | |
CN109388622A (en) | A kind of log information processing method, device, equipment and readable storage medium storing program for executing | |
CN103347031B (en) | A kind of method and apparatus taking precautions against ARP message aggression | |
CN103986585A (en) | Message preprocessing method and device | |
CN110502345A (en) | A kind of overload protection method, device, computer equipment and storage medium | |
CN109240847A (en) | EMS memory error report method, device, terminal and storage medium during a kind of POST | |
CN108647131A (en) | Output system of running log | |
CN107679423A (en) | Partition integrity inspection method and device | |
CN109918221A (en) | A kind of hard disk reports an error analytic method, system, terminal and storage medium | |
CN104657088B (en) | A kind of acquisition methods and device of hard disk bad block message | |
CN105210043A (en) | Information processing device | |
CN109376072A (en) | Application development method and apparatus based on third party's Component Gallery | |
CN109240856A (en) | A kind of storage metadata damage analogy method, device, terminal and storage medium | |
CN117591327A (en) | core file generation method and device, electronic equipment and storage medium | |
CN102495815B (en) | Processing method for I/O (input/output) data access interrupt, system and equipment | |
CN106301967A (en) | A kind of method of data synchronization and outband management equipment | |
CN109189638A (en) | A kind of GPU driving detection method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |