CN109739575A - Information processing method, electronic equipment and computer-readable medium - Google Patents

Information processing method, electronic equipment and computer-readable medium Download PDF

Info

Publication number
CN109739575A
CN109739575A CN201811635218.9A CN201811635218A CN109739575A CN 109739575 A CN109739575 A CN 109739575A CN 201811635218 A CN201811635218 A CN 201811635218A CN 109739575 A CN109739575 A CN 109739575A
Authority
CN
China
Prior art keywords
application
boarding
boarding application
interface
host
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
CN201811635218.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 Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201811635218.9A priority Critical patent/CN109739575A/en
Publication of CN109739575A publication Critical patent/CN109739575A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

Embodiment of the disclosure discloses information processing method, electronic equipment and computer-readable medium.One specific embodiment of this method includes: to obtain in response to detecting the operation exited from the boarding application for running on host's application and save the information for being used to indicate the current operating status that boarding is applied, wherein the operation for application of lodging is dependent on host's application;In response to detecting the operation of starting boarding application, based on the information saved, starting boarding applies and interface when exiting boarding application is presented.The boarding is saved using related information when the embodiment can to exit boarding application from host platform, is conducive to user and again goes into the interface that can continue when browsing is last to be exited when boarding application, improve user experience.

Description

Information processing method, electronic equipment and computer-readable medium
Technical field
Embodiment of the disclosure is related to field of computer technology, and in particular to information processing method, electronic equipment and calculating Machine readable medium.
Background technique
With the development of network technology, the function of the mobile end equipment such as mobile phone, computer has also obtained great promotion. It applies and brings great convenience for user in diversified mobile terminal.To which more and more users like setting using mobile terminal Standby purchase article carries out life payment, carries out information search, carries out news browsing etc..
In the related technology, in order to enable user is more convenient, small routine comes into being.Small routine is not need under user The application is carried, the i.e. workable application program in some application platforms.By the small routine, user can for example be propped up It pays, shopping, the behaviors such as information browse.
Summary of the invention
The present disclosure proposes information processing method, electronic equipment and computer-readable mediums.
In a first aspect, embodiment of the disclosure provides a kind of information processing method, this method is used for electronic equipment, the party Method includes: to obtain in response to detecting the operation exited from the boarding application for running on host's application and save to be used to indicate and post The information of the current operating status of Su Yingyong, wherein the operation for application of lodging is applied dependent on host;It is opened in response to detecting The operation of dynamic boarding application, based on the information saved, starting boarding applies and interface when exiting boarding application is presented.
Second aspect, disclosure disclosed embodiment provide a kind of information processing unit, the information processing unit application In electronic equipment, wherein the information processing unit includes: storage unit, is configured in response to detect from running on host The operation that the boarding application of application is exited obtains and saves the information for being used to indicate the current operating status of boarding application, In, the operation for application of lodging is applied dependent on host;Start unit is configured in response to detect the behaviour of starting boarding application Make, based on the information saved, starting boarding applies and interface when exiting boarding application is presented.
In some embodiments, start unit is further configured to: starting boarding application, and boarding application is restored to The operating status in the operation exited is applied in the boarding.
In some embodiments, the information for being used to indicate the current operating status of boarding application includes following at least one : host applies the first memory object of the operation for managing boarding application;Boarding application is run in second itself generated Deposit object;The file that the operation of boarding application generates.
In some embodiments, storage unit is further configured to: being serialized, and is saved to the first memory object The first memory object after serializing;Second memory object is serialized, and the second memory object after saving sequence; And/or file is saved into file indicated by preset path.
In some embodiments, start unit is further configured to: to the first memory pair after the serializing saved As carrying out unserializing, obtain exiting the first memory object when boarding application;Obtained first memory object is loaded onto For in the memory block of the operation of host's application management boarding application;Based on loading result, interface when exiting boarding application is presented.
In some embodiments, start unit is further configured to: to the second memory pair after the serializing saved As carrying out unserializing, obtain exiting the second memory object when boarding application;Resulting second memory object is loaded onto use In the memory block of operation boarding application;Based on loading result, interface when exiting boarding application is presented.
In some embodiments, start unit is further configured to: being obtained from file indicated by preset path File out;Acquired file out is loaded onto the corresponding position in the presented interface of boarding application, in corresponding position Place shows acquired file out.
It in some embodiments, include to preset withdrawing mode from the operation that the boarding application that host applies is exited is run on The operation exited from the boarding application for running on host's application.
In some embodiments, the operation of starting boarding application includes the behaviour to preset Starting mode starting host's application Make.
In some embodiments, information processing unit further include: delete unit, be configured in response in preset time period The operation of starting boarding application is not detected, deletes saved information.
The third aspect, disclosure disclosed embodiment provide a kind of information processing electronic apparatus, comprising: one or more Processor;Storage device is stored thereon with one or more programs, when said one or multiple programs are by said one or multiple Processor executes, so that the one or more processors realize the method such as any embodiment in first aspect.
Fourth aspect, disclosure disclosed embodiment provide a kind of information processing computer-readable medium, store thereon There is computer program, the method such as any embodiment in first aspect is realized when which is executed by processor.
Information processing method, electronic equipment and the computer-readable medium that embodiment of the disclosure provides, in response to inspection It measures after running on the operation exited of boarding application that host applies, it is available and save user and indicate working as boarding application The information of preceding operating status can be based on the letter saved then after the operation in response to detecting starting boarding application Breath, starting boarding apply and interface when exiting boarding application are presented.It is answered it is thus possible to exit the boarding from host platform Used time saves the boarding using related information, so that user can continue to browse when again going into boarding application Interface when last time exits solves not being restored to lodge after exiting boarding application and applies asking for the state when exiting Topic improves user experience.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the disclosure is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that some embodiments of the present disclosure can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the information processing method of the disclosure;
Fig. 3 is the flow chart according to a kind of optional implementation of the information processing method of the disclosure;
Fig. 4 is the flow chart according to another embodiment of the information processing method of the disclosure;
Fig. 5 is the schematic diagram according to one embodiment of the information processing unit of the disclosure;
Fig. 6 is adapted for the structural representation for the computer system for realizing the electronic equipment of some embodiments of the present disclosure Figure.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the disclosure can phase Mutually combination.The disclosure is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system architecture of the embodiment of the information processing method of embodiment of the disclosure 100。
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104, first server 105 and second server 106.Network 104 is in terminal device 101,102,103 and first server 105, second server The medium of communication link is provided between 106.Network 104 may include various connection types, for example, wired, wireless communication link or Person's fiber optic cables etc..
User can be used terminal device 101,102,103 and pass through network 104 and first server 105, second server 106 interactions, to receive or send message etc..Various telecommunication customer end applications can be installed on terminal device 101,102,103, Such as web browser applications, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software Deng.
The client application installed on terminal device 101,102,103 herein can be applied for host, can transport thereon Row has boarding to apply.Herein, boarding application for example can be relevant for shop under the application of payment class, the application of shopping class, line Using, trivial games class application etc..User can be lodged by the client application access installed on terminal device 101,102,103 Using.Host's application can be managed the boarding application of boarding thereon, specifically, the management can for example post for record The information such as memory size, the installation path of Su Yingyong.To which when user exits from boarding application, host's application can be right The interface of boarding application is saved.
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, the various electronic equipments for the installation and operation applied are can be with display screen and supported, including but not limited to intelligently Mobile phone, tablet computer, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is software, It may be mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing in it The software or software module of Distributed Services), single software or software module also may be implemented into.It is not specifically limited herein.
First server 105 can be to after the host's application offer support installed on terminal device 101,102,103 Platform server, when user sends information request by the host's application installed on terminal device 101,102,103, first service Device 105 can be handled information request, and processing result is then returned to terminal device.Second server 106 can be The background server supported is provided to the boarding application run in host's application.When user is by running in host's application When boarding application sends information request, second server 106 can be handled information request, then return to processing result To terminal device.
It should be noted that first server 105, second server 106 can be hardware, it is also possible to software.When When one server 105, second server 106 are hardware, the distributed server cluster of multiple server compositions may be implemented into, Also individual server may be implemented into.When it is software that first server 105, second server 106, which are server, may be implemented At multiple softwares or software module (such as providing the software of Distributed Services or software module), also may be implemented into single Software or software module.It is not specifically limited herein.In some embodiments, first server 105, second server 106 exist It physically can be the same server.
It should be noted that information processing method provided by embodiment of the disclosure can be held by first server 105 Row, can also be executed by any one of terminal device 101,102,103.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process 200 of one embodiment of the method for managing image according to the disclosure is shown. The information processing method, comprising the following steps:
Step 201, it in response to detecting the operation exited from the boarding application for running on host's application, obtains and saves use In the information of the current operating status of instruction boarding application.
In the present embodiment, host applies the application for user installation in mobile terminal.User passes through mobile end equipment can be with Log in host's application.Above-mentioned boarding application can be the application program run in host's application, one example may be, for example, Small routine.It, can the access boarding application from host application after user is applied by the mobile device login host.In general, Multiple boarding applications can have been run in each host application.The interface of access boarding application can be set in host's application, The developer applied that lodges can will develop the boarding completed and be set in host's application using by above-mentioned interface.Such one Come, user, which can not need the independent installation kit for downloading boarding application, can be used the boarding application, so as to be user's shifting Moved end discharges more spaces.
In the present embodiment, the operation of usually boarding application is applied dependent on host.Specifically, host's application can be right The various operating rights of boarding application are managed, with the corresponding operating for allowing or forbidding boarding to apply.For example, above-mentioned corresponding behaviour Can include but is not limited to: starting, operation read user and pass through host's application transmission or operation of information of publication etc.. For another example host's application may also listen for the operation that user exits boarding application.
In the present embodiment, user is lodged by host's application access in application, the usually same time can only visit it The boarding application asked is operated.When need to carry out other operation (such as based on host application prompting message check that host answers Message in) when, it usually needs it is exited from boarding application to return to the interface of host's application or access and be set to movement The other application etc. of terminal.When user exits from boarding application, above-mentioned executing subject can be listened to from running on host The operation that the boarding application of application is exited.Specifically, can be in predeterminated position in host's application that above-mentioned executing subject is supported Place's setting is used to indicate the interface element for exiting boarding application.Above-mentioned executing subject is in response to detecting user to the Interface Element After element carries out clicking operation, it can determine that user executes the operation exited from the boarding application for running on host's application.Interface Element for example may include the button clicked in interface, the search box that can be scanned for, interface list items etc..
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of information processing method is in response to inspection It measures after running on the operation that the boarding application that host applies is exited, available and preservation is used to indicate working as boarding application Preceding running state information.
Herein, which for example may include the application identities for the boarding application that user is accessed and exits The interface identification at the interface that the boarding is presented when applying.To when user continues to access the boarding in application, can be according to this Interface when exiting boarding application is presented in application identities and interface identification.
Step 202, in response to detecting that the operation of starting boarding application starts boarding application based on the information saved And interface when exiting boarding application is presented.
In the present embodiment, above-mentioned executing subject may also listen for user pass through host application starting boarding application behaviour Make.Specifically, the interface predetermined position setting that can be applied in host in above-mentioned host's application is used to indicate each boarding application Entrance interface element, the interface element for example can for boarding application icon.It is used to indicate the entrance of each boarding application Interface element usually with boarding application identities it is associated.To when above-mentioned executing subject detects that user is set by mobile terminal When standby click is used to indicate the interface element of the entrance of each boarding application, it can determine that starting is corresponding with boarding application identities The operation of boarding application.
Then, above-mentioned executing subject can be according to current operating status pre-saving, being used to indicate boarding application Information, start the boarding application, while interface when presentation user exits boarding application.As an example, above-mentioned execution master Interface when exiting boarding application can be presented according to the interface identification corresponding with boarding application identities pre-saved in body.
The present embodiment passes through the server supported using mobile end equipment or to host's application to instruction boarding application The information of current operating status is saved, so that the information saved is more stable, avoids the operation for applying the boarding Status information is saved into the server supported boarding application, when calling from host's application to boarding application, due to data Unstable the case where causing saved running state information to be lost, interface when exiting boarding application can not be presented is transmitted, from And the operation that boarding is applied is more stable, improves user experience.
It is above-mentioned to exit from running on the boarding application that host applies in some optional implementations of the present embodiment Operation includes to preset the operation that withdrawing mode is exited from the boarding application for running on host's application.
Specifically, default withdrawing mode for example can for by mobile end equipment execute predetermined registration operation gesture (such as to The gesture of left screen sliding curtain) withdrawing mode that exits;Such as can for by click be pre-set at host's application for exiting The withdrawing mode of the interface element of boarding application;Such as it can be carried out for pre-set certain buttons to mobile terminal device The withdrawing mode etc. of operation (such as the volume up button in mobile end equipment is continuously pressed twice).Usually lodge to instruction When the current operating status of application is saved, need to occupy the memory headroom of mobile end equipment, or occupy server Memory headroom.Meanwhile executing and usually specific thread also being needed to be handled when protecting stored instruction, reduction user, which exits, to post The speed of Su Yingyong.By the way that default withdrawing mode is arranged, various withdrawing modes can be distinguished, when user this default move back Mode exits host in application, just saving to the information of current operating status for being used to indicate boarding application out, when with When family does not need that interface when exiting boarding application is presented when logging in next time, boarding application can be used to indicate without saving Current operating status information the step of, the memory that can save the memory headroom or server in mobile end equipment is empty Between, be conducive to the speed of service for improving host's application.
In some optional implementations of the present embodiment, the operation of above-mentioned starting boarding application includes with default starting Mode starts the operation of host's application.
Specifically, it can be default by executing in mobile end equipment that above-mentioned executing subject, which can preset Starting mode for example, The Starting mode of operating gesture (such as gesture of screen sliding curtain to the right) starting;It such as can be to be pre-set at host by clicking The Starting mode of the interface element for starting boarding application of application;It such as can be pre-set to mobile terminal device Certain buttons operated the Starting mode etc. of (such as continuously pressing twice the volume down button in mobile end equipment). By the way that default Starting mode is arranged, various Starting mode can be distinguished, be in when user is again started up boarding using needs Now lodge application initial interface when, above-mentioned default Starting mode starting boarding application can not be utilized, only needing to present When exiting interface when boarding application, just using above-mentioned default Starting mode starting boarding application, so as to further increase Experience of the user to starting boarding application.
In some optional implementations of the present embodiment, above-mentioned starting boarding is applied and is presented and exits the boarding and answer The interface of used time can specifically include starting boarding application, and the boarding application that this is started is restored to the boarding and applies and moving back Operating status when operation out.
In some optional implementations of the present embodiment, it is used to indicate the current operating status of the boarding application Information include but is not limited to: host apply for manage it is described boarding application operation the first memory object;Boarding application Run the second memory object of itself generation;The file that the operation of boarding application generates.
Specifically, above-mentioned first memory object is the data for managing boarding application and generating in memory.First memory Object can specifically include but be not limited to: the size of the recorded occupied memory of boarding application of host's application, for obtaining The routing information applied, developer's information of boarding application (such as developer's mark), boarding lodge using access host's application Time, with the corresponding application identities of boarding application, icon of the boarding application program in host's application interface.In host's application Multiple boarding applications would generally be provided with, by generating first memory object, boarding application can effectively be managed, So that user after exiting boarding application restarting boarding in application, institute's boarding program to be started can be oriented quickly, Improve the speed of service.
Above-mentioned second memory object may include the data generated in the memory for distribute to boarding application.Second memory pair As can specifically include but be not limited to: interface element that user interface, the user interface for application of lodging are presented obtains Take the routing information of interface element.
The file that the operation of above-mentioned boarding application generates may include the data that user and boarding application interact generation. The information that this document can specifically include but be not limited to the picture that user browsed, user is searched for, applies when above-mentioned boarding and is Class of doing shopping is in application, above-mentioned file can also include the Item Information etc. that user is added in shopping cart.
In some optional implementations of the present embodiment, working as boarding application is used to indicate acquired in above-mentioned preservation The information of preceding operating status can specifically include: serialize to the first memory object, in first after saving sequence Deposit object.In general, the data of memory object cannot be saved directly, only by serializing, it is converted into specific format Just it can be reserved for.It herein, is that the status information of the first memory object is converted to and can be deposited to the serializing of the first memory object The process of the form of storage or transmission.For example, Serializable interface may be implemented to realize serializing, also may be implemented Parcelable interface is to realize serializing.By serializing to the first memory object, the first memory object can be made Data can be more lasting preservation.
In some optional implementations of the present embodiment, working as boarding application is used to indicate acquired in above-mentioned preservation The information of preceding operating status can specifically include: serialize to the second memory object, in second after saving sequence Deposit object.It herein, is to be converted to the status information of the second memory object can store to the serializing of the second memory object Or the process of the form of transmission.For example, Serializable interface may be implemented to realize serializing, also may be implemented Parcelable interface is to realize serializing.By serializing to the second memory object, the second memory object can be made Data can be more lasting preservation.
In some optional implementations of the present embodiment, working as boarding application is used to indicate acquired in above-mentioned preservation The information of preceding operating status can specifically include: the file that the operation of boarding application generates is saved to indicated by preset path File in.In general, user's files such as generated picture, search information in access boarding application are generally disposed at For in the caching set up using operation of lodging.When being exited in response to detecting from boarding application, it would commonly be used for operation and post The memory headroom of Su Yingyong discharges, to save working resource.When memory headroom release, the file usually cached will be clear It removes.It is produced when can to run by saving generated cache file into file indicated by preset path File memory headroom release after saved, to realize that user is again started up the boarding in application, boarding can be answered With being restored to the interface presented when the boarding application is exited and interface content.
In some optional implementations of the present embodiment, based on the information saved, when boarding application is exited in presentation Interface can specifically include: to after the serializing saved the first memory object carry out unserializing, obtain exiting boarding Using when the first memory object;Obtained first memory object is loaded onto the operation for host's application management boarding application Memory block in;Based on loading result, interface when exiting boarding application is presented.
Specifically, it when detecting the operation of starting boarding application, can be posted using distribution for managing this for host The memory block of the operation of Su Yingyong.In general, the memory block is only just generated in boarding application operation.To only by memory When object is loaded onto the memory block, the boarding application just can star in host's application, namely boarding application is presented Interactive interface.In order to the Interface Reduction applied that will lodge to interface when exiting, the first memory that can will be pre-saved Object is loaded onto the memory block for the operation of host's application management boarding application.Since the first memory object is after serializing Form save, therefore, by the first memory object be loaded onto for host's application management boarding application operation memory block in when, Unserializing can be carried out to the first memory object after the serializing saved in advance, thus when obtaining exiting boarding application First memory object.Then the first memory object obtained after unserializing is loaded onto memory block, so as in place Interface when exiting boarding application is presented in main application.For example, when realization Serializable interface is to realize serializing When, it can be by the way that the serialVersionUID of serialVersionUID and local corresponding entity class in byte stream be carried out Compare, if identical be taken as consistent entity class, unserializing can be carried out, otherwise can refuse to carry out this entity class Unserializing and throw exception.
In some optional implementations of the present embodiment, above-mentioned based on the information saved, presentation is exited boarding and is answered The interface of used time specifically can also include: to carry out unserializing to the second memory object after the serializing saved, be moved back The second memory object when the boarding application out;Resulting second memory object is loaded onto and is used to run the boarding application Memory block in;Based on loading result, interface when exiting boarding application is presented.
Specifically, it when detecting the operation of starting boarding application, can be based on occupied when boarding application operation The size of memory is boarding application distribution for running the memory block of boarding application.In general, the memory block is only applied in boarding It is just generated when operation.To which when being only loaded onto memory object in the memory block, boarding application can just be operated normally. In other words, user can just realize various actions (such as Shopping Behaviors, search row by interactive interface that the boarding is applied For, payment behavior etc.).In order to the Interface Reduction of boarding application to interface when exiting, can will be pre-saved the Two memory objects are loaded onto the memory block for running boarding application.Since the second memory object is with the shape after serializing Formula saves, therefore, can be in advance to being protected when the second memory object being loaded onto the memory block for being used to run boarding application The second memory object after the serializing deposited carries out unserializing, to obtain exiting the second memory object when boarding application. Then the second memory object obtained after unserializing is loaded onto memory block, is moved back so as to be presented in host applies Interface when boarding application out.Wherein, the method for the unserializing is consistent with the method to the first memory object unserializing, This is repeated no more.
In some optional implementations of the present embodiment, based on the information saved, when boarding application is exited in presentation Interface can specifically include: obtain out this document from file indicated by preset path;Acquired file out is added It is loaded onto the corresponding position in the presented interface of boarding application, to show acquired file out in corresponding position.
Specifically, lodge each time application insights when, above-mentioned executing subject can be again empty using storage allocation for boarding Between.In other words, the file that last time runs boarding application will be removed all.In the embodiment as shown in the disclosure, When exiting boarding application since the file of caching to be stored in specified file.Therefore, reduction is applied in order to lodge To operating status when exiting, this document can be obtained out from the file indicated by preset path, then deposits this document It is placed in the memory for application distribution of lodging.Specifically, the location information in the interface that each file has it to be located at, it should Location information for example can be the component identification information of associated interface element.To which above-mentioned executing subject can be based on should File is loaded onto the corresponding position in the presented interface of boarding application by the location information in interface that file is located at, To show acquired file out in the corresponding position.
As a kind of optional implementation of embodiment of the disclosure, mentioned with continued reference to FIG. 3, Fig. 3 shows the disclosure A kind of process 300 of optional implementation of the information processing method of confession.This method specifically includes the following steps:
Step 301, in response to detecting the operation exited from the boarding application for running on host's application, to the first memory pair The first memory object as being serialized, and after saving sequence;
Step 302, the second memory object is serialized, and the second memory object after saving sequence.
Step 303, file is saved into file indicated by preset path.
It should be noted that having no absolute sequencing between step 301,302 and 303.
Step 304, the operation for starting the boarding application in response to detecting, in first after the serializing saved It deposits object and carries out unserializing, obtain exiting the first memory object when the boarding application;By obtained first memory pair As being loaded onto the memory block for the operation for application of lodging described in host's application management.
Step 305, unserializing is carried out to the second memory object after the serializing saved, obtains exiting boarding application When the second memory object;Resulting second memory object is loaded onto the memory block for being used to run boarding application.
Step 306, the file is obtained out from file indicated by preset path;By acquired file load out Corresponding position into the presented interface of boarding application, to show acquired file out in corresponding position.
It should be noted that especially between step 304 and 305, having no absolute elder generation between step 304,305 and 306 Sequence afterwards.
Step 307, based on the first memory object loading result, the second memory object loading result and acquired file out Interface when exiting boarding application is presented in loading result.
The specific implementation of above steps can refer to the specific descriptions of optional implementation corresponding with each step respectively, Details are not described herein.
From figure 3, it can be seen that in the optional implementation, when detecting the operation for exiting boarding application, respectively It saves to the serializing of the first memory object, to the serializing of the second memory object, the file that application generates of lodging to operation to default At the file of path instruction;When detecting the operation of starting boarding application, the first memory object is loaded onto for institute respectively It states in the memory block of the operation for application of lodging described in host's application management, the second memory object is loaded onto is used to run boarding and answers The corresponding position in the presented interface of boarding application is loaded onto memory block, by file, so as to more complete Restore exit boarding application when interface so that boarding apply host application in operation it is more stable, reduce it is various The risk of loss of data, to further increase user experience.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of information processing method.The information processing The process 400 of method, comprising the following steps:
Step 401, it in response to detecting the operation exited from the boarding application for running on host's application, obtains and saves use In the information of the current operating status of instruction boarding application.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of information processing method is in response to inspection It measures after running on the operation that the boarding application that host applies is exited, available and preservation is used to indicate working as boarding application Preceding running state information.
Herein, which for example may include the application identities for the boarding application that user is accessed and exits The interface identification at the interface that the boarding is presented when applying.To when user continues to access the boarding in application, can be according to this Interface when exiting boarding application is presented in application identities and interface identification.
Step 402, in response to detecting that the operation of starting boarding application starts boarding based on the information saved Using and present exit boarding application when interface.
In the present embodiment, above-mentioned executing subject may also listen for user pass through host application starting boarding application behaviour Make.Specifically, the interface predetermined position setting that can be applied in host in above-mentioned host's application is used to indicate each boarding application Entrance interface element, the interface element for example can for boarding application icon.It is used to indicate the entrance of each boarding application Interface element usually with boarding application identities it is associated.To when above-mentioned executing subject detects that user is set by mobile terminal When standby click is used to indicate the interface element of the entrance of each boarding application, it can determine that starting is corresponding with boarding application identities The operation of boarding application.
Then, above-mentioned executing subject can be according to current operating status pre-saving, being used to indicate boarding application Information, start the boarding application, while interface when presentation user exits boarding application.As an example, above-mentioned execution master Interface when exiting boarding application can be presented according to the interface identification corresponding with boarding application identities pre-saved in body.
In the present embodiment, step 401, the specific processing of step 402 and its bring beneficial effect can be corresponding referring to Fig. 2 The associated description of the implementation of step 201 and step 202 in embodiment, details are not described herein.
Step 403, start the operation of the boarding application in response to being not detected in preset time period, what deletion was saved It is used to indicate the information of the current operating status of boarding application.
In the present embodiment, above-mentioned preset time period for example may include 20 minutes, half an hour etc..The preset time period can Think default setting, or user setting.Above-mentioned executing subject is not detected within a preset period of time starts the boarding When the operation of application, the information of the current operating status for being used to indicate boarding application saved can be deleted.So, Memory space can be caused to reduce to avoid memory space is occupied for a long time.
Figure 4, it is seen that embodiment of the disclosure is shown default unlike embodiment shown in Fig. 2 The processing step when operation of starting boarding application is not detected in period, so as to be users' mobile end equipment or right Host's application provides the server supported and discharges more memory spaces, it is also possible that user carries out diversification to boarding application Setting improves user experience.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, present disclose provides a kind of information processing apparatus The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in figure 5, information processing unit 500 provided in this embodiment includes storage unit 501 and start unit 502. Wherein, storage unit 501 are configured in response to detect the operation exited from the boarding application for running on host's application, obtain It takes and saves the information for being used to indicate the current operating status of boarding application, wherein the operation for application of lodging depends on host Using;Start unit 502 is configured in response to detect the operation of starting boarding application, is used to indicate based on what is saved The information for the current operating status applied of lodging, starting boarding, which applies simultaneously to present, exits interface when boarding is applied.
In the present embodiment, the specific processing of the storage unit 501 in information processing unit 500 and start unit 502 and Its bring beneficial effect can referring to the associated description of the implementation of step 201 and step 202 in Fig. 2 corresponding embodiment, Details are not described herein.
In some optional implementations of the present embodiment, start unit 502 is further configured to: starting boarding is answered With, and boarding application is restored to the boarding and applies operating status in the operation exited.
In some optional implementations of the present embodiment, it is used to indicate the letter of the current operating status of boarding application Breath includes at least one of the following: that host applies the first memory object of the operation for managing boarding application;Boarding application operation The second memory object that itself is generated;The file that the operation of boarding application generates.
In some optional implementations of the present embodiment, storage unit 501 is further configured to: to the first memory Object is serialized, and the first memory object after saving sequence;Second memory object is serialized, and saves sequence The second memory object after columnization;And/or file is saved into file indicated by preset path.
In some optional implementations of the present embodiment, start unit 502 is further configured to: to what is saved The first memory object after serializing carries out unserializing, obtains exiting the first memory object when boarding application;It will be acquired The first memory object be loaded onto for host's application management boarding application operation memory block in;Based on loading result, present Exit interface when boarding application.
In some optional implementations of the present embodiment, start unit 502 is further configured to: to what is saved The second memory object after serializing carries out unserializing, obtains exiting the second memory object when boarding application;It will be resulting Second memory object is loaded onto the memory block for running boarding application;Based on loading result, when boarding application is exited in presentation Interface.
In some optional implementations of the present embodiment, start unit 502 is further configured to: from preset path File is obtained out in indicated file;Acquired file out is loaded onto corresponding in the presented interface of boarding application At position, to show acquired file out in corresponding position.
In some optional implementations of the present embodiment, from the boarding of host's application is run on using the operation exited Including to preset the operation that withdrawing mode is exited from the boarding application for running on host's application.
In some optional implementations of the present embodiment, the operation of starting boarding application includes to preset Starting mode Start the operation of host's application.
In some optional implementations of the present embodiment, information processing unit 500 further include: delete unit and (do not show Out), it is configured in response to that the operation of starting boarding application is not detected in preset time period, deletes saved information.
Below with reference to Fig. 6, it illustrates the computer systems for the electronic equipment for being suitable for being used to realize embodiment of the disclosure 600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not function to embodiment of the disclosure and Use scope brings any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution disclosed method Above-mentioned function.It should be noted that computer-readable medium described in the disclosure can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be but unlimited In the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device, or any above combination.Computer can The more specific example for reading storage medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in embodiment of the disclosure can be realized by way of software, can also be passed through The mode of hardware is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor Including storage unit and start unit.Wherein, the title of these units is not constituted to the unit itself under certain conditions It limits, for example, storage unit is also described as " exiting in response to detecting from running on the boarding application that host applies Operation obtains and saves the unit for being used to indicate the information of current operating status of boarding application ".
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, which can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment. Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the electronic equipment When row, so that the electronic equipment: in response to detecting the operation exited from the boarding application for running on host's application, obtaining and protect Deposit the information for being used to indicate the current operating status of boarding application, wherein the operation for application of lodging is applied dependent on host;It rings Ying Yu detects the operation of starting boarding application, and based on the information saved, starting boarding, which is applied and presented, exits boarding application When interface.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of information processing method is used for electronic equipment, comprising:
In response to detecting from the operation exited of boarding application for running on host and applying, obtains and save and be used to indicate described post The information of the current operating status of Su Yingyong, wherein the operation of the boarding application is applied dependent on the host;
The operation for starting the boarding application in response to detecting starts the boarding application based on the information saved And interface when exiting the boarding application is presented.
2. according to the method described in claim 1, wherein, the starting boarding, which is applied and presented, exits the boarding application When interface, comprising:
Start boarding application, and the boarding application is restored to the boarding and applies operation in the operation exited State.
3. according to the method described in claim 1, wherein, the current operating status for being used to indicate the boarding application Information includes at least one of the following:
The host applies the first memory object of the operation for managing the boarding application;
The boarding application runs the second memory object itself generated;
The file that the operation of the boarding application generates.
4. according to the method described in claim 3, wherein, saving the acquired information, comprising:
First memory object is serialized, and the first memory object after saving sequence;
Second memory object is serialized, and the second memory object after saving sequence;And/or
The file is saved into file indicated by preset path.
5. according to the method described in claim 4, wherein, described based on the information saved, the boarding application is exited in presentation When interface, comprising:
Unserializing is carried out to the first memory object after the serializing saved, obtains exiting first when the boarding application Memory object;
Obtained first memory object is loaded onto the memory block of the operation for application of lodging described in host's application management In;
Based on loading result, interface when exiting the boarding application is presented.
6. according to the method described in claim 4, wherein, described based on the information saved, the boarding application is exited in presentation When interface, comprising:
Unserializing is carried out to the second memory object after the serializing saved, obtains exiting second when the boarding application Memory object;
Resulting second memory object is loaded onto the memory block for being used to run the boarding application;
Based on loading result, interface when exiting the boarding application is presented.
7. according to the method described in claim 4, wherein, described based on the information saved, the boarding application is exited in presentation When interface, comprising:
The file is obtained out from file indicated by the preset path;
Acquired file out is loaded onto the corresponding position in the presented interface of the boarding application, in corresponding position Place shows acquired file out.
It is described from the operation packet for running on the boarding application that host applies and exiting 8. according to the method described in claim 1, wherein It includes to preset the operation that withdrawing mode is exited from the boarding application for running on host's application.
9. according to the method described in claim 1, wherein, the operation of the starting boarding application includes to preset starting side Formula starts the operation of host's application.
10. according to the method described in claim 1, wherein, the method also includes:
The operation for starting the boarding application in response to being not detected in preset time period, deletes the information saved.
11. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-10.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor The now method as described in any in claim 1-10.
CN201811635218.9A 2018-12-29 2018-12-29 Information processing method, electronic equipment and computer-readable medium Pending CN109739575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635218.9A CN109739575A (en) 2018-12-29 2018-12-29 Information processing method, electronic equipment and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635218.9A CN109739575A (en) 2018-12-29 2018-12-29 Information processing method, electronic equipment and computer-readable medium

Publications (1)

Publication Number Publication Date
CN109739575A true CN109739575A (en) 2019-05-10

Family

ID=66362266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635218.9A Pending CN109739575A (en) 2018-12-29 2018-12-29 Information processing method, electronic equipment and computer-readable medium

Country Status (1)

Country Link
CN (1) CN109739575A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476637A (en) * 2020-04-07 2020-07-31 百度在线网络技术(北京)有限公司 Commodity information management method, host platform and commodity information management assembly

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368258A (en) * 2011-09-30 2012-03-07 广州市动景计算机科技有限公司 Webpage page caching management method and system
CN106250063A (en) * 2016-08-16 2016-12-21 广州视睿电子科技有限公司 Page turning method and device and writing terminal
CN106873850A (en) * 2017-01-06 2017-06-20 深圳市金立通信设备有限公司 A kind of method and terminal of control page jump
CN107147729A (en) * 2017-05-31 2017-09-08 广州云移信息科技有限公司 Intelligent page skipping method and system based on two-dimensional code
CN107544825A (en) * 2017-08-11 2018-01-05 北京安云世纪科技有限公司 The processing method of merchandise news, device and terminal in circle of friends
CN107678872A (en) * 2017-09-15 2018-02-09 广州视源电子科技股份有限公司 Processing method and device of electronic whiteboard
CN107943593A (en) * 2018-01-03 2018-04-20 上海传英信息技术有限公司 A kind of memory automatic cleaning method for intelligent terminal
CN108628673A (en) * 2018-05-07 2018-10-09 上海掌门科技有限公司 Data processing method, electronic equipment and computer-readable medium
CN108932147A (en) * 2018-06-27 2018-12-04 上海掌门科技有限公司 Method and apparatus for switching boarding application
CN108984225A (en) * 2018-06-19 2018-12-11 上海掌门科技有限公司 The method and apparatus of quick start boarding application

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368258A (en) * 2011-09-30 2012-03-07 广州市动景计算机科技有限公司 Webpage page caching management method and system
CN106250063A (en) * 2016-08-16 2016-12-21 广州视睿电子科技有限公司 Page turning method and device and writing terminal
CN106873850A (en) * 2017-01-06 2017-06-20 深圳市金立通信设备有限公司 A kind of method and terminal of control page jump
CN107147729A (en) * 2017-05-31 2017-09-08 广州云移信息科技有限公司 Intelligent page skipping method and system based on two-dimensional code
CN107544825A (en) * 2017-08-11 2018-01-05 北京安云世纪科技有限公司 The processing method of merchandise news, device and terminal in circle of friends
CN107678872A (en) * 2017-09-15 2018-02-09 广州视源电子科技股份有限公司 Processing method and device of electronic whiteboard
CN107943593A (en) * 2018-01-03 2018-04-20 上海传英信息技术有限公司 A kind of memory automatic cleaning method for intelligent terminal
CN108628673A (en) * 2018-05-07 2018-10-09 上海掌门科技有限公司 Data processing method, electronic equipment and computer-readable medium
CN108984225A (en) * 2018-06-19 2018-12-11 上海掌门科技有限公司 The method and apparatus of quick start boarding application
CN108932147A (en) * 2018-06-27 2018-12-04 上海掌门科技有限公司 Method and apparatus for switching boarding application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
殷继彬主编: "《"接触+非接触"式交互界面的设计与研究》", 31 July 2018, 云南大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476637A (en) * 2020-04-07 2020-07-31 百度在线网络技术(北京)有限公司 Commodity information management method, host platform and commodity information management assembly

Similar Documents

Publication Publication Date Title
CN108628673A (en) Data processing method, electronic equipment and computer-readable medium
CN109471695A (en) Method and apparatus for more new data
CN109347720A (en) It determines group member, send the method and apparatus that the request of group is added
CN108228906B (en) Method and apparatus for generating information
US11586772B2 (en) Method and device for displaying information
US20090063175A1 (en) Methods and systems for providing multiple support options
CN106101256B (en) Method and apparatus for synchrodata
CN109684578A (en) Method and apparatus for showing information
CN109669596A (en) Method and apparatus for showing chat message
CN109447712A (en) A kind of consultation method, device, electronic equipment and storage medium
CN109525855A (en) Method and apparatus for handling information
CN109783197A (en) Dispatching method and device for program runtime environment
CN108920238A (en) Operate method, electronic equipment and the computer-readable medium of application
CN109918146A (en) Page generation method and device
CN112347386B (en) Resource configuration method and device adopting restriction rule and electronic equipment
CN109862100A (en) Method and apparatus for pushed information
CN110502699A (en) Method and apparatus for obtaining information
CN108334516A (en) Information-pushing method and device
CN109471976A (en) Processing method, device, electronic equipment and the storage medium of web page operation data
CN108600780A (en) Method for pushed information
CN108319542A (en) Information processing method, apparatus and system
CN110147184B (en) Navigation backspacing method and control
CN109739575A (en) Information processing method, electronic equipment and computer-readable medium
CN108984260B (en) Method and apparatus for handling information
CN109408647A (en) Method and apparatus for handling information

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

Application publication date: 20190510

WD01 Invention patent application deemed withdrawn after publication