CN107526737A - A kind of method of wechat webpage view displaying - Google Patents

A kind of method of wechat webpage view displaying Download PDF

Info

Publication number
CN107526737A
CN107526737A CN201610450959.4A CN201610450959A CN107526737A CN 107526737 A CN107526737 A CN 107526737A CN 201610450959 A CN201610450959 A CN 201610450959A CN 107526737 A CN107526737 A CN 107526737A
Authority
CN
China
Prior art keywords
wechat
webpage
parameter
hash
target pages
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
CN201610450959.4A
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.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing 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 TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201610450959.4A priority Critical patent/CN107526737A/en
Publication of CN107526737A publication Critical patent/CN107526737A/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
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a kind of method of wechat webpage view displaying, this method includes:Open wechat Webpage;Hash arrays record the parameter of the wechat webpage;Each corresponding Hash array of wechat webpage;Control goes to the target wechat page;Read the Hash arrays corresponding to the target pages;Show the final state of the target pages.Technical solution of the present invention can directly reach the last leave state of browsed wechat webpage, avoid prolonged find from finally browsing the time that position is spent, and browse web page provision just for wechat user, improve the efficiency that webpage is browsed using wechat.

Description

A kind of method of wechat webpage view displaying
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method of wechat webpage view displaying.
Background technology
With the development of development of Mobile Internet technology, user more and more using mobile chat tool (MIM), passes through MIM To send instant character, picture or video information, or even carry out the real time phone call of voice.MIM service providers pay much attention to The development of this business, the accumulation of mobile Internet customers is realized by MIM, user's base is gradually consolidated by flow operation Plinth, and the development of the business such as mobile Internet advertisement, ecommerce, door, internet finance and the Internet community is driven, so as to Realize the value management of mobile Internet flow.
In numerous MIM products, wechat instant messenger is that one kind can allow exchange both sides to establish certain on network The real-time communication software of chat channel, the chat work(substantially such as data contact person list, presence, history chat record can be provided Energy.User using instant messenger can it is economical, send the information such as word, picture, video conveniently by internet.With Family can also be enjoyed by wechat similar to conventional telecommunications operator provided be similar to short message, multimedia message single-candidate business, and And it can also benefit from more additional increment communication service.The financial report data in 2015 announced according to Tentent Science company, it is micro- Monthly any active ues have reached 5.49 hundred million to letter, and covering country is more than 200, and for covering language more than 20 kinds, Mobile solution docking is super 85,000 is crossed, has become the important channel of mobile social activity, it has also become the pith of people's life.
In the various functions of wechat, in addition to sending and receiving information realization information for free and transmitting, even more internet Marketing, shopping, medium, the carrier paid, and browsed web content is one of very important function.Following several respects factor pair Wechat web page browsing proposes huge demand:
1st, public number service.Based on the powerful user base of wechat, enterprise issues wechat public number one after another, to expand city Field influence power.By wechat public's account channel, media, marketing, customer service, public clothes are brought for the actual operation of economic entity The helps such as business are applied, and are given brand promotion to more than one hundred million wechat users, are reduced publicity cost, improve brand recognition, make The more brand image of influence power, effectively realizes O2O and flow is cashed.With the enhancing of the influence power of wechat public number, Possessing the public number of bean vermicelli and flow can develop more and more rapidly, further promote user's bean vermicelli quantity and flow scale faster Increase.
2nd, wechat is done shopping.Have benefited from the continuous development of mobile Internet application and innovation, China's E-Commerce Market is also confused Confused layout mobile terminal.Wechat shopping is quickly grown, and covering type of merchandize is extensive, is attracted due to the convenience that merchandise news is propagated Substantial amounts of purchase user.Meanwhile the operation cost of wechat shopping platform is low, the low cost sale of product is ensure that, there is valency Lattice competitiveness;The technical threshold of wechat shopping platform is low, can save substantial amounts of cost of human resources.Wechat shopping communication and It is convenient to pay, and the interaction of businessman and buyer can be completed in wechat, can also complete to place an order and pay, greatly facilitate interconnection The flow of net purchase thing.So wechat shopping platform breeds huge business opportunity.
3rd, wechat public platform is also good dissemination of information mode.Wechat can publicize to the field of specialty, be User transmits the media content of closed loop, obtains the targeted customer of high attention rate.Wechat user can select according to the interest of oneself Select different professional contents to be paid close attention to, and then form the information resources access of user oneself.
The realization of above-mentioned wechat function is required for by wechat web page browsing function, can be from limited wechat information Obtain the huge resource on backstage.
But the web page browsing function built in wechat is single, it is merely able to simply be accessed and browsed control, but it is multiple Miscellaneous web page browsing function can not provide, such as:Web page browsing, which retreats, returns to previous page, it will restarts at the top of webpage Browse, the position finally browsed can not be recovered.If web page contents are longer, user needs to take a long time to carry out searching ability Enough finding last time positions away from.This is due to that built-in function is limited wechat client in itself, in actual use can shadow The efficiency that user browses wechat webpage is rung, reduces the usage experience using wechat client.
The content of the invention
The present invention provides a kind of method of wechat webpage view displaying, saves the last of wechat web page browsing and leaves shape State, avoids prolonged find from finally browsing the time that position is spent, and browses web page provision just for wechat user, enhancing is used Family browses the experience of webpage using wechat, improves the efficiency that webpage is browsed using wechat.
Technical scheme provides a kind of method of wechat webpage view displaying, comprises the following steps:
Open wechat Webpage;
Hash arrays record the parameter of the wechat webpage;
Control goes to the target wechat page;
Read the Hash arrays corresponding to the target pages;
Show the final state of the target pages.
Further, the Hash arrays record the final parameter of the wechat webpage, further comprise:
Each corresponding Hash array of wechat webpage, to record the parameter of the wechat webpage.
Further, the parameter of wechat webpage is read per 100ms, and stores the key assignments into Hash arrays.
Further, the parameter of the wechat webpage includes but is not limited to JavaScript scripts, CSS attributes and image The parameter of label.
Further, the control goes to the target wechat page and includes advancing, backs to up to target pages, and refreshes this page Face.
Further, after wechat built-in browser reaches the target pages, judge that this webpage network address whether there is in going through In Records of the Historian record, it is judged as new web page if being not present.
Further, proceed to up to new target pages, the initial key assignments of Hash arrays is 0;
After refreshing this page, the key assignments of Hash arrays keeps constant.
Further, if being judged as new web page, this web page address is added in historical record.
Further, according to the key assignments of the Hash arrays of reading, it is shown as the state when target pages finally leave.
Further, after wechat built-in browser reads web page contents, with reference to the webpage corresponding to the key assignments of Hash arrays Parameter, adjustment webpage are the state finally left.
Technical solution of the present invention saves the last leave state of web page browsing using Hash arrays, returns to what is accessed Webpage can recover finally to leave rapidly mode of operation during webpage, avoid taking a long time find it is last browse position, be Wechat user browses wechat web page provision just, and enhancing user browses the experience of webpage using wechat, improves and is browsed using wechat The efficiency of webpage.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram that wechat webpage view is shown in the embodiment of the present invention one.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Embodiment one:The method of wechat webpage view displaying.As shown in figure 1, the flow of this method comprises the following steps:
Step 101, open wechat Webpage.
Step 102, Hash arrays record browse the parameter of wechat webpage.
Each corresponding Hash array of wechat webpage, to record the parameter of the wechat webpage;
The parameter of wechat webpage is read per 100ms, and stores the key assignments into Hash arrays;
The parameter of wechat webpage includes but is not limited to the parameter of JavaScript scripts, CSS attributes and image labels.
Step 103, control go to the target wechat page.
Control, which goes to the target wechat page, to be included advancing, backs to up to target pages, and refreshes the operation of this page;
A target web is often reached, all corresponds to a Hash array.
Hash arrays corresponding to the reached target pages of step 104, reading.
After wechat built-in browser reaches the target pages, judge that this webpage network address whether there is in historical record, It is judged as new web page if being not present;
If the address of target wechat webpage is already present in historical record, the key assignments of Hash arrays has stored Value;
If being judged as new web page, this web page address is added in historical record;
Proceed to and reach new target pages, the initial key assignments of Hash arrays is 0;
After refreshing this page, the key assignments of Hash arrays keeps constant.
Step 105, the final state for showing the target pages.
According to the key assignments of the Hash arrays of reading, state when target pages finally leave is shown as.
After wechat built-in browser reads web page contents, the webpage parameter with reference to corresponding to the key assignments of Hash arrays, adjustment Webpage is the state finally left.
Technical scheme in above-described embodiment preserves the information that browses of wechat webpage using Hash arrays, and return had accessed Mode of operation of wechat webpage when can recover finally to leave webpage rapidly, avoid taking a long time finding and last browse position Put, wechat web page provision is browsed just for wechat user, enhancing user browses the experience of webpage using wechat, and raising uses wechat Browse the efficiency of webpage.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. method of wechat webpage view displaying, it is characterised in that comprise the following steps:
    Open wechat Webpage;
    Hash arrays record the parameter of the wechat webpage;
    Control goes to the target wechat page;
    Read the Hash arrays corresponding to the target pages;
    Show the final state of the target pages.
  2. 2. according to the method for claim 1, it is characterised in that the Hash arrays record the last ginseng of the wechat webpage Number, further comprises:
    Each corresponding Hash array of wechat webpage, to record the parameter of the wechat webpage.
  3. 3. method according to claim 1 or 2, it is characterised in that:
    The parameter of wechat webpage is read per 100ms, and stores the key assignments into Hash arrays.
  4. 4. the method according to claim 1 or 3, it is characterised in that:
    The parameter of the wechat webpage includes but is not limited to the parameter of JavaScript scripts, CSS attributes and image labels.
  5. 5. according to the method for claim 1, it is characterised in that:
    The control, which goes to the target wechat page, to be included advancing, backs to up to target pages, and refreshes this page.
  6. 6. according to the method for claim 5, it is characterised in that:
    After wechat built-in browser reaches the target pages, judge that this webpage network address whether there is in historical record, if not In the presence of being then judged as new web page.
  7. 7. the method according to claim 1 or 6, it is characterised in that:
    Proceed to and reach new target pages, the initial key assignments of Hash arrays is 0;
    After refreshing this page, the key assignments of Hash arrays keeps constant.
  8. 8. according to the method for claim 6, it is characterised in that:
    If being judged as new web page, this web page address is added in historical record.
  9. 9. according to the method for claim 1, it is characterised in that:
    According to the key assignments of the Hash arrays of reading, the state when target pages finally leave is shown as.
  10. 10. the method according to claim 1 or 9, it is characterised in that:
    After wechat built-in browser reads web page contents, the webpage parameter with reference to corresponding to the key assignments of Hash arrays, webpage is adjusted For the state finally left.
CN201610450959.4A 2016-06-21 2016-06-21 A kind of method of wechat webpage view displaying Pending CN107526737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610450959.4A CN107526737A (en) 2016-06-21 2016-06-21 A kind of method of wechat webpage view displaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610450959.4A CN107526737A (en) 2016-06-21 2016-06-21 A kind of method of wechat webpage view displaying

Publications (1)

Publication Number Publication Date
CN107526737A true CN107526737A (en) 2017-12-29

Family

ID=60733942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610450959.4A Pending CN107526737A (en) 2016-06-21 2016-06-21 A kind of method of wechat webpage view displaying

Country Status (1)

Country Link
CN (1) CN107526737A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814078A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Accurate webpage-positioning method for mobile communication equipment terminals
US20120005573A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Automatically adjusting a webpage
CN102982044A (en) * 2011-09-07 2013-03-20 腾讯科技(深圳)有限公司 Method and device for webpage browsing
CN103106196A (en) * 2011-11-09 2013-05-15 腾讯科技(深圳)有限公司 Method and device for restoring browser webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814078A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Accurate webpage-positioning method for mobile communication equipment terminals
US20120005573A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Automatically adjusting a webpage
CN102314436A (en) * 2010-06-30 2012-01-11 国际商业机器公司 Webpage automatic adjusting method and system
CN102982044A (en) * 2011-09-07 2013-03-20 腾讯科技(深圳)有限公司 Method and device for webpage browsing
CN103106196A (en) * 2011-11-09 2013-05-15 腾讯科技(深圳)有限公司 Method and device for restoring browser webpage

Similar Documents

Publication Publication Date Title
JP6725549B2 (en) Save communication session state
CN106169140A (en) Advertisement placement method and system
US8832270B2 (en) User vacillation detection and response
CN104462455A (en) Method and device for displaying and processing network data
CN104050568A (en) Method and system for commodity picture displaying
CN105373608A (en) Input method based scene-mode content pushing method and system
CN104025083A (en) Method and apparatus for providing web pages
CN110175306A (en) A kind of processing method and processing device of advertising information
CN106445947A (en) Data searching method and system
US20160267499A1 (en) Website personalization based on real-time visitor behavior
CN107679214A (en) Link localization method, device, terminal and computer-readable recording medium
US20160196579A1 (en) Dynamic deep links based on user activity of a particular user
US20150081419A1 (en) Method and system for implementing dynamic link tracking
CN103858121A (en) Method and system for making Web application obtain database change
WO2021098310A1 (en) Video generation method and device, and terminal and storage medium
US20140156723A1 (en) Redirecting Information
CN109522473B (en) Method for recommending associated information, terminal and server thereof
US20140289054A1 (en) Behavioral tracking system and method in support of high-engagement communications
JP2018190462A (en) Providing device, providing method, and providing program
JP2018185575A (en) Provision device, provision method and provision program
US20180330419A1 (en) Method and Apparatus of Providing Brand List Information
CN107239268A (en) A kind of method for processing business, device and intelligent terminal
CN111966428B (en) Page processing method and device and page backtracking method and device
CN107526737A (en) A kind of method of wechat webpage view displaying
CN107729157A (en) A kind of method and system for replicating and pasting wechat web page contents

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: 20171229

WD01 Invention patent application deemed withdrawn after publication