CN109471858A - Address conversion method, article access method, device and electronic equipment - Google Patents

Address conversion method, article access method, device and electronic equipment Download PDF

Info

Publication number
CN109471858A
CN109471858A CN201811139407.7A CN201811139407A CN109471858A CN 109471858 A CN109471858 A CN 109471858A CN 201811139407 A CN201811139407 A CN 201811139407A CN 109471858 A CN109471858 A CN 109471858A
Authority
CN
China
Prior art keywords
address
article
visited
locally stored
access
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
CN201811139407.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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811139407.7A priority Critical patent/CN109471858A/en
Publication of CN109471858A publication Critical patent/CN109471858A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides address conversion method, article access method, device and electronic equipment, be applied to field of computer technology, the address conversion method include: obtain each article in database address is locally stored;The address that is locally stored of each article is stored into the address translation table of database;It is extranet access address by the address conversion that is locally stored in address translation table.The address that is locally stored of each article is recorded in address translation table by address conversion method through the embodiment of the present invention, can be managed by address translation table to each article, be can be convenient the access management of article.

Description

Address conversion method, article access method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to address conversion method, article access method, device and electricity Sub- equipment.
Background technique
Database be carry out tissue according to data structure, the warehouse of storage and management data be a unit or one application The general data processing system in field, the data in database are from overall point of view foundation, by certain data model Carry out tissue, description and storage.
In web services, database has become one of essential service of network service side.Database it is effective Management is directly concerning the quality for arriving network service.
In existing data base management method, when providing article access service, directly by the sheet of article to be visited Ground storage address is converted into external extranet access address, for user's access.
But inventor has found under study for action, and using the above method, since the distribution of each article is stored in different positions, It is unfavorable for the access management to article.
Summary of the invention
Be designed to provide a kind of address conversion method, article access method, device and the electronics of the embodiment of the present invention are set It is standby, to realize the access management for being convenient for article.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of address conversion methods, which comprises
Each article is locally stored address in acquisition database;
The address that is locally stored of each article is stored into the address translation table of the database;
It is extranet access address by the address conversion that is locally stored in the address translation table.
Optionally, the address conversion method of the embodiment of the present invention further include:
Obtain access instruction, wherein include the extranet access address of article to be visited in the access instruction;
According to the extranet access address of article to be visited described in the access instruction, the address translation table is inquired, really Address is locally stored in the fixed article to be visited;
Address is locally stored according to described, obtains the article to be visited;
To the user terminal for sending the access instruction, the article to be visited is returned.
Second aspect, the embodiment of the invention provides a kind of article access methods, which comprises
Obtain access instruction, wherein include the extranet access address of article to be visited in the access instruction;
According to the extranet access address of article to be visited described in the access instruction, the address conversion pre-established is inquired Table, determine the article to be visited is locally stored address, wherein deposits the local that each article is had recorded in the address translation table Store up address;
Address is locally stored according to described, obtains the article to be visited;
To the user terminal for sending the access instruction, the article to be visited is returned.
Optionally, the process of address translation table is pre-established, comprising:
Obtain article to be put in storage is locally stored address;
The address that is locally stored of the article to be put in storage is stored into the address translation table of the database.
Optionally, in being locally stored each article in the address translation table that address is stored to the database Later, the method also includes:
It is extranet access address by the address conversion that is locally stored in the address translation table.
Optionally, the extranet access address according to article to be visited described in the access instruction, inquiry is describedly Location conversion table, determine the article to be visited is locally stored address, comprising:
According to the extranet access address of article to be visited described in the access instruction, the rope of the article to be visited is determined Draw, obtains target index;
Address is locally stored in the address translation table according to the determining article to be visited of target index In offset address;
Address is locally stored according to what the offset address read the article to be visited.
The third aspect, the embodiment of the invention provides a kind of address converting device, described device includes:
Address is locally stored for obtain each article in database in address acquisition module;
Address memory module, for by each article be locally stored address storage to the database address conversion In table;
Address conversion module, for being extranet access address by the address conversion that is locally stored in the address translation table.
Optionally, the address converting device of the embodiment of the present invention further include:
Instruction acquisition module, for obtaining access instruction, wherein include the outer net of article to be visited in the access instruction Access address;
Address determination module, for the extranet access address according to article to be visited described in the access instruction, inquiry The address translation table, determine the article to be visited is locally stored address;
Article obtains module, for address to be locally stored according to described, obtains the article to be visited;
Article sending module, for returning to the article to be visited to the user terminal for sending the access instruction.
Fourth aspect, the embodiment of the invention provides a kind of article access mechanism, described device includes:
Instruction acquisition module, for obtaining access instruction, wherein include the outer net of article to be visited in the access instruction Access address;
Address determination module, for the extranet access address according to article to be visited described in the access instruction, inquiry The address translation table pre-established, determine the article to be visited is locally stored address, wherein remembers in the address translation table That has recorded each article is locally stored address;
Article obtains module, for address to be locally stored according to described, obtains the article to be visited;
Article sending module, for returning to the article to be visited to the user terminal for sending the access instruction.
Optionally, the article access mechanism of the embodiment of the present invention, further includes:
Address is locally stored for obtain each article in database in address acquisition module;
Address memory module, for by each article be locally stored address storage to database address translation table In.
Optionally, the article access mechanism of the embodiment of the present invention, further includes:
Address conversion module, for being extranet access address by the address conversion that is locally stored in the address translation table.
Optionally, the address determination module, comprising:
Target, which indexes, determines submodule, for according to the extranet access of article to be visited described in the access instruction Location determines the index of the article to be visited, obtains target index;
Offset address determines submodule, for being locally stored ground according to the determining article to be visited of target index Offset address of the location in the address translation table;
Storage address reading submodule is locally stored ground for read the article to be visited according to the offset address Location.
5th aspect, the embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein the processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any institute of above-mentioned first aspect The address conversion method stated.
6th aspect, the embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein the processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any institute of above-mentioned second aspect The article access method stated.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes that above-mentioned first aspect is any described when being executed by processor Address conversion method.
Eighth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes that above-mentioned second aspect is any described when being executed by processor Article access method.
Address conversion method, article access method, device and electronic equipment provided in an embodiment of the present invention obtain database In each article address is locally stored;The address that is locally stored of each article is stored into the address translation table of database;By ground The address conversion that is locally stored in the conversion table of location is extranet access address.Pipe can be carried out to each article by address translation table Reason, can be convenient the access management of article.Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach All the above advantage.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the address conversion method of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the article access method of the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the address converting device of the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of the article access mechanism of the embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of the electronic equipment of the embodiment of the present invention;
Fig. 6 is another schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In existing database, since the distribution of each article is stored in different positions, when providing article access service, It needs to collect article to be visited from database, and address is locally stored with being converted into external extranet access in this article Location, for user's access.Using the above method, it is unfavorable for the access management to article.
In view of this, the embodiment of the invention provides a kind of address conversion methods, referring to Fig. 1, this method comprises:
S101 obtains each article in database and address is locally stored.
Address conversion method in the embodiment of the present invention can realize that address management system is to appoint by address management system The system that meaning can be realized the address conversion method of the embodiment of the present invention.Such as:
Address management system can be a kind of equipment, comprising: processor, memory, communication interface and bus;Processor, Memory is connected by bus with communication interface and completes mutual communication;Memory stores executable program code;Processing Device runs program corresponding with executable program code by reading the executable program code stored in memory, to be used for Execute the address conversion method of the embodiment of the present invention.
Address management system can also be a kind of application program, and the address for executing the embodiment of the present invention at runtime turns Change method.
Address management system can also be a kind of storage medium, and for storing executable code, executable code is for holding The address conversion method of the row embodiment of the present invention.
Address management system obtains each article in database and address is locally stored, and can traverse number for address management system According to library, according to the unified storage mark of each article, such as expansion name of article data etc., determine each article is locally stored ground Location;It can also be in each article storage, obtain each article be locally stored address etc..
S102 stores the address that is locally stored of each above-mentioned article into the address translation table of above-mentioned database.
Address management system establishes address translation table in the database, and the local that address translation table is used to record each article is deposited Store up address.The address that is locally stored of each article is recorded in address translation table address management system.Optionally, address translation table It can be as shown in table 1.
Table 1
Article mark Address is locally stored
A Disk A: offset address A
B Disk B: offset address B
The address conversion that is locally stored in address above mentioned conversion table is extranet access address by S103.
In order to provide the Outside Access function of each article, address management system inquires address translation table, by address translation table In be locally stored address conversion be extranet access address.
Optionally, extranet access address is stored in address above mentioned conversion table.By extranet access address storage to address In conversion table, facilitates and address is locally stored accordingly according to the acquisition of extranet access address, optionally, extranet access address can be URL (Uniform Resoure Locator, uniform resource locator), address translation table can be as shown in table 2.
Table 2
Article mark Address is locally stored Outside Access address
A Disk A: offset address A The address URL A
B Disk B: offset address B The address URL B
In embodiments of the present invention, the address that is locally stored of each article is stored into address translation table, can passes through ground Location conversion table is managed each article, can be convenient the access management of article.
Optionally, the address conversion method of the embodiment of the present invention further include:
Step 1 obtains access instruction, wherein includes the extranet access address of article to be visited in above-mentioned access instruction.
Address management system obtains the access instruction sent by client, includes the outer net of article to be visited in access instruction Access address, such as the address URL of article to be visited.
Step 2 is inquired address above mentioned and is turned according to the extranet access address of article to be visited above-mentioned in above-mentioned access instruction Table is changed, determine above-mentioned article to be visited is locally stored address.
Address management system determines article to be visited according to the extranet access address of article to be visited, inquires address conversion Table, determine article to be visited is locally stored address.
Step 3 is locally stored address according to above-mentioned, obtains above-mentioned article to be visited.
Address is locally stored according to article to be visited in address management system, and the article to be visited is read from database.
Step 4 returns to above-mentioned article to be visited to the user terminal for sending above-mentioned access instruction.
Address management system sends the article to be visited, for example, address management system to the user terminal for sending access instruction According to the source address of access instruction, article to be visited is sent to the source address.
In embodiments of the present invention, address is locally stored according to what address translation table inquired article to be visited, can increases The inquiry velocity of address is locally stored in article to be visited, to increase the speed that client accesses article to be visited.
The embodiment of the invention also provides a kind of article access methods, referring to fig. 2, this method comprises:
S201 obtains access instruction, wherein includes the extranet access address of article to be visited in above-mentioned access instruction.
Article access method in the embodiment of the present invention can realize that access system is arbitrarily can be real by access system The system of the article access method of the existing embodiment of the present invention.Such as:
Access system can be a kind of equipment, comprising: processor, memory, communication interface and bus;Processor, storage Device is connected by bus with communication interface and completes mutual communication;Memory stores executable program code;Processor is logical It crosses and reads in memory the executable program code that stores to run program corresponding with executable program code, for executing The article access method of the embodiment of the present invention.
Access system can also be a kind of application program, for executing the article access side of the embodiment of the present invention at runtime Method.
Access system can also be a kind of storage medium, and for storing executable code, executable code is for executing sheet The article access method of inventive embodiments.
Access system obtains the access instruction sent by client, includes the extranet access of article to be visited in access instruction Address, such as the address URL of article to be visited.
S202 inquires the ground pre-established according to the extranet access address of article to be visited above-mentioned in above-mentioned access instruction Location conversion table, determine above-mentioned article to be visited is locally stored address, wherein each article is had recorded in address above mentioned conversion table Address is locally stored.
Access system determines article to be visited according to the extranet access address of article to be visited, inquires address translation table, really Address is locally stored in fixed article to be visited.Each article is had recorded in address translation table is locally stored address, for example, address turns Changing table can be as shown in table 1.Optionally, it may also include the extranet access address of each article in address translation table, for example, address turns Changing table can be as shown in table 2.By the storage of extranet access address into address translation table, facilitates and phase is obtained according to extranet access address That answers is locally stored address.
S203 is locally stored address according to above-mentioned, obtains above-mentioned article to be visited.
Address is locally stored according to article to be visited in access system, and the article to be visited is read from database.
S204 returns to above-mentioned article to be visited to the user terminal for sending above-mentioned access instruction.
Access system to send access instruction user terminal, send the article to be visited, for example, address management system according to The source address of access instruction sends article to be visited to the source address.
In embodiments of the present invention, each article is stored in address translation table is locally stored address, can pass through address Conversion table is managed each article, can be convenient the access management of article.And it can be inquired according to address translation table wait visit That asks article is locally stored address, and can increase article to be visited is locally stored the inquiry velocity of address, to increase client End accesses the speed of article to be visited.
Optionally, the process of address translation table is pre-established, comprising:
Step 1 obtains each article in database and address is locally stored.
Access system obtains each article in database and address is locally stored, for example, access system ergodic data library, according to The unified storage mark of each article, for example, the expansion name etc. of article data, determines all types of files for article, and obtains each Address is locally stored in article;The address that is locally stored that access system obtains each article in database can also be to enter in each article When library, obtain each article is locally stored address etc..
Step 2 stores the address that is locally stored of each above-mentioned article into the address translation table of above-mentioned database.
Access system establishes address translation table in the database, and what address translation table was used to record each article is locally stored ground Location.The address that is locally stored of each article is recorded in address translation table access system.
Optionally, it in address translation table of the address storage to database is locally stored in each above-mentioned article above-mentioned Afterwards, the above method further include:
It is extranet access address by the address conversion that is locally stored in address above mentioned conversion table.
In order to provide the Outside Access function of each article, access system is locally stored ground for article each in address translation table Location is converted to extranet access address.Optionally, extranet access address is stored in address above mentioned conversion table.
In embodiments of the present invention, the address that is locally stored of each article is stored into address translation table, can passes through ground Location conversion table is managed each article, can be convenient the access management of article.
Optionally, the above-mentioned extranet access address according to article to be visited above-mentioned in above-mentioned access instruction, inquiry is above-mentionedly Location conversion table, determine above-mentioned article to be visited is locally stored address, comprising:
Step 1 determines above-mentioned to be visited according to the extranet access address of article to be visited above-mentioned in above-mentioned access instruction The index of article obtains target index.
Address is locally stored in above-mentioned address above mentioned according to the determining above-mentioned article to be visited of above-mentioned target index in step 2 Offset address in conversion table.
Address is locally stored according to what above-mentioned offset address read above-mentioned article to be visited in step 3.
Access system can safeguard an index for each article, and be deposited according to the local that index reads article to be visited Store up address.
The embodiment of the invention also provides a kind of address converting devices, and referring to Fig. 3, which includes:
Address is locally stored for obtain each article in database in address acquisition module 301;
Address memory module 302, for address storage to be locally stored to the address of above-mentioned database in each above-mentioned article In conversion table;
Address conversion module 303, for address conversion will be locally stored for extranet access in address above mentioned conversion table Location.
Optionally, the address converting device of the embodiment of the present invention further include:
Instruction acquisition module, for obtaining access instruction, wherein include the outer net of article to be visited in above-mentioned access instruction Access address;
Address determination module, for the extranet access address according to article to be visited above-mentioned in above-mentioned access instruction, inquiry Address above mentioned conversion table, determine above-mentioned article to be visited is locally stored address;
Article obtains module, for address to be locally stored according to above-mentioned, obtains above-mentioned article to be visited;
Article sending module, for returning to above-mentioned article to be visited to the user terminal for sending above-mentioned access instruction.
The embodiment of the invention provides a kind of article access mechanisms, and referring to fig. 4, which includes:
Instruction acquisition module 401, for obtaining access instruction, wherein including article to be visited in above-mentioned access instruction Extranet access address;
Address determination module 402 is looked into for the extranet access address according to article to be visited above-mentioned in above-mentioned access instruction The address translation table pre-established is ask, determine above-mentioned article to be visited is locally stored address, wherein in address above mentioned conversion table Have recorded each article is locally stored address;
Article obtains module 403, for address to be locally stored according to above-mentioned, obtains above-mentioned article to be visited;
Article sending module 404, for returning to above-mentioned article to be visited to the user terminal for sending above-mentioned access instruction.
Optionally, the article access mechanism of the embodiment of the present invention, further includes:
Address is locally stored for obtain each article in database in address acquisition module;
Address memory module, for by each above-mentioned article be locally stored address storage to database address translation table In.
Optionally, the article access mechanism of the embodiment of the present invention, further includes:
Address conversion module, for being extranet access address by the address conversion that is locally stored in address above mentioned conversion table.
Optionally, address above mentioned determining module 402, comprising:
Target, which indexes, determines submodule, for the extranet access according to article to be visited above-mentioned in above-mentioned access instruction Location determines the index of above-mentioned article to be visited, obtains target index;
Offset address determines submodule, for being locally stored ground according to the determining above-mentioned article to be visited of above-mentioned target index Offset address of the location in above-mentioned address above mentioned conversion table;
Storage address reading submodule is locally stored ground for read above-mentioned article to be visited according to above-mentioned offset address Location.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 5, include processor 501, communication interface 502, Memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are complete by communication bus 504 At mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
Each article is locally stored address in acquisition database;
The address that is locally stored of each above-mentioned article is stored into the address translation table of above-mentioned database;
It is extranet access address by the address conversion that is locally stored in address above mentioned conversion table.
In embodiments of the present invention, the address that is locally stored of each article is stored into address translation table, can passes through ground Location conversion table is managed each article, can be convenient the access management of article.
Optionally, processor 501 is for when executing the program stored on memory 503, additionally it is possible to realize any of the above-described Address conversion method.
The embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 6, include processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes following steps:
Obtain access instruction, wherein include the extranet access address of article to be visited in above-mentioned access instruction;
According to the extranet access address of article to be visited above-mentioned in above-mentioned access instruction, the address conversion pre-established is inquired Table, determine above-mentioned article to be visited is locally stored address, wherein deposits the local that each article is had recorded in address above mentioned conversion table Store up address;
Address is locally stored according to above-mentioned, obtains above-mentioned article to be visited;
To the user terminal for sending above-mentioned access instruction, above-mentioned article to be visited is returned.
In embodiments of the present invention, each article is stored in address translation table is locally stored address, can pass through address Conversion table is managed each article, can be convenient the access management of article.And it can be inquired according to address translation table wait visit That asks article is locally stored address, and can increase article to be visited is locally stored the inquiry velocity of address, to increase client End accesses the speed of article to be visited.
Optionally, processor 601 is for when executing the program stored on memory 603, additionally it is possible to realize any of the above-described Article access method.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
The embodiment of the invention provides a kind of computer readable storage medium, storage in above-mentioned computer readable storage medium There is computer program, above-mentioned computer program realizes following steps when being executed by processor:
Each article is locally stored address in acquisition database;
The address that is locally stored of each above-mentioned article is stored into the address translation table of above-mentioned database;
It is extranet access address by the address conversion that is locally stored in address above mentioned conversion table.
In embodiments of the present invention, the address that is locally stored of each article is stored into address translation table, can passes through ground Location conversion table is managed each article, can be convenient the access management of article.
Optionally, when above-mentioned computer program is executed by processor, additionally it is possible to realize any of the above-described address conversion method.
The embodiment of the invention provides a kind of computer readable storage medium, storage in above-mentioned computer readable storage medium There is computer program, above-mentioned computer program realizes following steps when being executed by processor:
Obtain access instruction, wherein include the extranet access address of article to be visited in above-mentioned access instruction;
According to the extranet access address of article to be visited above-mentioned in above-mentioned access instruction, the address conversion pre-established is inquired Table, determine above-mentioned article to be visited is locally stored address, wherein deposits the local that each article is had recorded in address above mentioned conversion table Store up address;
Address is locally stored according to above-mentioned, obtains above-mentioned article to be visited;
To the user terminal for sending above-mentioned access instruction, above-mentioned article to be visited is returned.
In embodiments of the present invention, each article is stored in address translation table is locally stored address, can pass through address Conversion table is managed each article, can be convenient the access management of article.And it can be inquired according to address translation table wait visit That asks article is locally stored address, and can increase article to be visited is locally stored the inquiry velocity of address, to increase client End accesses the speed of article to be visited.
Optionally, when above-mentioned computer program is executed by processor, additionally it is possible to realize any of the above-described article access method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For the embodiment of electronic equipment and storage medium, since it is substantially similar to the method embodiment, so be described relatively simple, The relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of address conversion method, which is characterized in that the described method includes:
Each article is locally stored address in acquisition database;
The address that is locally stored of each article is stored into the address translation table of the database;
It is extranet access address by the address conversion that is locally stored in the address translation table.
2. the method according to claim 1, wherein the method also includes:
Obtain access instruction, wherein include the extranet access address of article to be visited in the access instruction;
According to the extranet access address of article to be visited described in the access instruction, the address translation table is inquired, determines institute That states article to be visited is locally stored address;
Address is locally stored according to described, obtains the article to be visited;
To the user terminal for sending the access instruction, the article to be visited is returned.
3. a kind of article access method, which is characterized in that the described method includes:
Obtain access instruction, wherein include the extranet access address of article to be visited in the access instruction;
According to the extranet access address of article to be visited described in the access instruction, the address translation table pre-established is inquired, Determine the article to be visited is locally stored address, wherein being locally stored for each article is had recorded in the address translation table Address;
Address is locally stored according to described, obtains the article to be visited;
To the user terminal for sending the access instruction, the article to be visited is returned.
4. according to the method described in claim 3, it is characterized in that, pre-establishing the process of address translation table, comprising:
Each article is locally stored address in acquisition database;
The address that is locally stored of each article is stored into the address translation table of the database.
5. according to the method described in claim 4, it is characterized in that, the address that is locally stored of each article is stored described After into the address translation table of the database, the method also includes:
It is extranet access address by the address conversion that is locally stored in the address translation table.
6. according to the method described in claim 3, it is characterized in that, described according to article to be visited described in the access instruction Extranet access address, inquire the address translation table, determine the article to be visited is locally stored address, comprising:
According to the extranet access address of article to be visited described in the access instruction, the index of the article to be visited is determined, Obtain target index;
Address is locally stored in the address translation table according to the determining article to be visited of target index Offset address;
Address is locally stored according to what the offset address read the article to be visited.
7. a kind of address converting device, which is characterized in that described device includes:
Address is locally stored for obtain each article in database in address acquisition module;
Address memory module, for by each article be locally stored address storage to the database address translation table In;
Address conversion module, for being extranet access address by the address conversion that is locally stored in the address translation table.
8. a kind of article access mechanism, which is characterized in that described device includes:
Instruction acquisition module, for obtaining access instruction, wherein include the extranet access of article to be visited in the access instruction Address;
Address determination module, for the extranet access address according to article to be visited described in the access instruction, inquiry is preparatory The address translation table of foundation, determine the article to be visited is locally stored address, wherein has recorded in the address translation table Address is locally stored in each article;
Article obtains module, for address to be locally stored according to described, obtains the article to be visited;
Article sending module, for returning to the article to be visited to the user terminal for sending the access instruction.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described Processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-2 Method step.
10. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described Processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 3-6 Method step.
CN201811139407.7A 2018-09-28 2018-09-28 Address conversion method, article access method, device and electronic equipment Pending CN109471858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811139407.7A CN109471858A (en) 2018-09-28 2018-09-28 Address conversion method, article access method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811139407.7A CN109471858A (en) 2018-09-28 2018-09-28 Address conversion method, article access method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN109471858A true CN109471858A (en) 2019-03-15

Family

ID=65664709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811139407.7A Pending CN109471858A (en) 2018-09-28 2018-09-28 Address conversion method, article access method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109471858A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113180729A (en) * 2021-03-31 2021-07-30 上海深至信息科技有限公司 Ultrasonic data transmission method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820439A (en) * 2010-02-03 2010-09-01 深圳市迅雷网络技术有限公司 Display method, device and client for files
CN102799372A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Uploading method and uploading device for pictorial information
CN104065736A (en) * 2014-07-03 2014-09-24 车智互联(北京)科技有限公司 URL redirection method, device, and system
CN105426549A (en) * 2015-12-29 2016-03-23 北京金山安全软件有限公司 Method and device for reading webpage resources and electronic equipment
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820439A (en) * 2010-02-03 2010-09-01 深圳市迅雷网络技术有限公司 Display method, device and client for files
CN102799372A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Uploading method and uploading device for pictorial information
CN104065736A (en) * 2014-07-03 2014-09-24 车智互联(北京)科技有限公司 URL redirection method, device, and system
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
CN105426549A (en) * 2015-12-29 2016-03-23 北京金山安全软件有限公司 Method and device for reading webpage resources and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113180729A (en) * 2021-03-31 2021-07-30 上海深至信息科技有限公司 Ultrasonic data transmission method and system

Similar Documents

Publication Publication Date Title
CN106537373B (en) Language content translation
CN109241477A (en) A kind of Website page loading method, device, electronic equipment and storage medium
CN105095423B (en) Enumeration data wiring method and device
CN104125208A (en) Data transmission method and data transmission device
CN103997507A (en) Information push method and apparatus
CN103368986A (en) Information recommendation method and information recommendation device
CN102289473A (en) Device and method for paging query of a plurality of servers
CN103399908A (en) Method and system for fetching business data
CN104092791A (en) Internet content resource scheduling method and system taking quality and cost into consideration
CN103973835A (en) Domain name system server selection method and device
CN108234207A (en) A kind of Fault Locating Method and device based on content distributing network CDN
CN106934027A (en) Distributed reptile realization method and system
CN109151059A (en) A kind of file uploading method, device, electronic equipment and storage medium
CN108173952A (en) A kind of data access method and device of content distributing network CDN
CN110413845A (en) Resource storage method and device based on Internet of Things operating system
CN110389773A (en) Software publication and dispositions method, apparatus and system
CN110928984A (en) Knowledge graph construction method and device, terminal and storage medium
CN109471858A (en) Address conversion method, article access method, device and electronic equipment
CN104636368A (en) Data retrieval method and device and server
CN107239542A (en) A kind of data statistical approach, device, server and storage medium
CN108989484A (en) A kind of compression and storage method and device of domain name system DNS log
CN109446445A (en) A kind of resource acquiring method and device
JP2014186719A (en) System for providing mobile url in mobile retrieval environment and method for the same
CN105245622A (en) Configurable data processing method and system and mobile platform
CN108376157A (en) Target user's querying method, system and device

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

WD01 Invention patent application deemed withdrawn after publication