CN110312038A - Information cuing method and device, electronic equipment, computer readable storage medium - Google Patents

Information cuing method and device, electronic equipment, computer readable storage medium Download PDF

Info

Publication number
CN110312038A
CN110312038A CN201910579225.XA CN201910579225A CN110312038A CN 110312038 A CN110312038 A CN 110312038A CN 201910579225 A CN201910579225 A CN 201910579225A CN 110312038 A CN110312038 A CN 110312038A
Authority
CN
China
Prior art keywords
information
electronic equipment
vibration
motor
audio data
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
Application number
CN201910579225.XA
Other languages
Chinese (zh)
Other versions
CN110312038B (en
Inventor
景子龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
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 Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910579225.XA priority Critical patent/CN110312038B/en
Publication of CN110312038A publication Critical patent/CN110312038A/en
Application granted granted Critical
Publication of CN110312038B publication Critical patent/CN110312038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the present application provides a kind of information cuing method and device, electronic equipment, computer readable storage medium, is applied in electronic equipment, this method comprises: obtaining the placement status information and information alert mode of electronic equipment;Wherein, the position in space locating for electronic equipment described in placement status information representation;Receive the information alert instruction of electronic equipment;If placement status information is horizontality, and information alert mode is vibration mode, then response message hint instructions, obtain default vibration audio data, default vibration audio data is played, and synchronization is vibrated by motor, to realize that the synchronizing information that audio is combined with vibration prompts;Wherein, the frequency for presetting vibration audio data characterization rattle is consistent with the default vibration frequency of motor.Information cuing method provided by the embodiments of the present application can be improved the effect of vibration prompt.

Description

Information cuing method and device, electronic equipment, computer readable storage medium
Technical field
The invention relates to electrical application technology, it is related to a kind of information cuing method and device, electronic equipment, calculating Machine readable storage medium storing program for executing.
Background technique
The realization of the functions such as the vibration prompt of the information in electronic equipment be unable to do without vibrating motor, in 3G (Third Generation) Moblie Technology (3rd-Generation, 3G) epoch and fourth generation mobile communication technology (4th-Generation, 4G) epoch vibrate horse The effect reached is mainly touch screen vibrating alert;And in the 5th third-generation mobile communication technology (5th-Generation, 5G) epoch, vibration Motor needs to complete simulation to different scenes, for example, mobile phone terminal high fire king's honor, eat chicken gunbattle class game, user requires During game experiencing, mobile phone can provide more true game experiencing, real-time vibration sense feedback;In addition, with comprehensively shielding Ultimate attainment development, physical button can fade away, also can be higher and higher to vibrational feedback experience requirements when touching.
Currently, the development trend of vibrating motor would tend to linear motor in electronic equipment.But it is existing by vibrating horse Rattle up to feedback is weaker, can not reach information alert demand, prompts effect poor.
Summary of the invention
The embodiment of the present application provides a kind of information cuing method and device, electronic equipment, computer readable storage medium, energy Enough improve information alert effect.
The technical solution of the application is achieved in that
The embodiment of the present application provides a kind of information cuing method, comprising:
Obtain the placement status information and information alert mode of the electronic equipment;Wherein, the placement status information table Levy the position in space locating for the electronic equipment;
Receive the information alert instruction of the electronic equipment;
If the placement status information is horizontality, and the information alert mode is vibration mode, then described in response Information alert instructs, and the default vibration audio data of acquisition plays the default vibration audio data, and synchronizes and pass through motor progress Vibration, to realize that the synchronizing information that audio is combined with vibration prompts;Wherein, the default vibration audio data characterizes chatter The frequency of sound is consistent with the default vibration frequency of the motor.
It is in the above scheme, described to play the default vibration audio data, comprising:
The control module that audio frequency power amplifier is triggered by I2S bus starts the audio frequency power amplifier, and passes through the audio frequency power amplifier Default vibration audio data is called, the default vibration audio data is played by loudspeaker.
In the above scheme, the synchronization is vibrated by motor, comprising:
The synchronous control module that motor driving is triggered by I2C bus starts the motor driving, calls default vibration frequency The waveform of rate, and electromagnetic induction is generated by the motor drive control X-axis linear motor, so that oscillator is generated active force, effect Power makes the spring being arranged along X-axis generate the deformation of the default vibration frequency, realizes side-to-side vibrations along the x axis.
In the above scheme, the placement status information and information alert mode for obtaining the electronic equipment, comprising:
The placement status information of the electronic equipment is detected by sensor;
The value of the register of detection storage information alert mode;Corresponding relationship based on the register value and mode, is obtained Take the information alert mode of the electronic equipment.
In the above scheme, described that the electronics is detected by sensor when the sensor is acceleration transducer The placement status information of equipment, comprising:
When the z-component of the acceleration transducer is preset threshold, and X-axis component and Y-axis component are empty, institute is characterized The placement status information for stating electronic equipment is horizontality.
In the above scheme, described that the electronics is detected by sensor when the sensor is angular-rate sensor The placement status information of equipment, comprising:
When the angle around X rotation of the angular-rate sensor is 0 degree to 360 degree, putting for the electronic equipment is characterized Setting status information is horizontality.
The embodiment of the present application provides a kind of information presentation device, comprising:
Acquiring unit, for obtaining the placement status information and information alert mode of electronic equipment;Wherein, the placement shape The position in the locating space of state information representation electronic equipment;
Receiving unit, the information alert for receiving the electronic equipment instruct;
The acquiring unit, if being also used to the placement status information is horizontality, and the information alert mode is Vibration mode then responds the information alert instruction, obtains default vibration audio data,
Broadcast unit, for playing the default vibration audio data,
Vibration unit is vibrated for synchronous by motor, so that the synchronizing information for realizing that audio is combined with vibration mentions Show;Wherein, the frequency of the default vibration audio data characterization rattle is consistent with the default vibration frequency of the motor.
In above-mentioned apparatus, the broadcast unit is also used to trigger the control module of audio frequency power amplifier by I2S bus, opens The audio frequency power amplifier is moved, and default vibration audio data is called by the audio frequency power amplifier, is played by loudspeaker described default Vibrate audio data.
In above-mentioned apparatus, the vibration unit is also used to the synchronous control mould that motor driving is triggered by I2C bus Block starts the motor driving, calls the waveform of default vibration frequency, and passes through the motor drive control X-axis linear motor Electromagnetic induction is generated, oscillator is made to generate active force, active force makes the spring being arranged along X-axis generate the shape of the default vibration frequency Become, realizes side-to-side vibrations along the x axis.
In above-mentioned apparatus, the acquiring unit is also used to detect the placement status of the electronic equipment by sensor Information;And the value of the register of detection storage information alert mode;Corresponding relationship based on the register value and mode, is obtained Take the information alert mode of the electronic equipment.
In above-mentioned apparatus, when the sensor is acceleration transducer, the acquiring unit is also used to add when described The z-component of velocity sensor is preset threshold, and when X-axis component and Y-axis component are empty, characterizes the placement of the electronic equipment Status information is horizontality.
In above-mentioned apparatus, when the sensor is angular-rate sensor, the acquiring unit is also used to when the angle When the angle around X rotation of velocity sensor is 0 degree to 360 degree, the placement status information of the electronic equipment is characterized as level State.
The embodiment of the present application provides a kind of electronic equipment, comprising:
Memory, for storing executable instruction;
Processor when for executing the executable instruction stored in the memory, is realized provided by the embodiments of the present application Information cuing method.
The embodiment of the present application provides a kind of computer readable storage medium, is stored with executable instruction, locates for causing When managing device execution, information cuing method provided by the embodiments of the present application is realized.
The embodiment of the present application provides a kind of information cuing method and device, electronic equipment, computer readable storage medium, Information presentation device can be horizontality in placement status information, and the information alert mode is vibration mode, and is received When information alert instructs these three conditions to meet, by playing default vibration audio data and by motor vibrations, realize together The function of information alert, in this way, compensate for motor at work vibration it is weaker and caused by prompt ignored problem, Improve the effect of information alert.
Detailed description of the invention
Fig. 1 is illustrative X-axis linear motor vibration principle schematic diagram provided by the embodiments of the present application;
Fig. 2 is illustrative z axis motor vibrations schematic illustration provided by the embodiments of the present application;
Fig. 3 is the top view of X-axis linear motor when information presentation device provided by the embodiments of the present application is horizontal positioned;
Fig. 4 is the top view of Z axis linear motor when information presentation device provided by the embodiments of the present application is horizontal positioned;
Fig. 5 is the flow chart of information cuing method provided by the embodiments of the present application;
Fig. 6 is that X-axis linear motor when information presentation device provided by the embodiments of the present application is horizontal positioned is splitted at A-A When sectional view;
Fig. 7 is X-axis linear motor side view when information presentation device provided by the embodiments of the present application is horizontal positioned;
Fig. 8 is z axis motor side view when information presentation device provided by the embodiments of the present application is horizontal positioned;
Fig. 9 is the example flow block diagram of information cuing method provided by the embodiments of the present application;
Figure 10 is illustrative motor vibrations waveform provided by the embodiments of the present application and loudspeaker analog vibration sound waveform Comparison diagram;
Figure 11 is the structural schematic diagram of information presentation device provided by the embodiments of the present application;
Figure 12 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the specific technical solution of the application is described in further detail.Following embodiment is not for illustrating the application, but not For limiting scope of the present application.
Unless otherwise defined, all technical and scientific terms used in this application and the technical field for belonging to the application The normally understood meaning of technical staff it is identical.Term used in this application is intended merely to the mesh of description the embodiment of the present application , it is not intended that limitation the application.
In the following description, it is related to " some embodiments ", which depict the subsets of all possible embodiments, but can To understand, " some embodiments " can be the same subsets or different subsets of all possible embodiments, and can not conflict In the case where be combined with each other.
Vibrating motor is broadly divided into rotor motor and linear motor two major classes;Wherein, the working principle of rotor motor are as follows: benefit With electromagnetic induction principle, electromagnetic force carrys out the rotation in drive motor axle center, to drive the rotation of eccentric iron, the centrifugal force of generation makes Obtain atwirl motor vibrations.Rotor motor has technology maturation, at low cost, advantages of simple structure and simple.But rotor motor But have response speed is slow, brake is slow, vibration sense it is dilatory it is not clear-cut, be unable to complete complicated vibration, the defects of power consumption is big.The application Motor used in the examples can be linear motor.Linear motor is a kind of spring-mass block moved in linear form, will Electric energy is directly changed into linear motion mechanical energy without the novel motor by intermediate any conversion equipment.According to vibration side To linear motor is generally divided into X-axis linear motor (i.e. transverse linear motor) and Z axis linear motor.Assuming that being X with horizontal direction Axis direction, as shown in Figure 1, the oscillator of X-axis linear motor passes through mass block side-to-side vibrations along the x axis under the action of the spring; It is vibrated up and down as shown in Fig. 2, the oscillator of Z axis linear motor passes through mass block under the action of the spring along Z-direction.
For mobile phone, thinner thickness, therefore the displacement of the oscillator vibration of Z axis linear motor is smaller, drive waveforms adjust space compared with It is small;And X-axis linear motor is longer in the vibratile length of X-direction, oscillator displacement it is larger, drive waveforms adjust oscillation space compared with Greatly, vibration sense is stronger, more crisp.In this way, user, when holding mobile phone, the vibration of X-axis linear motor will drive a mobile phone left side Right vibration, so that vibration sense to be reached to the finger and palm of user.The following table 1 is rotor motor and linear motor contrast table.From table As can be seen that X-axis linear motor can generate biggish vibratory output on direction of vibration, the development trend of vibrating motor in mobile phone It would tend to X-axis linear motor.
Table 1
No matter from data, or from the vibration experience for holding mobile phone, the vibration experience of X-axis linear motor bring is Best.But X-axis linear motor has a maximum experience drawback, by taking the mobile phone equipped with X-axis linear motor as an example, such as Fig. 3 institute Show, i.e., when the mobile phone equipped with X-axis linear motor lays flat and (is such as placed on desktop), because its left and right (X-direction) vibrates, therefore X-axis line Property motor in side-to-side vibrations, machine in z-direction not with desktop direct collision, when machine being caused to put desktop rattle compared with It is small, to often will appear the bad experience for missing phone because sound is small when user setting sends a telegram here silencing vibrative.It uses at present The machine of X-axis linear motor, such as a plurality of bestselling phones, exist causes to miss phone because silencing vibrative sound of sending a telegram here is weak Market Feedback problem.Again by taking the mobile phone equipped with Z axis linear motor as an example, as shown in figure 4, when the mobile phone equipped with Z axis linear motor When laying flat and (being such as placed on desktop), because of its (Z-direction) vibration up and down, therefore Z axis linear motor, when the vibrations are up and down, machine is upper and lower With desktop direct collision on direction, but being limited by mobile phone thickness, the space that motor can vibrate up and down is very small, therefore It will lead to rattle lesser problem when machine puts desktop, also, there is no vibratory output on its left and right directions, user is caused to hold When mobile phone, the vibration sense that finger is experienced is very weak.
According to the test data comparing result of X-axis linear motor vibratory output in x-and z-direction, X-axis line is housed Property motor machine, in the Z-axis direction, vibratory output very little, X axis vibration amount is 1.3G, and Z axis is 0.1G.
Requirement based on the 5G epoch to analog vibration, virtual experience, X-axis linear motor are application trends, and the application is implemented Example is exactly to tilt assembly by motor weak (typical case scene is in Z axis vibration component to solve most basic X-axis linear motor Mobile phone lays flat desktop, and incoming call silencing vibrative sound is weak to miss phone) the problem of.
X-axis linear motor is the application trend of the following motor for cell phone, and with the arrival in 5G epoch, the device in mobile phone increases More, people are higher and higher to continuation of the journey power consumption requirements, interior of mobile phone space an inch of land is an inch of gold.Cell phone manufacturer will not substantially select non-again Normal large-sized X-axis linear motor is assemblied in mobile phone, but uses the X-axis linear motor of smaller size, horizontal table top incoming call Shaking weak problem will encounter, and the X-axis linear motor of smaller size due to the oscillating component in Z axis it is weaker, lead to level The weak problem of desktop incoming call vibration is more serious, this problem can become a core pain spot problem.
Based on this, Fig. 5 is a kind of detection method flow diagram provided by the embodiments of the present application, the letter of the embodiment of the present application It ceases reminding method to be applied in electronic equipment, following embodiments are using the virtual bench in electronic equipment, i.e. information provider unit It is illustrated for executing subject, as shown in Figure 5, which comprises
S101, the placement status information and information alert mode for obtaining electronic equipment;Wherein, placement status information representation electricity The position in space locating for sub- equipment.
There is provided a kind of realize, and user is prompted by way of vibration for information cuing method provided by the embodiments of the present application Or the user of use information suggestion device.
Here sensor is provided in information presentation device, such information presentation device can be detected by sensor and be put Status information is set, and information alert mode is obtained by the setting state of detection information prompt modes.
In the embodiment of the present application, placement status information representation be the now locating space of information presentation device position It sets, it is understood that for the situation being placed.Such as horizontality, plumbness and heeling condition etc., the embodiment of the present application is not It is restricted.Information presentation device can obtain the placement shape that information alert state is now in by different types of sensor State information.
Information alert modeling used prompt side when information presentation device receives the information wait prompt Formula.Here information alert mode may include bell mode, vibration mode, indicator light mode, offline mode and silent mode Deng the form of, the embodiment of the present application not limitation information promoting mode, as long as achieving the purpose that prompt user.
It should be noted that in the embodiment of the present application, the information alert mode in information presentation device be user according to Actual demand or scene are configured or switch what setting obtained.Actual setting up procedure is to receive information alert setting to refer to It enables, is information alert mode by the mode setting that instruction instruction is arranged in information alert.Since user handover information can mention at any time Show mode, therefore, when the information alert mode that information presentation device is got here is the last progress information alert setting The mode of setting.
In some embodiments of the present application, the value of the register of information alert setting detection storage information alert mode; Corresponding relationship based on register value and mode obtains the information alert mode of electronic equipment.
It should be noted that the corresponding mode of value of the registers of different storage information alert modes be it is different, this Sample can find information alert Setting pattern at this time by the value of detected register.
In the embodiment of the present application, sensor can be acceleration transducer, as long as gyroscope etc. can determine that out that information mentions During the placement status information of showing device, the embodiment of the present application is with no restriction.
Illustratively, in some embodiments of the present application, sensor is acceleration transducer, when acceleration transducer Z-component is preset threshold, and when X-axis component and Y-axis component are empty, the placement status information of characterization of electronic equipment is horizontal State.
It should be noted that in the embodiment of the present application, acceleration transducer is provided in information presentation device, work as acceleration The X-axis component and Y-axis component for spending sensor are sky, and when only z-component is not sky, characterization acceleration transducer detects letter The breath whole level of suggestion device is placed, i.e., placement status information is horizontality.
Wherein, preset threshold characterizes weight component, can be 1g, the numerical value of specific preset threshold can be by actual design It determines, the embodiment of the present application is with no restriction.X-axis component and Y-axis component are sky, and sky can be embodied using 0.
In some embodiments of the present application, sensor is angular-rate sensor, when angular-rate sensor is around X rotation When angle is 0 degree to 360 degree, the placement status information of characterization of electronic equipment is horizontality.
Wherein, information presentation device can be a variety of electronic equipments with vibrating function, for example, mobile phone (such as Mobile phone), tablet computer, wearable device (such as Intelligent bracelet, wrist-watch etc.), the embodiment of the present application is with no restriction.
S102, the information alert instruction for receiving electronic equipment.
Information presentation device is the equipment that can carry out information alert, such as mobile phone etc., and the realization of information prompting function Information presentation device is needed just to execute when receiving information alert instruction.
In the embodiment of the present application, information presentation device can receive the information alert instruction of electronic equipment, only connect The information cuing method that the embodiment of the present application proposes just is realized when receiving information alert instruction.
It should be noted that in the embodiment of the present application, since information prompting function is all when having information, It is prompted, therefore, information presentation device has been received by information alert instruction when information is come.Wherein, information can be with Refer to notification message, communication information either customized prompt information etc., the embodiment of the present application is with no restriction.Notification message can be System notification message, or application system notification message etc., communication information can be the social message notice of social application, Or the communication informations such as incoming call, short message, customized prompt information can be customized quarter-bell or memorandum etc., this Shen Please embodiment with no restriction.Information presentation device just generates information alert instruction, is based on the letter when having received information and coming Cease the displaying that hint instructions carry out information, such as incoming call prompting, short message prompt, chat prompt or alarm clock prompting etc..
If S103, placement status information are horizontality, and information alert mode is vibration mode, then response message prompts Instruction obtains default vibration audio data, default vibration audio data is played, and synchronization is vibrated by motor, thus real The synchronizing information that existing audio is combined with vibration prompts;Wherein, the frequency and motor of vibration audio data characterization rattle are preset Default vibration frequency it is consistent.
Information presentation device is when receiving information alert instruction, so that it may judge itself placement status information and information alert Whether mode meets preset condition, and whether Lai Shixian carries out information prompting function.
In the embodiment of the present application, it is horizontality that preset condition, which is placement status information, and information alert mode is vibration Dynamic model formula.When information presentation device judges that placement status information is horizontality, and information alert mode is vibration mode, Can response message hint instructions, carry out information prompting function.Here, information presentation device is combined using audio and vibration Mode carries out information alert.On the one hand, information alert is carried out using the default vibration audio data of broadcasting;On the other hand, due to Under vibration mode, therefore synchronizing information prompt can be carried out using mode of vibration.The realization of these two aspects is synchronous carries out.And And the frequency of default vibration audio data characterization rattle is consistent with the default vibration frequency of motor.
In the embodiment of the present application, pre- when the audio frequency and motor operations of preset audio data in information presentation device If vibration frequency is consistent, and the sound of preset audio data is the noise of the picture compared with rattle, is achieved The mode of information alert makes the broadcasting power-assisted vibration prompt of preset audio data, so that vibration audio is more obvious, more holds Easily notice user.
It should be noted that preset audio data are the noise of the picture compared with rattle, it is that can get to deposit in advance What storage was got up.Be additionally provided in information presentation device audio frequency power amplifier, loudspeaker, motor driving and motor, wherein audio frequency power amplifier and Use when loudspeaker can be used for playing preset audio data, motor driving and motor are for use when vibrating.
In some embodiments of the present application, information presentation device is when meeting preset condition, response message hint instructions, Start audio frequency power amplifier, loudspeaker is controlled by audio frequency power amplifier and plays default vibration audio data, and synchronous averaging motor drives, and leads to Motor drive control motor operations are crossed, vibration is generated with default vibration frequency.
It should be noted that information presentation device, when meeting preset condition, response message hint instructions are total by I2S Line triggers the control module of audio frequency power amplifier, starts audio frequency power amplifier, and call default vibration audio data by audio frequency power amplifier, passes through Loudspeaker plays default vibration audio data.Also, the synchronous control module that motor driving is triggered by I2C bus, starts horse Up to driving, the waveform of default vibration frequency is called, and electromagnetic induction is generated by motor drive control X-axis linear motor, makes to shake Son generates active force, and active force makes the deformation for generating default vibration frequency along the spring that X-axis is arranged, realizes a left side along the x axis Right vibration.
Wherein, default vibration frequency is that the design of motor determines that the embodiment of the present application is with no restriction.Information alert instruction Audio power amplifier start-up can be triggered by I2S bus, so that controlling loudspeaker by audio frequency power amplifier plays default vebrato frequency According to;And information alert instruction can by I2C bus trigger motor driving starting, using motor driving come drive motor according to Default vibration frequency is started to work.
It is to be appreciated that if linear motor is obliquely arranged on the surface of center main body, since linear motor exists When vibration, along inclined direction or the direction vertical with inclined direction vibrates, and this makes it possible to orthogonal at least two Oscillating component is generated on direction.And if on the table by the placement of linear motor level, then, at least two is orthogonal Oscillating component would not be generated on direction.As an example it is assumed that information presentation device is a smart phone, as shown in figure 3, hand Machine screen is laid flat on the table downward, establishes three-dimensional system of coordinate using the mobile phone lower left corner as origin, wherein and mobile phone short frame is X-axis, Mobile phone long margin frame is Y-axis, and the vertical direction of desktop is Z axis;For example, X-axis linear motor 201 is horizontally disposed at center main body On middle plate, X-direction is the direction of motion of X-axis linear motor, in this way, when X-axis linear motor vibrates back and forth in the X direction, just Oscillating component can be generated in X-axis.Here it is motor operations principles.
Based on this, by taking X-axis motor as an example, recommended information suggestion device.Information presentation device in the embodiment of the present application exists It is horizontal positioned on the table as shown in figure 3, being that the A-A cross-sectional view splitted of section can be as from the linear motor of information presentation device Shown in Fig. 6, comprising: linear motor 201 and center main body 202;Wherein, it is provided in center main body 202 for assembling linear horse Up to 201 card slot 203, the bottom of card slot 203 is the structure parallel with X-axis;Linear motor 201 is assemblied in card slot 203, such as This, for side view as shown in Figure 7 it is found that when linear motor 201 vibrates, motor can generate oscillating component in the X-axis direction, Suggestion device side-to-side vibrations in the direction of the x-axis is ceased to drive.
By taking Z axis motor as an example, recommended information suggestion device.Information presentation device in the embodiment of the present application is horizontal positioned On the table as shown in figure 4, side view as shown in Figure 8 can generate in the Z-axis direction it is found that when linear motor vibration Oscillating component, to drive information presentation device lower vibration in the Z-axis direction.
Based on this, in the embodiment of the present application, by the process for carrying out vibration realizing information alert using linear motor In, also while using the sending of the synchronous sound for carrying out analog vibration of preset audio data, vibration perception is improved, so as to improve vibration It moves weaker and feeds back bad experience problem, typical case scene is that mobile phone lays flat desktop, and incoming call silencing vibrative sound is weak to leak It answers the call, using information alert mode provided by the present application, vibration perception can be enhanced, improve vibrating effect, avoid carrying out leakance Phenomena such as connecing.
Illustratively, as shown in figure 9, mobile phone (information presentation device) is detecting mobile phone level by acceleration transducer Place and mobile phone be when being set as calling vibration mode, receive incoming call when, characterization meets triggering preset condition, then leads to IIS bus starting audio frequency power amplifier is crossed, to control the audio file of loudspeaker broadcasting and motor vibrations Frequency Synchronization, the audio file It is built in the AP of mobile phone, and is driven by iic bus starter motor, shaken to control motor according to default vibration frequency It is dynamic.Wherein, as shown in Figure 10, the sound waveform of loudspeaker analog vibration is consistent with motor vibrations waveform.
It is understood that information presentation device can be horizontality, and the information alert in placement status information Mode is vibration mode, and receives information alert when these three conditions being instructed to meet, by play default vibration audio data and By motor vibrations, the function of information alert is realized together, in this way, it is weaker and make to compensate for the vibration of motor at work At the ignored problem of prompt, improve the effect of information alert.
In some embodiments of the present application, for information presentation device after S103, this method can also include S104.Such as Under:
When S104, reception ending message hint instructions, stops playing default vibration audio data and terminate motor operations, stop Only vibrate.
Information presentation device is implemented in combination with after the information alert of vibration mode by audio and vibration, may be received Ending message hint instructions, the ending message hint instructions are used for ending message prompt facility.
In the embodiment of the present application, the information prompting function of notification message can be arranged in advance preset time and terminate, then When preset time reaches, characterization generates ending message hint instructions, that is, receives ending message hint instructions;And it communicates and disappears Breath is in addition to that can be when receiving ending message hint instructions, to be responded in user for information alert when preset time reaches Information processing when may be to receive ending message hint instructions.For example, check communication information, triggering communication information etc., Detailed can be connecting incoming call or hanging up calling etc..
Wherein, the setting of preset time is determined by actual design, General Notifications message or text communication message etc. it is pre- It can be 2 seconds etc. if the time is shorter, and the preset time of the communication informations such as voice or video can be much longer, for example, 30 Second etc., the embodiment of the present application is with no restriction.
In the embodiment of the present application, information presentation device stops playing default vibration when receiving ending message hint instructions Dynamic audio data, while terminating motor operations, stop vibration, thus ending message prompt facility.
It is understood that information presentation device can be simultaneously stopped default when receiving ending message hint instructions The end of broadcasting and the vibration of audio data, synchronizes the stopping for realizing prompt, realizes analog vibration and actual vibration effect Synchronization, also accomplished vibrate beginning and end two kinds of implementations accurate match, further improve vibrating effect.
Figure 11 is an optional flow diagram of the information presentation device that the embodiment of the present disclosure provides;The application is implemented Example provides a kind of information presentation device 1, comprising:
Acquiring unit 10, for obtaining the placement status information and information alert mode of electronic equipment;Wherein, the placement Status information characterizes the position in space locating for the electronic equipment;
Receiving unit 11, the information alert for receiving the electronic equipment instruct;
The acquiring unit 10, if being also used to the placement status information as horizontality, and the information alert mode For vibration mode, then the information alert instruction is responded, obtains default vibration audio data,
Broadcast unit 12, for playing the default vibration audio data,
Vibration unit 13 is vibrated for synchronous by motor, to realize the synchronizing information that audio is combined with vibration Prompt;Wherein, the frequency of the default vibration audio data characterization rattle is consistent with the default vibration frequency of the motor.
In some embodiments of the present application, the broadcast unit 12 is also used to trigger audio frequency power amplifier by I2S bus Control module starts the audio frequency power amplifier, and calls default vibration audio data by the audio frequency power amplifier, is broadcast by loudspeaker Put the default vibration audio data.
In some embodiments of the present application, the vibration unit 13 is also used to synchronous by the triggering motor drive of I2C bus Dynamic control module starts the motor driving, calls the waveform of default vibration frequency, and passes through the motor drive control X Axis linear motor generates electromagnetic induction, and oscillator is made to generate active force, and active force makes to generate the default vibration along the spring that X-axis is arranged Side-to-side vibrations along the x axis is realized in the deformation of dynamic frequency.
In some embodiments of the present application, the acquiring unit 10 is also used to detect the electronics by sensor and sets Standby placement status information;And the value of the register of detection storage information alert mode;Based on the register value and mode Corresponding relationship, obtain the information alert mode of the electronic equipment.
In some embodiments of the present application, when the sensor is acceleration transducer, the acquiring unit 10, also It is preset threshold for the z-component when the acceleration transducer, and when X-axis component and Y-axis component are empty, is put described in characterization Setting status information is horizontality.
In some embodiments of the present application, when the sensor is acceleration transducer, the acquiring unit 10, also It is preset threshold for the z-component when the acceleration transducer, and when X-axis component and Y-axis component are empty, characterizes the electricity The placement status information of sub- equipment is horizontality.
In practical applications, above-mentioned acquiring unit 10 can be realized that broadcast unit 12 can be by electronic equipment by processor The player of setting is realized, such as audio frequency power amplifier and loudspeaker, and vibration unit 13 can be by the motor apparatus that is arranged on electronic equipment It realizes, receiving unit 11 can realize that the embodiment of the present application is with no restriction by the communication interface being arranged on electronic equipment.
Based on this, as shown in figure 12, the embodiment of the present application provides a kind of electronic equipment, comprising:
Memory 20, for storing executable instruction;
Processor 21 when for executing the executable instruction stored in the memory, realizes that the embodiment of the present application provides Information cuing method.
It should be noted that in practical applications, being additionally provided with audio function in the embodiment of the present application, in electronic equipment It puts, the driving of loudspeaker, motor and motor (motor driving and motor constitute motor apparatus), these devices cooperation processor are realized Information cuing method provided by the embodiments of the present application.
It should be noted that electronic equipment may include communication interface.Various components in electronic equipment are connect by communication Cause for gossip is existing and the information exchange of the operation outside electronic equipment or equipment.The electronic equipment can also include bus system, and electronics is set Various components in standby are coupled by bus system.It is understood that bus system is for realizing the company between these components Connect letter.Bus system further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.
Wherein, processor can be realized by software, hardware, firmware or a combination thereof, and circuit, single or more can be used It is a specific integrated circuit (application specific integrated circuits, ASIC), single or multiple general Integrated circuit, single or multiple microprocessors, single or multiple programmable logic device or aforementioned circuit or device group Conjunction or other suitable circuits or device, so that the processor 24 can execute in the embodiment of aforementioned measuring table Data processing method corresponding steps.
Each component part in the embodiment of the present application can integrate in one processing unit, be also possible to each unit It physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit can both be adopted With formal implementation of hardware, can also be realized in the form of software function module.
If the integrated unit realizes that being not intended as independent product is sold in the form of software function module Or in use, can store in a computer readable storage medium, based on this understanding, the technical side of the present embodiment Substantially all or part of the part that contributes to existing technology or the technical solution can be produced case in other words with software The form of product embodies, which is stored in a storage medium, including some instructions are used so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute sheet The all or part of the steps of embodiment the method.And storage medium above-mentioned include: magnetic RAM (FRAM, Ferromagnetic random access memory), read-only memory (ROM, Read Only Memory), it is programmable only Read memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory) etc. The various media that can store program code, the embodiment of the present application is with no restriction.
The embodiment of the present application provides a kind of computer readable storage medium as a result, is stored with executable instruction, for drawing When playing processor execution, information cuing method provided by the embodiments of the present application is realized.
The above, the only preferred embodiment of the application, are not intended to limit the protection scope of the application.

Claims (10)

1. a kind of information cuing method is applied in electronic equipment characterized by comprising
Obtain the placement status information and information alert mode of the electronic equipment;Wherein, the placement status information representation institute State the position in space locating for electronic equipment;
Receive the information alert instruction of the electronic equipment;
If the placement status information is horizontality, and the information alert mode is vibration mode, then responds the information Hint instructions obtain default vibration audio data, play the default vibration audio data, and synchronization is shaken by motor It is dynamic, to realize that the synchronizing information that audio is combined with vibration prompts;Wherein, the default vibration audio data characterizes rattle Frequency it is consistent with the default vibration frequency of the motor.
2. the method according to claim 1, wherein described play the default vibration audio data, comprising:
The control module that audio frequency power amplifier is triggered by I2S bus, starts the audio frequency power amplifier, and call by the audio frequency power amplifier Default vibration audio data, plays the default vibration audio data by loudspeaker.
3. method according to claim 1 or 2, which is characterized in that the synchronization is vibrated by motor, comprising:
The synchronous control module that motor driving is triggered by I2C bus starts the motor driving, calls default vibration frequency Waveform, and electromagnetic induction is generated by the motor drive control X-axis linear motor, so that oscillator is generated active force, active force makes The deformation that the default vibration frequency is generated along the spring of X-axis setting, realizes side-to-side vibrations along the x axis.
4. method according to claim 1 or 2, which is characterized in that the placement status letter for obtaining the electronic equipment Breath and information alert mode, comprising:
The placement status information of the electronic equipment is detected by sensor;
The value of the register of detection storage information alert mode;Corresponding relationship based on the register value and mode obtains institute State the information alert mode of electronic equipment.
5. described logical according to the method described in claim 4, it is characterized in that, when the sensor is acceleration transducer Cross the placement status information that sensor detects the electronic equipment, comprising:
When the z-component of the acceleration transducer is preset threshold, and X-axis component and Y-axis component are empty, the electricity is characterized The placement status information of sub- equipment is horizontality.
6. described logical according to the method described in claim 4, it is characterized in that, when the sensor is angular-rate sensor Cross the placement status information that sensor detects the electronic equipment, comprising:
When the angle around X rotation of the angular-rate sensor is 0 degree to 360 degree, the placement shape of the electronic equipment is characterized State information is horizontality.
7. a kind of information presentation device characterized by comprising
Acquiring unit, for obtaining the placement status information and information alert mode of electronic equipment;Wherein, the placement status letter Cease the position in the locating space of characterization of electronic equipment;
Receiving unit, the information alert for receiving the electronic equipment instruct;
The acquiring unit, if being also used to the placement status information is horizontality, and the information alert mode is vibration Mode then responds the information alert instruction, obtains default vibration audio data,
Broadcast unit, for playing the default vibration audio data,
Vibration unit is vibrated for synchronous by motor, to realize that the synchronizing information that audio is combined with vibration prompts;Its In, the frequency of the default vibration audio data characterization rattle is consistent with the default vibration frequency of the motor.
8. device according to claim 7, which is characterized in that
The acquiring unit is also used to detect the placement status information of the electronic equipment by sensor;
The value of the register of detection storage information alert mode;Corresponding relationship based on the register value and mode obtains institute State the information alert mode of electronic equipment.
9. a kind of electronic equipment characterized by comprising
Memory, for storing executable instruction;
Processor when for executing the executable instruction stored in the memory, realizes method described in claim 1-6.
10. a kind of computer readable storage medium, which is characterized in that executable instruction is stored with, for causing processor to execute When, realize method described in claim 1-6.
CN201910579225.XA 2019-06-28 2019-06-28 Information prompting method and device, electronic equipment and computer readable storage medium Active CN110312038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579225.XA CN110312038B (en) 2019-06-28 2019-06-28 Information prompting method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579225.XA CN110312038B (en) 2019-06-28 2019-06-28 Information prompting method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110312038A true CN110312038A (en) 2019-10-08
CN110312038B CN110312038B (en) 2020-10-02

Family

ID=68079506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579225.XA Active CN110312038B (en) 2019-06-28 2019-06-28 Information prompting method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110312038B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193457A (en) * 2019-12-16 2020-05-22 Oppo广东移动通信有限公司 Vibration device, method of controlling vibration device, electronic apparatus, and storage medium
CN111263008A (en) * 2020-04-01 2020-06-09 惠州Tcl移动通信有限公司 Incoming call reminding method and device, storage medium and mobile terminal
CN111443815A (en) * 2020-04-22 2020-07-24 维沃移动通信有限公司 Vibration reminding method and electronic equipment
CN112865612A (en) * 2019-11-27 2021-05-28 北京小米移动软件有限公司 Electronic equipment, control method and device thereof and readable storage medium
CN114500847A (en) * 2022-02-12 2022-05-13 北京蜂巢世纪科技有限公司 Focusing prompting method based on vibration motor, intelligent head-mounted display device and computer readable storage medium
CN114613376A (en) * 2022-03-25 2022-06-10 歌尔股份有限公司 Vibration processing method and device of wearable device, wearable device and medium
CN114979349A (en) * 2021-02-22 2022-08-30 腾讯科技(深圳)有限公司 Parameter adjusting method and device, computer readable storage medium and electronic equipment
WO2022242300A1 (en) * 2021-05-20 2022-11-24 荣耀终端有限公司 Method and device for adjusting vibration waveform of linear motor

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
EP1669893A2 (en) * 2004-12-08 2006-06-14 NTT DoCoMo, Inc. Information notification system and information notification method
CN102572118A (en) * 2012-03-01 2012-07-11 惠州Tcl移动通信有限公司 Situational pattern automatic switching method based on a mobile phone and the mobile phone
CN103167168A (en) * 2013-02-04 2013-06-19 江苏大学 Method and device of switching contextual model of cell phone automatically
JP2013150201A (en) * 2012-01-20 2013-08-01 Nec Access Technica Ltd Terminal device, notification control method, and program
CN103782253A (en) * 2011-09-09 2014-05-07 高通股份有限公司 Transmission of emotions as haptic feedback
US20140333235A1 (en) * 2010-06-04 2014-11-13 Apple Inc Vibrator motor speed determination in a mobile communications device
CN105204542A (en) * 2015-09-11 2015-12-30 小米科技有限责任公司 Motor vibration control method and device
US20160187987A1 (en) * 2014-12-24 2016-06-30 Immersion Corporation Audio enhanced simulation of high bandwidth haptic effects
CN106375607A (en) * 2016-11-23 2017-02-01 广州艾想电子科技有限公司 Intelligent prompt mode switching method and mobile device
CN107346173A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 A kind of terminal based reminding method and device, terminal
CN108347525A (en) * 2018-01-12 2018-07-31 广东欧珀移动通信有限公司 Electronic equipment shake control method, apparatus and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
EP1669893A2 (en) * 2004-12-08 2006-06-14 NTT DoCoMo, Inc. Information notification system and information notification method
US20140333235A1 (en) * 2010-06-04 2014-11-13 Apple Inc Vibrator motor speed determination in a mobile communications device
CN103782253A (en) * 2011-09-09 2014-05-07 高通股份有限公司 Transmission of emotions as haptic feedback
JP2013150201A (en) * 2012-01-20 2013-08-01 Nec Access Technica Ltd Terminal device, notification control method, and program
CN102572118A (en) * 2012-03-01 2012-07-11 惠州Tcl移动通信有限公司 Situational pattern automatic switching method based on a mobile phone and the mobile phone
CN103167168A (en) * 2013-02-04 2013-06-19 江苏大学 Method and device of switching contextual model of cell phone automatically
US20160187987A1 (en) * 2014-12-24 2016-06-30 Immersion Corporation Audio enhanced simulation of high bandwidth haptic effects
CN105204542A (en) * 2015-09-11 2015-12-30 小米科技有限责任公司 Motor vibration control method and device
CN107346173A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 A kind of terminal based reminding method and device, terminal
CN106375607A (en) * 2016-11-23 2017-02-01 广州艾想电子科技有限公司 Intelligent prompt mode switching method and mobile device
CN108347525A (en) * 2018-01-12 2018-07-31 广东欧珀移动通信有限公司 Electronic equipment shake control method, apparatus and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11652915B2 (en) 2019-11-27 2023-05-16 Beijing Xiaomi Mobile Software Co., Ltd. Electronic equipment, control method and device thereof, and readable storage medium
CN112865612A (en) * 2019-11-27 2021-05-28 北京小米移动软件有限公司 Electronic equipment, control method and device thereof and readable storage medium
CN112865612B (en) * 2019-11-27 2023-05-16 北京小米移动软件有限公司 Electronic device, control method and device thereof, and readable storage medium
CN111193457A (en) * 2019-12-16 2020-05-22 Oppo广东移动通信有限公司 Vibration device, method of controlling vibration device, electronic apparatus, and storage medium
CN111193457B (en) * 2019-12-16 2023-11-10 Oppo广东移动通信有限公司 Vibration device, control method thereof, electronic apparatus, and storage medium
CN111263008A (en) * 2020-04-01 2020-06-09 惠州Tcl移动通信有限公司 Incoming call reminding method and device, storage medium and mobile terminal
CN111443815A (en) * 2020-04-22 2020-07-24 维沃移动通信有限公司 Vibration reminding method and electronic equipment
CN114979349A (en) * 2021-02-22 2022-08-30 腾讯科技(深圳)有限公司 Parameter adjusting method and device, computer readable storage medium and electronic equipment
CN114979349B (en) * 2021-02-22 2023-05-02 腾讯科技(深圳)有限公司 Parameter adjustment method, device, computer readable storage medium and electronic equipment
WO2022242300A1 (en) * 2021-05-20 2022-11-24 荣耀终端有限公司 Method and device for adjusting vibration waveform of linear motor
CN114500847A (en) * 2022-02-12 2022-05-13 北京蜂巢世纪科技有限公司 Focusing prompting method based on vibration motor, intelligent head-mounted display device and computer readable storage medium
CN114500847B (en) * 2022-02-12 2023-12-26 北京蜂巢世纪科技有限公司 Focusing prompt method based on vibration motor, intelligent head-mounted display device and medium
CN114613376A (en) * 2022-03-25 2022-06-10 歌尔股份有限公司 Vibration processing method and device of wearable device, wearable device and medium

Also Published As

Publication number Publication date
CN110312038B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN110312038A (en) Information cuing method and device, electronic equipment, computer readable storage medium
EP3902278B1 (en) Music playing method, device, terminal and storage medium
CN109379485B (en) Application feedback method, device, terminal and storage medium
KR20110074333A (en) Method and apparatus for generating vibration in potable terminal
US20180345131A1 (en) Information processing system, non-transitory storage medium having stored therein information processing program, information processing apparatus, and information processing method
CN101581968A (en) Information processing apparatus, information processing method, information processing program, and mobile terminal
US9479698B2 (en) Vibration-induced rotation of electronic devices
US10850191B2 (en) Game system, non-transitory storage medium having stored therein game program, game apparatus, and game method
US10661162B2 (en) Game system, non-transitory storage medium having stored therein game program, game apparatus, and game method
CN113509720B (en) Virtual fight playback method, device, terminal, server and storage medium
JP2007166474A (en) Information communication terminal
CN110149428B (en) Vibration method, terminal and storage medium
CN108008858A (en) A kind of terminal control method and mobile terminal
CN114500729B (en) Vibration control method, vibration control device, terminal and computer readable storage medium
KR20150144702A (en) Haptically enabled device with motion controlling haptics
CN110266856A (en) Electronic equipment and vibration device, method
CN107684787B (en) Dust removal method and dust removal device for mobile terminal
EP3757722B1 (en) Information processing device, information processing method, and computer program
US9641671B2 (en) Notifying devices, notifying methods, and programs
US20230379873A1 (en) Notification message reminder method, notification message reminder apparatus, and electronic device
CN103458092A (en) Mobile terminal touch player and touch play method
JP6837921B2 (en) Game programs, information processing devices, information processing systems, and information processing methods
CN214674819U (en) Mobile terminal
US11331570B2 (en) Game system, storage medium having stored therein game program, information processing apparatus, and game processing method
CN114500734A (en) Message reminding method and device, electronic equipment and computer readable 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