WO2018000617A1 - Procédé de mise à jour d'une base de données, et serveur d'ordonnancement - Google Patents
Procédé de mise à jour d'une base de données, et serveur d'ordonnancement Download PDFInfo
- Publication number
- WO2018000617A1 WO2018000617A1 PCT/CN2016/099969 CN2016099969W WO2018000617A1 WO 2018000617 A1 WO2018000617 A1 WO 2018000617A1 CN 2016099969 W CN2016099969 W CN 2016099969W WO 2018000617 A1 WO2018000617 A1 WO 2018000617A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content server
- interface
- database
- server
- interface information
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/235—Update request formulation
Definitions
- the present application relates to the field of communications technologies, and in particular, to a method for updating a database and a scheduling server.
- the content distribution network CDN sends a connection between the CDN and the user equipment UE to the scheduling server (Global Server Load Balance, GSLB) every ten seconds, that is, the connection situation includes the number of connection interfaces used by the content distribution network CDN. The value and the number of remaining connection interfaces.
- the scheduling server may determine, according to the connection situation sent by the content distribution network CDN, which user distribution network CDN establishes a connection with the content distribution network CDN.
- the scheduling server reports the connection status, that is, the number of used connection interfaces is 900, and the number of remaining connection interfaces is 100.
- the scheduling server allocates 100 connection interfaces available to the content distribution network CDN to the user equipment according to the connection request sent by the user equipment, and the user equipment implements the connection with the content distribution network CDN through the allocated connection interface. If the period of the connection situation is not reported to the content distribution network CDN at this time, the scheduling server still considers that the number of connection interfaces remaining in the content distribution network CDN is 100.
- connection request sent by the user equipment to download the multimedia is a random event, it is possible that the number of connection requests for downloading multimedia received by the scheduling server suddenly increases. If the user equipment sends a connection request to the dispatch server again at this time, the dispatch server may still allocate the connection interface of the content distribution network CDN to the user equipment. However, the content distribution network CDN actually has no assignable connection interface for the newly connected user equipment to connect, and obviously such a scheduling method is obviously unreasonable.
- the content distribution network CDN periodically reports the connection status of the content distribution network CDN to the scheduling server GSLB.
- the update mode will result in the connection status of the content distribution network CDN and the content distribution network learned by the scheduling server GSLB.
- the actual connection of the CDN does not match, causing the scheduling to fail. If the reporting period of the content distribution network CDN is shortened, the load of the content distribution network CDN is too large, which affects the playback quality of the connected user equipment on the content distribution network CDN.
- the application provides a database update method and a scheduling server, which are used to ensure that the interface information of the content server stored in the database in the scheduling server and the interface of the content server are actual without changing the reporting period of the content server.
- the connection situation is consistent, which improves the scheduling efficiency of the scheduling server.
- an embodiment of the present application provides a method for updating a database, including:
- an embodiment of the present application provides a scheduling server, including: at least one processor; and a memory; wherein the memory stores an instruction executable by the at least one processor, where the instruction is A processor is operative to enable the at least one processor to perform an update method of any of the above-described databases of the present application.
- the method for updating the database and the scheduling server determine the interface identifier of the content server allocated to the user equipment according to the received request sent by the user equipment and the interface information of the content server in the database, and then according to the determined
- the interface identifier of the content server updates the interface information of the content server corresponding to the interface identifier in the database, so as to ensure interface information of the content server stored in the database in the scheduling server without changing the reporting period of the content server.
- the actual connection status of the interface of the content server is consistent, the scheduling efficiency of the scheduling server is improved, and the resource scheduling is more reasonable, especially in the case of large concurrent, the efficiency and rationality of the scheduling server scheduling are improved.
- FIG. 1 is a flowchart of a method for updating a database provided by an embodiment of the present application
- FIG. 2 is a flowchart of a method for updating a database according to an embodiment of the present application
- FIG. 3 is a flowchart of a method for updating a database according to an embodiment of the present application
- FIG. 4 is a flowchart of a method for updating a database according to an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of an apparatus for updating a database according to an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a scheduling server according to an embodiment of the present application.
- the application provides a database update method and a scheduling server, which are used to ensure that the interface information of the content server stored in the database in the scheduling server and the interface of the content server are actual without changing the reporting period of the content server.
- the connection situation is consistent, which improves the scheduling efficiency of the scheduling server.
- an embodiment of the present application provides a method for updating a database, including:
- S101 Receive a request for acquiring an interface identifier of a content server.
- the interface identifier of the content server allocated to the user equipment is determined according to the received request sent by the user equipment and the interface information of the content server in the database, and then the database is updated according to the determined interface identifier of the content server.
- the interface identifies the interface information of the content server, so as to ensure that the interface information of the content server stored in the database in the scheduling server and the actual connection of the interface of the content server are maintained without changing the reporting period of the content server. Consistently, improve the scheduling efficiency of the scheduling server.
- the response of the interface identifier including the determined content server is generated, and the generated response is sent to the user equipment.
- the method for updating the database includes:
- the interface information in the request received by the content server is the same as the interface information of the content server in the database, it is ensured that the interface information of the content server stored in the database is consistent with the interface usage of the content server. If not, the interface information of the content server in the database is updated, thereby ensuring that the interface information of the content server stored in the database is consistent with the interface usage of the content server.
- the content server may periodically send a request for updating the interface information of the content server according to a preset period.
- the request for updating the interface information of the content server may be sent to the scheduling server by triggering the content server.
- the request for updating the interface information of the content server is sent according to multiple manners, so as to ensure that the interface information of the content server stored in the database is consistent with the interface usage of the content server in different environments.
- the interface information of the content server includes the number of connected interfaces and/or the number of unconnected interfaces.
- the interface information of the content server further includes: a mapping relationship between the number of connected interfaces of the content server and an interface identifier of the content server, and/or an interface number of the unconnected interface and the interface of the content server.
- the mapping relationship of the identity is not limited to: a mapping relationship between the number of connected interfaces of the content server and an interface identifier of the content server, and/or an interface number of the unconnected interface and the interface of the content server.
- the interface identifier of the content server allocated to the user equipment includes a connection address of an interface of the content server allocated to the user equipment.
- the interface identifier of the content server allocated to the user equipment is not limited to the connection address of the interface of the content server allocated to the user equipment, and any identifier of the interface capable of determining the content server may be .
- the interface information of the content server corresponding to the interface identifier in the database is updated according to the determined interface identifier of the content server, including:
- the number of connected interfaces of the content servers in the database is increased and/or the number of unconnected interfaces of the content servers in the database is reduced.
- the response increases or decreases the number of connected interfaces of the content server in the database or the number of unconnected interfaces, thereby implementing update of the interface information of the content server corresponding to the interface identifier in the database, that is, implementing the content server without changing.
- the interface information of the content server stored in the database in the scheduling server is consistent with the actual connection status of the interface of the content server, and the scheduling efficiency of the scheduling server is improved.
- the scheduling server may be a global load balancing GSLB, and the content server may be a content distribution network CDN.
- the content distribution network CDN includes a multimedia file, such as a video file.
- the user equipment sends a request for acquiring an interface identifier of the content server to the scheduling server.
- the scheduling server determines, according to the received request for acquiring the interface identifier of the content server and the interface information of the content server in the preset database, the interface of the content server corresponding to the interface identifier allocated to the user equipment. Connection address.
- the scheduling server generates a response including an interface identifier of the determined content server according to the determined connection address of the interface of the content server.
- the scheduling server increases the number of connected interfaces of the content server in the database and/or reduces the content server in the database according to the number of connection addresses of interfaces of the content server determined in the generated response message.
- the number of unconnected interfaces that is, the interface information of the content server in the database in the scheduling server is updated.
- the scheduling server sends the generated response message to the user equipment.
- the content server When the content server reaches the reporting period, the content server sends a request for updating the interface information of the content server to the scheduling server.
- step S304 and step S305 are not limited to the order provided by the embodiment of the present application.
- the user equipment sends a request for connecting the content distribution network CDN to download a video file to the scheduling server.
- the scheduling server searches for a content distribution network that stores the video file corresponding to the video file identifier in the preset database according to the received video file identifier in the request for acquiring the interface identifier of the content distribution network CDN. CDN.
- the scheduling server determines an interface identifier of the content distribution network CDN according to the search result of step S402.
- the scheduling server determines, according to the interface identifier of the content distribution network CDN and the mapping relationship between the connection address of the interface of the content distribution network CDN and the interface identifier of the CDN in the preset database, to determine that the user equipment downloads the video file.
- the connection address of the interface of the content distribution network CDN that is, the IP (Internet Protocol) address of the interface of the content distribution network CDN; wherein the mapping relationship may be a one-to-one correspondence.
- the scheduling server generates a response for connecting to the content server according to the connection address of the interface of the determined content distribution network CDN, wherein the response includes a connection address of the interface of the determined content distribution network CDN.
- the scheduling server sends the response to the user equipment.
- the scheduling server updates the number of connected interfaces of the content server in the database and/or the number of unconnected interfaces according to the connection address of the interface of the content server in the response generated in step S405.
- the user equipment determines, according to the received response message, a connection address of an interface of the content server.
- the user equipment sends a connection request to the content distribution network CDN corresponding to the determined connection address.
- the content distribution network CDN parses the received connection request and performs a connection operation.
- the content distribution network CDN returns a response including the processing result to the user equipment.
- step S406 and step S407 are not limited to the order provided by the embodiment of the present application.
- an embodiment of the present application provides a database update apparatus, including:
- the receiving module 501 is configured to receive a request for acquiring an interface identifier of the content server
- the response module 502 is configured to determine, according to the received request and the interface information of the content server in the preset database, an interface identifier of the content server allocated to the user equipment;
- the update module 503 is configured to update interface information of the content server corresponding to the interface identifier in the database according to the determined interface identifier of the content server.
- the interface information of the content server includes the number of connected interfaces and/or the number of unconnected interfaces.
- the interface identifier of the content server allocated to the user equipment includes a connection address of an interface of the content server allocated to the user equipment.
- the update module 503 is specifically configured to:
- the number of connected interfaces of the content server in the database is increased and/or the number of unconnected interfaces of the content server in the database is increased according to the determined number of connection addresses of the interface identifier of the content server.
- the update module 503 is further configured to:
- the interface information of the content server in the received request is different from the interface information of the content server in the database, the interface information of the content server in the database is updated.
- an embodiment of the present application provides a scheduling server, including: a processor 601; and a memory 602.
- the processor 601 includes: a receiving module 501, a response module 502, and an updating module 503, where
- the receiving module 501 is configured to receive a request for acquiring an interface identifier of the content server
- the response module 502 is configured to: according to the received request and the preset content server in the database Interface information, determining an interface identifier of a content server allocated to the user equipment;
- the update module 503 is configured to update interface information of the content server corresponding to the interface identifier in the database according to the determined interface identifier of the content server.
- the interface information of the content server includes the number of connected interfaces and/or the number of unconnected interfaces.
- the interface identifier of the content server allocated to the user equipment includes a connection address of an interface of the content server allocated to the user equipment.
- the update module 503 is specifically configured to:
- the number of connected interfaces of the content servers in the database is increased and/or the number of unconnected interfaces of the content servers in the database is reduced.
- the update module 503 is further configured to:
- the interface information of the content server in the received request is different from the interface information of the content server in the database, the interface information of the content server in the database is updated.
- An embodiment of the present application provides an update system for a database, where the update system includes: a content server, a user equipment, and the foregoing scheduling server.
- the scheduling server may be a global load balancing GSLB, and the content server may be a content distribution network CDN.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions can contribute in essence or to the relevant technologies.
- the computer software product can be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer or a server) , or a network device, etc.) performs the methods described in various embodiments or portions of the embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
L'invention porte sur un procédé de mise à jour d'une base de données et sur un serveur d'ordonnancement qui permettent, lorsqu'une période de rapport d'un serveur de contenu ne change pas, de garantir que des informations d'interface mémorisées dans une base de données dans le serveur d'ordonnancement et relatives au serveur de contenu soient conformes à un état de connexion réel d'une interface du serveur de contenu, et l'efficacité d'ordonnancement du serveur d'ordonnancement est améliorée. Le procédé comprend : la réception d'une demande d'acquisition d'un identificateur d'interface d'un serveur de contenu; selon la demande reçue et des informations d'interface situées dans une base de données prédéfinie et relatives au serveur de contenu, la détermination de l'identificateur d'interface, attribué à l'équipement utilisateur, du serveur de contenu; et, conformément à l'identificateur d'interface déterminé du serveur de contenu, la mise à jour des informations d'interface relatives au serveur de contenu, correspondant à l'identificateur d'interface et situées dans la base de données.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610500354.1 | 2016-06-29 | ||
| CN201610500354.1A CN106202263A (zh) | 2016-06-29 | 2016-06-29 | 一种数据库的更新方法、装置及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018000617A1 true WO2018000617A1 (fr) | 2018-01-04 |
Family
ID=57463699
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/099969 Ceased WO2018000617A1 (fr) | 2016-06-29 | 2016-09-23 | Procédé de mise à jour d'une base de données, et serveur d'ordonnancement |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106202263A (fr) |
| WO (1) | WO2018000617A1 (fr) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116860719A (zh) * | 2023-07-06 | 2023-10-10 | 中国工商银行股份有限公司 | 数据库的升级方法及其装置、电子设备及存储介质 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113806069B (zh) * | 2021-08-05 | 2024-04-05 | 广东核电合营有限公司 | 一种核电站系统交互方法、装置、外围系统及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080001791A1 (en) * | 2006-06-30 | 2008-01-03 | Omneon Video Networks | Transcoding for a distributed file system |
| CN101977148A (zh) * | 2010-10-26 | 2011-02-16 | 中兴通讯股份有限公司 | 内容分发网络节点媒体服务器之间数据交互的方法及系统 |
| CN103747273A (zh) * | 2013-12-23 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | 一种视频请求方法、设备及系统 |
-
2016
- 2016-06-29 CN CN201610500354.1A patent/CN106202263A/zh active Pending
- 2016-09-23 WO PCT/CN2016/099969 patent/WO2018000617A1/fr not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080001791A1 (en) * | 2006-06-30 | 2008-01-03 | Omneon Video Networks | Transcoding for a distributed file system |
| CN101977148A (zh) * | 2010-10-26 | 2011-02-16 | 中兴通讯股份有限公司 | 内容分发网络节点媒体服务器之间数据交互的方法及系统 |
| CN103747273A (zh) * | 2013-12-23 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | 一种视频请求方法、设备及系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116860719A (zh) * | 2023-07-06 | 2023-10-10 | 中国工商银行股份有限公司 | 数据库的升级方法及其装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106202263A (zh) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7252356B2 (ja) | モバイルエッジコンピューティングノードの選択方法、装置及びシステム並びにコンピュータプログラム | |
| US11316786B2 (en) | Systems and methods for directly responding to distributed network traffic | |
| CN110602254B (zh) | 一种实现负载均衡的方法、装置及系统 | |
| US10447775B2 (en) | System and method to balance servers based on server load status | |
| CN108737270B (zh) | 一种服务器集群的资源管理方法和装置 | |
| US10404790B2 (en) | HTTP scheduling system and method of content delivery network | |
| US12289656B2 (en) | Method and system for performing charging processing on network slice customer, and related device | |
| WO2020228505A1 (fr) | Procédé, dispositif et système de sélection d'un nœud informatique en périphérie de réseau mobile | |
| CN102281190B (zh) | 负载均衡装置组网方法以及服务器、客户端接入方法 | |
| JP7611318B2 (ja) | 強化されたオンラインプライバシ | |
| US7953887B2 (en) | Asynchronous automated routing of user to optimal host | |
| US20170171245A1 (en) | Dynamic detection and reconfiguration of a multi-tenant service | |
| CN111327647B (zh) | 一种容器对外提供服务的方法、装置及电子设备 | |
| US20210410057A1 (en) | Service Discovery Extension in a 5G Mobile Communication Network | |
| US20140188801A1 (en) | Method and system for intelligent load balancing | |
| WO2015019224A1 (fr) | Attribution de serveur périphérique dynamique | |
| CN105871975A (zh) | 选择回源服务器的方法及装置 | |
| CN112492574B (zh) | 一种负载迁移方法、装置及系统 | |
| US9760370B2 (en) | Load balancing using predictable state partitioning | |
| US20170163749A1 (en) | Information exchange method and server | |
| CN112491066B (zh) | 负载均衡方法、装置、系统、目标负载均衡设备及介质 | |
| JP2016527623A (ja) | リースエージェントシステム間での制作者システムの分配 | |
| US20220012110A1 (en) | Networking-related system call interception and modification | |
| WO2018000617A1 (fr) | Procédé de mise à jour d'une base de données, et serveur d'ordonnancement | |
| CN103024051B (zh) | 一种进行服务器分发的装置、方法和相应系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16907013 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16907013 Country of ref document: EP Kind code of ref document: A1 |