CN110309450A - A kind of method and apparatus of user behavior guidance - Google Patents

A kind of method and apparatus of user behavior guidance Download PDF

Info

Publication number
CN110309450A
CN110309450A CN201810146174.7A CN201810146174A CN110309450A CN 110309450 A CN110309450 A CN 110309450A CN 201810146174 A CN201810146174 A CN 201810146174A CN 110309450 A CN110309450 A CN 110309450A
Authority
CN
China
Prior art keywords
data
page
suspension
current page
application program
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
CN201810146174.7A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810146174.7A priority Critical patent/CN110309450A/en
Publication of CN110309450A publication Critical patent/CN110309450A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and apparatus of user behavior guidance, are related to field of computer technology.The suspension data of application program when one specific embodiment of this method includes: acquisition and caches suspension;The page data and operation data of operation pages when the suspension data include: suspension;When being again started up the application program, judge whether the current page of the application program and the operation pages are identical according to the page data;If the current page is different from the operation pages, the page data and operation data are shown in the current page.The embodiment shows the operation behavior when user's suspension when can be again started up application program after suspension, guidance user arouses state when suspension, reduces the time that user searches search, improves user experience.

Description

A kind of method and apparatus of user behavior guidance
Technical field
The present invention relates to the method and apparatus that field of computer technology more particularly to a kind of user behavior guide.
Background technique
With becoming increasingly popular for mobile device, mobile application is used by more and more people.However mobile device can be with When the advantage that moves everywhere but also mobile device network state is unstable.If user just in browsing pages or is operated When unexpected suspension, the data that user is browsing are interested content for users, are ratio for application developer More valuable recommendation resource.Data when suspension use, it will have to user experience and greatly improve and improve.
In the prior art, mostly not to suspension when user relevant operating data record and cache.There are also In technology, the localization storage of data is carried out when no network, local data is read in the case where there is network.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
If 1) without recording and caching, the operation behavior of user when can not know suspension;
2) when the prior art is localized storage, since the data of storage can not timely update, there is network In the case of the poor in timeliness of local data that reads.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of user behavior guidance, by obtaining and caching The suspension data of application program when suspension can show operation row when user's suspension when user is again started up application program For guidance user arouses state when suspension, reduces the time that user searches search, improves user experience.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of side of user behavior guidance is provided Method, comprising:
The suspension data of application program when obtaining and caching suspension;Operation pages when the suspension data include: suspension Page data and operation data;
When being again started up the application program, current page and the institute of the application program are judged according to the page data Whether identical state operation pages;
If the current page is different from the operation pages, the page data and operation are shown in the current page Data.
Optionally, after the current page shows the page data and operation data, further includes:
When listening to the first trigger event, the operation pages are jumped to from the current page.
Optionally, the operation pages are jumped to from the current page, comprising:
It is constructed according to the page data and view controller interface is presented;
According to the operation data, showing interface data are obtained;
Based on the showing interface data, interface layout is carried out to the view controller interface.
Optionally, after the current page shows the page data and operation data, further includes:
Delete the suspension data cached.
Optionally, the page data includes: the title of the operation interface;The operation data is used when including: suspension Operation object of the family in operation pages.
Optionally, the operation data includes: the pictorial information of the operation object.
Optionally, the page data and operation data are shown in the current page using bullet layer.
Optionally, the method for the user behavior guidance of the embodiment of the present invention further include: in the bullet layer display reminding information.
Optionally, the method for the user behavior guidance of the embodiment of the present invention further include:
When listening to the second trigger event, deletion or the hidden bullet layer.
Optionally, the suspension data of application program when caching suspension, comprising: object is converted into two by the suspension data System stream file;The binary stream file is saved to local data base;
Before judging whether the current page of the application program and the operation pages are identical according to the page data, The binary stream file is obtained from the local data base, the binary stream document analysis is converted into target data The data of structure.
Another aspect according to an embodiment of the present invention provides a kind of device of user behavior guidance, comprising:
Data buffer storage and read module, the suspension data of application program when obtaining and caching suspension;The suspension data packet It includes: the page data and operation data of operation pages when suspension;
User interactive module when being again started up the application program, judges the application program according to the page data Current page and the operation pages it is whether identical;If the current page is different from the operation pages, described current The page shows the page data and operation data.
Optionally, after the current page shows the page data and operation data, the user interactive module It is also used to:
When listening to the first trigger event, the operation pages are jumped to from the current page.
Optionally, the operation pages are jumped to from the current page, comprising:
It is constructed according to the page data and view controller interface is presented;
According to the operation data, showing interface data are obtained;
Based on the showing interface data, interface layout is carried out to the view controller interface.
Optionally, after the current page shows the page data and operation data, the data buffer storage and reading Modulus block is also used to:
Delete the suspension data cached.
Optionally, the page data includes: the title of the operation interface;The operation data is used when including: suspension Operation object of the family in operation pages.
Optionally, the operation data includes: the pictorial information of the operation object.
Optionally, the user interactive module shows the page data and operand in the current page using bullet layer According to.
Optionally, the user interactive module is also used to: in the bullet layer display reminding information.
Optionally, the user interactive module is also used to:
When listening to the second trigger event, deletion or the hidden bullet layer.
Optionally, the suspension data of application program when the data buffer storage and read module cache suspension, comprising: will be described Object is converted into binary stream file by suspension data;The binary stream file is saved to local data base;
The user interactive module according to the page data judge the application program current page and the operation Before whether the page is identical, the data buffer storage and read module obtain the binary stream file from the local data base, The binary stream document analysis is converted into the data with target data structure.
Other side according to an embodiment of the present invention provides a kind of electronic equipment of user behavior guidance, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The method that device realizes the user behavior guidance that first aspect of the embodiment of the present invention provides.
Still another aspect according to an embodiment of the present invention provides a kind of computer-readable medium, is stored thereon with calculating Machine program realizes the side for the user behavior guidance that first aspect of the embodiment of the present invention provides when described program is executed by processor Method.
One embodiment in foregoing invention have the following advantages that or the utility model has the advantages that
(1) it obtains and caches suspension data, when being again started up, if current page is different from operation pages when suspension, Suspension data are shown in current page, and state when user can be guided to arouse suspension reduces the time that user searches search, mentions High user experience;
(2) operation pages are jumped to from current page when listening to the first trigger event, allow users to quickly position disconnected Operation pages when net;
(3) the suspension data cached are deleted after current page shows page data and operation data, convenient for timely Discharge memory space;
(4) page jump is carried out using factory mode, on the one hand can be improved the scalability of the method for the present invention and reduces generation Code maintenance workload, on the other hand can update the data in the operation pages navigated to, improve data age;
(5) suspension data are shown using bullet layer, does not influence the operation and displaying of current page;
(6) deletion or hidden bullet layer when listening to the second trigger event, convenient for the operation and displaying of current page;
(7) suspension data conversion is convenient for localization and saved at binary stream file.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of the method for user behavior guidance according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of the main flow of the method for the user behavior guidance of alternative embodiment according to the present invention;
Fig. 3 is the schematic diagram of the main modular of the device of user behavior guidance according to an embodiment of the present invention;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention Figure.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
It should be noted that on the basis of without prejudice to spirit of that invention, each embodiment and technology that the present invention refers to Feature can be in any combination.
Fig. 1 is the schematic diagram of the main flow of the method for user behavior guidance according to an embodiment of the present invention, such as Fig. 1 institute Show, the method for user behavior guidance, comprising:
Step S101, acquisition and when caching suspension application program suspension data;Behaviour when the suspension data include: suspension Make the page data and operation data of the page;
Step S102, when being again started up the application program, working as the application program, is judged according to the page data Whether the preceding page is identical as the operation pages;
If step S103, the described current page is different from the operation pages, the page is shown in the current page Data and operation data.
It obtains and caches suspension data, when being again started up, if current page is different from operation pages when suspension, working as The preceding page shows that suspension data, state when user can be guided to arouse suspension reduce the time that user searches search, improves and uses Family experience.
Page data refers to data related with operation pages when suspension, particular content can according to actual needs and Application scenarios are set, if can unique identification suspension when operation pages.In the embodiment of the present invention, after suspension again When secondary starting application program, the operation pages of user's browsing when can determine suspension according to page data accurate the, to prompt The page that user is browsed in last time suspension reduces the time that user searches search.Page data may include: operation interface Title.It should be pointed out that the title that the embodiment of the present invention refers to, refers to the various information that can describe the page, such as page Face title or page function.
Operation data refers to data related with the content that shows of operation pages that user when suspension browses or and user The related data of the operation behavior executed in the operation pages, particular content can according to actual needs with application scenarios into Row setting.Display operation data when being again started up application program in the embodiment of the present invention, after suspension, can further prompt user The relevant information of the page browsed in last time suspension arouses mode of operation when user's last time suspension.Operation data can be with Operation object of the user in operation pages when including: suspension.By taking electric business field as an example, user exists when operation object can be suspension The commodity browsed in operation pages;By taking news media field as an example, user is in operation pages when operation object can be suspension The keyword of a certain news information of browsing.
In some alternative embodiments, operation data may include the pictorial information of operation object.When current page with When operation pages difference when suspension, by the pictorial information in current page display operation object, can visually it prompt With guidance user.
It should be noted that suspension data are when can only include suspension in all data related with user's operation behavior A part, such as operation when suspension data only include suspension in the page title and operation pages of the operation pages of user's browsing The unique identification of object, as long as having the effect for being prompted user behavior and being guided.
It can also include: to listen to the first touching after the current page shows the page data and operation data When hair event, the operation pages are jumped to from the current page.First triggering refers to trigger to be jumped from current page To all events of operation pages when suspension.For example, user clicks on the suspension data or suspension number that current page is shown Reach preset waiting time threshold value etc. according to the display duration in current page.From current page when listening to the first trigger event Operation pages are jumped to, allow users to quickly position operation pages when suspension.
The localization that also some technical solutions carry out data when no network in the prior art stores, and is having network In the case of read local data.Since the data of storage can not timely update, the local read in the case where there is network The poor in timeliness of data.By taking electric business field as an example, when user executes, and the operation of shopping cart is added in a certain commodity, if The operation data of addition shopping cart at this time can be cached, be had when next time by unexpected suspension, this scheme of the prior art When net, shopping cart directly is added in this commodity.But this commodity is possible to offline or out of stock at this time, then is added into Shopping cart is not of practical significance for users.
Based on this, can using factory mode realize jump to suspension from current page when operation pages the step of.Tool Body, the operation pages are jumped to from the current page, comprising: construct according to the page data and view control is presented Device interface;According to the operation data, showing interface data are obtained;Based on the showing interface data, to the view control Device interface carries out interface layout.Page jump is carried out using factory mode, on the one hand can be improved the user of the embodiment of the present invention The scalability of the method for behavioral guidance reduces code maintenance task amount, on the other hand can update in the operation pages navigated to Data, make skip operation have real time and dynamic, to improve data age.
Further, since carrying out page jump and data displaying using factory mode, therefore, the first trigger event (example is generated Such as click bullet layer) when, trigger action does not need to be concerned about the parameter that the interface jumped to and needs are transmitted, and realizes boundary well Decoupling between face, while being conducive to the accuracy for improving page jump and data are shown.
Need first to create a view controller base class using factory mode, other interfaces (are related to all of user's operation View controller interface) it is all to inherit in this base class, some public functions are realized in view controller base class.The present invention In embodiment, view controller base class can carry out page jump in accordance with the following steps and data are shown:
First: the instantiation of jump page is realized according to the class name of transmitting
When listening to the first trigger event and being jumped, the page data (such as Page Name) of caching is transmitted View controller base class is given, the initialization of view controller base class is carried out, obtains base class instance objects, i.e. view controller interface. View controller base class carries out the instantiation at interface according to the page data (such as Page Name) of transmitting, specifically instantiates Journey is packaged in the instance method of view controller base class.The implementation of instantiation can be set according to the actual situation Meter, for example, judging whether it includes some word according to the character string of the page data (such as Page Name) passed over first A is accorded with, if so, being then specifically initialized as: AViewController*a=with the controller deinitialization for belonging to A [AViewController alloc]init]。
After getting view controller interface, by the stack top of view controller interface indentation view control, thus by view Controller interface shows.
Second: server data request and parsing being carried out according to the parameter of transmitting, and carry out interface layout
Operation data when by suspension passes to view controller interface, view controller interface take operation data it Afterwards, operation data is passed into server end, (full name of JSON is server end by JSON according to the operation data of transmitting " JavaScript Object Notation ", means JavaScript object representation, it is a kind of based on text, independence In the lightweight data interchange format of language) the showing interface data of format return to view controller interface, view controller The showing interface data that interface server end returns carry out interface layout, the reproduction at interface and data when realizing suspension.
After the current page shows the page data and operation data, can also delete cached it is described disconnected Network data.It jumps to operation pages and deletes the suspension data cached later, convenient for release memory space in time.
In some embodiments, the page data and operation data can be shown in the current page using bullet layer. Suspension data are shown using bullet layer, do not influence the operation and displaying of current page.
It, can also be in the bullet layer display reminding information for the ease of preferably guiding user behavior.For example, display reminding Information " this is the operation pages browsed when your last time suspension, key positioning ".
The method of the user behavior guidance of the embodiment of the present invention can also include: to delete when listening to the second trigger event Or the hidden bullet layer.Second trigger event is to refer to all events of triggering deletion or the operation of hidden bullet layer.For example, bullet The close button for closing bullet layer is provided on layer, the event that will click on close button is defined as the second trigger event;Example again Such as, the minimum button for hiding bullet layer is provided in pop-up, the event that will click on minimum button is defined as the second triggering Event.In addition it is also possible to which the event in the region other than the bullet layer of user's click current page is defined as the second trigger event.Prison Deletion or hidden bullet layer when hearing the second trigger event, convenient for the operation and displaying of current page;
The suspension data of application program may include: that object is converted into binary system by the suspension data when caching suspension Stream file;The binary stream file is saved to local data base.The application program is judged according to the page data Before whether current page and the operation pages are identical, the binary stream file is obtained from the local data base, by institute It states binary stream document analysis and is converted into the data with target data structure.By suspension data conversion at binary stream file, Localization is convenient for save.
By iOS system (iOS system be by Apple Inc. develop Mobile operating system) for, obtain suspension data it Afterwards, the attribute in suspension data is stored into dictionary or in array in the form of key Key- value Value, is used NSKeyedArchiver (iOS system provides a kind of data transfer device) is by data existing for dictionary format or data mode Binary stream file is converted into be stored.
Fig. 2 is the schematic diagram of the main flow of the method for the user behavior guidance of alternative embodiment according to the present invention.Such as Fig. 2 Described, the main flow of the method for user behavior guidance includes:
When user starts App (application program), the network state of APP is monitored;
If listened to sometime, APP suspension obtains at this time and caches suspension data;
When being again started up App, if there is net then reads the suspension data of caching, otherwise terminate process;
Judge whether operation pages when current page and the suspension of APP are identical according to suspension data;If they are the same, then terminate Process;Otherwise, using bullet layer the current page display operation page page data and operation data;Bullet layer is according to suspension number According to the simple Dynamic Distribution of progress, Dynamic Distribution is laid out around picture and text, with text exhibition;
Judge whether user clicks bullet layer (judging whether to listen to the first trigger event), if so, from current page Jump to operation pages when suspension;Otherwise, the homepage of APP is shown.Continue the network state of monitoring APP.
Fig. 3 is the schematic diagram of the main modular of the device of user behavior guidance according to an embodiment of the present invention.Such as Fig. 3 institute Show, the device 300 of user behavior guidance includes:
Data buffer storage and read module 301, the suspension data of application program when obtaining and caching suspension;The suspension data The page data and operation data of operation pages when including: suspension;
User interactive module 302 when being again started up the application program, judges described using journey according to the page data Whether the current page of sequence is identical as the operation pages;If the current page is different from the operation pages, work as described The preceding page shows the page data and operation data.
Optionally, after the current page shows the page data and operation data, the user interactive module It is also used to:
When listening to the first trigger event, the operation pages are jumped to from the current page.
Optionally, after the current page shows the page data and operation data, the data buffer storage and reading Modulus block is also used to:
Delete the suspension data cached.
Optionally, the operation pages are jumped to from the current page, comprising:
It is constructed according to the page data and view controller interface is presented;
According to the operation data, showing interface data are obtained;
Based on the showing interface data, interface layout is carried out to the view controller interface.
Optionally, the page data includes: the title of the operation interface;The operation data is used when including: suspension Operation object of the family in operation pages.
Optionally, the operation data includes: the pictorial information of the operation object.
Optionally, the user interactive module shows the page data and operand in the current page using bullet layer According to.
Optionally, the user interactive module is also used to: in the bullet layer display reminding information.
Optionally, the user interactive module is also used to:
When listening to the second trigger event, deletion or the hidden bullet layer.
Optionally, the suspension data of application program when the data buffer storage and read module cache suspension, comprising: will be described Object is converted into binary stream file by suspension data;The binary stream file is saved to local data base;
The user interactive module according to the page data judge the application program current page and the operation Before whether the page is identical, the data buffer storage and read module obtain the binary stream file from the local data base, The binary stream document analysis is converted into the data with target data structure.
Other side according to an embodiment of the present invention provides a kind of electronic equipment of user behavior guidance, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The method that device realizes the user behavior guidance that first aspect of the embodiment of the present invention provides.
Fig. 4 is shown can be using the device for the method or user behavior guidance that the user behavior of the embodiment of the present invention guides Exemplary system architecture 400.
As shown in figure 4, system architecture 400 may include terminal device 401,402,403, network 404 and server 405. Network 404 between terminal device 401,402,403 and server 405 to provide the medium of communication link.Network 404 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 401,402,403 and be interacted by network 404 with server 405, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 401,402,403 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 401,402,403 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to reception To the data such as information query request analyze etc. processing, and by processing result (such as target push information, product letter Breath -- merely illustrative) feed back to terminal device.
It should be noted that the method for the guidance of user behavior provided by the embodiment of the present invention is generally held by server 405 Row, correspondingly, the device of user behavior guidance are generally positioned in server 405.
It should be understood that the number of terminal device, network and server in Fig. 4 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the terminal device for being suitable for being used to realize the embodiment of the present invention Structural schematic diagram.Terminal device shown in Fig. 5 is only an example, function to the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various movements appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.? In such embodiment, which can be downloaded and installed from network by communications portion 509, and/or from can Medium 511 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 501, system of the invention is executed The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program 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.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, 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 above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On 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 wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet It includes: data buffer storage and read module, the suspension data of application program when obtaining and caching suspension;The suspension data include: disconnected The page data and operation data of operation pages when net;User interactive module, when being again started up the application program, according to described Page data judges whether the current page of the application program and the operation pages are identical;If the current page with it is described Operation pages are different, show the page data and operation data in the current page.Wherein, the title of these modules is at certain The restriction to the module itself is not constituted in the case of kind, for example, user interactive module is also described as " obtaining and caching The module of the suspension data of application program when suspension ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes Obtain the method that the equipment includes: user behavior guidance, comprising:
The suspension data of application program when obtaining and caching suspension;Operation pages when the suspension data include: suspension Page data and operation data;
When being again started up the application program, current page and the institute of the application program are judged according to the page data Whether identical state operation pages;
If the current page is different from the operation pages, the page data and operation are shown in the current page Data.
Technical solution according to an embodiment of the present invention,
(1) it obtains and caches suspension data, when being again started up, if current page is different from operation pages when suspension, Suspension data are shown in current page, and state when user can be guided to arouse suspension reduces the time that user searches search, mentions High user experience;
(2) operation pages are jumped to from current page when listening to the first trigger event, allow users to quickly position disconnected Operation pages when net;
(3) the suspension data cached are deleted after current page shows page data and operation data, convenient for timely Discharge memory space;
(4) page jump is carried out using factory mode, on the one hand can be improved the scalability of the method for the present invention and reduces generation Code maintenance workload, on the other hand can update the data in the operation pages navigated to, improve data age;
(5) suspension data are shown using bullet layer, does not influence the operation and displaying of current page;
(6) deletion or hidden bullet layer when listening to the second trigger event, convenient for the operation and displaying of current page;
(7) suspension data conversion is convenient for localization and saved at binary stream file.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention Within.

Claims (22)

1. a kind of method of user behavior guidance characterized by comprising
The suspension data of application program when obtaining and caching suspension;The page of operation pages when the suspension data include: suspension Data and operation data;
When being again started up the application program, according to the page data judge the application program current page and the behaviour Whether identical make the page;
If the current page is different from the operation pages, the page data and operand are shown in the current page According to.
2. the method as described in claim 1, which is characterized in that show the page data and operand in the current page According to later, further includes:
When listening to the first trigger event, the operation pages are jumped to from the current page.
3. method according to claim 2, which is characterized in that jump to the operation pages from the current page, comprising:
It is constructed according to the page data and view controller interface is presented;
According to the operation data, showing interface data are obtained;
Based on the showing interface data, interface layout is carried out to the view controller interface.
4. the method as described in claim 1, which is characterized in that show the page data and operand in the current page According to later, further includes:
Delete the suspension data cached.
5. the method as described in claim 1, which is characterized in that the page data includes: the title of the operation interface;Institute User is stated when operation data includes: suspension in the operation object of operation pages.
6. method as claimed in claim 5, which is characterized in that the operation data includes: the picture letter of the operation object Breath.
7. the method as described in claim 1-6 is any, which is characterized in that show the page in the current page using bullet layer Face data and operation data.
8. the method for claim 7, which is characterized in that further include: in the bullet layer display reminding information.
9. the method for claim 7, which is characterized in that further include:
When listening to the second trigger event, deletion or the hidden bullet layer.
10. the method as described in claim 1, which is characterized in that the suspension data of application program when caching suspension, comprising: will Object is converted into binary stream file by the suspension data;The binary stream file is saved to local data base;
Before judging whether the current page of the application program and the operation pages are identical according to the page data, from institute It states local data base and obtains the binary stream file, the binary stream document analysis is converted into target data structure Data.
11. a kind of device of user behavior guidance characterized by comprising
Data buffer storage and read module, the suspension data of application program when obtaining and caching suspension;The suspension data include: disconnected The page data and operation data of operation pages when net;
User interactive module when being again started up the application program, judges working as the application program according to the page data Whether the preceding page is identical as the operation pages;If the current page is different from the operation pages, in the current page Show the page data and operation data.
12. device as claimed in claim 11, which is characterized in that show the page data and operation in the current page After data, the user interactive module is also used to:
When listening to the first trigger event, the operation pages are jumped to from the current page.
13. device as claimed in claim 12, which is characterized in that jump to the operation pages from the current page, wrap It includes:
It is constructed according to the page data and view controller interface is presented;
According to the operation data, showing interface data are obtained;
Based on the showing interface data, interface layout is carried out to the view controller interface.
14. device as claimed in claim 11, which is characterized in that show the page data and operation in the current page After data, the data buffer storage and read module are also used to:
Delete the suspension data cached.
15. device as claimed in claim 11, which is characterized in that the page data includes: the title of the operation interface; Operation object of the user in operation pages when the operation data includes: suspension.
16. method as claimed in claim 15, which is characterized in that the operation data includes: the picture of the operation object Information.
17. the device as described in claim 11-16 is any, which is characterized in that the user interactive module is using bullet layer in institute It states current page and shows the page data and operation data.
18. device as claimed in claim 17, which is characterized in that the user interactive module is also used to: aobvious in the bullet layer Show prompt information.
19. device as claimed in claim 17, which is characterized in that the user interactive module is also used to:
When listening to the second trigger event, deletion or the hidden bullet layer.
20. device as claimed in claim 11, which is characterized in that applied when the data buffer storage and read module caching suspension The suspension data of program, comprising: object is converted into binary stream file by the suspension data;By the binary stream file It saves to local data base;
The user interactive module according to the page data judge the application program current page and the operation pages Whether it is identical before, the data buffer storage and read module obtain the binary stream file from the local data base, by institute It states binary stream document analysis and is converted into the data with target data structure.
21. a kind of electronic equipment of user behavior guidance characterized by comprising
One or more processors;
Storage device, for storing 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.
22. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any in claim 1-10 is realized when row.
CN201810146174.7A 2018-02-12 2018-02-12 A kind of method and apparatus of user behavior guidance Pending CN110309450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810146174.7A CN110309450A (en) 2018-02-12 2018-02-12 A kind of method and apparatus of user behavior guidance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810146174.7A CN110309450A (en) 2018-02-12 2018-02-12 A kind of method and apparatus of user behavior guidance

Publications (1)

Publication Number Publication Date
CN110309450A true CN110309450A (en) 2019-10-08

Family

ID=68073620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810146174.7A Pending CN110309450A (en) 2018-02-12 2018-02-12 A kind of method and apparatus of user behavior guidance

Country Status (1)

Country Link
CN (1) CN110309450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090821A (en) * 2019-11-22 2020-05-01 贝壳技术有限公司 Method, device, electronic equipment and storage medium for realizing dynamic webpage

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388911A (en) * 2008-11-07 2009-03-18 用友软件股份有限公司 Off-line data collecting method for network application program
CN102215215A (en) * 2010-08-02 2011-10-12 深圳市深信服电子科技有限公司 Method for recovering page and electronic terminal
CN103024038A (en) * 2012-12-12 2013-04-03 北京奇虎科技有限公司 Method and device for browsing webpage
JP2014089631A (en) * 2012-10-31 2014-05-15 Canon Marketing Japan Inc Portable terminal, control method for portable terminal and program
CN104376012A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Web page application reconnection method, web page application reconnection device and web page application reconnection system
CN106776132A (en) * 2016-12-01 2017-05-31 深圳市小满科技有限公司 Data recovery system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388911A (en) * 2008-11-07 2009-03-18 用友软件股份有限公司 Off-line data collecting method for network application program
CN102215215A (en) * 2010-08-02 2011-10-12 深圳市深信服电子科技有限公司 Method for recovering page and electronic terminal
JP2014089631A (en) * 2012-10-31 2014-05-15 Canon Marketing Japan Inc Portable terminal, control method for portable terminal and program
CN103024038A (en) * 2012-12-12 2013-04-03 北京奇虎科技有限公司 Method and device for browsing webpage
CN104376012A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Web page application reconnection method, web page application reconnection device and web page application reconnection system
CN106776132A (en) * 2016-12-01 2017-05-31 深圳市小满科技有限公司 Data recovery system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090821A (en) * 2019-11-22 2020-05-01 贝壳技术有限公司 Method, device, electronic equipment and storage medium for realizing dynamic webpage
CN111090821B (en) * 2019-11-22 2023-10-20 贝壳技术有限公司 Method, device, electronic equipment and storage medium for realizing dynamic webpage

Similar Documents

Publication Publication Date Title
US8219900B2 (en) Programmatically hiding and displaying Wiki page layout sections
US20080010387A1 (en) Method for defining a Wiki page layout using a Wiki page
US20080065769A1 (en) Method and apparatus for argument detection for event firing
CN105426508B (en) Webpage generating method and device
CN111666490A (en) Information pushing method, device, equipment and storage medium based on kafka
US20170177318A1 (en) Dependency-Aware Transformation of Multi-Function Applications for On-Demand Execution
US20230325443A1 (en) Document processing method and apparatus, and electronic device
EP2041673A1 (en) Method for inheriting a wiki page layout for a wiki page
CN108965389A (en) Method for showing information
US11526575B2 (en) Web browser with enhanced history classification
US9805406B2 (en) Embeddable media content search widget
US20220121668A1 (en) Method for recommending document, electronic device and storage medium
CN110119386A (en) Data processing method, data processing equipment, medium and calculating equipment
CN110390063A (en) A kind of data analysis method, device, medium and electronic equipment
CN110502699A (en) Method and apparatus for obtaining information
US20240160650A1 (en) Document processing method and apparatus, device, and medium
WO2020199659A1 (en) Method and apparatus for determining push priority information
CN109992177A (en) User interaction approach, system, electronic equipment and the computer media of electronic equipment
US20160103799A1 (en) Methods and systems for automated detection of pagination
WO2014029358A1 (en) Method and apparatus for switching search engine to repeat search
WO2024087821A1 (en) Information processing method and apparatus, and electronic device
CN109462648A (en) A kind of user behavior tracking, device, equipment and storage medium
CN108845864A (en) A kind of JVM rubbish recovering method and device based on spring frame
WO2023236795A1 (en) Encyclopedia entry processing method and apparatus, and electronic device, medium and program product
CN108959294A (en) A kind of method and apparatus accessing search engine

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