CN106776385B - A kind of transmission method, device and the terminal of log log information - Google Patents

A kind of transmission method, device and the terminal of log log information Download PDF

Info

Publication number
CN106776385B
CN106776385B CN201611110062.3A CN201611110062A CN106776385B CN 106776385 B CN106776385 B CN 106776385B CN 201611110062 A CN201611110062 A CN 201611110062A CN 106776385 B CN106776385 B CN 106776385B
Authority
CN
China
Prior art keywords
log information
data
target data
application processor
physical sensors
Prior art date
Application number
CN201611110062.3A
Other languages
Chinese (zh)
Other versions
CN106776385A (en
Inventor
张强
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201611110062.3A priority Critical patent/CN106776385B/en
Publication of CN106776385A publication Critical patent/CN106776385A/en
Application granted granted Critical
Publication of CN106776385B publication Critical patent/CN106776385B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
    • Y02D10/14

Abstract

The embodiment of the invention discloses transmission method, device and the terminals of a kind of log log information, are related to field of terminal technology, wherein this method comprises: detecting whether to receive the instruction for obtaining the log information of physical sensors;When receiving the instruction for obtaining the log information of the physical sensors, the interface document of the virtual-sensor of creation is called, the virtual-sensor is used for transmission data corresponding with log information;Based on the interface document, the target data that the physical sensors received are sent is sent to application processor, log information corresponding with the target data is obtained based on the corresponding relationship list of the data and log information prestored with the application processor.The embodiment of the present invention is solved the problems, such as because power consumption is larger caused by character string is larger in log information, and shortens the transmission time of log information, improves the efficiency of log acquisition of information.

Description

A kind of transmission method, device and the terminal of log log information

Technical field

The present invention relates to field of terminal technology more particularly to a kind of transmission method, device and the terminals of log log information.

Background technique

With the development of communication technology, various terminals using more more and more universal, and terminal has become in people's life Indispensable tool.

Terminal in the prior art, mobile phone etc. generally use audio digital signal processor (Audio Digital Dignal Processor, ADSP) framework, ADSP framework refers to: institute of the sensor carry on ADSP, in ADSP management terminal There is sensor, under this framework, all sensors are interacted with ADSP, then ADSP and application processor (Application Processor, AP) is interacted.Specifically, ADSP receives the data of sensor transmission, log is generated Data and log information are sent to AP by information, so that AP controls sensor according to data are received, and based on the received Log information is monitored sensor.

But inventor, during executing the present invention, the discovery prior art haves the defects that as follows: the prior art In, since the character string in log information is larger, transmission time is longer, and therefore, ADSP and AP are equal in the transmission process of log information Need the long period in running order, cause ADSP and AP can not suspend mode, power consumption is larger.

Summary of the invention

In view of this, the embodiment of the present invention provides transmission method, device and the terminal of a kind of log log information, to solve In the prior art because in log information character string it is larger caused by transmit the larger technical problem of power consumption.

In a first aspect, the embodiment of the invention provides a kind of transmission methods of log log information, comprising:

Detect whether to receive the instruction for obtaining the log information of physical sensors;

When receiving the instruction for obtaining the log information of physical sensors, the interface text of the virtual-sensor of creation is called Part, the virtual-sensor are used for transmission data corresponding with log information;

Based on the interface document, the target data that the physical sensors received are sent is sent to using processing Device is obtained and the target data pair with the application processor based on the corresponding relationship list of the data and log information that prestore The log information answered.

Second aspect, the embodiment of the invention also provides a kind of transmitting devices of log log information, comprising:

Detection module, for detecting whether receiving the instruction for obtaining the log information of physical sensors;

First calling module, for calling the void of creation when receiving the instruction for obtaining the log information of physical sensors The interface document of quasi- sensor, the virtual-sensor are used for transmission data corresponding with log information;

First sending module, for being based on the interface document, by the target of the physical sensors received transmission Data are sent to application processor, are obtained with the application processor based on the corresponding relationship list of the data prestored and log information Take log information corresponding with the target data.

The third aspect, the embodiment of the invention provides a kind of terminals, comprising: processor and storage;

The memory, for storing executable program code;

The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for executing:

Detect whether to receive the instruction for obtaining the log information of physical sensors;

When receiving the instruction for obtaining the log information of physical sensors, the interface text of the virtual-sensor of creation is called Part, the virtual-sensor are used for transmission data corresponding with log information;

Based on the interface document, the target data that the physical sensors received are sent is sent to using processing Device is obtained and the target data pair with the application processor based on the corresponding relationship list of the data and log information that prestore The log information answered.

Technical solution provided in an embodiment of the present invention, by being used for transmission the virtual of data corresponding with log information The target data for receiving physical sensors transmission is sent to application processor, so that at application by the interface document of sensor Device is managed according to the data prestored and the corresponding relationship list of log information, log information corresponding with target data is obtained, solves Because in log information character string it is larger caused by the larger problem of power consumption, and shorten the transmission time of log information, improve log letter Cease the efficiency obtained.

Detailed description of the invention

By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:

Fig. 1 is a kind of transmission method flow chart of log information provided in an embodiment of the present invention;

Fig. 2 is the transmission method flow chart of another log information provided in an embodiment of the present invention;

Fig. 3 is the transmission method flow chart of another log information provided in an embodiment of the present invention;

Fig. 4 is the transmission method flow chart of another log information provided in an embodiment of the present invention;

Fig. 5 is the transmission method flow chart of another log information provided in an embodiment of the present invention;

Fig. 6 is a kind of transmitting device structural block diagram of log information provided in an embodiment of the present invention;

Fig. 7 is a kind of structural schematic diagram for terminal that the embodiment of the present invention five provides.

Specific embodiment

The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just In description, only some but not all contents related to the present invention are shown in the drawings.

Fig. 1 is a kind of transmission method flow chart of log information provided in an embodiment of the present invention, and the method is by log information Transmitting device execute, described device is executed by software and/or hardware, and described device is configured in terminals such as mobile phones In.As shown in Figure 1, technical solution provided by the invention is specific as follows:

S110: it detects whether to receive the instruction for the log information for obtaining physical sensors.

In the present embodiment, physical sensors include ambient light sensor, the proximity sensor, acceleration of setting at the terminal Spend sensor, pedometer etc..Terminal can be mobile phone, tablet computer etc..Log information includes the operating status number of physical sensors The data or log information detected according to, physical sensors can also include other data of physical sensors.Wherein, physics The running state data of sensor includes the data such as open state, closed state, abnormality.The operating status of physical sensors Data are not limited to above-mentioned data.Pass through log information, it will be appreciated that the state of physical sensors is realized to physical sensing The monitoring of device.

In the present embodiment, the instruction for obtaining the log information of physical sensors can be the display physical sensors of input Log information instruction, or be also possible to input upload log information instruction or other forms instruction.This reality It applies in example, optionally, the detection for receiving the log information command for obtaining physical sensors can be detected by ADSP, or Person can also be detected by AP, or can also be detected by other processors, and the mode for detection is simultaneously not construed as limiting.

S120: when receiving the instruction for obtaining the log information of physical sensors, connecing for the virtual-sensor of creation is called Mouth file.

In the present embodiment, when ADSP receives the instruction for obtaining the log information of object sensor, the void of creation is called The interface document of quasi- sensor, virtual-sensor are used for transmission data corresponding with log information.That is virtual-sensor passes Defeated data and log information correspond.Wherein, ADSP can receive for being managed to the physical sensors in terminal The target data that physical sensors are sent, and ADSP can also be managed virtual-sensor.Optionally, virtual-sensor Interface document can transmit 1-3 data every time, and can be transmitted several times.

S130: being based on the interface document, and the target data that the physical sensors received are sent is sent to and is answered With processor, obtained and the target with the application processor based on the corresponding relationship list of the data and log information that prestore The corresponding log information of data.

In the present embodiment, AP is used to interact with ADSP or AP can also be interacted with other equipment, completes Control and management to terminal.

In the present embodiment, pair of data Yu log information is stored in other storage equipment in terminal or in AP Answer relation list.It wherein, include the corresponding relationship of data, log information and data and log information in corresponding relationship list.

Illustratively, the AP is obtained and the number of targets based on the corresponding relationship list of the data and log information that prestore According to corresponding log information, comprising: the AP inquiry and mesh in the corresponding relationship list of the data and log information that prestore Mark the corresponding log information of data.Wherein, the log information that AP will acquire is stored, so that user checks.

In the present embodiment, by calling the interface document of virtual-sensor to carry out transmission objectives data, and by prestoring The corresponding relationship of data and log information obtains corresponding with target data log information, compared with the existing technology in from ADSP to AP For directly transmitting log information, power consumption is reduced.Reason is: the size of target data is far smaller than character string in log information Size, therefore shorten transmission time, shorten the transmission time of log information, reduce the power consumption of ADSP and AP, and make terminal System normal hibernation.

The transmission method of a kind of log information provided in this embodiment, by being used for transmission number corresponding with log information According to virtual-sensor interface document, will receive physical sensors transmission target data be sent to application processor, with Make application processor according to the data prestored and the corresponding relationship list of log information, obtains log letter corresponding with target data Breath solves the problems, such as because power consumption is larger caused by log information is larger, and shortens the transmission time of log information, improves log The efficiency of acquisition of information.

Fig. 2 is the transmission method flow chart of another log information provided in an embodiment of the present invention, in the base of above-described embodiment On plinth, the method also includes:

When receiving the target data that the physical sensors are sent, the interface of the physical sensors is called;

The target data is sent to the application processor, so that the application processor obtains the target data Numerical value.

As a result, by calling the interface of physical sensors, target data is sent to application processor, so that application is handled Device obtains the numerical value of target data, can transmit the true value of data while transmitting log information by data channel, mention The efficiency of the data processing of high terminal.

As shown in Fig. 2, technical solution provided in this embodiment is specific as follows:

S210: when receiving the target data that the physical sensors are sent, the interface of the physical sensors is called.

In the present embodiment, the interface of physical sensors, is used for transmission target data, so that AP obtains the number of target data Value, and the target data transmitted by the interfaces of physical sensors, to log information and uncorrelated.

In the present embodiment, the detection of the target data of physical sensors transmission, Ke Yiyou whether are received to ADSP ADSP is detected, and can also be detected by the processor of other in terminal, or the application by installing in terminal is examined It surveys, or can also be by other detection modes, it is not limited to above-mentioned detection mode.

It should be noted that being stood when can be ADSP for the calling of the interface of physical sensors and receiving target data It calls, is also possible to ADSP and receives target data, being spaced the preset time is called, for the interface of physical sensors Calling can determine opportunity according to the type of the target data received, also can according to need determine calling opportunity.

S220: being sent to the application processor for the target data, so that the application processor receives the mesh Mark the numerical value of data.

In the present embodiment, for example, if the target data that ADSP receives ambient light sensor transmission is 50cd/ m2, transfer environment optical sensor interface is sent to AP, and the target data that AP is received is brightness value 50cd/m2, AP is according to receiving Brightness value, the other equipment in other sensors or terminal can be controlled.

S230: it detects whether to receive the instruction for the log information for obtaining physical sensors.

S240: when receiving the instruction for obtaining the log information of physical sensors, connecing for the virtual-sensor of creation is called Mouth file, the virtual-sensor are used for transmission data corresponding with log information.

S250: being based on the interface document, and the target data that the physical sensors received are sent is sent to and is answered With processor, obtained and the target with the application processor based on the corresponding relationship list of the data and log information that prestore The corresponding log information of data.

In the present embodiment, for example, when receiving the instruction for obtaining the log information of ambient light sensor, ADSP tune With the interface document of virtual-sensor, the target data 50 received is sent to AP, AP according to the number of targets received it is investigated that Look for log information.If 50 corresponding log information are " ambient light sensor closing ", data 50 are converted into " ambient light sensor The log information of closing ", and log information is stored, so that user understands the operation of ambient light sensor by log information State.

The transmission method of a kind of log information provided in this embodiment, by calling the interface of physical sensors, by number of targets According to application processor is sent to, so that application processor obtains the numerical value of target data, log can transmitted by data channel While information, the true value of data is transmitted, improves the efficiency of the data processing of terminal.

Fig. 3 is the transmission method flow chart of another log information provided in an embodiment of the present invention, in the base of above-described embodiment On plinth, optionally, it is based on the interface document described, the target data is sent to application processor, so that described answer With processor based on the data prestored and the corresponding relationship list of log information, log information corresponding with the target data is obtained Before, it also performs the following operations:

The corresponding relationship list of data and log information is created, and the corresponding relationship list is stored.

As a result, by the creation of the corresponding relationship list of data and log information, can by data search log information, with Making the transmission of log information can be realized by the transmission of data, shortened the transmission time of log information, reduced power consumption.

Further, the method further include:

Creation is used for transmission the virtual-sensor of data corresponding with log information, and establishes connecing for the virtual-sensor Mouth file.

As a result, by the virtual-sensor of creation, data corresponding with log information can be transmitted, so that AP turns data It changes log information into, reduces power consumption, shorten transmission time.

As shown in figure 3, technical solution provided in this embodiment is specific as follows:

S310: creation is used for transmission the virtual-sensor of data corresponding with log information, and establishes the virtual-sensor Interface document.

In the present embodiment, the creation of virtual-sensor can be created by ADSP, it can also be by being in terminal System is created, or is created by the other equipment in terminal.The log letter that virtual-sensor is transmitted by way of data Breath, therefore virtual-sensor can be referred to as log sensor.Virtual-sensor is managed by ADSP.

S320: the corresponding relationship list of creation data and log information, and the corresponding relationship list is stored.

In the present embodiment, the corresponding relationship of data and log information can be configured as needed, form corresponding relationship column Table, and corresponding relationship list is stored.

Wherein, the corresponding relationship of data and log information can be following form: for example, 100 (data) and " open Prox sensor " (log information) is corresponding, that is to say, that if the data received are 100, corresponding log information is exactly to beat Open proximity sensor.For another example, 120 (data) are corresponding with " proximity values 120 " (log information), and the data even received are 120, Then current proximity values are 120.Corresponding relationship can also be other forms.And in the corresponding relationship list of data and log information Log information can be using English format, can also be using Chinese format or extended formatting.

S330: it detects whether to receive the instruction for the log information for obtaining physical sensors.

S340: when receiving the instruction for obtaining the log information of physical sensors, the interface text of the virtual-sensor of creation Part.

S350: being based on the interface document, and the target data that the physical sensors received are sent is sent to and is answered With processor, obtained and the target with the application processor based on the corresponding relationship list of the data and log information that prestore The corresponding log information of data.

It should be noted that the embodiment of the present invention executes before S310 and S320 are illustratively placed on S330, but this Embodiment is only a kind of example, and in other embodiments of the invention, S320 is executed before S340, and S310 is in S330 It executes before.

It should be noted that S310-S350 one example of composition is illustratively executed a kind of log letter by the embodiment of the present invention The transmission method of breath, but a kind of only example, in other embodiments of the invention, S310-S350 can also be with this reality It applies S210, S220 in example and forms the transmission method that an example executes a kind of log information, be not repeated.

The transmission method for present embodiments providing a kind of log information passes through data and the corresponding relationship list of log information Creation, so that the transmission of log information can be realized by the transmission of data, can be shortened by data search log information The transmission time of log information, reduces power consumption;By the virtual-sensor of creation, number corresponding with log information can be transmitted According to so that AP converts the data into log information, reducing power consumption, shorten transmission time.

Fig. 4 is that the transmission method flow chart of another log information provided in an embodiment of the present invention optionally detects whether The instruction for receiving the log information for obtaining physical sensors is detected by ADSP.As shown in figure 4, skill provided in this embodiment Art scheme is specific as follows:

S410: when ADSP receives the target data of physical sensors transmission, the interface of the physical sensors is called.

S420:ADSP sends the target data and is sent to AP.

S430:AP receives the numerical value of the target data.

S440:ADSP detects whether to receive the instruction for the log information for obtaining physical sensors.

S450: when ADSP receives the instruction for obtaining the log information of physical sensors, the virtual-sensor of creation is called Interface document.

S460: being based on the interface document, the target data of physical sensors that ADSP is transmitted and received transmission to AP。

S470:AP is obtained corresponding with the target data based on the corresponding relationship list of the data and log information prestored Log information.

Fig. 5 is that the transmission method flow chart of another log information provided in an embodiment of the present invention optionally detects whether The instruction for receiving the log information for obtaining physical sensors is detected by AP.As shown in figure 5, technology provided in this embodiment Scheme is specific as follows:

S510: when ADSP receives the target data of physical sensors transmission, the interface of the physical sensors is called.

S520:ADSP sends the target data and is sent to AP.

S530:AP receives the numerical value of the target data.

S540:AP detects whether to receive the instruction for the log information for obtaining physical sensors.

S550: it when AP receives the instruction for obtaining the log information of physical sensors, sends and obtains physical sensors The instruction of log information is to ADSP.

S560:ADSP receives instruction, calls the interface document of the virtual-sensor of creation.

S570: being based on the interface document, the target data of physical sensors that ADSP is transmitted and received transmission to AP。

S580:AP is obtained corresponding with the target data based on the corresponding relationship list of the data and log information prestored Log information.

Fig. 6 is a kind of transmitting device for log information that the embodiment of the present invention four provides, and described device is for executing log letter The transmission method of breath, as shown in fig. 6, the transmitting device 600 of the log information includes: detection module 610, the first calling module 620 and first sending module 630.

Detection module 610, for detecting whether receiving the instruction for obtaining the log information of physical sensors;

First calling module 620, for calling creation when receiving the instruction for obtaining the log information of physical sensors Virtual-sensor interface document, the virtual-sensor is used for transmission data corresponding with log information;

First sending module 630, for being based on the interface document, by the mesh of the physical sensors received transmission Mark data are sent to application processor, with the application processor based on the data prestored and the corresponding relationship list of log information Obtain log information corresponding with the target data.

Further, described device further include:

Second calling module 640, for calling the object when receiving the target data that the physical sensors are sent Manage the interface of sensor;

Second sending module 650, for the target data to be sent to the application processor, so that at the application Reason device receives the numerical value of the target data.

Further, described device further include:

Corresponding relationship list creating module 660, for being based on the interface document, the physics that will be received described The target data that sensor is sent is sent to application processor, with the application processor based on the data and log information prestored Corresponding relationship list obtain corresponding with target data log information before, the corresponding relationship of creation data and log information List, and the corresponding relationship list is stored.

Further, described device further include:

Virtual-sensor creation module 670, for creating the virtual sensing for being used for transmission data corresponding with log information Device, and establish the interface document of the virtual-sensor.

Further, corresponding relationship list acquisition and institute of the application processor based on the data and log information that prestore State the corresponding log information of target data, comprising:

The application processor inquiry and target data in the corresponding relationship list of the data and log information that prestore Corresponding log information.

The transmitting device of a kind of log information provided in this embodiment, by being used for transmission number corresponding with log information According to virtual-sensor interface document, will receive physical sensors transmission target data be sent to application processor, with Make application processor according to the data prestored and the corresponding relationship list of log information, obtains log letter corresponding with target data Breath solves the problems, such as because power consumption is larger caused by character string is larger in log information, and shortens the transmission time of log information, mentions The high efficiency of log acquisition of information.

The embodiment of the invention provides a kind of terminal, log information provided in an embodiment of the present invention can be integrated in the terminal Transmitting device.Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.As shown in fig. 7, the terminal can wrap Include: shell (not shown), memory 701, central processing unit (Central Processing Unit, CPU) 702 are (also known as Processor, hereinafter referred to as CPU), circuit board (not shown), touch screen 712 and power circuit (not shown).Wherein locate Managing device 702 can be ADSP.The touch screen 712 is input to the processor for user's operation to be converted into electric signal, and shows Show visual output signal;The circuit board is placed in the space interior that the touch screen 712 is surrounded with the shell;It is described CPU702 and the memory 701 are arranged on the circuit board;The power circuit, for each circuit for the terminal Or device power supply;The memory 701, for storing executable program code;The CPU702 is by reading the memory The executable program code stored in 701 runs program corresponding with the executable program code, for executing: detection Whether the instruction that obtains the log information of physical sensors is received;When the instruction for the log information for receiving acquisition physical sensors When, the interface document of the virtual-sensor of creation is called, the virtual-sensor is used for transmission data corresponding with log information; Based on the interface document, the target data that the physical sensors received are sent is sent to application processor, with institute It states application processor and log corresponding with the target data is obtained based on the corresponding relationship list of the data and log information prestored Information.

The terminal further include: Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710 with And outside port 704, these components are communicated by one or more communication bus or signal wire 707.

It should be understood that graphic terminal 700 is only an example of terminal, and terminal 700 can have than figure Shown in more or less component, two or more components can be combined, or can have different portions Part configuration.Various parts shown in the drawings can be including one or more signal processings and/or specific integrated circuit Hardware, software or hardware and software combination in realize.

Just the terminal of the device provided in this embodiment for being integrated with the transmission of log information is described in detail below, the end End takes the mobile phone as an example.

Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.

The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.

I/O subsystem 709, the I/O subsystem 709 can be by the input/output peripherals in equipment, such as touch screen 712 With other input/control devicess 710, it is connected to Peripheral Interface 703.I/O subsystem 709 may include 7091 He of display controller For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 7092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.

Touch screen 712, the touch screen 712 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..

Display controller 7091 in I/O subsystem 709 receives electric signal from touch screen 712 or sends out to touch screen 712 Electric signals.Touch screen 712 detects the contact on touch screen, and the contact that display controller 7091 will test is converted to and is shown The interaction of user interface object on touch screen 712, i.e. realization human-computer interaction, the user interface being shown on touch screen 712 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.

RF circuit 705 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 705 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 705 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 705 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..

Voicefrequency circuit 706 is mainly used for receiving audio data from Peripheral Interface 703, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 711.

Loudspeaker 711 is reduced to sound for mobile phone to be passed through RF circuit 705 from the received voice signal of wireless network And the sound is played to user.

Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.

Terminal provided in this embodiment is used to execute the transmission method of log information described in the various embodiments described above, technology Principle is similar with the technical effect of generation, and which is not described herein again.

Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (11)

1. a kind of transmission method of log log information characterized by comprising
Detect whether to receive the instruction for obtaining the log information of physical sensors;
When receiving the instruction for obtaining the log information of the physical sensors, the interface text of the virtual-sensor of creation is called Part, the virtual-sensor are used for transmission data corresponding with log information;
Based on the interface document, the target data that the physical sensors received are sent is sent to application processor, So that the application processor is corresponding with the target data based on the data prestored and the corresponding relationship list of log information acquisition Log information.
2. the method according to claim 1, wherein further include:
When receiving the target data that the physical sensors are sent, the interface of the physical sensors is called;
The target data is sent to the application processor, so that the application processor obtains the number of the target data Value.
3. the method according to claim 1, wherein being based on the interface document, the institute that will be received described The target data for stating physical sensors transmission is sent to application processor, with the application processor based on the data that prestore with The corresponding relationship list of log information obtains before log information corresponding with the target data, further includes:
The corresponding relationship list of data and log information is created, and the corresponding relationship list is stored.
4. the method according to claim 1, wherein further include:
Creation is used for transmission the virtual-sensor of data corresponding with log information, and establishes the interface text of the virtual-sensor Part.
5. the method according to claim 1, wherein it is characterized in that, the application processor is based on prestoring The corresponding relationship list of data and log information obtains log information corresponding with the target data, comprising:
The application processor is inquired opposite with the target data in corresponding relationship list of the data prestored with log information The log information answered.
6. a kind of transmitting device of log log information characterized by comprising
Detection module, for detecting whether receiving the instruction for obtaining the log information of physical sensors;
First calling module, for calling the void of creation when receiving the instruction for obtaining the log information of the physical sensors The interface document of quasi- sensor, the virtual-sensor are used for transmission data corresponding with log information;
First sending module, for being based on the interface document, by the target data of the physical sensors received transmission It is sent to application processor, so that the application processor is obtained based on the corresponding relationship list of the data and log information that prestore Log information corresponding with the target data.
7. device according to claim 6, which is characterized in that further include:
Second calling module, for calling the physical sensing when receiving the target data that the physical sensors are sent The interface of device;
Second sending module, for the target data to be sent to the application processor, so that the application processor obtains Take the numerical value of the target data.
8. device according to claim 6, which is characterized in that further include:
Corresponding relationship list creating module, for being based on the interface document, the physical sensors that will be received described The target data of transmission is sent to application processor, corresponding with log information based on the data prestored with the application processor Before relation list obtains log information corresponding with the target data, the corresponding relationship list of data and log information is created, And the corresponding relationship list is stored.
9. device according to claim 6, which is characterized in that further include:
Virtual-sensor creation module for creating the virtual-sensor for being used for transmission data corresponding with log information, and is established The interface document of the virtual-sensor.
10. device according to claim 6, which is characterized in that the application processor is believed based on the data and log prestored The corresponding relationship list of breath obtains log information corresponding with the target data, comprising:
The application processor is inquired opposite with the target data in corresponding relationship list of the data prestored with log information The log information answered.
11. a kind of terminal characterized by comprising processor and memory,
The memory, for storing executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, for executing:
Detect whether to receive the instruction for obtaining the log information of physical sensors;
When receiving the instruction for obtaining the log information of the physical sensors, the interface text of the virtual-sensor of creation is called Part, the virtual-sensor are used for transmission data corresponding with log information;
Based on the interface document, the target data that the physical sensors received are sent is sent to application processor, Corresponding relationship list acquisition with the application processor based on the data and log information prestored is corresponding with the target data Log information.
CN201611110062.3A 2016-12-06 2016-12-06 A kind of transmission method, device and the terminal of log log information CN106776385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611110062.3A CN106776385B (en) 2016-12-06 2016-12-06 A kind of transmission method, device and the terminal of log log information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611110062.3A CN106776385B (en) 2016-12-06 2016-12-06 A kind of transmission method, device and the terminal of log log information

Publications (2)

Publication Number Publication Date
CN106776385A CN106776385A (en) 2017-05-31
CN106776385B true CN106776385B (en) 2019-09-24

Family

ID=58874408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611110062.3A CN106776385B (en) 2016-12-06 2016-12-06 A kind of transmission method, device and the terminal of log log information

Country Status (1)

Country Link
CN (1) CN106776385B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107545067A (en) * 2017-09-13 2018-01-05 广东欧珀移动通信有限公司 Log information report method, device and storage medium, ADSP and terminal
CN107609117B (en) * 2017-09-13 2020-09-01 Oppo广东移动通信有限公司 Log information reporting method and device, storage medium, ADSP and terminal
CN107621999A (en) * 2017-09-13 2018-01-23 广东欧珀移动通信有限公司 Log information report method, device, storage medium and mobile terminal
CN107562602A (en) * 2017-09-13 2018-01-09 广东欧珀移动通信有限公司 Log information report method, device and storage medium, ADSP and terminal
CN107590241A (en) * 2017-09-13 2018-01-16 广东欧珀移动通信有限公司 Log information report method, device and storage medium, ADSP and terminal
CN107609118A (en) * 2017-09-13 2018-01-19 广东欧珀移动通信有限公司 Log information report method, device and storage medium, ADSP and terminal
CN107609120A (en) * 2017-09-13 2018-01-19 广东欧珀移动通信有限公司 Log information report method, device and storage medium, ADSP and terminal
CN107577542A (en) * 2017-09-13 2018-01-12 广东欧珀移动通信有限公司 Log information report method, device, storage medium and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260434A (en) * 2005-03-18 2006-09-28 Yaskawa Electric Corp Control device
CN101178709A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Diary record system and method
CN101572957A (en) * 2009-05-08 2009-11-04 深圳市宏电技术股份有限公司 Acquisition method and system of wireless terminal log based on WMMP
CN103597476A (en) * 2011-06-13 2014-02-19 索尼公司 Information processing device, information processing method, and computer program
CN104951517A (en) * 2015-05-29 2015-09-30 小米科技有限责任公司 Behavior log statistics method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260434A (en) * 2005-03-18 2006-09-28 Yaskawa Electric Corp Control device
CN101178709A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Diary record system and method
CN101572957A (en) * 2009-05-08 2009-11-04 深圳市宏电技术股份有限公司 Acquisition method and system of wireless terminal log based on WMMP
CN103597476A (en) * 2011-06-13 2014-02-19 索尼公司 Information processing device, information processing method, and computer program
CN104951517A (en) * 2015-05-29 2015-09-30 小米科技有限责任公司 Behavior log statistics method and device

Also Published As

Publication number Publication date
CN106776385A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10326861B2 (en) Method for controlling cooperation of multiple intelligent devices and apparatus thereof
KR101521363B1 (en) Techniques for acoustic management of entertainment devices and systems
US20150029089A1 (en) Display apparatus and method for providing personalized service thereof
US20170078561A1 (en) Method for controlling cameras, storage medium and terminal
KR20170132240A (en) Communication message transmission method and device
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
WO2015024391A1 (en) Method and device for conducting wireless control on network television terminal
WO2015014144A1 (en) Method and apparatus for installing application, and terminal device
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN106708407B (en) Prevent the method, device and mobile terminal of touch key-press false triggering
EP2953003A1 (en) Touch screen terminal and working method thereof
US9431983B2 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
CN105426141B (en) Information processing method and electronic device supporting the same
US10261683B2 (en) Electronic apparatus and screen display method thereof
KR101939008B1 (en) Information recommendation management method, device and system
WO2017157327A1 (en) Method and device for displaying graphic code
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
TWI520043B (en) Method, device and moving terminal for examining messages
WO2014086218A1 (en) Interface adjustment method, device and terminal
US20150220247A1 (en) Electronic device and method for providing information thereof
JP6511541B2 (en) Message updating method, apparatus and terminal
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
WO2015032249A1 (en) Method, system, device and terminal for network initialization of multimedia playing device
WO2016150331A1 (en) Method and device for operating game client

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant