CN105930476A - Link address generation method and terminal - Google Patents
Link address generation method and terminal Download PDFInfo
- Publication number
- CN105930476A CN105930476A CN201610274075.8A CN201610274075A CN105930476A CN 105930476 A CN105930476 A CN 105930476A CN 201610274075 A CN201610274075 A CN 201610274075A CN 105930476 A CN105930476 A CN 105930476A
- Authority
- CN
- China
- Prior art keywords
- data
- link address
- position information
- start position
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
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)
Abstract
The embodiment of the invention provides a link address generation method. The method comprises the following steps: acquiring initial position information of partial data to be used in data by a terminal; and generating the link address of the data by the terminal according to the initial position information, so as to directly jump to an initial position when opening the data according to the link address. According to the embodiment of the link address generation method and the terminal provided by the invention, since the link address is generated according to the initial position information of the partial data to be used, the data can directly jump to the initial position of the partial data to be used according to the link address, and further, the partial data to be used can be directly used, so that the problem of starting to use again can be avoided.
Description
Technical field
The present invention relates to communication technical field, particularly relate to generation method and the terminal of a kind of link address.
Background technology
Current a lot of application can provide sharing function, link address corresponding for the data shared is sent
Go out and can be realized as sharing, such as: when data are video, audio frequency or text, by corresponding link address
Sending, other users just can use, by the link address obtained, the data shared.
During realizing the present invention, inventor finds prior art, and at least there are the following problems:
If data to be shared are certain a part of data in these data, other users are by connecting
When address uses the data shared, it is impossible to directly use to these part data to be shared.
Summary of the invention
In view of this, the embodiment of the present invention provides generation method and the terminal of a kind of link address, in order to solve
The problem that certainly cannot directly use these part data to be shared in prior art.
For achieving the above object, on the one hand, embodiments provide the life of a kind of link address
One-tenth method, described method includes:
Terminal obtains the start position information of part data to be used in data;
Described terminal is generated in the link address of described data according to described start position information, with basis
Described link address jumps directly to described original position when opening described data.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute
State data to include: text data, video data, voice data.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are text data, described start position information includes: the text message of described original position,
Described text message is the text message of preset length.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are video data or voice data, described start position information includes: described original position
Temporal information.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are video data, described start position information includes: the frame information of described original position.
By obtaining the start position information of part data to be used in data, root in the embodiment of the present invention
It is generated in the link address of described data according to described start position information, to beat according to described link address
Described original position is jumped directly to when opening described data.The embodiment of the present invention is root due to link address
Generate according to the start position information of part data to be used, can be according to this link address directly by institute
State data and jump to the original position of part data to be used, further, can directly use and to make
The data of part, it is to avoid the problem that accent begins to use.
For achieving the above object, on the other hand, the embodiment of the present invention also provides for a kind of terminal, described
Terminal includes:
Acquisition module, for obtaining the start position information of part data to be used in data;
Generation module, for being generated in the link address of described data according to described start position information,
Described original position is jumped directly to during to open described data according to described link address.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute
State data to include: text data, video data, voice data.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are text data, described start position information includes: the text message of described original position,
Described text message is the text message of preset length.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are video data or voice data, described start position information includes: described original position
Temporal information.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, when
When described data are video data, described start position information also includes: the frame information of described original position.
The embodiment of the present invention is obtained the original position of part data to be used in data by acquisition module
Information, generation module is generated in the link address of described data according to described start position information, with root
Described original position is jumped directly to when opening described data according to described link address.In the embodiment of the present invention
Owing to link address is that the start position information according to part data to be used generates, can be according to this
Described data are directly jumped to the original position of part data to be used by link address, further,
Can directly use the data of part to be used, it is to avoid the problem that accent begins to use.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the generation method flow diagram of a kind of link address in the embodiment of the present invention;
Fig. 2 is the structural representation of a kind of terminal in the embodiment of the present invention.
Detailed description of the invention
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is carried out
Describe in detail.
It will be appreciated that described embodiment a part of embodiment that is only the present invention rather than whole
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The all other embodiments obtained under dynamic premise, broadly fall into the scope of protection of the invention.
The term used in embodiments of the present invention be only merely for describe specific embodiment purpose, rather than
It is intended to limit the present invention.Singulative used in the embodiment of the present invention and appended claims
" a kind of ", " described " and " being somebody's turn to do " is also intended to include most form, unless context clearly shows that it
His implication.
Depend on linguistic context, word as used in this " if " can be construed to " ... time "
Or " when ... " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context,
Phrase " if it is determined that " or " if detection (condition of statement or event) " can be construed to " when
When determining " or " in response to determining " or " when detecting (condition of statement or event) " or " response
In detection (condition of statement or event) ".
Embodiment one
In order to solve prior art cannot directly use the problem of these part data to be shared, this
Bright embodiment one proposes a kind of generation method of link address, concrete as it is shown in figure 1, described method can
Comprise the following steps:
Step 101, terminal obtains the start position information of part data to be used in data.
It should be noted that terminal involved in the embodiment of the present invention can include but not limited to individual's meter
Calculation machine (Personal Computer, PC), personal digital assistant (Personal Digital
Assistant, PDA), radio hand-held equipment, panel computer (Tablet Computer), mobile phone,
MP3 player, MP4 player etc..
Concrete, the method can apply to be carried out by application under the scene of data sharing, it is also possible to should
Under other scenes, concrete condition determines according to practical situation.
Wherein, these part data in the start position information of part data to be used in data are positioned at whole
In individual data, these part data can be the part data on the optional position of whole data, when this part
The when that data position in whole data determining that, then the original position of these part data is also true
Fixed, i.e. determine during the start position information of this part data.
Described data include: text data, video data, voice data.
When described data are text data, described start position information includes: the literary composition of described original position
This information, described text message is the text message of preset length.
Concrete, text data may include that the information such as word, picture, the i.e. letter such as word, picture
Breath is the text message in text data, as a example by carrying out sharing data by application, when number to be shared
According to when being a part of text data of text data, need to obtain in the original position of this part text data
Text message, after the text message in the original position of this part text data determines, then just may be used
Need to be not required to find the position of correspondence with the original position according to this part text data, i.e. according to this part literary composition
The text message of the original position of notebook data just can find the correspondence position in whole text message, with root
According to this correspondence position, text data is carried out reading operations.
Meanwhile, in order to avoid whole text data exists identical initial text message, need to obtain in advance
If the text message of length, thus avoid the position that the position found is mistake.
When described data are video data or voice data, described start position information includes: described
The temporal information of beginning position.
Concrete, voice data and video data are that the order according to time shaft plays out, therefore,
Need to obtain the temporal information of original position corresponding to part data to be shared, thus can be according to rising
The temporal information of beginning position navigates to position accurately and uses, such as: direct viewing or uppick are thought
These part data to be shared.
When described data are video data, described start position information includes: the frame of described original position
Information.
Concrete, video data is made up of frame, and different frames correspond to different frame informations, when really
After the frame information of the original position of partial video to be shared, it is possible to accurately find according to this frame information
The original position of this partial video.
The purpose of the embodiment of the present invention is to carry out according to the start position information of part data to be used
Be accurately positioned, quickly to determine the original position of part data to be used, the most all be capable of fast
Speed determines that the method for the original position of part data to be used belongs to the protection domain of the embodiment of the present invention.
Step 102, described terminal is generated to the link address of described data according to described start position information
In, jump directly to described original position during to open described data according to described link address.
Concrete, owing to link address comprising the start position information of part data to be used, therefore
These part data can be directly used, according to this link address when can open data according to this link address
The method of these part data is directly used to may include that the link address by data is opened when opening data
Then data are redirected by data according to the start position information in link address, the position jumped to
It it is the original position of part data to be used in data.As a example by video data, the connection ground of this video
Location is:
http://sports.le.com/live/1020160312184440.html#live/1020160312184
440, the temporal information of the original position of partial video to be shared is t, and wherein t is 124, then raw
The link address become can be:
http://sports.le.com/live/1020160312184440.html#live/1020160312184
440?T=124, when user in the link address using generation is, can be according to this link address direct viewing
In video, original position is the partial video of t.
When data are video data, the original position to be obtained when generating the link address of described data
Corresponding picture, to allow user determine according to described picture, this link address is the connection about which kind of content.
By obtaining the start position information of part data to be used in data, root in the embodiment of the present invention
It is generated in the link address of described data according to described start position information, to beat according to described link address
Described original position is jumped directly to when opening described data.The embodiment of the present invention is root due to link address
Generate according to the start position information of part data to be used, can be according to this link address directly by institute
State data and jump to the original position of part data to be used, further, can directly use and to make
The data of part, it is to avoid the problem that accent begins to use.
Embodiment two
The embodiment of the present invention two is given further and realizes each step and the terminal of method in said method embodiment
Embodiment, as described in Figure 2, its terminal provided by the embodiment of the present invention two block chart, institute are set
State terminal to include:
Acquisition module 21, for obtaining the start position information of part data to be used in data;
Generation module 22, for being generated in the link address of described data according to described start position information,
Described original position is jumped directly to during to open described data according to described link address.
Described data include: text data, video data, voice data.
When described data are text data, described start position information includes: the literary composition of described original position
This information, described text message is the text message of preset length.
When described data are video data or voice data, described start position information includes: described
The temporal information of beginning position.
When described data are video data, described start position information also includes: described original position
Frame information.
The part that the embodiment of the present invention does not describes in detail, refers to the related description to Fig. 1.
The embodiment of the present invention is obtained the original position of part data to be used in data by acquisition module
Information, generation module is generated in the link address of described data according to described start position information, with root
Described original position is jumped directly to when opening described data according to described link address.In the embodiment of the present invention
Owing to link address is that the start position information according to part data to be used generates, can be according to this
Described data are directly jumped to the original position of part data to be used by link address, further,
Can directly use the data of part to be used, it is to avoid the problem that accent begins to use.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer can
Read in storage medium.This program upon execution, performs to include the step of above-mentioned each method embodiment;And
Aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
Device embodiment described above is only schematically, the list wherein illustrated as separating component
Unit can be or may not be physically separate, and the parts shown as unit can be or also
Can not be physical location, i.e. may be located at a place, or at least two network can also be distributed to
On unit.Some or all of module therein can be selected according to the actual needs real to realize the present invention
Execute the purpose of example scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, i.e.
It is appreciated that and implements.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right
It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common
Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be modified by it,
Or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, and
The essence not making appropriate technical solution departs from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. the generation method of a link address, it is characterised in that described method includes:
Terminal obtains the start position information of part data to be used in data;
Described terminal is generated in the link address of described data according to described start position information, with basis
Described link address jumps directly to described original position when opening described data.
2. as claimed in claim 1 method, it is characterised in that described data include: text data, regard
Frequency evidence, voice data.
3. method as claimed in claim 2, it is characterised in that when described data are text data, institute
Stating start position information to include: the text message of described original position, described text message is preset length
Text message.
4. method as claimed in claim 2, it is characterised in that when described data are video data or audio frequency
During data, described start position information includes: the temporal information of described original position.
5. method as claimed in claim 2, it is characterised in that when described data are video data, institute
State start position information to include: the frame information of described original position.
6. a terminal, it is characterised in that described terminal includes:
Acquisition module, for obtaining the start position information of part data to be used in data;
Generation module, for being generated in the link address of described data according to described start position information,
Described original position is jumped directly to during to open described data according to described link address.
7. as claimed in claim 6 terminal, it is characterised in that described data include: text data, regard
Frequency evidence, voice data.
8. terminal as claimed in claim 7, it is characterised in that when described data are text data, institute
Stating start position information to include: the text message of described original position, described text message is preset length
Text message.
9. terminal as claimed in claim 7, it is characterised in that when described data are video data or audio frequency
During data, described start position information includes: the temporal information of described original position.
10. terminal as claimed in claim 7, it is characterised in that when described data are video data,
Described start position information also includes: the frame information of described original position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274075.8A CN105930476A (en) | 2016-04-28 | 2016-04-28 | Link address generation method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274075.8A CN105930476A (en) | 2016-04-28 | 2016-04-28 | Link address generation method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105930476A true CN105930476A (en) | 2016-09-07 |
Family
ID=56837629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610274075.8A Pending CN105930476A (en) | 2016-04-28 | 2016-04-28 | Link address generation method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930476A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102445985A (en) * | 2010-11-26 | 2012-05-09 | 深圳市同洲电子股份有限公司 | Digital television receiving terminal and mobile terminal interaction method, device and system |
CN103207892A (en) * | 2013-03-12 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Method and device for sharing document through network |
CN103631926A (en) * | 2012-03-31 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for connecting link in search engine results page |
CN104244032A (en) * | 2014-09-11 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method and device for pushing multimedia data |
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104978385A (en) * | 2015-03-19 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information processing method, browser client and terminal |
-
2016
- 2016-04-28 CN CN201610274075.8A patent/CN105930476A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102445985A (en) * | 2010-11-26 | 2012-05-09 | 深圳市同洲电子股份有限公司 | Digital television receiving terminal and mobile terminal interaction method, device and system |
CN103631926A (en) * | 2012-03-31 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for connecting link in search engine results page |
CN103207892A (en) * | 2013-03-12 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Method and device for sharing document through network |
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104244032A (en) * | 2014-09-11 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method and device for pushing multimedia data |
CN104978385A (en) * | 2015-03-19 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information processing method, browser client and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303723B (en) | Video processing method and device | |
CN110062284B (en) | Video playing method and device and electronic equipment | |
CN107369462B (en) | Electronic book voice playing method and device and terminal equipment | |
CN107657973B (en) | Text and audio mixed display method and device, terminal equipment and storage medium | |
CN104581380A (en) | Information processing method and mobile terminal | |
CN112698769A (en) | Information interaction method, device, equipment, storage medium and program product | |
CN109561272A (en) | The display methods and device of conferencing information | |
TW201421994A (en) | Video searching system and method | |
US11003707B2 (en) | Image processing in a virtual reality (VR) system | |
CN110781349A (en) | Method, equipment, client device and electronic equipment for generating short video | |
US20240276031A1 (en) | Live room video playback | |
CN104601535B (en) | Method for processing video frequency and system | |
CN110609966B (en) | Page display method, device and equipment thereof | |
US20170161871A1 (en) | Method and electronic device for previewing picture on intelligent terminal | |
CN106774852B (en) | Message processing method and device based on virtual reality | |
CN110753246A (en) | Video playing method, client, server and system | |
US10133408B2 (en) | Method, system and computer program product | |
CN105678688B (en) | Picture processing method and device | |
CN104270676B (en) | A kind of information processing method and electronic equipment | |
CN108834171B (en) | Image method and device | |
CN104967911A (en) | Multimedia file insertion position determining method and apparatus | |
CN116126177A (en) | Data interaction control method and device, electronic equipment and storage medium | |
CN112114770A (en) | Interface guiding method, device and equipment based on voice interaction | |
CN115941869A (en) | Audio processing method and device and electronic equipment | |
CN115981769A (en) | Page display method, device, equipment, computer readable storage medium and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160907 |
|
WD01 | Invention patent application deemed withdrawn after publication |