CN104391628B - process switching method and device - Google Patents
process switching method and device Download PDFInfo
- Publication number
- CN104391628B CN104391628B CN201410130719.7A CN201410130719A CN104391628B CN 104391628 B CN104391628 B CN 104391628B CN 201410130719 A CN201410130719 A CN 201410130719A CN 104391628 B CN104391628 B CN 104391628B
- Authority
- CN
- China
- Prior art keywords
- chat
- active user
- mobile terminal
- operational order
- new information
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention discloses a kind of process switching method and device, and the above method includes:In chat process, mobile terminal receives the first operational order for coming from user;The mobile terminal by process switching corresponding to first operational order to foreground, wherein, on-screen displays corresponding to the process are built based on the pictorial element in current chat interface.According to technical scheme provided by the invention, during instant chat, during waiting other side to reply, mobile terminal user need not cut out current chat interface, you can perform other operations.Thus the operation to user brings facility, substantially increases Consumer's Experience.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of process switching method and device.
Background technology
Mobile terminal has been deep into the life of people, and also oneself turns into most widely used communication mode to mobile communication.
Mobile terminal hereafter refers to mobile phone, personal digital assistant(Personal Digital Assistant, referred to as PDA)
Deng the small handheld mobile communication equipment with wireless communication function.
With the development of internet, instant messaging has turned into indispensable network communication mode in people's life, and near
The technology that instant messaging is carried out based on various mobile terminals, i.e. mobile immediate communication technology have also been emerged over year.
In instant messaging chat window based on mobile terminal, when chat message is sent to other side by user, generally need
Wait the response of other side.During wait, user may exit current chat because of the response that slowly can not receive other side
Its interface, go to perform other operations, for example, playing game, see video etc..Afterwards in order to be confirmed whether to receive message, need to cut again
Chat interface before changing to, this frequently to switch, the operation to user brings inconvenience, thus greatly reduces user's body
Test.
The content of the invention
It is a primary object of the present invention to provide a kind of process switching method and device, with solve the above problems at least it
One.
A kind of according to an aspect of the invention, there is provided process switching method.
Included according to the process switching method of the present invention:In chat process, mobile terminal, which receives, comes from the of user
One operational order;The mobile terminal by process switching corresponding to first operational order to foreground, wherein, the process is corresponding
On-screen displays be to be built based on the pictorial element in current chat interface.
According to another aspect of the present invention, there is provided a kind of process switching device.
Included according to the process switching device of the present invention:First receiving module, in chat process, reception to come from
The first operational order of user;First handover module, for by process switching corresponding to first operational order to foreground, its
In, on-screen displays corresponding to the process are built based on the pictorial element in current chat interface.
Compared with prior art, the embodiment of the present invention at least has advantages below:During instant chat, replied waiting other side
During, mobile terminal user need not cut out current chat interface, you can other operations be performed, for example, playing game etc..Thus
Operation to user brings facility, substantially increases Consumer's Experience.
Brief description of the drawings
Fig. 1 is the flow chart according to the process switching method of the embodiment of the present invention;
Fig. 2 is to build screen display based on the pictorial element in current chat interface according to the preferred embodiment of the present invention to draw
The schematic diagram in face;
Fig. 3 is the structured flowchart according to the process switching device of the embodiment of the present invention;And
Fig. 4 is the structured flowchart according to the process switching device of the preferred embodiment of the present invention.
Embodiment
The specific implementation of the present invention is made a detailed description with reference to Figure of description.
Fig. 1 is the flow chart according to the process switching method of the embodiment of the present invention.As shown in figure 1, the process switching method
Including following processing:
Step S101:In chat process, mobile terminal receives the first operational order for coming from user;
Step S103:Above-mentioned mobile terminal by process switching corresponding to first operational order to foreground, wherein, it is above-mentioned enter
On-screen displays corresponding to journey are built based on the pictorial element in current chat interface.
In the method shown in Fig. 1, during instant chat, during waiting other side to reply, by above-mentioned process switching extremely
Foreground, because on-screen displays corresponding to the process are built based on the pictorial element in current chat interface, therefore move
Dynamic terminal user need not cut out current chat interface, you can other operations be performed, for example, playing game etc..The thus behaviour to user
Facility is brought, substantially increases Consumer's Experience.
Wherein, above-mentioned pictorial element can be the part or all of pictorial element in current chat interface, such as boundary of chatting
Chat bubble in face.Above-mentioned process can be game process etc..
As shown in Fig. 2 during instant chat, during waiting other side to reply, user clicks on game on chat interface
After button, mobile terminal(For example, mobile phone)Respond the operation, the conversation bubble of the left and right sides is by the side screen where it
Curtain, and prompt user's transverse screen to use mobile terminal;Now occurs one in picture by manipulating transportable element(For example,
Bird), user can play game in chat interface, for example, flappy bird play.Specifically, corresponding to the game process
On-screen displays are that the chat bubble in the chat interface based on the pictorial element structure in current chat interface is converted to
Water pipe in game, allow user that the time for the reply that waits for the arrival of news is stayed in current interface, rather than exit to apply and go to perform other
Operation, so as to enhance usage time of the interest of application with user to current application, so as to improve liveness.
In specific implementation process, client software establishes main program, the path of game is transmitted into main program, by main program
It is responsible for starting game process, and is communicated between user.When user wait other side reply during, in chat interface
After upper click game button, mobile terminal(For example, mobile phone)The operation is responded, by game process from switching to from the background in foreground.
Preferably, in step s 103 above-mentioned mobile terminal by after process switching to foreground corresponding to the operational order,
Following processing can also be included:Above-mentioned mobile terminal receives the second operational order for coming from user, wherein, above-mentioned second operation
Instruct for indicating to suspend above-mentioned process;Above-mentioned mobile terminal by above-mentioned process switching to backstage, and respond user slip behaviour
Make, the chat content that user needs to check is presented to user.
If for example, need to suspend in game, the mobile element in display picture of playing(For example, bird)Screen can be stayed in
In curtain, it can also disappear, user can slide screen and browse chat record, in this chat interface as in normal chat
In, user can pin the mobile element and move it on any one chat bubble, and mobile terminal responds the operation, opens
Option of operation corresponding to chat bubble(Such as delete, collect etc.).
In specific implementation process, the pause of game can be accomplished by the following way:Main program calls interception window function
Obtain picture data during suspension of game play;Heap, module used in game process during main program acquisition suspension of game play;Main program
Obtain the independent identification ID of all threads in game process;Main program obtains the handle parameter of all threads;Main program obtains line
Will all thread suspensions after journey handle parameter;The picture data during suspension of game play of acquisition is exported, so as to realize game
Pause control.
Preferably, in step s 103 above-mentioned mobile terminal by after process switching to foreground corresponding to the operational order,
Following processing can also be included:When receiving the new information of peer user, new information prompt message is in by above-mentioned mobile terminal
In present above-mentioned screen display picture;The 3rd operational order of above-mentioned mobile terminal response user, user is presented to by new information.
During being preferable to carry out, new information is presented to user by above-mentioned mobile terminal one of in the following manner:
Mode one:Above-mentioned mobile terminal closes above-mentioned process, and above-mentioned new information is presented according to the operation of user;That is user
Autonomous selection terminates this game.
Mode two:When mobile element reaches the preset range of new information prompt message in above-mentioned screen display picture, it is in
Existing above-mentioned new information;For example, user manipulates mobile element(For example, bird)Jump to new information prompt message(For example, envelope)
Preset range when, mobile terminal responds the operation, to user present new information.
Mode three:Above-mentioned mobile terminal into backstage, and is presented according to the operation of user above-mentioned process switching above-mentioned new
Message.I.e. mobile terminal suspends the game, and responds clicking operation of the user to envelope, and new information is presented to user.
Be preferably based on pictorial element in current chat interface build on-screen displays corresponding to above-mentioned process can be with
Including at least one of:
1st, the size of above-mentioned chat bubble is adjusted according to predetermined value, wherein, the information in above-mentioned chat bubble after adjustment
All display or part are shown content;For example, after starting game, if the word in chat bubble is more than two rows(Containing two
OK), can only display a line and constriction bubble overall width, so as to the consistent of bubble width and sufficient to game of ensureing to chat
Space.
2nd, the timestamp information in current chat interface is removed, or above-mentioned timestamp information is arranged to pellucidity.
By the processing, it can preferably optimize interface, in case interference user, can improve Consumer's Experience.
Fig. 3 is the structured flowchart according to the process switching device of the embodiment of the present invention.As shown in figure 3, the process switching fills
Put, be arranged in mobile terminal, mainly include:First receiving module 30, in chat process, reception to come from user's
First operational order;First handover module 32, for by process switching corresponding to first operational order to foreground, wherein, on
Stating on-screen displays corresponding to process is built based on the pictorial element in current chat interface.
In the device shown in Fig. 3, during instant chat, during waiting other side to reply, the first handover module 32 will
Above-mentioned process switching is to foreground, because on-screen displays corresponding to the process are based on the pictorial element in current chat interface
Structure, therefore mobile terminal user need not cut out current chat interface, you can other operations are performed, for example, playing game etc..Cause
And the operation to user brings facility, Consumer's Experience is substantially increased.
Wherein, above-mentioned pictorial element can be the part or all of pictorial element in current chat interface, such as boundary of chatting
Chat bubble in face.Above-mentioned process can be game process etc..
Preferably, as shown in figure 4, said apparatus can also include:Second receiving module 34, come from user for receiving
The second operational order, wherein, above-mentioned second operational order is used to indicate to suspend above-mentioned process;Second handover module 36, is used for
By above-mentioned process switching to backstage, and the slide of user is responded, the chat content that user needs to check is presented to user.
Preferably, as shown in figure 4, said apparatus can also include:Module 38 is presented, peer user is received for working as
During new information, new information prompt message is presented in above-mentioned screen display picture;Respond module 40, for responding the of user
Three operational orders, new information is showed into user, wherein, new information is presented to user one of in the following manner:In closing
Process is stated, and above-mentioned new information is presented according to the operation of user;Mobile element reaches new information in above-mentioned screen display picture
During the preset range of prompt message, above-mentioned new information is presented;And by above-mentioned process switching into backstage, and according to the behaviour of user
Make that above-mentioned new information is presented.
During being preferable to carry out, shown based on screen corresponding to the above-mentioned process of pictorial element structure in current chat interface
Show that picture includes at least one of:
The size of above-mentioned chat bubble is adjusted according to predetermined value, wherein, in the information in above-mentioned chat bubble after adjustment
Hold all displays or part is shown;
The timestamp information in current chat interface is removed, or above-mentioned timestamp information is arranged to pellucidity.
The preferred embodiment that each module be combined with each other in said apparatus specifically may refer to Fig. 1 to Fig. 2 description, herein
Repeat no more.
In summary, by above-described embodiment provided by the invention, during instant chat, in the process for waiting other side to reply
In, by above-mentioned process switching to foreground, because on-screen displays corresponding to the process are based on the figure in current chat interface
Pixel element structure, therefore mobile terminal user need not cut out current chat interface, you can other operations are performed, for example, playing trip
Play etc..Thus the operation to user brings facility, substantially increases Consumer's Experience.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think change should all fall into protection scope of the present invention.
Claims (7)
- A kind of 1. process switching method, it is characterised in that including:In chat process, mobile terminal receives the first operational order for coming from active user;The mobile terminal by process switching corresponding to first operational order to foreground, wherein, it is corresponding when the process performs On-screen displays be to be built based on the pictorial element in current chat interface, described image element includes:Chat interface In chat bubble, the process is:Game process, and during game process execution, by the chat gas in the chat interface Steep the pictorial element changed into the game process;The mobile terminal is when the game process performs in corresponding on-screen displays, using the current chat interface In chat bubble perform the game process as the pictorial element in the game process so that active user is chatting It is maintained in the Recovery Process that waits for the arrival of news in the current chat interface, without exiting chat application;Wherein, building corresponding on-screen displays when the process performs based on the pictorial element in current chat interface includes At least one of:According to the size of the predetermined value adjustment chat bubble, wherein, the information content in the chat bubble after adjustment is complete Portion is shown or part is shown;The timestamp information in current chat interface is removed, or the timestamp information is arranged to pellucidity.
- 2. process switching method according to claim 1, it is characterised in that the mobile terminal is by the first operational order pair After the process switching answered to foreground, in addition to:The mobile terminal receives the second operational order for coming from active user, wherein, second operational order is used to refer to Show the pause process;The process switching to backstage and is responded the slide of active user, active user is needed by the mobile terminal The chat content checked is presented to active user.
- 3. process switching method according to claim 1, it is characterised in that the mobile terminal is by the first operational order pair After the process switching answered to foreground, in addition to:When receiving the new information sent with the user of active user's chat, new information prompt message is in by the mobile terminal In the present on-screen displays;The 3rd operational order of the mobile terminal response active user, active user is presented to by new information.
- 4. process switching method according to claim 3, it is characterised in that the mobile terminal is one of in the following manner New information is presented to active user:The mobile terminal closes the process, and the new information is presented according to the operation of active user;When mobile element reaches the preset range of new information prompt message in the on-screen displays, presentation is described newly to disappear Breath;The new information is presented into backstage, and according to the operation of active user in the process switching by the mobile terminal.
- 5. a kind of process switching device, is arranged in mobile terminal, it is characterised in that including:First receiving module, in chat process, receiving the first operational order for coming from active user;First handover module, for by process switching corresponding to first operational order to foreground, wherein, when the process performs Corresponding on-screen displays are built based on the pictorial element in current chat interface, and described image element includes:Chat Chat bubble in interface, the process are:Game process, and during game process execution, by chatting in the chat interface The pictorial element that its bubble is changed into the game process;AndFor in the corresponding on-screen displays when the game process performs, using the chat in the current chat interface Bubble performs the game process as the pictorial element in the game process, is waited for the arrival of news so as to obtain active user in chat It is maintained in Recovery Process in the current chat interface, without exiting the module of chat application;Wherein, process switching device also includes:Corresponding screen display when the process performs is built by least one of The module of picture:According to the size of the predetermined value adjustment chat bubble, wherein, the information content in the chat bubble after adjustment is complete Portion is shown or part is shown;The timestamp information in current chat interface is removed, or the timestamp information is arranged to pellucidity.
- 6. process switching device according to claim 5, it is characterised in that also include:Second receiving module, the second operational order of active user is come from for receiving, wherein, second operational order is used Suspend the process in instruction;Second handover module, for by the process switching to backstage, and the slide of active user being responded, by active user The chat content for needing to check is presented to active user.
- 7. process switching device according to claim 5, it is characterised in that also include:Present module, for when receive with active user chat user send new information when, by new information prompt message It is presented in the on-screen displays;Respond module, for responding the 3rd operational order of active user, new information is showed into active user, wherein, pass through New information is presented to active user by one of in the following manner:The process is closed, and according to being presented the operation of active user New information;When mobile element reaches the preset range of new information prompt message in the on-screen displays, present described new Message;And by the process switching into backstage, and the new information is presented according to the operation of active user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410130719.7A CN104391628B (en) | 2014-04-02 | 2014-04-02 | process switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410130719.7A CN104391628B (en) | 2014-04-02 | 2014-04-02 | process switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104391628A CN104391628A (en) | 2015-03-04 |
CN104391628B true CN104391628B (en) | 2018-02-23 |
Family
ID=52609540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410130719.7A Active CN104391628B (en) | 2014-04-02 | 2014-04-02 | process switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104391628B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183276A (en) * | 2015-08-19 | 2015-12-23 | 小米科技有限责任公司 | Method and apparatus for realizing game in chat interface, and and terminal device |
CN106708355B (en) * | 2015-11-16 | 2020-06-23 | 百度在线网络技术(北京)有限公司 | Input method mode switching method and device |
CN105487770B (en) * | 2015-11-24 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Picture sending method and device |
CN107577395B (en) * | 2017-09-11 | 2019-09-17 | 竞技世界(北京)网络技术有限公司 | Chat content display methods and device based on Qt Development Framework |
CN110147185B (en) * | 2018-11-16 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Message prompting method, device, electronic device and storage medium |
CN110096327A (en) * | 2019-04-30 | 2019-08-06 | 上海掌门科技有限公司 | The method and apparatus of background for rendering |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963829A (en) * | 2006-11-28 | 2007-05-16 | 北京金山软件有限公司 | Method for capturing information of game element in internet game and system of internet game |
CN101123520A (en) * | 2006-08-07 | 2008-02-13 | 腾讯科技(深圳)有限公司 | An oriented advertisement distribution method and advertisement system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6369201B1 (en) * | 1998-02-19 | 2002-04-09 | Metamorphix International, Inc. | Myostatin multimers |
US6745364B2 (en) * | 2001-06-28 | 2004-06-01 | Microsoft Corporation | Negotiated/dynamic error correction for streamed media |
-
2014
- 2014-04-02 CN CN201410130719.7A patent/CN104391628B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123520A (en) * | 2006-08-07 | 2008-02-13 | 腾讯科技(深圳)有限公司 | An oriented advertisement distribution method and advertisement system |
CN1963829A (en) * | 2006-11-28 | 2007-05-16 | 北京金山软件有限公司 | Method for capturing information of game element in internet game and system of internet game |
Also Published As
Publication number | Publication date |
---|---|
CN104391628A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391628B (en) | process switching method and device | |
CN104836977B (en) | Video communication method and system during instant messaging | |
CN105549858B (en) | A kind of display methods and user terminal | |
CN105577527B (en) | Interaction method and device for smart watch and WeChat platform and smart watch | |
US10269163B2 (en) | Method and apparatus for switching real-time image in instant messaging | |
CN109542378A (en) | Screen sharing method, device, electronic equipment and readable storage medium storing program for executing | |
CN105183296B (en) | interactive interface display method and device | |
CN105824836B (en) | Screenshot sharing method and device, and information receiving method and device | |
US9690536B2 (en) | Terminal device, and screen-sharing display method and system | |
CN105094638A (en) | Image screen sharing method of mobile terminal and smart home device and mobile terminal | |
CN106162236A (en) | A kind of method and device of sharing video frequency | |
KR20180075931A (en) | Method and apparatus for providing item recommend service in online game | |
CN107277642B (en) | Method for realizing interesting mapping based on video call data stream processing | |
US20230076754A1 (en) | Method and apparatus for displaying interaction message for application, and readable storage medium | |
CN103905771B (en) | Video communication method and user terminal | |
CN105515937B (en) | Instant messaging method, terminal, server and system | |
CN106453231A (en) | Signaling obtaining and transmission method and device | |
CN104301544A (en) | Communication processing method and device | |
KR20170048677A (en) | Control module of game execution of mobile communication terminal and method for providing game image of split screen and the program stored in medium for executing the method | |
CN105407040A (en) | Instant messaging method and equipment | |
CN106803854A (en) | Method, device and wearable device that information is received, sent | |
EP3190774B1 (en) | Interface sharing method and terminal device | |
CN110058767B (en) | Interface operation method, wearable terminal and computer-readable storage medium | |
CN108579081B (en) | Event processing method, device and computer storage medium based on game | |
CN110163949A (en) | A kind of wallpaper setting method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |