CN110174979A - Edit methods, wearable device and the computer readable storage medium of message - Google Patents

Edit methods, wearable device and the computer readable storage medium of message Download PDF

Info

Publication number
CN110174979A
CN110174979A CN201910432456.8A CN201910432456A CN110174979A CN 110174979 A CN110174979 A CN 110174979A CN 201910432456 A CN201910432456 A CN 201910432456A CN 110174979 A CN110174979 A CN 110174979A
Authority
CN
China
Prior art keywords
character
message
editing area
wearable device
slide
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
CN201910432456.8A
Other languages
Chinese (zh)
Other versions
CN110174979B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910432456.8A priority Critical patent/CN110174979B/en
Publication of CN110174979A publication Critical patent/CN110174979A/en
Application granted granted Critical
Publication of CN110174979B publication Critical patent/CN110174979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

This application discloses a kind of edit methods of message, method includes the following steps: when wearable device currently carries out message editing, message editing area triggering selected instruction of the real-time detection with the presence or absence of the wearable device, then when detecting the selected instruction of the message editing area triggering, obtain corresponding first character of the selected instruction, cursor indicating positions in the message browsing area of the wearable device is inserted into first character, then first character is saved to default memory block, and update the storage order that character has been stored in the default memory block, first character currently shown in the message editing area is finally emptied based on default reset mode.The invention also discloses a kind of wearable device and computer readable storage mediums.The present invention improves character input speed, effectively prevent the maloperation of character editing, promotes message editing efficiency.

Description

Edit methods, wearable device and the computer readable storage medium of message
Technical field
This application involves intelligent terminal technical field more particularly to a kind of edit methods of message, wearable device and meter Calculation machine readable storage medium storing program for executing.
Background technique
Wearable device includes the mobile terminals such as Intelligent bracelet, smartwatch and smart phone, with Intelligent bracelet, The fast development of the intelligent terminals technology such as smartwatch, intelligent terminal using more and more extensive.
Instant messaging is a kind of business of instant exchange message Internet-based, and two people or more people is allowed to use network Instant transmitting message language, voice are exchanged with video.Intelligent bracelet, the input method display interface of smartwatch are small at present, defeated When entering, an interface accommodates up to two Chinese characters, influences input speed, message editing low efficiency.
Above content is only used for the technical solution that auxiliary understands the application, does not represent and recognizes that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of edit methods of message, wearable device and computer-readable storages Medium, it is intended to solve existing wearable device due to character editing region limited the technical issues of leading to message editing low efficiency.
To achieve the above object, the application provides a kind of edit methods of message, is applied to wearable device, the message Edit methods the following steps are included:
When wearable device currently carries out message editing, real-time detection is compiled with the presence or absence of the message of the wearable device Collect the selected instruction of area's triggering;
When detecting the selected instruction of the message editing area triggering, corresponding first word of the selected instruction is obtained Symbol, the cursor indicating positions in the message browsing area of the wearable device are inserted into first character;
First character is saved to default memory block, and updates the storage for having stored character in the default memory block Sequentially;
First character currently shown in the message editing area is emptied based on default reset mode.
In one embodiment, described that described currently shown in the message editing area is emptied based on default reset mode After the step of one character, further includes:
When detecting corresponding first slide in the message editing area, based on the storage order in the message Editing area shows the second character saved in the default memory block;
Character to be edited is determined based on first slide and second character, is based on the character to be edited Corresponding edit instruction edits the character to be edited.
In one embodiment, described to be shown in the default memory block based on the storage order in the message editing area The step of the second character saved includes:
At the end of first slide, using first character as the second character, and in the message editing Area shows second character;
When detecting that corresponding second slide in the message editing area is completed in preset duration, it is based on described second First glide direction of slide and second character, determine the third character in the default memory block;
Using the third character as the second character, second character is shown in the message editing area;
It is when detecting that the corresponding third slide in the message editing area is completed in preset duration, the third is sliding Dynamic operation is used as the second slide, using second character as the first character, and executes and is based on second slide The first glide direction and second character, the step of determining the third character in the default memory block.
In one embodiment, first glide direction based on second slide and second character, The step of determining the third character in the default memory block include:
Determine whether first glide direction the second glide direction corresponding with first slide matches;
It, will be described default based on the storage order when first glide direction is matched with second glide direction Character before second character described in memory block is as third character;
It, will be described clear based on the storage order when first glide direction and second glide direction mismatch The character look at after the second character described in area is as third character.
In one embodiment, described to be shown in the default memory block based on the storage order in the message editing area The step of the second character saved, further includes:
Obtain the sliding distance of first slide;
Based on the sliding distance, the storage order and default sliding distance, institute is determined in the default memory block State the second character;
Second character is shown in the message editing area.
In one embodiment, the wearable device be equipped with pressure sensor, it is described based on first slide with And second character the step of determining character to be edited, includes:
When detecting the pressing operation of the pressure sensor triggering, the corresponding pressing ginseng of the pressing operation is obtained Number, wherein the pressing parameter includes pressure value and pressing duration;
Determine whether the pressing parameter meets preset condition;
When the pressing parameter meets preset condition, the character that the message editing area is currently shown is determined as wait compile Collect character.
In one embodiment, described that character to be edited is determined based on first slide and second character Step further include:
It, will when detecting that first slide terminates and other slides are not detected within a preset time The character that the message editing area is currently shown is determined as character to be edited.
In one embodiment, described that described currently shown in the message editing area is emptied based on default reset mode The step of one character further include:
Translation is carried out in the message editing area and is shown based on pre-set velocity and preset direction control first character;
When first character is fully removed the edge in the message editing area, it is corresponding flat to stop first character Move display.
In addition, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes storage Device, processor and the editing procedure for being stored in the message that can be run on the memory and on the processor, the message Editing procedure the step of realizing the edit methods of message as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with the editing procedure of message on storage medium, is realized when the editing procedure of the message is executed by processor as described above Message edit methods the step of.
By when wearable device currently carries out message editing, real-time detection wearable is set the present invention with the presence or absence of described The standby selected instruction of message editing area triggering obtains institute then when detecting the selected instruction of the message editing area triggering Corresponding first character of selected instruction is stated, the cursor indicating positions insertion in the message browsing area of the wearable device described the Then one character saves first character to default memory block, and update in the default memory block and stored character Storage order finally empties first character currently shown in the message editing area based on default reset mode.Pass through It only inputs a character every time in message editing area, and saves the character inputted in real time, improve character input speed, and By sliding and pressing the character of browsing typing and determine the character for needing to modify, and then it effectively prevent the mistake of character editing Operation promotes message editing efficiency.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is the flow diagram of the edit methods first embodiment of the application message;
Fig. 6 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102, The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
The present invention provides a kind of edit methods of message.
It is the flow diagram of the edit methods first embodiment of message of the present invention referring to Fig. 5, Fig. 5.
In the present embodiment, the embodiment of the edit methods of message is provided, it should be noted that although in flow charts Logical order is shown, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
In the present embodiment, the edit methods of message are optional is applied in wearable device, for convenience of description, wearable to set It is standby to be illustrated by taking smartwatch as an example below, the edit methods of message the following steps are included:
Step S100, when wearable device currently carries out message editing, real-time detection wearable is set with the presence or absence of described The standby selected instruction of message editing area triggering;
In the present embodiment, the fast development of social informatization makes instant messaging be increasingly becoming the essential friendship of people The efficiency of stream tool, message editing is particularly important, and message editing speed is fast, and convenient message modification is all the master for influencing message efficiency Want factor.
Specifically, when smartwatch currently carries out message editing, whether smartwatch real-time detection message editing area is touched Selected instruction is sent out.Message editing supports input methods, for example, common simplified hand-writing input method, simplified spelling input method, English (US) etc. supports a Chinese character typing or an English word typing, user to be based on every time in the present invention When input method carries out character typing, message editing area can show that similar character is selected for user automatically, when user is in similar character When middle selected target character, that is, when character needed for choosing user, selected instruction is triggered.
Step S200 obtains the selected instruction and corresponds to when detecting the selected instruction of the message editing area triggering The first character, the cursor indicating positions in the message browsing area of the wearable device is inserted into first character;
In the present embodiment, when smartwatch currently carries out message editing, message is shown on the screen of smartwatch Editing area and message browsing area, wherein message editing area be character input area, user's character needed for the typing of message editing area, Message browsing area is the viewing area of typing character, and user can intuitively check the message content of typing.Specifically, work as user When instruction is selected in the triggering of character needed for choosing, smartwatch obtains the corresponding character of selected instruction, in the message of smartwatch The cursor indicating positions of browsing area is inserted into the character.
Step S300 saves first character to default memory block, and updates and stored in the default memory block The storage order of character;
In the present embodiment, when the selected instruction of the character triggering needed for user's choosing, smartwatch obtains selected instruction Corresponding character saves the character to default memory block, wherein default memory block can be the storage inside of smartwatch Area is also possible to external memory area, is not limited in the present invention.Selected character is saved in default memory block by smartwatch When, it is to save character according to certain storage order, it is preferable that character is sequentially stored in adjacent according to the sequencing of preservation In storage address.
Step S400 empties first character currently shown in the message editing area based on default reset mode.
In the present embodiment, when smartwatch currently carries out message editing, message is shown on the screen of smartwatch Editing area and message browsing area, wherein message editing area be character input area, user's character needed for the typing of message editing area, When the selected instruction of the character triggering needed for user's choosing, smartwatch is based on default reset mode and deletes message editing Qu Zhongxian The character shown, it is preferable that default reset mode can be flush message editing area, can also be the character in message editing area to disappearing Breath editor's area edge speed is mobile to realize clear character.
Specifically, step S400 includes:
Step S410 controls first character based on pre-set velocity and preset direction and carries out in the message editing area Translation display;
In the present embodiment, the first character is translated with pre-set velocity in message editing area, and pre-set velocity is preset, It can also be according to the speed adaptive of input character.Meanwhile first character with preset direction to the edge of default memory block carry out Translation.For example, input " I " in message editing area, preset direction be it is horizontal to the left, then after triggering selected instruction, message is compiled " I " word for collecting area is moved to the left according to pre-set velocity constant level.
Step S420 stops first word when first character is fully removed the edge in the message editing area Accord with corresponding translation display.
In the present embodiment, the first character is translated with pre-set velocity in message editing area, and mobile with preset direction To the edge in message editing area, the motion profile of continuously display first character of smartwatch, when the first character is fully removed message When the edge of editing area, stop the corresponding translation display of the first character.It can continue typing character late at this time, ensure that defeated The fluency entered.
Further, in one embodiment, after step S400, further include
Step S500 is based on the storage order when detecting corresponding first slide in the message editing area The second character saved in the default memory block is shown in the message editing area;
In the present embodiment, it presets memory block and saves typing character, it, can by carrying out slide in message editing area To check the content saved in default memory block, when detecting corresponding first slide in message editing area, current The message editing area of screen shows the character in default memory block according to preset order.
Further, slide includes sliding to the left and slides to the right, it is preferable that in message editing area when sliding to the left Current character is covered, and shows the previous character of current character, covers current character in message editing area when sliding to the right, and The latter character for showing current character, if current character does not have previous character, when sliding to the left, then in message editing Area still shows current character;If current character does not have the latter character, when sliding to the right, then message editing area still Show current character.
Step S600 determines character to be edited based on first slide and second character, based on described The corresponding edit instruction of character to be edited edits the character to be edited.
In the present embodiment, character to be edited is determined according to the first slide and the second character, is based on word to be edited Corresponding edit instruction is accorded with to edit the character to be edited.
Specifically, step S600 includes:
It is corresponding to obtain the pressing operation when detecting the pressing operation of the pressure sensor triggering by step S610 Pressing parameter, wherein the pressing parameter include pressure value and pressing duration;
In the present embodiment, the display screen of smartwatch is equipped with pressure sensor, and user, should when pressing message editing area Pressure sensor can detect pressing operation, and obtain the pressing parameter of the pressing operation, pressing parameter include pressure value and Duration is pressed, and character to be edited is further determined that according to pressure value and pressing duration.
Step S620, determines whether the pressing parameter meets preset condition;
In the present embodiment, it is thus necessary to determine that whether pressing parameter meets preset condition, pressing parameter include pressure value and by Duration is pressed, smartwatch can get the pressure value of current pressure and pressing for pressure value holding by pressure sensor Press duration.Specifically, be greater than in the pressing duration that the pressure value of pressing parameter is greater than preset pressure threshold value and the pressing parameter or When equal to preset duration, determine that pressing parameter meets preset condition, wherein preset pressure threshold and preset duration are according to the actual situation Default setting.Preferably, it when pressing parameter meets preset condition, triggers character current in message editing area and is highlighted.
Step S630, when the pressing parameter meets preset condition, character that the message editing area is currently shown It is determined as character to be edited.
In the present embodiment, smartwatch gets the pressure value and the pressure of current pressure by pressure sensor It is worth the pressing duration kept, grows up when the pressure value for pressing parameter is greater than the pressing of preset pressure threshold value and the pressing parameter When preset duration, determines that pressing parameter meets preset condition, and then be avoided that maloperation, further compile message It collects the character that area is currently shown and is determined as character to be edited.
For example, to input " I am Chinese, I likes China " originally, but it is defeated at " I is middle the Huis, in my love State ", by executing slide in message editing area, when sliding into " returning " word, when pressing message editing area and persistently presetting It is long, word " is returned " at this time and is highlighted, and " returning " word can be edited at this time.
Further, in one embodiment, step S600 further include: detect first slide terminate and When other slides being not detected within a preset time, the character that the message editing area is currently shown is determined as to be edited Character.
In the present embodiment, it presets memory block and saves typing character, it, can by carrying out slide in message editing area To check the content saved in default memory block, smartwatch is detecting the first slide and within a preset time not When detecting other slides, at this point, the character that message editing area is currently shown is determined as character to be edited, wherein presetting Time can set based on experience value, such as be set as 2s.
The edit methods for the message that the present embodiment proposes, by when wearable device currently carries out message editing, in real time It detects whether to trigger selected instruction there are the message editing area of the wearable device, is then detecting the message editing area When the selected instruction of triggering, corresponding first character of the selected instruction is obtained, in the message browsing area of the wearable device Cursor indicating positions be inserted into first character, then first character is saved to default memory block, and described in updating The storage order of character has been stored in default memory block, has finally been emptied based on default reset mode current in the message editing area First character of display.By only inputting a character every time in message editing area, and the word inputted is saved in real time Symbol improves character input speed, and browses the character of typing by sliding and pressing and determine the character for needing to modify, And then it is effectively prevent the maloperation of character editing, promote message editing efficiency.
Based on first embodiment, the second embodiment of the edit methods of message of the present invention, in the present embodiment, step are proposed 500 include:
Step S510, at the end of first slide, using first character as the second character, and described Message editing area shows second character;
In the present embodiment, for user after inputting character, smartwatch empties institute's message editing according to default reset mode The character currently shown in area, that is to say, that after user's typing character, smartwatch can flush message editing area.Work as user The character of typing before needing to check, is realized by slide.Since current message editing area is sky, so when user holds When row slide, the character of just typing, that is, the first character are shown first in current screen.
Step S520, when detecting that corresponding second slide in the message editing area is completed in preset duration, base The first glide direction and second character in second slide, determine the third word in the default memory block Symbol;
In the present embodiment, the slide of user may include repeatedly, and each slide can be read from default memory block It takes and has saved character accordingly.
Specifically, step S520 includes:
Whether step S521 determines first glide direction the second glide direction corresponding with first slide Matching;
In the present embodiment, the first glide direction is the corresponding glide direction of second of slide, the first slide It is the last slide of second of slide, the glide direction of slide is for determining which word read twice Symbol, specifically, it is determined that whether the first glide direction the second glide direction corresponding with the first slide matches.
Step S522 is based on the storage order when first glide direction is matched with second glide direction Using the character before the second character described in the default memory block as third character;
In the present embodiment, the first glide direction is matched with the second glide direction, illustrates that the first slide and second is slided The glide direction of dynamic operation is consistent, therefore, according to the storage order of character by the character before the second character in default memory block As third character, wherein the second character is the character that the first slide determines.
Step S523, it is suitable based on the storage when first glide direction and second glide direction mismatch Sequence is using the character after the second character described in the browsing area as third character.
In the present embodiment, the first glide direction and the second glide direction mismatch, and illustrate the first slide and second The glide direction of slide is inconsistent, therefore, according to the storage order of character by the character after the second character in browsing area As the third character, wherein the second character is the character that the first slide determines.
Step S530 shows second character in the message editing area using the third character as the second character;
In the present embodiment, it after determining third character according to the first glide direction and the second glide direction, is deposited default Third character is obtained in storage area, further, using third character as the second character, shows described the in the message editing area Two characters.
Step S540 will when detecting that the corresponding third slide in the message editing area is completed in preset duration The third slide is as the second slide, using second character as the first character, and executes based on described the First glide direction of two slides and second character, determine the step of the third character in the default memory block Suddenly.
In the present embodiment, when detecting that the corresponding third slide in message editing area is completed in preset duration, this When, using third slide as the second slide, meanwhile, using the second character as first character, and executes and be based on First glide direction of the second slide and second character determine the step of presetting the third character in memory block.
Further, in one embodiment, step S500 further include:
Step S550 obtains the sliding distance of first slide;
Step S560 is based on the sliding distance, the storage order and default sliding distance, in the default storage Area determines second character;
Step S570 shows second character in the message editing area.
In the present embodiment, the second character can also be determined according to the corresponding sliding distance of the slide of user, and The second character is shown in message editing area afterwards.First choice obtains the corresponding sliding distance of slide, then determines sliding distance packet Include several default sliding distances, including several pre-determined distances, so that it may several characters are obtained from default constituency according to storage order, Multiple characters are continuously displayed that is, can determine according to sliding distance, promote the efficiency that user checks character.Specifically, The sliding distance of the first slide is obtained, then according to sliding distance, storage order and default sliding distance, is deposited default Storage area determines second character, shows second character in message editing area.
The edit methods for the message that the present embodiment proposes, according to the first glide direction and second glide direction whether Match to determine the third character in default memory block, realizes through slide the character inquired in default memory block, together When improve character input speed, and by the character of sliding and the typing of pressing browsing and determine the character for needing to modify, And then it is effectively prevent the maloperation of character editing, promote message editing efficiency.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 6 Shown, Fig. 6 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with All it is covered on the watchband of the equipment.
In addition, the embodiment of the present application also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with the editing procedure of message, the editing procedure of the message is realized when being executed by processor to disappear in above-mentioned each embodiment The step of edit methods of breath.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills Art field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of edit methods of message, which is characterized in that be applied to wearable device, the edit methods of the message include with Lower step:
When wearable device currently carries out message editing, real-time detection whether there is the message editing area of the wearable device The selected instruction of triggering;
When detecting the selected instruction of the message editing area triggering, corresponding first character of the selected instruction is obtained, The cursor indicating positions of the message browsing area of the wearable device is inserted into first character;
First character is saved to default memory block, and update stored in the default memory block character storage it is suitable Sequence;
First character currently shown in the message editing area is emptied based on default reset mode.
2. the edit methods of message as described in claim 1, which is characterized in that it is described emptied based on default reset mode it is described After the step of first character currently shown in message editing area, further includes:
When detecting corresponding first slide in the message editing area, based on the storage order in the message editing Area shows the second character saved in the default memory block;
Character to be edited is determined based on first slide and second character, it is corresponding based on the character to be edited Edit instruction the character to be edited is edited.
3. the edit methods of message as claimed in claim 2, which is characterized in that described to be disappeared based on the storage order described Ceasing the step of editing area shows the second character saved in the default memory block includes:
At the end of first slide, using first character as the second character, and it is aobvious in the message editing area Show second character;
When detecting that corresponding second slide in the message editing area is completed in preset duration, based on second sliding First glide direction of operation and second character, determine the third character in the default memory block;
Using the third character as the second character, second character is shown in the message editing area;
When detecting that the corresponding third slide in the message editing area is completed in preset duration, the third is slided and is grasped Be used as the second slide, will second character as the first character, and execution based on second slide the One glide direction and second character, the step of determining the third character in the default memory block.
4. the edit methods of message as claimed in claim 3, which is characterized in that based on second slide One glide direction and second character, the step of determining the third character in the default memory block include:
Determine whether first glide direction the second glide direction corresponding with first slide matches;
When first glide direction is matched with second glide direction, the storage order is based on by the default storage Character before second character described in area is as third character;
When first glide direction and second glide direction mismatch, the storage order is based on by the browsing area Character after second character is as third character.
5. the edit methods of message as claimed in claim 2, which is characterized in that described to be disappeared based on the storage order described The step of breath editing area shows the second character saved in the default memory block, further includes:
Obtain the sliding distance of first slide;
Based on the sliding distance, the storage order and default sliding distance, described is determined in the default memory block Two characters;
Second character is shown in the message editing area.
6. the edit methods of message as claimed in claim 2, which is characterized in that the wearable device is equipped with pressure sensing Device, described the step of determining character to be edited based on first slide and second character include:
When detecting the pressing operation of the pressure sensor triggering, the corresponding pressing parameter of the pressing operation is obtained, Described in pressing parameter include pressure value and pressing duration;
Determine whether the pressing parameter meets preset condition;
When the pressing parameter meets preset condition, the character that the message editing area is currently shown is determined as word to be edited Symbol.
7. the edit methods of message as claimed in claim 2, which is characterized in that it is described based on first slide and The step of second character determines character to be edited further include:
It, will be described when detecting that first slide terminates and other slides are not detected within a preset time The character that message editing area is currently shown is determined as character to be edited.
8. the edit methods of the message as described in any one of claims 1 to 7, which is characterized in that described to be removed based on default Mode empties the step of first character currently shown in the message editing area further include:
Translation is carried out in the message editing area and is shown based on pre-set velocity and preset direction control first character;
When first character is fully removed the edge in the message editing area, it is aobvious to stop the corresponding translation of first character Show.
9. a kind of wearable device, which is characterized in that the wearable device includes memory, processor and is stored in described deposit On reservoir and the editing procedure of message that can run on the processor, the object content show program by the processor The step of edit methods such as message described in any item of the claim 1 to 8 are realized when execution.
10. a kind of computer readable storage medium, which is characterized in that be stored with message on the computer readable storage medium Such as message described in any item of the claim 1 to 8 is realized when the editing procedure of editing procedure, the message is executed by processor Edit methods the step of.
CN201910432456.8A 2019-05-22 2019-05-22 Message editing method, wearable device and computer-readable storage medium Active CN110174979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910432456.8A CN110174979B (en) 2019-05-22 2019-05-22 Message editing method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910432456.8A CN110174979B (en) 2019-05-22 2019-05-22 Message editing method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110174979A true CN110174979A (en) 2019-08-27
CN110174979B CN110174979B (en) 2022-10-18

Family

ID=67691934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910432456.8A Active CN110174979B (en) 2019-05-22 2019-05-22 Message editing method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110174979B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573115A (en) * 2020-04-29 2021-10-29 聚好看科技股份有限公司 Method for determining search character and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142669A1 (en) * 2007-05-21 2008-11-27 Incredimail Ltd. Interactive message editing system and method
KR20150124361A (en) * 2014-04-28 2015-11-05 김기태 Apparatus and methodfor providing visual message service which cooperates with wearable device
CN105183347A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Input method operation method and electronic terminal
CN107748741A (en) * 2017-11-20 2018-03-02 维沃移动通信有限公司 A kind of method for editing text and mobile terminal
CN109542244A (en) * 2017-09-21 2019-03-29 北京搜狗科技发展有限公司 A kind of input method, device and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142669A1 (en) * 2007-05-21 2008-11-27 Incredimail Ltd. Interactive message editing system and method
KR20150124361A (en) * 2014-04-28 2015-11-05 김기태 Apparatus and methodfor providing visual message service which cooperates with wearable device
CN105183347A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Input method operation method and electronic terminal
CN109542244A (en) * 2017-09-21 2019-03-29 北京搜狗科技发展有限公司 A kind of input method, device and medium
CN107748741A (en) * 2017-11-20 2018-03-02 维沃移动通信有限公司 A kind of method for editing text and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573115A (en) * 2020-04-29 2021-10-29 聚好看科技股份有限公司 Method for determining search character and display device
CN113573115B (en) * 2020-04-29 2024-04-26 聚好看科技股份有限公司 Method for determining search characters and display device

Also Published As

Publication number Publication date
CN110174979B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN110087292A (en) Intelligent wearable device, energy-saving control method and computer readable storage medium
CN109982179A (en) Audio frequency signal output, device, wearable device and storage medium
CN109947327A (en) A kind of interface inspection method, wearable device and computer readable storage medium
CN110362368A (en) Picture customization display methods, relevant device and the storage medium of wearable device
CN110096195A (en) Motion icon display methods, wearable device and computer readable storage medium
CN110175008A (en) Method, wearable device and the computer readable storage medium of operating terminal
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110351426A (en) Smartwatch data inputting method, smartwatch and computer readable storage medium
CN110099176A (en) Breath screen display methods, wearable device and computer readable storage medium
CN110086930A (en) A kind of voice interactive method, wearable device and computer readable storage medium
CN110072005A (en) Message informing method, intelligent wearable device and computer readable storage medium
CN110083248A (en) Method for message interaction, wearable device and computer readable storage medium
CN110032308A (en) A kind of page display method, terminal and computer readable storage medium
CN110209268A (en) Wearable device control method, wearable device and computer readable storage medium
CN110109603A (en) A kind of page operation method, wearable device and computer readable storage medium
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN110069200A (en) Wearable device input control method, wearable device and storage medium
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN110187764A (en) A kind of barrage display methods, wearable device and storage medium
CN110174979A (en) Edit methods, wearable device and the computer readable storage medium of message
CN110069132A (en) Application control method, intelligent wearable device and computer readable storage medium
CN110442295A (en) Wearable device control method, wearable device and computer readable storage medium
CN110262748A (en) Wearable device control method, wearable device and computer readable storage medium
CN109947325A (en) Application icon display methods, wearable device and computer readable storage medium
CN110071866A (en) A kind of instant messaging application control method, wearable device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant