CN106933839B - Page jump method and device - Google Patents

Page jump method and device Download PDF

Info

Publication number
CN106933839B
CN106933839B CN201511018626.6A CN201511018626A CN106933839B CN 106933839 B CN106933839 B CN 106933839B CN 201511018626 A CN201511018626 A CN 201511018626A CN 106933839 B CN106933839 B CN 106933839B
Authority
CN
China
Prior art keywords
jump
display information
page
message
message model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511018626.6A
Other languages
Chinese (zh)
Other versions
CN106933839A (en
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 58 Information Technology Co Ltd
Original Assignee
Beijing 58 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 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201511018626.6A priority Critical patent/CN106933839B/en
Publication of CN106933839A publication Critical patent/CN106933839A/en
Application granted granted Critical
Publication of CN106933839B publication Critical patent/CN106933839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page jump method and a page jump device. The method is carried out at the server side and comprises the following steps: setting jump action attributes associated with the display information for the display information; the jump action attributes include: the type of the target page to be jumped; and sending the display information and the associated jump action attribute to the client. The steps performed by the method at the client side include: receiving display information associated with the attribute of the jump action from a server; when the display information is detected to generate a jump triggering event, acquiring jump action attributes; and if the jump action attribute comprises the type of the target page to be jumped, jumping to the target page according to the type. The invention sets the type information of the target page in the jump action attribute of the display information. If the user clicks the display information with the jump action attribute, the corresponding type of page jump can be realized according to the type of the target page to be jumped, the jump form is diversified, and the user experience is better.

Description

Page jump method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a page jump method and apparatus.
Background
The rapid development of the mobile internet promotes the diversification of Instant Messaging (IM) messages, and the IM messages not only support characters, voice, pictures and videos, but also support click-to-jump, thereby greatly enriching the design of IM Message models. The IM message model refers to the basic framework that forms an IM message.
However, the click-to-jump form of the existing IM message model is single, and only allows jumping to a web page or an inherent function of the mobile terminal. For example: first, a Uniform Resource Locator (URL) to be jumped is embedded in the IM message model, and then a user clicks the IM message to jump to a web page corresponding to the URL. For another example: the method includes the steps that Interface information of an Application Programming Interface (API for short) of a mobile terminal is embedded into an IM message model, and a user can call functions corresponding to the API by clicking IM messages. However, the existing pages are various in types, and besides web pages, native detail pages, dynamic pages, list pages, third-party pages and the like also exist, so that the current IM message model has a large limitation on a click-to-jump mode, and cannot meet the user requirements.
Disclosure of Invention
The invention provides a page jump method and a page jump device, which are used for solving the problem that the click jump form of the current IM message model is single.
In view of the above technical problems, the present invention is achieved by the following technical solutions.
The invention provides a page jump method, which comprises the following steps that: setting jump action attributes associated with the display information for the display information; wherein the jump action attribute comprises: the type of the target page to be jumped; and sending the display information and the jump action attribute associated with the display information to a client so that the client jumps to the target page of the type according to the jump action attribute when the display information has a jump triggering event.
Wherein, still include: and replacing the type of the target page to be jumped included in the jump action attribute with the functional interface information to be jumped.
The setting of the jump action attribute associated with the display information includes: adding display information and a jump link associated with the display information in a preset message model; and setting a jump action attribute for the jump link to generate a message sent to the client.
Wherein, the message model is a card type Instant Messaging (IM) message model.
The invention also provides a page jump method, which comprises the following steps: receiving display information associated with the attribute of the jump action from a server; when the display information is detected to generate a jump triggering event, acquiring the attribute of the jump action; and if the jumping action attribute comprises the type of the target page to be jumped, jumping to the target page according to the type.
Wherein, still include: and if the jump attribute comprises the information of the functional interface to be jumped, calling the corresponding functional interface according to the information of the functional interface.
Wherein the receiving of the presentation information associated with the jump action attribute from the server includes: receiving a message generated by a server according to a preset message model; the message comprises display information and a jump link associated with the display information, and the jump link is provided with a jump action attribute.
Wherein, the message model is a card type Instant Messaging (IM) message model.
The invention also provides a page jump device, which is arranged at the server side and comprises: the setting module is used for setting jump action attributes associated with the display information; wherein the jump action attribute comprises: the type of the target page to be jumped; and the sending module is used for sending the display information and the jump action attribute related to the display information to a client so that the client can jump to the target page of the type according to the jump action attribute when the display information has a jump triggering event.
The present invention also provides a page jump apparatus, the apparatus disposed at a client side includes: the receiving module is used for receiving the display information which is associated with the skip action attribute from the server; the acquisition module is used for acquiring the skip action attribute when the skip triggering event of the display information is detected; and the skipping module is used for skipping to the target page according to the type under the condition that the skipping action attribute comprises the type of the target page to be skipped.
The invention has the following beneficial effects:
the invention sets jump action attribute for the display information, and sets the type information of the target page in the jump action attribute. If the user clicks the display information with the jump action attribute, the corresponding type of page jump can be realized according to the type of the target page to be jumped, the jump form is diversified, and the user experience is better.
Drawings
FIG. 1 is a flowchart of a page jump method performed at a server side according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a page jump method performed at the client side according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of page jumping according to an embodiment of the present invention;
FIG. 4 is a diagram of a card IM message, in accordance with one embodiment of the present invention;
FIG. 5 is a block diagram of a page jump apparatus provided at a server side according to an embodiment of the present invention;
fig. 6 is a structural diagram of a page jump apparatus provided at a client side according to an embodiment of the present invention.
Detailed Description
The invention sets jump action attribute (hereinafter referred to as action attribute) for the display information, wherein the action attribute is based on an action jump protocol; and setting the type information of the target page or the functional interface information to be jumped in the action attribute. If the user clicks the display information with the action attribute, the page jump can be realized according to the type of the target page to be jumped, or the jump can be carried out to the corresponding function according to the functional interface information to be jumped.
Based on the skipping method, the skipping to the page of any appointed type or the skipping to the appointed functional interface can be realized, and the skipping forms are various.
The present invention will be described in further detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Example one
The embodiment provides a page jump method executed on a server side. Fig. 1 is a flowchart of a page jump method performed at a server side according to an embodiment of the present invention.
Step S110, setting jump action attributes associated with the display information; wherein the jump action attribute comprises: and the type of the target page to be jumped.
The type of the target page to be jumped in the jump action attribute can also be replaced by the functional interface information to be jumped. That is, the jump action attribute includes: the type information of the target page to be jumped or the functional interface information to be jumped.
And step S120, sending the display information and the jump action attribute related to the display information to the client.
And after receiving the display information, the client jumps to the target page of the type according to the jump action attribute when the jump triggering event occurs to the display information.
Specifically, a plurality of message models may be preset, and a message model corresponding to the presentation information may be acquired; adding display information and a jump link associated with the display information in a preset message model; and setting a jump action attribute for the jump link to form a message which can be sent to the client, and finally sending the message carrying the display information and the jump action attribute related to the display information to the client.
The message model includes: and displaying the information model and the skip link model. One or more pieces of presentation information can be added in the presentation information model, and jump links associated with the presentation information are added in the jump link model.
The message model includes: a card message model, an IM message model, a card IM message model, or other kinds of message models. For example: the presentation information of the IM client may select the IM message model.
The display information includes: text, pictures, audio, video, etc. The presence information is for example an IM message, a floating layer message, etc.
The jump link includes: a jump action attribute. The jump action attributes include: the address of a target page to be jumped, the page type of the target page to be jumped and the jump type; or the jump action attribute comprises the functional interface information to be jumped. The types of the target pages to be jumped comprise: list pages, detail pages, web pages, login pages, and the like.
The message model may be set by page type, for example: and setting a Web message model, a detail page message model, an active page message model and the like, so that the corresponding message model can be selected according to the type of the target page. A message model common to multiple page types may also be set if desired to reduce code redundancy.
Example two
The embodiment provides a page jump method executed on a client side. Fig. 2 is a flowchart of a page jump method performed at a client side according to an embodiment of the present invention.
In step S210, the display information associated with the jump action attribute is received from the server.
Receiving a message generated by a server according to a preset message model; the message comprises display information and a jump link associated with the display information, and the jump link is provided with a jump action attribute.
The message may be a card IM message. And in the process of displaying the card type IM message, automatically adjusting the display size of the card type IM message according to the size of the display area of the client.
Step S220, when the jump triggering event of the display information is detected, acquiring the jump action attribute associated with the display information.
Displaying the display information in the client, detecting whether the display information generates a jump triggering event, and finishing page jump according to the type of a target page to be jumped or the functional interface information to be jumped, which is contained in the jump action attribute, when the jump triggering event occurs.
Step S230, judging whether the jump action attribute comprises the type of the target page to be jumped; if yes, step S240 is performed, and if no, step S250 is performed.
And S240, jumping to the target page according to the type.
The jump action attribute of the present embodiment adopts a jump protocol based on action.
After the jump triggering event of the display information is detected, the jump protocol is analyzed, the attribute of the jump action is obtained, and page jump of the corresponding type is executed according to the type of the target page.
For example, according to the page jump diagram shown in fig. 3, when the jump action attribute corresponds to a loadpage (jump type), a new page is opened, and then a jump is made to a corresponding list page, detail page, or Web page according to the page type in the jump action attribute being list, detail, or link; when the page type in the skip action attribute is login, skipping to a login page and executing login operation; and when the page type in the jump action attribute is Publish, jumping to a release page.
Step S250, judging whether the jump action attribute comprises the functional interface information to be jumped; if yes, step S260 is executed, and if no, the flow ends.
And step S260, calling a corresponding functional interface according to the functional interface information.
For example: the entry to the card message chat page supports a variety of support from a floating message click to a card message chat page in addition to entering the card message chat page from an IM conversation list and a person centric dynamic message. The floating layer message is the display information in the floating layer window, and the associated jump action attribute can be set for the display information, when a user clicks the floating layer message, the jump protocol of the floating layer message is firstly analyzed, and then the card message chat page is jumped to according to the jump action attribute, so that the server can jump to pages supported by other applications, such as an operation page, only by adjusting the jump action attribute, without changing the client.
For another example: as shown in fig. 4, the card IM message diagram includes a plurality of display information, a phone icon can support a function of making a call, a jump action attribute of the making a call can be dynamically configured, the detail information "view more", and a jump can be made to a page of any specified type according to the jump action attribute.
Since a plurality of pieces of presentation information can be set in a message, a plurality of jump action attributes can be set in the same message. Then, if the message is a card message, the present invention supports multi-zone clicking. The client can jump to any specified type of page without modifying the client, and when jumping to the detail page, the page is obviously smooth, thereby improving the user experience.
EXAMPLE III
The present invention provides a page jump apparatus provided at a server side, and fig. 5 is a structural diagram of a page jump apparatus provided at a server side according to an embodiment of the present invention.
The apparatus provided on the server side includes:
a setting module 510, configured to set a jump action attribute associated with the presentation information; wherein the jump action attribute comprises: and the type of the target page to be jumped. The setup module 510 may also: and replacing the type of the target page to be jumped included in the jump action attribute with the functional interface information to be jumped.
Further, the setting module 510 may add presentation information and a jump link associated with the presentation information in a preset message model; and setting a jump action attribute for the jump link to generate a message sent to the client. The message model is a card type Instant Messaging (IM) message model.
A sending module 520, configured to send the display information and the jump action attribute associated with the display information to a client, so that the client jumps to a target page of the type according to the jump action attribute when a jump trigger event occurs in the display information.
The functions of the apparatus in this embodiment have already been described in the method embodiment shown in fig. 1, so that reference may be made to the related descriptions in the foregoing embodiments for details which are not described in this embodiment.
Example four
The invention provides a page jump device arranged on a client side. Fig. 6 is a structural diagram of a page jump apparatus provided at a client side according to an embodiment of the present invention.
The apparatus provided at a client side includes:
a receiving module 610, configured to receive presentation information associated with a jump action attribute from a server. Further, the receiving module 610 receives a message generated by the server according to a preset message model; the message comprises display information and a jump link associated with the display information, and the jump link is provided with a jump action attribute. The message model is a card type Instant Messaging (IM) message model.
An obtaining module 620, configured to obtain the jump action attribute when it is detected that the jump triggering event occurs to the display information.
A skip module 630, configured to skip to a target page according to a type of the target page to be skipped when the skip action attribute includes the type; and under the condition that the jump attribute comprises the information of the functional interface to be jumped, calling the corresponding functional interface according to the information of the functional interface.
The functions of the apparatus in this embodiment have already been described in the method embodiments shown in fig. 2 to fig. 4, so that reference may be made to the related descriptions in the foregoing embodiments for details in the description of this embodiment, which are not repeated herein.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (8)

1. A page jump method is characterized in that the steps executed on the server side comprise:
setting jump action attributes associated with the display information for the display information; wherein the jump action attribute comprises: the type of the target page to be jumped;
sending the display information and the jump action attribute associated with the display information to a client so that the client jumps to a target page of the type according to the jump action attribute when a jump triggering event occurs in the display information;
the setting of the jump action attribute associated with the display information comprises the following steps:
adding display information and a jump link associated with the display information in a preset message model;
setting a jump action attribute for the jump link to generate a message sent to the client;
the display information includes: text, pictures, audio, and video; the types of the target pages to be jumped comprise: a list page, a details page, a web page, and a login page;
the message model includes: a card message model, an IM message model, or a card IM message model.
2. The method of claim 1, further comprising: and replacing the type of the target page to be jumped included in the jump action attribute with the functional interface information to be jumped.
3. The method of claim 1, wherein the message model is a card Instant Messaging (IM) message model.
4. A page jump method, characterized in that the steps performed at the client side comprise:
receiving display information associated with the attribute of the jump action from a server;
when the display information is detected to generate a jump triggering event, acquiring the attribute of the jump action;
if the jumping action attribute comprises the type of a target page to be jumped, jumping to the target page according to the type;
the receiving of the presentation information associated with the jump action attribute from the server includes:
receiving a message generated by a server according to a preset message model; the message comprises display information and a jump link associated with the display information, and the jump link is provided with a jump action attribute;
the display information includes: text, pictures, audio, and video; the types of the target pages to be jumped comprise: a list page, a details page, a web page, and a login page;
the message model includes: a card message model, an IM message model, or a card IM message model.
5. The method of claim 4, further comprising:
and if the jump attribute comprises the information of the functional interface to be jumped, calling the corresponding functional interface according to the information of the functional interface.
6. The method of any of claims 4-5, wherein the message model is a card Instant Messaging (IM) message model.
7. A page jump apparatus, characterized in that the apparatus provided on a server side comprises:
the setting module is used for setting jump action attributes associated with the display information; wherein the jump action attribute comprises: the type of the target page to be jumped;
the sending module is used for sending the display information and the jump action attribute related to the display information to a client so that the client can jump to the target page of the type according to the jump action attribute when the display information generates a jump triggering event;
the setting module is also used for adding display information and a jump link associated with the display information in a preset message model; setting a jump action attribute for the jump link to generate a message sent to the client;
the display information includes: text, pictures, audio, and video; the types of the target pages to be jumped comprise: a list page, a details page, a web page, and a login page;
the message model includes: a card message model, an IM message model, or a card IM message model.
8. A page jump apparatus, characterized in that said apparatus provided on a client side comprises:
the receiving module is used for receiving the display information which is associated with the skip action attribute from the server;
the acquisition module is used for acquiring the skip action attribute when the skip triggering event of the display information is detected;
the skipping module is used for skipping to the target page according to the type under the condition that the skipping action attribute comprises the type of the target page to be skipped;
the receiving module is also used for receiving a message generated by the server according to a preset message model; the message comprises display information and a jump link associated with the display information, and the jump link is provided with a jump action attribute;
the display information includes: text, pictures, audio, and video; the types of the target pages to be jumped comprise: a list page, a details page, a web page, and a login page;
the message model includes: a card message model, an IM message model, or a card IM message model.
CN201511018626.6A 2015-12-30 2015-12-30 Page jump method and device Active CN106933839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511018626.6A CN106933839B (en) 2015-12-30 2015-12-30 Page jump method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511018626.6A CN106933839B (en) 2015-12-30 2015-12-30 Page jump method and device

Publications (2)

Publication Number Publication Date
CN106933839A CN106933839A (en) 2017-07-07
CN106933839B true CN106933839B (en) 2020-05-26

Family

ID=59440909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511018626.6A Active CN106933839B (en) 2015-12-30 2015-12-30 Page jump method and device

Country Status (1)

Country Link
CN (1) CN106933839B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704499A (en) * 2017-08-28 2018-02-16 深圳市华傲数据技术有限公司 A kind of page jump control method and device of application program
CN107818005A (en) * 2017-09-19 2018-03-20 五八有限公司 The page jump processing method and processing device of application program
CN108427739B (en) * 2018-03-01 2022-04-22 上海哔哩哔哩科技有限公司 Page jump method, server and page jump system
CN108648363B (en) * 2018-05-10 2019-07-30 深圳市丰巢科技有限公司 A kind of method and express delivery cabinet of express delivery cabinet conversion of page
CN108710522A (en) * 2018-05-16 2018-10-26 北京五八信息技术有限公司 A kind of notifier processes method, apparatus, storage medium and computer equipment
CN108848142B (en) * 2018-05-31 2022-05-31 康键信息技术(深圳)有限公司 Message pushing method and device, computer equipment and storage medium
CN110750316A (en) * 2018-07-24 2020-02-04 北京京东尚科信息技术有限公司 Method for processing internal task or input event and application program architecture system
CN109412930A (en) * 2018-09-18 2019-03-01 五八有限公司 A kind of jump method, device, storage medium and the terminal of IM landing page
CN110765375B (en) * 2019-10-22 2022-08-02 普信恒业科技发展(北京)有限公司 Page jump method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291403A (en) * 2008-06-11 2008-10-22 山东泰信电子有限责任公司 Page turning method by subtitle and corner mark based on set-top box of digital television
CN104199865A (en) * 2014-08-15 2014-12-10 北京奇虎科技有限公司 Searching method, client-side and system of custom result providing content provider
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN104484399A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Webpage jump processing method and webpage jump processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291403A (en) * 2008-06-11 2008-10-22 山东泰信电子有限责任公司 Page turning method by subtitle and corner mark based on set-top box of digital television
CN104199865A (en) * 2014-08-15 2014-12-10 北京奇虎科技有限公司 Searching method, client-side and system of custom result providing content provider
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN104484399A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Webpage jump processing method and webpage jump processing device

Also Published As

Publication number Publication date
CN106933839A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106933839B (en) Page jump method and device
CN109792467B (en) Method and system for controlling message transmission of communication group
US9143533B2 (en) Integrating communications
US20150229598A1 (en) Method and system of synchroning an unread message in instant communication
US7966224B1 (en) System, method and computer program product for generating a relationship-based recommendation
CN107229528B (en) Message pushing multiplexing method and device and electronic equipment
CN106911556B (en) Message reminding management method and terminal
CN108965932B (en) Continuous wheat window display method and device
US20150312731A1 (en) Method and system for coordinating a communication response
US10474319B2 (en) Methods and instant messaging client devices for performing IM using menu option
CN106155458B (en) Multimedia message playing method and device
CN110138573B (en) Conference state prompting method, server, intelligent terminal and storage medium
CN103761327A (en) Resource sharing method and system, terminal and server
CN104702782A (en) Short message management method and mobile terminal thereof
US20140150000A1 (en) Method And Apparatus For Calling Back a Program
CN104935500B (en) Friend recommendation method and device based on network call
CN105430317B (en) A kind of video background setting method and terminal device
US10817137B2 (en) Method and system for communication between web browsers, using a unified communication environment
US20160127292A1 (en) Method and system for controlling polling in message conversations across multiple devices
CN106487662B (en) Information sharing method and device
CN110971596A (en) Message monitoring method and device, electronic equipment and machine-readable storage medium
KR20160008552A (en) Web platform with select-to-call functionality
CN108933947B (en) Bullet screen display method and device
CN106027385A (en) Instant session message priority ranking method
US20130013701A1 (en) Open invite for video calls

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
GR01 Patent grant
GR01 Patent grant