CN109857504A - A kind of interface control method for drafting and system - Google Patents

A kind of interface control method for drafting and system Download PDF

Info

Publication number
CN109857504A
CN109857504A CN201910072557.9A CN201910072557A CN109857504A CN 109857504 A CN109857504 A CN 109857504A CN 201910072557 A CN201910072557 A CN 201910072557A CN 109857504 A CN109857504 A CN 109857504A
Authority
CN
China
Prior art keywords
control
screen
drawn
failure area
coordinate set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910072557.9A
Other languages
Chinese (zh)
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.)
Shanghai Aiyouwei Software Development Co Ltd
Original Assignee
Shanghai Aiyouwei Software Development 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 Shanghai Aiyouwei Software Development Co Ltd filed Critical Shanghai Aiyouwei Software Development Co Ltd
Priority to CN201910072557.9A priority Critical patent/CN109857504A/en
Publication of CN109857504A publication Critical patent/CN109857504A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of interface control method for drafting and system, is related to display interface technical field.The described method includes: obtaining the boundary coordinate set in screen damage region;Determine the failure area coordinate set of the screen;Obtain screen control to be drawn;Judge whether the control includes failure area coordinate set;If it is not, drawing the control in the screen;If so, avoiding the failure area, the control is drawn.The interface control method for drafting and system of the application, it is intended to provide a kind of interface control method for drafting and system, obtain the failure area coordinate set and control to be drawn of screen, when judging that the control includes failure area coordinate set, avoid the failure area, the control is drawn, is shown with updating the control at interface, user experience is improved.

Description

A kind of interface control method for drafting and system
Technical field
This application involves display interface technical field more particularly to interface control method for drafting and systems.
Background technique
With the rapid development of the communication technology, people's lives, work etc. are ceased with intelligent terminal (for example, communication terminal etc.) Manner of breathing closes.Currently, the function of intelligent terminal is gradually diversified, most of interactive function of intelligent terminal generally passes through screen touch-control Realization, it is large screen that terminal screen gradually develops from the small screen, and is further pushed away to special-shaped screen comprehensively and real comprehensive screen Into.The bigger terminal screen the easier forms broken screen because the external force such as being hit, since replacement screen is comparatively laborious and slight Broken screen does not influence the use of terminal, and user often continues to use the terminal of broken screen.However, the broken screen part of terminal is unfavorable for user Contact action, reduce user experience.
Accordingly, it is desired to provide a kind of interface control method for drafting and system, obtain screen failure area coordinate set and Control to be drawn avoids the failure area, the control is drawn, with more when judging that the control includes failure area coordinate set The control at new interface is shown, improves user experience.
Summary of the invention
According to some embodiments of the present application in a first aspect, a kind of interface control method for drafting is provided, applied to eventually It holds in (for example, electronic equipment etc.), the method may include: obtain the boundary coordinate set in screen damage region;Determine institute State the failure area coordinate set of screen;Obtain screen control to be drawn;Judge whether the control includes damage area Domain coordinate set;If it is not, drawing the control in the screen;If so, avoiding the failure area, the control is drawn.
In some embodiments, the method may further include: obtain control coordinate set to be drawn;Obtain institute State the boundary coordinate set of screen;Judge whether the control coordinate set is more than the boundary;If so, the control is drawn in line feed Part.
In some embodiments, the method may further include: obtain the content of text of control to be drawn;Under determination The content of text is drawn in a line position, line feed.
In some embodiments, the method may further include: judge line feed draw content of text whether be more than The control height;It is monitored if so, increasing sliding for the control, dynamically increases control height in monitoring.
In some embodiments, the method may further include: obtain to graphing content and its width, damage The maximum width and screen width in region;It is wide to judge whether the sum of the graphical content and maximum width are greater than the screen Degree;If it is not, avoiding the failure area, the graphical content is drawn.
In some embodiments, described to avoid the failure area, the graphical content is drawn, the method can be into one Step includes: not draw the graphical content in the failure area, or draw self-defined background color;The graphical content is one Control.
In some embodiments, described to avoid the failure area, the graphical content is drawn, the method can be into one Step includes: that the control comprising the graphical content is divided into two controls, is plotted in the failure area two sides.
In some embodiments, the method may further include: if so, determining the bottom position of the failure area It sets, the graphical content is drawn in line feed.
In some embodiments, the method may further include: judge line feed draw graphical content whether be more than Screen border;If so, the application root control or upper layer control for the screen increase sliding monitoring, dynamically increase institute in monitoring State the height of root control or the upper layer control.
According to the second aspect of some embodiments of the present application, a system is provided, comprising: a memory is matched It is set to storing data and instruction;One is established the processor communicated with memory, wherein when executing the instruction in memory, The processor is configured to: obtain the boundary coordinate set in screen damage region;Determine the failure area coordinate of the screen Set;Obtain screen control to be drawn;Judge whether the control includes failure area coordinate set;If it is not, institute Screen is stated, the control is drawn;If so, avoiding the failure area, the control is drawn.
Therefore, according to the interface control method for drafting and system of some embodiments of the present application, it is intended to provide a kind of interface ActiveX drafting method and system obtain the failure area coordinate set and control to be drawn of screen, and judge that the control includes damage When error area coordinate set, the failure area is avoided, draws the control, is shown with updating the control at interface, user experience is improved.
Detailed description of the invention
To more fully understand and illustrating some embodiments of the present application, below with reference to the description of attached drawing reference implementation example, In the drawings, same digital number indicates corresponding part in the accompanying drawings.
Fig. 1 is the illustrative diagram of the Environment System provided according to some embodiments of the present application.
Fig. 2 is the exemplary cell schematic diagram of the electronic functionalities configuration provided according to some embodiments of the present application.
Fig. 3 is the exemplary process diagram of the interface control method for drafting provided according to some embodiments of the present application.
Fig. 4 is the exemplary process diagram of the control content of text method for drafting provided according to some embodiments of the present application.
Fig. 5 is the exemplary process diagram of the control graphical content method for drafting provided according to some embodiments of the present application.
Fig. 6 is the illustrative diagram of the drafting control content of text provided according to some embodiments of the present application.
Fig. 7 is the illustrative diagram of the drafting control graphical content provided according to some embodiments of the present application.
Specific embodiment
Below with reference to being described as convenient for Integrated Understanding the application as defined in claim and its equivalent for attached drawing Various embodiments.These embodiments include various specific details in order to understand, but these are considered only as illustratively.Cause This, it will be appreciated by those skilled in the art that carrying out variations and modifications without departing from this to various embodiments described herein The scope and spirit of application.In addition, briefly and to be explicitly described the application, the application will be omitted to known function and structure Description.
The term used in following description and claims and phrase are not limited to literal meaning, and being merely can Understand and consistently understands the application.Therefore, for those skilled in the art, it will be understood that provide to the various implementations of the application The description of example is only the purpose to illustrate, rather than limits the application of appended claims and its Equivalent definitions.
Below in conjunction with the attached drawing in some embodiments of the application, technical solutions in the embodiments of the present application carries out clear Chu is fully described by, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments. Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall in the protection scope of this application.
It should be noted that the term used in the embodiment of the present application is only merely for the mesh of description specific embodiment , it is not intended to be limiting the application." one " of the embodiment of the present application and singular used in the attached claims, "one", "an", " described " and "the" be also intended to including most forms, unless the context clearly indicates other meaning.Also It should be appreciated that term "and/or" used herein refers to and includes that any of project is listed in one or more mutually bindings Or all possible combinations.Expression " first ", " second ", " first " and " second " be for modify respective element without Consideration sequence or importance are used only for distinguishing a kind of element and another element, without limiting respective element.
Can be electronic equipment according to the terminal of some embodiments of the application, the electronic equipment may include smart phone, PC (PC, such as tablet computer, desktop computer, notebook, net book, palm PC PDA), mobile phone, e-book Reader, portable media player (PMP), audio/video player (MP3/MP4), video camera, virtual reality device (VR) and the combination of one or more of wearable device etc..According to some embodiments of the present application, the wearable device It may include type of attachment (such as wrist-watch, ring, bracelet, glasses or wear-type device (HMD)), integrated type (such as electronics Clothes), decorated type (such as pad skin, tatoo or built in electronic device) etc. or several combinations.In some realities of the application One of it applies in example, the electronic equipment can be flexibly, be not limited to above equipment, or can be above-mentioned various equipment Or several combination.In this application, term " user " can be indicated using the people of electronic equipment or setting using electronic equipment Standby (such as artificial intelligence electronic equipment).
The embodiment of the present application provides a kind of interface control method for drafting.The embodiment of the present application in order to facilitate understanding, below The embodiment of the present application will be described in detail with reference to attached drawing.
Fig. 1 is the illustrative diagram of the Environment System 100 provided according to some embodiments of the present application.Such as Fig. 1 Shown, Environment System 100 may include electronic equipment 110, network 120 and server 130 etc..Electronic equipment 110 can be with Including bus 111, processor 112, memory 113, input/output module 114, display 115, communication module 116 and physics Key 117 etc..In some embodiments of the present application, electronic equipment 110 can be omitted one or more elements, or can be into one Step includes one or more of the other element.
Bus 111 may include circuit.The circuit can be with one or more element (examples in interconnection electronics 110 Such as, bus 111, processor 112, memory 113, input/output module 114, display 115, communication module 116 and secondary or physical bond 117).The circuit can also be realized between one or more elements in electronic equipment 110 communication (for example, obtain and/or Send information).
Processor 112 may include one or more coprocessors (Co-processor), application processor (AP, Application Processor) and communication processor (Communication Processor).As an example, processor 112 can execute with the control of one or more elements of electronic equipment 110 and/or data processing (for example, drawing terminal control Deng).
Memory 113 can store data.The data may include other with one or more of electronic equipment 110 The relevant instruction of element or data.For example, the data may include the initial data before processor 112 is handled, intermediate data And/or treated data.Memory 113 may include impermanent memory memory and/or permanent memory memory.Make For example, memory 113 can store screen coordinate set etc..
According to some embodiments of the present application, memory 113 can store software and/or program.Described program can wrap It includes kernel, middleware, Application Programming Interface (API, Application Programming Interface) and/or applies journey Sequence (or " application ").
At least part of the kernel, the middleware or the Application Programming Interface may include operating system (OS, Operating System).As an example, the kernel be can control or be managed for executing other programs (for example, intermediate Part, Application Programming Interface and application program) in realize operation or function system resource (for example, bus 111, processor 112, memory 113 etc.).In addition, the kernel can provide interface.The interface can by the middleware, described answer With one or more elements of programming interface or application program access electronic equipment 110 to control or management system resource.
The middleware can be used as the middle layer of data transmission.Data transmission can permit Application Programming Interface or Application program is with the kernel communication to exchange data.As an example, the middleware can handle from the application program One or more task requests of acquisition.For example, the middleware can distribute electronic equipment to one or more application program The priority of 110 system resource (for example, bus 111, processor 112, memory 113 etc.), and processing it is one or Multiple tasks request.The Application Programming Interface can be the application program for control from the kernel or the middleware The interface of function is provided.The Application Programming Interface also may include one or more interfaces or function (for example, instruction).It is described Function can be used for starting control, data channel control, security control, communication control, document control, window control, text control System, image procossing, information processing etc..
What input/output module 114 can be inputted to the transmission of the other elements of electronic equipment 110 from user or external equipment Instruction or data.Input/output module 114 can also be defeated by the instruction or data that obtain from the other elements of electronic equipment 110 Out to user or external equipment.In some embodiments, input/output module 114 may include input unit, and user can lead to Cross the input unit input information or instruction.
Display 115 can show content.The content can to user show various types (for example, text, image, Video, icon and/or symbol etc. or several combinations).Display 115 may include liquid crystal display (LCD, Liquid Crystal Display), light emitting diode (LED, Light-Emitting Diode) display, Organic Light Emitting Diode (OLED, Organic Light Emitting Diode) display, Micro Electro Mechanical System (MEMS, Micro Electro Mechanical Systems) display or electric paper display etc. or several combinations.Display 115 may include display Screen, touch screen etc..The display screen can be with the control etc. at display terminal interface.In some embodiments, display 115 can be shown Show virtual key.The input of the available virtual key of touch screen.Display 115 can be obtained defeated by the touch screen Enter.The input may include touch input, gesture input, action input, close input, electronic pen or user body part It inputs (for example, hovering input).
Communication module 116 can configure the communication between equipment.In some embodiments, Environment System 100 can be with It further comprise electronic equipment 140.As an example, the communication between the equipment may include electronic equipment 110 and other set Communication between standby (for example, server 130 or electronic equipment 140).For example, communication module 116 can by wireless communication or Wire communication is connected to network 120, communicates with other equipment (for example, server 130 or electronic equipment 140) realization.
The wireless communication may include microwave communication and/or satellite communication etc..The wireless communication may include honeycomb Communication is (for example, global mobile communication (GSM, Global System for Mobile Communications), CDMA (CDMA, Code Division Multiple Access), 3G (Third Generation) Moblie (3G, The 3rd Generation Telecommunication), forth generation mobile communication (4G), the 5th third-generation mobile communication (5G), Long Term Evolution (LTE, Long Term Evolution), Long Term Evolution upgrade version (LTE-A, LTE-Advanced), wideband code division multiple access (WCDMA, Wideband Code Division Multiple Access), Universal Mobile Communication System (UMTS, Universal Mobile Telecommunications System), WiMAX (WiBro, Wireless ) etc. or several combinations Broadband.According to some embodiments of the present application, the wireless communication may include wireless local area Net (WiFi, Wireless Fidelity), bluetooth, low-power consumption bluetooth (BLE, Bluetooth Low Energy), ZigBee protocol (ZigBee), near-field communication (NFC, Near Field Communication), magnetic safe transmission, radio frequency and body area network (BAN, Body Area Network) etc. or several combinations.According to some embodiments of the present application, the wire communication may include Global Navigation Satellite System (Glonass/GNSS, Global Navigation Satellite System), global positioning system System (GPS, Global Position System), Beidou navigation satellite system or Galileo (European Global Satellite Navigation System) Deng.The wire communication may include universal serial bus (USB, Universal Serial Bus), high-definition media interface (HDMI, High-Definition Multimedia Interface), proposed standard 232 (RS-232, Recommend Standard 232), and/or plain old telephone service (POTS, Plain Old Telephone Service) etc. or several The combination of kind.
Secondary or physical bond 117 can be used for user's interaction.Secondary or physical bond 117 may include one or more entity keys.In some realities It applies in example, user can be with the function of customized secondary or physical bond 117.As an example, secondary or physical bond 117 can send instruction.Described instruction It may include drawing terminal control etc..The control can be used for carrying graphical content and/or content of text etc..
In some embodiments, electronic equipment 110 may further include sensor.The sensor may include but not It is limited to photosensitive sensor, acoustic sensor, gas sensor, chemical sensor, voltage sensitive sensor, temp-sensitive sensor, fluid to pass Sensor, biosensor, laser sensor, Hall sensor, intelligence sensor etc. or several combinations.
In some embodiments, electronic equipment 110 may further include infrared equipment, image capture device etc..As Example, the infrared equipment can identify by infrared ray mode of delivery, and blink, watch the technologies such as identification acquisition eyes attentively Information.For example, the infrared equipment authenticates user information by acquiring the blink movement of user.As an example, described image Acquiring equipment may include camera, iris device etc..The functions such as eyeball tracking may be implemented in the camera.The iris dress It sets and can use iris recognition technology progress authentication (for example, certification user information).The iris device may include rainbow Film camera, the available iris information of iris camera, the iris information can store in memory 113.
Network 120 may include communication network.The communication network may include computer network (for example, local area network (LAN, Local Area Network) or wide area network (WAN, Wide Area Network)), internet and/or telephone network Deng or several combinations.Network 120 can connect in Environment System 100 other equipment (for example, electronic equipment 110, Server 130, electronic equipment 140 etc.) and realize that information is transmitted.
Server 130 can connect the other equipment in Environment System 100 (for example, electronic equipment by network 120 110, electronic equipment 140 etc.).In some embodiments, when electronic equipment 110 is lost, server 130 can pass through network 120 send positioning instruction to electronic equipment;Electronic equipment 110 can send location information to server 130 by network 120 Deng.In some embodiments, server 130 can be sent to electronic equipment 110 by network 120 and draw the finger such as terminal control It enables.
Electronic equipment 140 can be identical or different with electronic equipment 110 type.According to some embodiments of the present application, Some or all of execution operation can be in another equipment or multiple equipment (for example, electronic equipment 140 in electronic equipment 110 And/or server 130) in execute.In some embodiments, when electronic equipment 110 be automatically or in response to request execute it is a kind of or When multiple functions and/or service, electronic equipment 110 can request other equipment (for example, electronic equipment 140 and/or server 130) substitution executes function and/or service.In some embodiments, electronic equipment 110 is in addition to executing function or service, further Execute relative one or more functions.In some embodiments, other equipment are (for example, electronic equipment 140 and/or clothes Business device 130) requested function or other relevant one or more functions can be executed, implementing result can be sent to electricity Sub- equipment 110.Electronic equipment 110 can repeat result or be further processed implementing result, to provide requested function Or service.As an example, cloud computing, distributed computing technology and/or client-server end, which can be used, in electronic equipment 110 calculates meter Calculation etc. or several combinations.In some embodiments, according to the difference of cloud computing service property, the cloud computing may include Public cloud, private clound and mixed cloud etc..In some embodiments, when electronic equipment 110 is lost, electronic equipment 140 can be to Electronic equipment 110 sends positioning instruction, according to the location information that electronic equipment 110 is fed back, is tracked.In some embodiments In, electronic equipment 110 can share screen etc. with electronic equipment 140, for example, electronic equipment 140 can be drawn and electronic equipment 110 identical terminal controls etc..
It should be noted that the description for Environment System 100 above only for convenience of description can not be this Shen It please be limited within the scope of illustrated embodiment.It is appreciated that the principle based on this system can for those skilled in the art Any combination can be carried out to each element, or constitute subsystem and connect with other elements under the premise of without departing substantially from the principle, Various modifications and variations in form and details are carried out to the implementation above method and systematic difference field.For example, network environment System 100 may further include database etc..In another example electronic equipment 110 can not include secondary or physical bond 117 etc..It is all such The deformation of class, within the scope of protection of this application.
Fig. 2 is the exemplary cell block diagram of the electronic functionalities configuration provided according to some embodiments of the present application.Such as Shown in Fig. 2, processor 112 may include processing module 200, and the processing module 200 may include acquiring unit 210, determine Unit 220, control unit 230, processing unit 240, display unit 250.
According to some embodiments of the present application, the available information of acquiring unit 210.In some embodiments, the letter Breath can include but is not limited to text, picture, audio, video, movement, gesture, sound, eyes (for example, iris information etc.), gas Breath, light etc. or several combinations.In some embodiments, the information can include but is not limited to input information, system information And/or communication information etc..As an example, acquiring unit 210 can pass through the touch of input/output module 114, display 115 Screen, secondary or physical bond 117 and/or sensor obtain the input information of electronic equipment 110.The input information may include other equipment The input of (for example, electronic equipment 140) and/or user, for example, the input of key-press input, touch-control, gesture input, action input, remote Journey input, transmission input, eyes input, voice input, breath input, light input etc. or several combinations.The input information Obtaining widget can include but is not limited to infrared equipment, image capture device, sensor etc. or several combinations.As showing Example, acquiring unit 210 can obtain the coordinate set etc. of terminal screen by input/output module 114.The coordinate set can To include but is not limited to the boundary coordinate set in screen damage region, failure area coordinate set, the coordinate set of control to be drawn Close etc..In some embodiments, acquiring unit 210 can obtain the side in the screen damage region of user's input by touch screen Boundary.Further, acquiring unit 210 can obtain the boundary coordinate of the failure area according to the different principle of different touch screens Set.In some embodiments, the available screen of acquiring unit 210 control etc. to be drawn.
In some embodiments, acquiring unit 210 can obtain the communication information by network 120.The communication information can To include application software information, communication signal (for example, voice signal, vision signal etc.), short message etc..In some embodiments In, acquiring unit 210 can obtain system information by network 120, memory 113 and/or sensor.The system information can To include but is not limited to the information that stores of the system mode of electronic equipment 110, presupposed information, memory 113 (for example, iris is recognized Demonstrate,prove information etc.) etc. or several combinations.
In some embodiments, the information may include instruction.Described instruction includes user instruction and/or system command Deng or several combinations.Described instruction may include triggering command, certification instruction, fill in instruction etc. or several combinations.Institute Stating certification instruction may include certification user information, drafting terminal control etc..As an example, when user press secondary or physical bond (for example, Shortcut key etc.) when, electronic equipment 110 can call paintbrush (Paint) to draw terminal control etc..
According to some embodiments of the present application, determination unit 220 can determine information.In some embodiments, it determines single Member 220 can authenticate user information.The certification user information may include password identification or bio-identification etc..The password is known It not may include character password, gesture password etc..The bio-identification may include recognition of face, fingerprint recognition, Application on Voiceprint Recognition, Iris recognition, hand vein recognition etc..In some embodiments, determination unit 220 can determine the failure area coordinate set of screen Deng.As an example, the boundary coordinate set in the screen damage region that determination unit 220 can be obtained according to acquiring unit 210, really The coordinate set of the fixed failure area.In some embodiments, determination unit 220 can determine whether control to be drawn wraps Coordinate containing failure area.As an example, determination unit 220 can determine control to be drawn content of text or graphical content whether Include failure area coordinate.In another example determination unit 220 can determine control to be drawn content of text or graphical content whether More than the boundary etc. of the screen.In some embodiments, next line when determination unit 220 can determine rendering text content Position, or determine the bottom position etc. of the failure area.
According to some embodiments of the present application, control unit 230 can control electronic equipment.In some embodiments, it controls Unit 230 processed can control the drafting etc. of terminal control.As an example, control unit 230 can avoid the failure area, draw Make described control etc..For example, control unit 230 can be in the content of text or figure that the failure area does not draw control Hold, or draw self-defined background color etc..The self-defined background color can include but is not limited to it is colorless and transparent, white, black and/ Or color same or similar with terminal screen wallpaper etc..In some embodiments, control unit 230 can be in the damage area Draw the control in domain two sides.
According to some embodiments of the present application, processing unit 240 can handle data.In some embodiments, processing is single One control can be divided at least two controls by member 240.As an example, processing unit 240 can will include graphical content Control is divided into two controls etc..In some embodiments, processing unit 240 can increase sliding for the control and monitor.Into one Step, processing unit 240 can dynamically increase the control height in monitoring.In another example processing unit 240 can be the screen Curtain increases sliding and monitors, and dynamically increases screen height etc. in monitoring.
According to some embodiments of the present application, display unit 250 can show information.In some embodiments, display is single Member 250 can be with the control etc. at display terminal interface.As an example, display unit 250 can avoid failure area, display terminal control Part etc..In another example display unit 250 can be with Zoom display terminal control.In some embodiments, display unit 250 can be Screen damage region, display privacy of user control etc., to hide the privacy control.Further, it after authenticating user information, shows Show that unit 250 can avoid failure area, shows the privacy of user control.In some embodiments, display unit 250 can be with The failure area of analog display terminals screen.As an example, display unit 250 can be set according to user when screen not broken screen Set broken screen effect of simulative display etc..
It should be noted that the unit in processing module 200 is described above, it only for convenience of description, can not be this Application is limited within the scope of illustrated embodiment.It is appreciated that for those skilled in the art, the principle based on this system, Any combination may be carried out to each unit, or constitute submodule and other units company under the premise of without departing substantially from the principle It connects, various modifications and variations in form and details is carried out to the function of implementing above-mentioned module and unit.For example, processing module 200 may further include storage unit, and the storage unit can store screen coordinate set etc..In another example processing module 200 can not include display unit 250, execute corresponding function etc. by display 115.Suchlike deformation, in the application Protection scope within.
Fig. 3 is the exemplary process diagram of the interface control method for drafting provided according to some embodiments of the present application.Such as Fig. 3 Shown, process 300 can be realized by processing module 200.In some embodiments, the interface control method for drafting can lead to Cross instruction starting.Described instruction may include user instruction, system command, action command etc. or several combinations.As showing Example, the information that the system command can be obtained by sensor generate.The user instruction may include voice, gesture, move Work, secondary or physical bond 117 and/or virtual key etc. or several combinations.
301, the boundary coordinate set in screen damage region is obtained.Operation 301 can pass through the acquisition of processing module 200 Unit 210 is realized.The screen can be used as a two-dimensional coordinate system, and the upper left corner can be coordinate origin, and X-axis positive direction is water Flat right direction, Y-axis positive direction are vertically downward direction.In some embodiments, acquiring unit 210 can by input/it is defeated Module 114 obtains the coordinate set etc. of terminal screen out.The coordinate set can include but is not limited to screen damage region Boundary coordinate set, failure area coordinate set, the coordinate set etc. of control to be drawn.In some embodiments, acquiring unit 210 can obtain the boundary in the screen damage region of user's input by touch screen.User's input may include that user is logical Cross the profile that finger touch screen curtain sketches the contours the failure area.
According to some embodiments of the present application, acquiring unit 210 can obtain institute according to the different principle of different touch screens State the boundary coordinate set of failure area.As an example, if the screen is surface acoustic wave screen, three angles point of the sound wave screen X, the transmitting of Y-direction and the energy converter for receiving sound wave are not pasted, and the reflection strip of reflecting surface ultrasonic wave is carved on four sides.When Finger or soft object touch screen, and acoustic wave segment energy is absorbed, and change and receive signal, and acquiring unit 210 can pass through The X that the processing of control unit 230 or processing unit 240 is touched, Y-coordinate.In another example if the screen is four-wire ohm Screen, the four-wire resistive screen covers two layers of transparent conductance layer ITO between coating for surface protection and base, respectively corresponds X two layers, Y-axis, with subtle transparent insulation particle insulation between two layers of transparent conductance layer ITO, the pressure generated when touching makes two to lead Electric layer is connected, the X that acquiring unit 210 can be touched by the variation of resistance value, Y-coordinate.In another example if the screen For five line resistance screens, it is covered with an X on the base of the five line resistances screen, the voltage field in two direction Y is added in the transparent of same layer Conductance layer ITO, outermost layer nickel gold conductive layer make pure conductor, and when touching, acquiring unit 210 can detect contact point by timesharing X-axis and the method for Y-axis voltage value obtain the position of touch point.For another example if the screen is capacitance plate, the capacitance plate capacitor Screen surfaces are coated with transparent conductance layer ITO, and voltage is connected to quadrangle, and small direct current dissipates portion in screen surfaces, forms uniform electric field, use When hand touch screen, human body collects to form another pole of coupled capacitor, acquiring unit 210 as one pole of coupled capacitor, electric current from screen quadrangle The coordinate that the relative distance of touch position is touched can be passed to by control unit 230 or 240 calculating current of processing unit.
302, the failure area coordinate set of the screen is determined.Operation 302 can pass through the determination of processing module 200 Unit 220 is realized.In some embodiments, determination unit 220 can determine failure area coordinate set of screen etc..As showing Example, the boundary coordinate set in the screen damage region that determination unit 220 can be obtained according to acquiring unit 210, determines the damage The coordinate set of error area.For example, determination unit 220 can determine the coordinate set of the point inside the failure area bounds It is combined into the failure area coordinate set.
303, screen control to be drawn is obtained.Operation 303 can pass through the acquiring unit of processing module 200 210 realize.In some embodiments, the available screen of acquiring unit 210 control to be drawn.The control can wrap Include but be not limited to picture control (ImageView), text control (TextView/EditText), self-defined control etc. or several Combination.The control can be used for carrying iconic content, for example, carrying application icon, terminal function icon etc..As Example, the available screen of acquiring unit 210 application icon etc. to be drawn.
304, judge whether the control includes failure area coordinate set.Operation 304 can pass through processing module 200 Acquiring unit 210, determination unit 220 realize.In some embodiments, acquiring unit 210 is available described wait draw control The coordinate set of part.In some embodiments, determination unit 220 may determine that whether the coordinate set of the control to be drawn wraps Containing the point in the failure area coordinate set.
If it is not, entering operation 305,305, in the screen, the control is drawn.Operation 305 can be by handling mould The control unit 230 of block 200 is realized.In some embodiments, control unit 230 can control terminal and draw the control.Make For example, control unit 230 can control terminal in the screen, draw described application icon etc..
If so, entering operation 306,306, the failure area is avoided, draws the control.Operation 306 can pass through The processing unit 240 of processing module 200, control unit 230 are realized.In some embodiments, processing unit 240 can avoid institute Failure area is stated, calculate the control second draws coordinate.In some embodiments, control unit 230 can be avoided described Failure area draws the control.
According to some embodiments of the present application, process 300 may further include the display state of adjustment terminal control.? In some embodiments, display unit 250 can be with Zoom display terminal control.In some embodiments, display unit 250 can be Screen damage region, display privacy of user control etc., to hide the privacy control.Further, it after authenticating user information, shows Show that unit 250 can avoid failure area, shows the privacy of user control.In some embodiments, display unit 250 can be with The failure area of analog display terminals screen.As an example, display unit 250 can be set according to user when screen not broken screen Set broken screen effect of simulative display etc..
It should be noted that the description for process 300 above can not only for convenience of description be limited in the application Within the scope of illustrated embodiment.It is appreciated that the principle based on this system may not carry on the back for those skilled in the art Under the premise of from the principle, any combination is carried out to each operation, or constitute sub-process and other operative combinations, in implementation The function of stating process and operation carries out various modifications and variations in form and details.For example, process 300 may further include Adjust the display state etc. of terminal control.Suchlike deformation, within the scope of protection of this application.
Fig. 4 is the exemplary process diagram of the control content of text method for drafting provided according to some embodiments of the present application. As shown in figure 4, process 400 can be realized by processing module 200.In some embodiments, process 400 can be process 300 A kind of specific implementation of middle operation 306.
401, the content of text coordinate set of control to be drawn is obtained.Operation 401 can obtaining by processing module 200 Unit 210 is taken to realize.In some embodiments, the content of text coordinate set of the available control to be drawn of acquiring unit 210. As an example, available application program image target content of text coordinate set of acquiring unit 210 etc..
402, the failure area coordinate set of screen is obtained.Operation 402 can pass through the acquiring unit of processing module 200 210 realize.In some embodiments, acquiring unit 210 can pass through the failure area coordinate set of the screen determined in process 300 It closes.The failure area coordinate set of the screen can be determined by the boundary coordinate of the failure area of user's touch input.
403, the boundary coordinate set of the screen is obtained.Operation 403 can pass through the acquiring unit of processing module 200 210 realize.In some embodiments, acquiring unit 210 can obtain the screen by the two-dimensional coordinate system of the screen Boundary coordinate set.As an example, acquiring unit 210 can obtain screen border by the size of the screen.One In a little embodiments, operation 401, operation 402, operation 403 can be not provided with the sequencing executed, or be performed simultaneously.
404, judge whether the content of text is more than boundary.Operation 404 can pass through the order really of processing module 200 Member 220 is realized.In some embodiments, whether determination unit 220 may determine that the content of text coordinate set in the screen Within the scope of curtain boundary coordinate.As an example, when processing unit 240 is to avoid the failure area coordinate set, described in calculating The second of control draws coordinate;Determination unit 220 may determine that it is described second drafting coordinate whether be more than the screen boundary.
If it is not, entering operation 405,405, the failure area is avoided, draws the content of text.Operation 405 can be with It is realized by the control unit 230 of processing module 200.In some embodiments, control unit 230 can avoid the damage area Domain the content of text is drawn according to the content of text coordinate set.
If so, entering operation 406,406, next line position is determined, the content of text is drawn in line feed.Operation 406 can To be realized by the processing unit 240 of processing module 200, control unit 230.In some embodiments, when the content of text When more than boundary, processing unit 240 can be believed according to initial coordinate, text height and line space of the content of text etc. Breath calculates the coordinate for determining next line position.In some embodiments, control unit 230 can be according to the coordinate of the position The content of text is drawn in information, line feed.As shown in fig. 6, Fig. 6 is the drafting control provided according to some embodiments of the present application The illustrative diagram of content of text.In schematic diagram 600, left figure is normal rendering text content, and right figure is to avoid damage area Domain 601, and the content of text drawn.For example, being more than screen border when processing unit 240 calculates the determining content of text When, control unit 230, which can enter a new line, draws the content of text.
According to some embodiments of the present application, process 400, which may further include the content of text that judgement line feed is drawn, is No is more than the control height.As an example, processing unit 240 can when the content that line feed is drawn is more than the control height Think that the control increases sliding and monitors, dynamically increases control height in monitoring.
Fig. 5 is the exemplary process diagram of the control graphical content method for drafting provided according to some embodiments of the present application. As shown in figure 5, process 500 can be realized by processing module 200.In some embodiments, process 500 can be process 300 A kind of specific implementation of middle operation 306.
501, the graphical content coordinate set of control to be drawn is obtained.Operation 501 can obtaining by processing module 200 Unit 210 is taken to realize.In some embodiments, the graphical content coordinate set of the available control to be drawn of acquiring unit 210. As an example, available application program image target graphical content coordinate set of acquiring unit 210 etc..
502, the failure area coordinate set of screen is obtained.Operation 502 can pass through the acquiring unit of processing module 200 210 realize.In some embodiments, acquiring unit 210 can pass through the failure area coordinate set of the screen determined in process 300 It closes.The failure area coordinate set of the screen can be determined by the boundary coordinate of the failure area of user's touch input.
503, the boundary coordinate set of the screen is obtained.Operation 503 can pass through the acquiring unit of processing module 200 210 realize.In some embodiments, acquiring unit 210 can obtain the screen by the two-dimensional coordinate system of the screen Boundary coordinate set.As an example, acquiring unit 210 can obtain screen border by the size of the screen.One In a little embodiments, operation 501, operation 502, operation 503 can be not provided with the sequencing executed, or be performed simultaneously.
504, judge whether the graphical content is more than boundary.Operation 504 can pass through the order really of processing module 200 Member 220 is realized.In some embodiments, whether determination unit 220 may determine that the graphical content coordinate set in the screen Within the scope of curtain boundary coordinate.As an example, when processing unit 240 is to avoid the failure area coordinate set, described in calculating The second of control draws coordinate;Determination unit 220 may determine that it is described second drafting coordinate whether be more than the screen boundary. In some embodiments, acquiring unit 210 is available to graphing content and its width, the maximum width of failure area with And screen width;Determination unit 220 may determine that whether the sum of the graphical content and maximum width are greater than the screen width.
If it is not, entering operation 505,505, the failure area is avoided, draws the graphical content.Operation 505 can be with It is realized by the control unit 230 of processing module 200.In some embodiments, control unit 230 can avoid the damage area Domain the graphical content is drawn according to the graphical content coordinate set.As an example, control unit 230 can be in the damage Error area does not draw the graphical content, or draws self-defined background color;The graphical content is a control.In another example control Control comprising the graphical content can be divided into two controls by unit 230 processed, be plotted in the failure area two sides.
If so, entering operation 506,506, failure area bottom position is determined, the graphical content is drawn in line feed.Operation 506 can be realized by the processing unit 240 of processing module 200, control unit 230.In some embodiments, when the figure When content is more than boundary, processing unit 240 can calculate the bottom for determining failure area according to the failure area coordinate set Position.In some embodiments, control unit 230 can enter a new line and draw in the figure according to the coordinate information of the position Hold.
According to some embodiments of the present application, process 500, which may further include the graphical content that judgement line feed is drawn, is No is more than screen border.In some embodiments, when the graphical content that the line feed is drawn is more than screen border, processing unit 240, which can increase sliding for the application root control or upper layer control of the screen, monitors, and dynamically increases described control in monitoring The height of part or the upper layer control.The application may include one or more controls, when the application includes multiple controls When, the bottom control of the application can be root control, and being superimposed upon other controls on root control can be upper layer control.? In some embodiments, the desktop of the screen can be used as one and apply (Application, APP), and the desktop may include One or more controls.
As shown in fig. 7, Fig. 7 is that drafting the exemplary of control content of text provided according to some embodiments of the present application is shown It is intended to.In schematic diagram 700, left figure is normal graphing content, and the second from left is the figure avoiding failure area 703, and drawing Content;Control 701 can be split as two ActiveX draftings in left and right can be used as in the two sides of failure area 703 or control 701 One ActiveX drafting does not draw the graphical content in 703 two sides of failure area at the failure area 703, or draws certainly Define background colour etc..Set of controls 702 can be drawn around failure area 703, and when being more than screen border, line feed is drawn.Right figure is Determine failure area bottom position, control 701 and set of controls 702 etc. are drawn in line feed, when drawing control 701 and set of controls 702 When graphical content is more than screen lower boundary, the screen can increase sliding and monitor, and dynamically increase screen height in monitoring.
It should be noted that the description for process 400, process 500 above only for convenience of description can not be this Shen It please be limited within the scope of illustrated embodiment.It is appreciated that the principle based on this system can for those skilled in the art Any combination can be carried out to each operation, or constitute sub-process and other operative combinations under the premise of without departing substantially from the principle, Various modifications and variations in form and details are carried out to the function of implementing above-mentioned process and operation.For example, the behaviour in process 400 Make 401, operation 402, operation 403 can be not provided with the sequencing executed, or be performed simultaneously.Suchlike deformation, Within the scope of protection of this application.
Fig. 6 is the illustrative diagram of the drafting control content of text provided according to some embodiments of the present application.Such as Fig. 6 Shown, in schematic diagram 600, left figure is normal rendering text content, and right figure is the text avoiding failure area 601, and drawing Content.For example, in process 400, when processing unit 240, which calculates the determining content of text, is more than screen border, control Unit 230, which can enter a new line, draws the content of text.
Fig. 7 is the illustrative diagram of the drafting control graphical content provided according to some embodiments of the present application.Such as Fig. 7 Shown, in schematic diagram 700, left figure is normal graphing content, and the second from left is the figure avoiding failure area 703, and drawing Content.For example, in process 500, control 701 can be split as two ActiveX draftings in left and right in the two sides of failure area 703, Or control 701 can be used as an ActiveX drafting in 703 two sides of failure area, not draw at the failure area 703 described Graphical content, or draw self-defined background color etc..Set of controls 702 can be drawn around failure area 703, be more than screen border When, line feed is drawn.Right figure is to determine failure area bottom position, and control 701 and set of controls 702 etc. are drawn in line feed, is controlled when drawing When the graphical content of part 701 and set of controls 702 is more than screen lower boundary, the screen can increase sliding and monitor, in monitoring Dynamic increases screen height.
It, only for convenience of description, can not be it should be noted that the description for schematic diagram 600, schematic diagram 700 above The application is limited within the scope of illustrated embodiment.It is appreciated that for those skilled in the art, the original based on this system Reason may carry out any combination to each operation, or constitute sub-process and other operations under the premise of without departing substantially from the principle Combination carries out various modifications and variations in form and details to the function of implementing above-mentioned process and operation.For example, schematic diagram 700 can reduce the size etc. of control 701.Suchlike deformation, within the scope of protection of this application.
In conclusion being intended to provide a kind of interface control according to the interface control method for drafting and system of the embodiment of the present application Part method for drafting and system obtain the failure area coordinate set and control to be drawn of screen, and judge that the control includes damage When area coordinate set, the failure area is avoided, draws the control, is shown with updating the control at interface, user experience is improved.
It should be noted that the above embodiments are intended merely as example, the application is not limited to such example, but can To carry out various change.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing not only include with sequence described here in temporal sequence The processing of execution, and the processing including executing parallel or respectively rather than in chronological order.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with It is completed by the relevant hardware of computer program instructions, the program can be stored in a computer readable storage medium, The program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can for magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) Deng.
Above disclosed is only some preferred embodiments of the application, and the right model of the application cannot be limited with this It encloses, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and wants according to the application right Made equivalent variations is sought, is still belonged to the scope covered by the invention.

Claims (10)

1. a kind of interface control method for drafting characterized by comprising
Obtain the boundary coordinate set in screen damage region;
Determine the failure area coordinate set of the screen;
Obtain screen control to be drawn;
Judge whether the control includes failure area coordinate set;
If it is not, drawing the control in the screen;
If so, avoiding the failure area, the control is drawn.
2. interface control method for drafting according to claim 1, which is characterized in that further comprise:
Obtain control coordinate set to be drawn;
Obtain the boundary coordinate set of the screen;
Judge whether the control coordinate set is more than the boundary;
If so, the control is drawn in line feed.
3. interface control method for drafting according to claim 2, which is characterized in that further comprise:
Obtain the content of text of control to be drawn;
Determine next line position, the content of text is drawn in line feed.
4. interface control method for drafting according to claim 3, which is characterized in that further comprise:
Whether the content of text for judging that line feed is drawn is more than the control height;
It is monitored if so, increasing sliding for the control, dynamically increases control height in monitoring.
5. interface control method for drafting according to claim 2, which is characterized in that further comprise:
It obtains to graphing content and its width, the maximum width and screen width of failure area;
Judge whether the sum of the graphical content and maximum width are greater than the screen width;
If it is not, avoiding the failure area, the graphical content is drawn.
6. interface control method for drafting according to claim 5, which is characterized in that it is described to avoid the failure area, it draws The graphical content is made, further comprises:
The graphical content is not drawn in the failure area, or draws self-defined background color;The graphical content is a control Part.
7. interface control method for drafting according to claim 5, which is characterized in that it is described to avoid the failure area, it draws The graphical content is made, further comprises:
Control comprising the graphical content is divided into two controls, is plotted in the failure area two sides.
8. interface control method for drafting according to claim 5, which is characterized in that further comprise:
If so, determining the bottom position of the failure area, the graphical content is drawn in line feed.
9. interface control method for drafting according to claim 8, which is characterized in that further comprise:
Whether the graphical content for judging that line feed is drawn is more than screen border;
If so, the application root control or upper layer control for the screen increase sliding monitoring, dynamically increase described in monitoring The height of control or the upper layer control.
10. a system characterized by comprising
One memory, is configured as storing data and instruction;
One is established the processor communicated with memory, wherein when executing the instruction in memory, the processor is configured Are as follows:
Obtain the boundary coordinate set in screen damage region;
Determine the failure area coordinate set of the screen;
Obtain screen control to be drawn;
Judge whether the control includes failure area coordinate set;
If it is not, drawing the control in the screen;
If so, avoiding the failure area, the control is drawn.
CN201910072557.9A 2019-01-25 2019-01-25 A kind of interface control method for drafting and system Pending CN109857504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910072557.9A CN109857504A (en) 2019-01-25 2019-01-25 A kind of interface control method for drafting and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910072557.9A CN109857504A (en) 2019-01-25 2019-01-25 A kind of interface control method for drafting and system

Publications (1)

Publication Number Publication Date
CN109857504A true CN109857504A (en) 2019-06-07

Family

ID=66896149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910072557.9A Pending CN109857504A (en) 2019-01-25 2019-01-25 A kind of interface control method for drafting and system

Country Status (1)

Country Link
CN (1) CN109857504A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380819A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Document editing method and device and electronic equipment
CN118567648A (en) * 2024-08-05 2024-08-30 天津科电石化科技发展有限公司 Industrial process diagram drawing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026200A1 (en) * 2010-07-05 2012-02-02 Lenovo (Singapore) Pte, Ltd. Information input device, on-screen arrangement method thereof, and computer-executable program
CN103186334A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Control method and device for terminal
CN104246684A (en) * 2012-04-23 2014-12-24 夏普株式会社 Touch panel input device, and image formation device
US20150193074A1 (en) * 2014-01-07 2015-07-09 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. System and method for altering interactive element placement based around damaged regions on a touchscreen device
CN106506797A (en) * 2016-09-13 2017-03-15 努比亚技术有限公司 A kind of interface adaptation display device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026200A1 (en) * 2010-07-05 2012-02-02 Lenovo (Singapore) Pte, Ltd. Information input device, on-screen arrangement method thereof, and computer-executable program
CN103186334A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Control method and device for terminal
CN104246684A (en) * 2012-04-23 2014-12-24 夏普株式会社 Touch panel input device, and image formation device
US20150193074A1 (en) * 2014-01-07 2015-07-09 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. System and method for altering interactive element placement based around damaged regions on a touchscreen device
CN106506797A (en) * 2016-09-13 2017-03-15 努比亚技术有限公司 A kind of interface adaptation display device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380819A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Document editing method and device and electronic equipment
CN118567648A (en) * 2024-08-05 2024-08-30 天津科电石化科技发展有限公司 Industrial process diagram drawing method and device, electronic equipment and storage medium
CN118567648B (en) * 2024-08-05 2024-09-27 天津科电石化科技发展有限公司 Industrial process diagram drawing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20160139671A1 (en) Method for providing haptic effect in electronic device, machine-readable storage medium, and electronic device
KR20180044129A (en) Electronic device and method for acquiring fingerprint information thereof
CN109492412A (en) The encryption storage method and system of file
CN109636401A (en) A kind of method of payment and system based on the micro- expression of user
CN108319408A (en) Stereogram target operating method and system
CN109472122A (en) A kind of multimedia messages reminding method and system
CN108399529A (en) The management method and system of time
CN107315681A (en) Application program self-starting test system, medium and method
CN109857504A (en) A kind of interface control method for drafting and system
CN107786979A (en) A kind of multiple terminals shared communication method and system
CN107862518A (en) A kind of method of payment and system based on terminal location
CN107423585A (en) Secret application method and system
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
CN208673193U (en) A kind of intelligent multimedia system
CN108428455A (en) The acquisition method and system of vocal print feature
CN108897479A (en) A kind of terminal touch control method and system
CN109189536A (en) A kind of terminal applies display methods and system
CN108874465A (en) A kind of application starting method and system based on caching
CN108509017A (en) A kind of control method and system of terminal applies
CN206908680U (en) Intelligent terminal with secure log function
CN108021350A (en) A kind of terminal output volume method of adjustment and system
CN108154556A (en) A kind of virtual trailing of terminal and system
CN107451564A (en) A kind of human face action control method and system
CN107690024A (en) Electronic equipment and its control method
CN108449511A (en) A kind of presentation of information update method and system

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190607