CN109976832A - It is a kind of that the method and apparatus of boarding program is provided - Google Patents

It is a kind of that the method and apparatus of boarding program is provided Download PDF

Info

Publication number
CN109976832A
CN109976832A CN201910244214.6A CN201910244214A CN109976832A CN 109976832 A CN109976832 A CN 109976832A CN 201910244214 A CN201910244214 A CN 201910244214A CN 109976832 A CN109976832 A CN 109976832A
Authority
CN
China
Prior art keywords
server
boarding program
program
target
boarding
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
CN201910244214.6A
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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910244214.6A priority Critical patent/CN109976832A/en
Publication of CN109976832A publication Critical patent/CN109976832A/en
Priority to PCT/CN2020/081553 priority patent/WO2020192745A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Abstract

The purpose of the application is to provide a kind of method and apparatus of offer boarding program, wherein the described method includes: first server receives user equipment to the access request of target boarding program;Determine the corresponding second server of the target boarding program, wherein the target boarding program is published on the second server;The read requests about target boarding program are sent to the second server;The second server receives the read requests about target boarding program that the first server is sent;The target boarding program is returned to the first server;The first server receives the target boarding program that the second server is returned based on the read requests;Target boarding program is provided to the user equipment.Compared with prior art, the application repeatedly issues boarding program without developer on different server, and can increase the resource utilization of boarding program.

Description

It is a kind of that the method and apparatus of boarding program is provided
Technical field
This application involves the communications field more particularly to it is a kind of for provide boarding program technology.
Background technique
Program of lodging is that one kind relies on host program, does not need the i.e. workable program of downloading installation, further expands The function of host program, boarding program realize the dream of program " within reach ", and user sweeps sweeps or search Program is opened, the theory of " be finished and walk " is also embodied, user does not have to be concerned about the problem of whether installing too many application, program of lodging It can be used at any time, without installing unloading.With the development of the times, there is the host program increasingly come, rely on host program Boarding program also becomes omnipresent.
Summary of the invention
The purpose of the application is to provide a kind of method and apparatus of offer boarding program.
According to the one aspect of the application, a kind of method in first server end offer boarding program, the party are provided Method includes:
User equipment is received to the access request of target boarding program;
Determine the corresponding second server of the target boarding program, wherein the target boarding program is published on described Second server;
The read requests about target boarding program are sent to the second server, and receive the second service The target boarding program that device is returned based on the read requests;
Target boarding program is provided to the user equipment.
According to further aspect of the application, a kind of method in second server end offer boarding program is provided, it should Method includes:
Receive the read requests about target boarding program that first server is sent, wherein the target boarding program It is published on the second server;
The target boarding program is returned to the first server.
According to the one aspect of the application, a kind of for providing the first server of boarding program, first clothes are provided Business device include:
Module one by one, for receiving user equipment to the access request of target boarding program;
One or two modules, for determining the corresponding second server of the target boarding program, wherein the target boarding journey Sequence is published on the second server;
One or three modules for sending the read requests about target boarding program to the second server, and connect Receive the target boarding program that the second server is returned based on the read requests;
One or four modules, for target boarding program to be provided to the user equipment.
According to further aspect of the application, provide a kind of for providing the second server of boarding program, this second Server includes:
21 modules, for receiving the read requests about target boarding program of first server transmission, wherein described Target boarding program is published on the second server;
Two or two modules, for returning to the target boarding program to the first server.
According to the one aspect of the application, provide a kind of for providing the equipment of boarding program, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Reason device executes the operation of either method as described above.
According to further aspect of the application, the computer-readable medium of store instruction is provided, described instruction is being held System is made to carry out the operation of either method as described above when row.
For the prior art, presently, there are more host programs, and for the boarding program of identical content, developer needs The publication for carrying out host program respectively for different host programs, causes work to repeat, inefficiency, simultaneously for host's journey A large amount of boarding program is issued for sequence, on host program, but the utilization rate of some boarding programs is again extremely low, reduces and posts The resource utilization of Su Chengxu.Compared with prior art, the application is mentioned by issuing boarding program on a server wherein Afterwards, other servers can carry out pulling for boarding program automatically, repeatedly issue without developer, increase the effect of developer Rate;Meanwhile server the boarding program pulled is pre-processed after issue on the server, avoid server from issuing a large amount of nothings Boarding program increases the resource utilization of boarding program to realize publication on demand.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is shown according to a kind of for providing the system topological figure of boarding program of the application one embodiment;
Fig. 2 shows provide the method flow of boarding program at first server end according to a kind of of the application one embodiment Figure;
Fig. 3, which is shown, provides the method flow of boarding program at second server end according to a kind of of the application one embodiment Figure;
Fig. 4 shows the systems approach flow chart according to a kind of offer of the application one embodiment boarding program.
Fig. 5 is shown according to a kind of for providing the equipment knot of the first server of boarding program of the application one embodiment Composition;
Fig. 6 is shown according to a kind of for providing the equipment knot of the second server of boarding program of the application one embodiment Composition;
Fig. 7 shows the exemplary system that can be used for implementing each embodiment described herein.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more Processor (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or Any other non-transmission medium, can be used for storage can be accessed by a computing device information.
The application meaning equipment includes but is not limited to that user equipment, the network equipment or user equipment and the network equipment pass through Network is integrated constituted equipment.The user equipment includes but is not limited to that any one can carry out human-computer interaction with user The mobile electronic product, such as smart phone, tablet computer etc. of (such as human-computer interaction is carried out by touch tablet), the mobile electricity Sub- product can use any operating system, such as android operating system, iOS operating system.Wherein, the network equipment The electronic equipment of numerical value calculating and information processing can be carried out automatically according to the instruction for being previously set or storing including a kind of, Hardware includes but is not limited to microprocessor, specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate Array (FPGA), digital signal processor (DSP), embedded device etc..The network equipment includes but is not limited to computer, net The cloud that network host, single network server, multiple network server collection or multiple servers are constituted;Here, cloud is by based on cloud The a large number of computers or network servers for calculating (Cloud Computing) is constituted, wherein cloud computing is the one of distributed computing Kind, a virtual supercomputer consisting of a loosely coupled set of computers.The network includes but is not limited to interconnect Net, wide area network, Metropolitan Area Network (MAN), local area network, VPN network, wireless self-organization network (Ad Hoc network) etc..Preferably, the equipment Can also be run on the user equipment, the network equipment or user equipment and the network equipment, the network equipment, touch terminal or The network equipment and touch terminal are integrated the program in constituted equipment by network.
Certainly, those skilled in the art will be understood that above equipment is only for example, other are existing or are likely to occur from now on Equipment be such as applicable to the application, should also be included within the application protection scope, and be incorporated herein by reference.
In the description of the present application, the meaning of " plurality " is two or more, unless otherwise specifically defined.
Fig. 1 shows the typical scene of the application, and first server and second server can be by between the two Direct communication interact cooperation, first server can be interacted with user equipment by direct communication between the two Cooperation.Here, user equipment includes but is not limited to that smart phone, tablet computer, PC etc. calculate equipment;First server It include but is not limited to computer, network host, single network server, multiple network server collection or multiple with second server The cloud that server is constituted.
With reference to system shown in figure 1, a kind of method of offer boarding program is provided, this method comprises: first service Device receives user equipment to the access request of target boarding program;Determine the corresponding second server of the target boarding program, Wherein, the target boarding program is published on the second server;It sends to the second server and is posted about the target The read requests of Su Chengxu;The second server receive that the first server sends about target boarding program Read requests;The target boarding program is returned to the first server;The first server receives the second service The target boarding program that device is returned based on the read requests;Target boarding program is provided to the user to set It is standby.
The application is introduced mainly in combination with system topological figure shown in FIG. 1 above, individually below from first server It carries out specific citing in conjunction with attached drawing with the angle of second server and introduces.
Fig. 2 shows providing the method for boarding program at first server end according to a kind of of the application one embodiment, Wherein, the method comprising the steps of S11, step S12, step S13 and step S14.In step s 11, first server receives Access request of the user equipment to target boarding program;In step s 12, first server determines the target boarding program pair The second server answered, wherein the target boarding program is published on the second server;In step s 13, first service Device sends the read requests about target boarding program to the second server, and receives the second server and be based on The target boarding program that the read requests return;In step S14, first server proposes target boarding program It is supplied to the user equipment.
In step s 11, first server receives user equipment to the access request of target boarding program.For example, user Search key is the boarding program of " map " in a host program on a user device, and institute can be presented in the host program Have the icon of the relevant boarding program with " map ", lodge when the user clicks program A corresponding icon when, user equipment can be to the One server sends the access request to boarding program A, and first server can receive access of the user equipment to boarding program A Request.
In step s 12, first server determines the corresponding second server of the target boarding program, wherein described Target boarding program is published on the second server, and the target boarding program is not issued in first server.For example, the After one server receives user equipment to the access request of boarding program A, by routing table lookup to the program A that lodges the It is issued on two servers, wherein the routing table is the mapping relations for safeguarding boarding program and server, can by routing table To find some corresponding server for having issued the boarding program of boarding program.As a kind of implementation, cluster The routing table is stored on multiple servers, when developer issues a boarding program on one server, the server Its routing table safeguarded is updated, and information relevant to the boarding program is sent to other servers in the cluster, with Make its routing table for being safeguarded of other server updates, to realize the synchronization of routing table, first server is by searching for being located at The routing table of first server determines the corresponding second server of target boarding program.As another implementation, the routing Table only stores on a central server of cluster, when developer issues a boarding program on one server, with The relevant information of boarding program is sent to the central server, to realize the synchronization of routing table, first server is into this Central server issues request, which determines target boarding program by searching for the routing table for being located at central server Corresponding second server returns to first server using second server as request results.
In step s 13, first server sends the reading about target boarding program to the second server Request, and receive the target boarding program that the second server is returned based on the read requests.Wherein, the target Boarding program includes but is not limited to the code file etc. of the target boarding program.It is set for example, first server receives user After the standby access request to boarding program A, the read requests of boarding program A are sent to second server, second server receives It lodges after the read requests of program A, the code file of boarding program A is returned to first server as request results.
In step S14, target boarding program is provided to the user equipment by first server.For example, first Server to second server send boarding program A read requests, receive second server return about boarding journey After the request results of sequence A, the code file for the program A that lodges is returned into the user equipment.
In some embodiments, this method further includes step S15 (not shown), and in step S15, first server is to institute Target boarding program is stated to be pre-processed;Wherein, the step S14 includes: first server by the pretreated target Boarding program is provided to the user equipment.Wherein, which includes but is not limited to the finger that code file is deployed to server Determine directory location, recompility etc., the target boarding program includes but is not limited to the executable file etc. of target boarding program, For example, first server by target boarding program A code file be deployed to first server specified directory position (for example, "/nginx/dist/programA "), it is then based on the running environment of first server, recompilates the code file, thus The executable file of target boarding program A is generated, so that target boarding program A is issued in first server, it then will be the Boarding program A after issuing on one server is sent to the user equipment.
In some embodiments, the step S11 includes: first server according to user equipment to the first server The boarding program access request of transmission, Xiang Suoshu user equipment send one or more boarding program description information;Described in reception Access request that user equipment is sent, to target boarding program, wherein target boarding program with it is one or more of The target boarding program description information being selected in program description information of lodging is corresponding.Wherein, which includes but not It is limited to the requests such as browsing, search, which includes but is not limited to title, brief introduction, size, the class of boarding program Not, the information such as screenshot.For example, search key is the boarding journey of " map " in the host program of user on a user device Sequence, the icon of all boarding programs relevant with " map " can be presented in the host program, and the program A that lodges when the user clicks is corresponding Icon when, user equipment can to first server send about boarding program A access request, first server can be to user Equipment returns to the description information of boarding program A, and (for example, title is " boarding program A ", size is " 150M ", and classification is " work Tool ", brief introduction are " science and technology make trip simpler, and map A completely newly upgrades, and opens your simple trip immediately "), the host program meeting The description information of boarding program A is presented, then user chooses boarding program A, and user equipment is initiated to first server to posting The access request of Su Chengxu A.
In some embodiments, each boarding program description information pair in one or more of boarding program description information The boarding program answered is published on the second server.Wherein, the corresponding boarding program of boarding program description information is first It does not issue on server, has been issued on second server, for example, description information is title " boarding program A ", size " 150M ", type " tool ", the corresponding boarding program of the description information are boarding program A, lodge program A in first server It does not issue, has been issued on second server.
In some embodiments, this method further includes step S16 (not shown), and in step s 16, first server obtains One or more of boarding program description information.For example, as newly publication boarding program B on second server, second service The description information for the program B that lodges can be sent to first server by device, and first server receives the boarding that second server is sent The description information of program B.In another example first server requests the description information of boarding program C, second service to second server After device receives the request that first server is sent, returned using the corresponding description information of boarding program C as the response results of the request Back to first server.
In some embodiments, to include: first server send boarding program to the second server to the step S16 Inquiry request;Receive boarding programs that the second server is sent based on the boarding program inquiring request, one or more More new information;One or more of boarding program description letters are generated according to one or more of boarding program more new informations Breath.Wherein, boarding program more new packets include but are not limited to newly to issue on that server or the boarding program that newly updates Summary info, the summary info include but is not limited to title, size, publication or the more new content of the boarding program, publication or Person's renewal time etc..For example, first server sends boarding program inquiring request, the request of the inquiry request to second server Parameter is the timestamp of last time inquiry request, after second server receives the inquiry request, parses the request ginseng of the inquiry request Number obtains the timestamp of last time inquiry request, new in this section of time range from the timestamp to current time by matching The publication content information of the new publication boarding program is updated boarding program more with new by publication or the boarding program newly updated New content information is determined as program more new information of lodging, then using the boarding program more new information as the response of the inquiry request As a result first server is returned to, first server generates the boarding program according to the boarding program more new information received Description information.For example, the timestamp of first server last time inquiry request is " 2019-03-25 10:00:00 ", second service The current time that device receives current inquiry request is " 2019-03-26 10:00:00 ", by matching from " 2019-03-25 10: 00:00 " arrives " 2019-03-26 10:00:00 " this section of time range, and matching obtains in the time range on second server Only boarding program B is newly issued, by " ' 2019-03-26 16:00:00 ' boarding program B is newly issued on second server, name Title be ' boarding program B ', size is ' 100M ', publication content be ' one key connection, high speed Internet access ' " as lodge program B more The more new information is returned to first server by new information, which is generated the description of boarding program B by first server Information (title is " boarding program B ", and size is " 100M ", and brief introduction is " key connection, high speed Internet access ").
In some embodiments, it is published on the boarding program of the first server and is published on the second server Program of lodging is based on identical boarding programming specification information.For example, be published on the first server boarding program and The boarding program for being published on the second server will be based on identical framework, component, interface etc., to guarantee on second server The boarding program of publication, being capable of correct compilation run in first server.
Fig. 3, which is shown, provides the method for boarding program at second server end according to a kind of of the application one embodiment, Wherein, the method comprising the steps of S21 and step S22.In the step s 21, second server end receives what first server was sent Read requests about target boarding program, wherein the target boarding program is published on the second server;In step In S22, second server end returns to the target boarding program to the first server.
In the step s 21, the reading about target boarding program that second server end receives that first server is sent is asked It asks, wherein the target boarding program is published on the second server, and the target boarding program is not published on described first Server.For example, second server receives the read requests about boarding program A that first server is sent, boarding program A hair It is distributed in second server, is not published on first server.
In step S22, second server end returns to the target boarding program to the first server.For example, In step S21, second server receives the read requests about boarding program A that first server is sent;In step S22, Second server returns to first server using boarding program A as the response results of the read requests.
In some embodiments, the first server includes one or more boarding program description information, wherein each The corresponding boarding program of boarding program description information is published on the second server, the target boarding program and described one The target boarding program description information being selected in a or multiple boarding program description information is corresponding.Wherein, first server Including one or more boarding program description information, the boarding that first server is sent according to the user equipment to first server Program access request sends one or more boarding program description information to the user equipment, and in the place of the user equipment One or more boarding program description information is presented on main program, some the boarding program description that will be chosen on the user equipment Validation of information is target boarding program description information, and the corresponding target boarding program of target boarding program description information is published on Second server, and do not issued in first server.
In some embodiments, this method further includes step S23 (not shown), and in step S23, second server is to institute It states first server and sends one or more of boarding program description information.For example, when having one or more on second server When a boarding program publication or update, second server can post the corresponding one or more of one or more boarding program Place program description information is sent to first server.
In some embodiments, this method further includes step S24 (not shown), and in step s 24, second server receives The boarding program inquiring of the first server is requested;It is requested according to the boarding program inquiring, determines the second server On one or more boarding program more new informations;One or more of boarding program more new informations are supplied to described first Server, to generate one or more of boarding program description information.Operation described herein is hereinbefore described in detail, This is repeated no more.
After first server receives user equipment to the access request of target boarding program, it can lodge to the target is issued The second server of program requests target boarding program, so that developer only needs to issue boarding journey on one server Sequence is just able to achieve the boarding program in the shared of multiple platforms, issues boarding program without repeating in multiple servers, from And increase the efficiency of developer;Meanwhile after receiving user equipment in first server to the access request of target boarding program, Target boarding program can be just requested to the second server for issuing target boarding program, and target boarding program is carried out Publication is on second server after pretreatment, after user equipment initiates the access request of target boarding program again, second The target boarding program that server is disposed directly returns to user equipment, without requesting second server again, this Sample, which avoids, has issued a large amount of useless boarding programs on server, when user equipment requests boarding program to the server The boarding program is just issued on that server, to realize publication on demand, increases the resource utilization of boarding program.
Fig. 4 shows the systems approach flow chart according to a kind of offer of the application one embodiment boarding program.
As shown in figure 4, user equipment sends to first server and asks to the access of target boarding program in step S31 It asks;In step s 32.First server receives user equipment to the access request of target boarding program, step S32 and aforementioned step Rapid S11 is same or similar, and details are not described herein;In step S33, first server determines that the target boarding program is corresponding Second server, wherein target boarding program is published on the second server, step S33 and abovementioned steps S12 phase Same or similar, details are not described herein;In step S34, first server is sent to the second server about the mesh The read requests of mark boarding program, step S34 and abovementioned steps S13 are same or similar, and details are not described herein;In step S35 In, second server receives the read requests about target boarding program that first server is sent, wherein the target boarding Program is published on the second server, and step S35 and abovementioned steps S21 are same or similar, and details are not described herein;In step In S36, second server returns to the target boarding program to the first server, and step S36 is identical with abovementioned steps S22 Or it is similar, details are not described herein;In step S37, first server is received the second server and is asked based on the reading The target boarding program of return is sought, step S37 and abovementioned steps S13 are same or similar, and details are not described herein;In step In S38, target boarding program is provided to the user equipment by first server, and step S38 is identical with abovementioned steps S14 Or it is similar, details are not described herein;In step S39, user equipment receives the target boarding program.
Fig. 5 is shown according to a kind of for providing the first server of boarding program of the application one embodiment, wherein The first server includes module 11, one or two modules 12, one or three modules 12 and one or four modules 14 one by one.Module 11 one by one are used In reception user equipment to the access request of target boarding program;One or two modules 12, for determining the target boarding program pair The second server answered, wherein the target boarding program is published on the second server;One or three modules 13 are used for institute Read requests of the second server transmission about target boarding program are stated, and receives the second server and is based on the reading The target boarding program for taking request to return;One or four modules 14, for target boarding program to be provided to the user Equipment.
Module 11 receives user equipment to the access request of target boarding program one by one.For example, user is on a user device A host program in search key be " map " boarding program, can present in the host program all with " map " phase The icon of the boarding program of pass, lodge when the user clicks program A corresponding icon when, user equipment can be sent to first server To the access request of boarding program A, first server can receive user equipment to the access request of boarding program A.
One or two modules 12 determine the corresponding second server of the target boarding program, wherein the target boarding program It is published on the second server, the target boarding program is not issued in first server.For example, first server receives To user equipment to boarding program A access request after, by routing table lookup to boarding program A sent out on second server Cloth, wherein the routing table is the mapping relations for safeguarding boarding program and server, can find some by routing table and post The corresponding server for having issued the boarding program of Su Chengxu.As a kind of implementation, on multiple servers of a cluster Be stored with the routing table, when developer issues a boarding program on one server, the server update its safeguarded Routing table, and information relevant to the boarding program is sent to other servers in the cluster, so that other servers Its routing table safeguarded is updated, to realize the synchronization of routing table, first server is by searching for positioned at first server Routing table determines the corresponding second server of target boarding program.As another implementation, the routing table is only in cluster It is stored on one central server, when developer issues a boarding program on one server, with the boarding program phase The information of pass is sent to the central server, to realize the synchronization of routing table, first server is issued to the central server Request, the central server determine corresponding second clothes of target boarding program by searching for the routing table for being located at central server Business device, returns to first server using second server as request results.
One or three modules 13 send the read requests about target boarding program to the second server, and receive institute State the target boarding program that second server is returned based on the read requests.Wherein, the target boarding program includes But it is not limited to the code file etc. of the target boarding program.For example, first server receives user equipment to boarding program A Access request after, to second server send boarding program A read requests, second server receive boarding program A reading After taking request, the code file of boarding program A is returned to first server as request results.
Target boarding program is provided to the user equipment by one or four modules 14.For example, first server is to second Server sends the read requests of boarding program A, in the request results about boarding program A for receiving second server return Afterwards, the code file for the program A that lodges is returned into the user equipment.
In some embodiments, the first server further includes 15 (not shown) of First Five-Year Plan module, and First Five-Year Plan module 15 is used for Target boarding program is pre-processed;Wherein, one or four module 14 is used for: the pretreated target is lodged Program is provided to the user equipment.Wherein, which includes but is not limited to the specified mesh that code file is deployed to server Position, recompility etc. are recorded, the target boarding program includes but is not limited to the executable file etc. of target boarding program, example Such as, first server by target boarding program A code file be deployed to first server specified directory position (for example, "/ Nginx/dist/programA "), it is then based on the running environment of first server, recompilates the code file, thus raw At the executable file of target boarding program A, so that target boarding program A is issued in first server, it then will be first Boarding program A after issuing on server is sent to the user equipment.
In some embodiments, the module one by one 11 is used for: being sent according to user equipment to the first server Boarding program access request, Xiang Suoshu user equipment send one or more boarding program description information;The user is received to set Access request that preparation is sent, to target boarding program, wherein the target boarding program and one or more of boarding journeys The target boarding program description information being selected in sequence description information is corresponding.Wherein, the access request is including but not limited to clear The request such as look at, search for, the boarding program description information include but is not limited to lodge program title, brief introduction, size, classification, cut The information such as figure.For example, search key is the boarding program of " map " in the host program of user on a user device, it should The icon of all boarding programs relevant with " map ", the corresponding figure of program A of lodging when the user clicks can be presented in host program When mark, user equipment can send the access request about boarding program A to first server, and first server can be to user equipment Returning to the description information of boarding program A, (for example, title is " boarding program A ", size is " 150M ", and classification is " tool ", letter Jie is " science and technology makes trip simpler, and map A completely newly upgrades, and opens your simple trip immediately "), which can present and post The description information of Su Chengxu A, then user chooses boarding program A, and user equipment is initiated to first server to boarding program A Access request.
In some embodiments, each boarding program description information pair in one or more of boarding program description information The boarding program answered is published on the second server.Wherein, the corresponding boarding program of boarding program description information is first It does not issue on server, has been issued on second server, for example, description information is title " boarding program A ", size " 150M ", type " tool ", the corresponding boarding program of the description information are boarding program A, lodge program A in first server It does not issue, has been issued on second server.
In some embodiments, the first server further includes one or six module, 16 (not shown), and one or six modules 16 are used for Obtain one or more of boarding program description information.For example, as newly publication boarding program B on second server, second The description information for the program B that lodges can be sent to first server by server, and first server receives what second server was sent The description information of boarding program B.In another example description information of the first server to second server request boarding program C, second After server receives the request that first server is sent, using the corresponding description information of boarding program C as the response knot of the request Fruit returns to first server.
In some embodiments, one or six module 16 is used for: Xiang Suoshu second server sends boarding program inquiring and asks It asks;It receives boarding programs that the second server is sent based on the boarding program inquiring request, one or more and updates letter Breath;One or more of boarding program description information are generated according to one or more of boarding program more new informations.Wherein, The summary info of boarding program that boarding program more new packets include but are not limited to newly to issue on that server or newly update, The summary info include but is not limited to the boarding program title, size, publication perhaps more new content publication or renewal time Deng.For example, first server sends boarding program inquiring request to second server, the required parameter of the inquiry request is last time The timestamp of inquiry request after second server receives the inquiry request, parses the required parameter of the inquiry request, obtains last time The timestamp of inquiry request, by match in this section of time range from the timestamp to current time newly publication or it is new more New boarding program, the publication content information of the new publication boarding program and the new more new content information for updating boarding program is true It is set to boarding program more new information, then returns to for the boarding program more new information as the response results of the inquiry request One server, first server generate the description information of the boarding program according to the boarding program more new information received.Example Such as, the timestamp of first server last time inquiry request is " 2019-03-25 10:00:00 ", and second server, which receives, specifically to be looked into Ask request current time be " 2019-03-26 10:00:00 ", by matching from " 2019-03-25 10:00:00 " to " 2019-03-26 10:00:00 " this section of time range, matching obtain only lodging on second server in the time range Program B is newly issued, by " ' 2019-03-26 16:00:00 ' boarding program B is newly issued on second server, and title is ' boarding Program B ', size are ' 100M ', publication content be ' one key connection, high speed Internet access ' " as boarding program B more new information, general The more new information returns to first server, which is generated the description information (title of boarding program B by first server It is " boarding program B " that size is " 100M ", brief introduction is " key connection, high speed Internet access ").
In some embodiments, it is published on the boarding program of the first server and is published on the second server Program of lodging is based on identical boarding programming specification information.For example, be published on the first server boarding program and The boarding program for being published on the second server will be based on identical framework, component, interface etc., to guarantee on second server The boarding program of publication, being capable of correct compilation run in first server.
Fig. 6 is shown according to a kind of for providing the second server of boarding program of the application one embodiment, wherein The second server includes 21 modules 21 and two or two modules 22.21 modules 21, for receiving first server transmission Read requests about target boarding program, wherein the target boarding program is published on the second server;Two or two modules 22, for returning to the target boarding program to the first server.
21 modules 21 receive the read requests about target boarding program that first server is sent, wherein the mesh Mark boarding program is published on the second server, and the target boarding program is not published on the first server.For example, the Two servers receive the read requests about boarding program A that first server is sent, and boarding program A is published on second service Device is not published on first server.
Two or two modules 22 return to the target boarding program to the first server.For example, 21 modules 21 receive the The read requests about boarding program A that one server is sent;Two or two modules 22 are using boarding program A as the read requests Response results return to first server.
In some embodiments, the first server includes one or more boarding program description information, wherein each The corresponding boarding program of boarding program description information is published on the second server, the target boarding program and described one The target boarding program description information being selected in a or multiple boarding program description information is corresponding.Wherein, first server Including one or more boarding program description information, the boarding that first server is sent according to the user equipment to first server Program access request sends one or more boarding program description information to the user equipment, and in the place of the user equipment One or more boarding program description information is presented on main program, some the boarding program description that will be chosen on the user equipment Validation of information is target boarding program description information, and the corresponding target boarding program of target boarding program description information is published on Second server, and do not issued in first server.
In some embodiments, the second server further includes two or three module, 23 (not shown), and two or three modules 23 are used for One or more of boarding program description information are sent to the first server.For example, when having one on second server Or when multiple boarding program publications or update, second server can be one or more corresponding one or more boarding program A boarding program description information is sent to first server.
In some embodiments, the second server further includes two or four module, 24 (not shown), and two or four modules 24 are used for Receive the boarding program inquiring request of the first server;It is requested according to the boarding program inquiring, determines second clothes The one or more boarding program more new informations being engaged on device;One or more of boarding program more new informations are supplied to described First server, to generate one or more of boarding program description information.Operation described herein has hereinbefore given in detail It states, details are not described herein.
Fig. 7 shows the exemplary system that can be used for implementing each embodiment described herein;
As shown in Figure 7 in some embodiments, system 300 can be as any one equipment in each embodiment. In some embodiments, system 300 may include one or more computer-readable mediums with instruction (for example, system stores Device or NVM/ store equipment 320) and coupled with the one or more computer-readable medium and be configured as executing instruction with Realize module thereby executing movement described herein one or more processors (for example, (one or more) processor 305)。
For one embodiment, system control module 310 may include any suitable interface controller, with to (one or It is multiple) at least one of processor 305 and/or any suitable equipment or component that communicate with system control module 310 mentions For any suitable interface.
System control module 310 may include Memory Controller module 330, to provide interface to system storage 315.It deposits Memory controller module 330 can be hardware module, software module and/or firmware module.
System storage 315 can be used for for example, load of system 300 and storing data and/or instruction.For a reality Example is applied, system storage 315 may include any suitable volatile memory, for example, DRAM appropriate.In some embodiments In, system storage 315 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controller, with Equipment 320 is stored to NVM/ and (one or more) communication interface 325 provides interface.
For example, NVM/ storage equipment 320 can be used for storing data and/or instruction.NVM/ storage equipment 320 may include appointing It anticipates nonvolatile memory appropriate (for example, flash memory) and/or to may include that any suitable (one or more) is non-volatile deposit Equipment is stored up (for example, one or more hard disk drives (HDD), one or more CD (CD) drivers and/or one or more Digital versatile disc (DVD) driver).
NVM/ storage equipment 320 may include a part for the equipment being physically mounted on as system 300 Storage resource or its can by the equipment access without a part as the equipment.For example, NVM/ storage equipment 320 can It is accessed by network via (one or more) communication interface 325.
(one or more) communication interface 325 can be provided for system 300 interface with by one or more networks and/or with Other any equipment communications appropriate.System 300 can be according to any mark in one or more wireless network standards and/or agreement Quasi- and/or agreement is carried out wireless communication with the one or more components of wireless network.
For one embodiment, at least one of (one or more) processor 305 can be with system control module 310 The logic of one or more controllers (for example, Memory Controller module 330) is packaged together.For one embodiment, (one It is a or multiple) at least one of processor 305 can encapsulate with the logic of one or more controllers of system control module 310 Together to form system in package (SiP).For one embodiment, at least one of (one or more) processor 305 It can be integrated on same mold with the logic of one or more controllers of system control module 310.For one embodiment, At least one of (one or more) processor 305 can be with the logic of one or more controllers of system control module 310 It is integrated on same mold to form system on chip (SoC).
In various embodiments, system 300 can be, but not limited to be: server, work station, desk-top calculating equipment or movement It calculates equipment (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).In various embodiments, System 300 can have more or fewer components and/or different frameworks.For example, in some embodiments, system 300 includes One or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), nonvolatile memory port, Mutiple antennas, graphic chips, specific integrated circuit (ASIC) and loudspeaker.
Present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has calculating Machine code, when the computer code is performed, such as preceding described in any item methods are performed.
Present invention also provides a kind of computer program products, when the computer program product is executed by computer equipment When, such as preceding described in any item methods are performed.
Present invention also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Memory, for storing one or more computer programs;
When one or more of computer programs are executed by one or more of processors so that it is one or Multiple processors realize such as preceding described in any item methods.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution. Those skilled in the art will be understood that the existence form of computer program instructions in computer-readable medium includes but is not limited to Source file, executable file, installation package file etc., correspondingly, the mode that computer program instructions are computer-executed include but Be not limited to: the computer directly execute the instruction or the computer compile the instruction after execute program after corresponding compiling again, Perhaps the computer reads and executes the instruction or after the computer reads and install and execute corresponding installation again after the instruction Program.Here, computer-readable medium can be for computer access any available computer readable storage medium or Communication media.
Communication media includes whereby including, for example, computer readable instructions, data structure, program module or other data Signal of communication is transmitted to the medium of another system from a system.Communication media may include having the transmission medium led (such as electric Cable and line (for example, optical fiber, coaxial etc.)) and can propagate wireless (not having the transmission the led) medium of energy wave, such as sound, electricity Magnetic, RF, microwave and infrared.Computer readable instructions, data structure, program module or other data can be embodied as example wireless Medium (such as carrier wave or be such as embodied as spread spectrum technique a part similar mechanism) in modulated message signal. Term " modulated message signal " refers to that one or more feature is modified or is set in a manner of encoded information in the signal Fixed signal.Modulation can be simulation, digital or Hybrid Modulation Technology.
As an example, not a limit, computer readable storage medium may include such as computer-readable finger for storage Enable, the volatile and non-volatile that any method or technique of the information of data structure, program module or other data is realized, can Mobile and immovable medium.For example, computer readable storage medium includes, but are not limited to volatile memory, such as with Machine memory (RAM, DRAM, SRAM);And nonvolatile memory, such as flash memory, various read-only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM);And magnetic and optical storage apparatus (hard disk, Tape, CD, DVD);Or other currently known media or Future Development can store the computer used for computer system Readable information/data.
Here, including a device according to one embodiment of the application, which includes for storing computer program The memory of instruction and processor for executing program instructions, wherein when the computer program instructions are executed by the processor When, trigger method and/or technology scheme of the device operation based on aforementioned multiple embodiments according to the application.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (14)

1. a kind of provide the method for boarding program at first server end, wherein the described method includes:
User equipment is received to the access request of target boarding program;
Determine the corresponding second server of the target boarding program, wherein the target boarding program is published on described second Server;
The read requests about target boarding program are sent to the second server, and receive the second server base In the target boarding program that the read requests return;
Target boarding program is provided to the user equipment.
2. according to the method described in claim 1, wherein, the method also includes:
Target boarding program is pre-processed;
It is wherein, described that target boarding program is provided to the user equipment, comprising:
The pretreated target boarding program is provided to the user equipment.
3. method according to claim 1 or 2, wherein the user equipment that receives asks the access of target boarding program It asks, comprising:
According to the boarding program access request that user equipment is sent to the first server, Xiang Suoshu user equipment sends one Or multiple boarding program description information;
Receive access request that the user equipment is sent, to target boarding program, wherein the target boarding program and institute It is corresponding to state the target boarding program description information being selected in one or more boarding program description information.
4. according to the method described in claim 3, each boarding program is retouched in one or more of boarding program description information It states the corresponding boarding program of information and is published on the second server.
5. according to the method described in claim 4, wherein, the method also includes:
Obtain one or more of boarding program description information.
6. according to the method described in claim 5, wherein, the one or more of boarding program description information of acquisition are wrapped It includes:
Boarding program inquiring request is sent to the second server;
It receives boarding programs that the second server is sent based on the boarding program inquiring request, one or more and updates letter Breath;
One or more of boarding program description information are generated according to one or more of boarding program more new informations.
7. method according to any one of claim 1 to 6, wherein be published on the boarding program of the first server Identical boarding programming specification information is based on the boarding program for being published on the second server.
8. a kind of provide the method for boarding program at second server end, wherein the described method includes:
Receive the read requests about target boarding program that first server is sent, wherein the target boarding program publication In the second server;
The target boarding program is returned to the first server.
9. according to the method described in claim 8, wherein, the first server includes one or more boarding program description letters Breath, wherein the corresponding boarding program of each boarding program description information is published on the second server, and the target is lodged The target boarding program description information being selected in program and one or more of boarding program description information is corresponding.
10. according to the method described in claim 9, wherein, the method also includes:
One or more of boarding program description information are sent to the first server.
11. according to the method described in claim 9, wherein, the method also includes:
Receive the boarding program inquiring request of the first server;
It is requested according to the boarding program inquiring, determines that one or more boarding programs on the second server update letter Breath;
One or more of boarding program more new informations are supplied to the first server, it is one or more of to generate Boarding program description information.
12. a kind of provide the method for boarding program, wherein the described method includes:
First server receives user equipment to the access request of target boarding program;Determine that the target boarding program is corresponding Second server, wherein the target boarding program is published on the second server;To the second server send about The read requests of the target boarding program;
The second server receives the read requests about target boarding program that the first server is sent;To institute It states first server and returns to the target boarding program;
The first server receives the target boarding program that the second server is returned based on the read requests;It will The target boarding program is provided to the user equipment.
13. a kind of provide the equipment of boarding program, wherein the equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed Execute the operation as described in any one of claims 1 to 11.
14. a kind of computer-readable medium of store instruction, described instruction makes system carry out such as claim 1 when executed To operation described in any one of 11.
CN201910244214.6A 2019-03-28 2019-03-28 It is a kind of that the method and apparatus of boarding program is provided Pending CN109976832A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910244214.6A CN109976832A (en) 2019-03-28 2019-03-28 It is a kind of that the method and apparatus of boarding program is provided
PCT/CN2020/081553 WO2020192745A1 (en) 2019-03-28 2020-03-27 Method and device for providing hosted application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910244214.6A CN109976832A (en) 2019-03-28 2019-03-28 It is a kind of that the method and apparatus of boarding program is provided

Publications (1)

Publication Number Publication Date
CN109976832A true CN109976832A (en) 2019-07-05

Family

ID=67081334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910244214.6A Pending CN109976832A (en) 2019-03-28 2019-03-28 It is a kind of that the method and apparatus of boarding program is provided

Country Status (2)

Country Link
CN (1) CN109976832A (en)
WO (1) WO2020192745A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377440A (en) * 2019-07-26 2019-10-25 上海连尚网络科技有限公司 Information processing method and device
WO2020192745A1 (en) * 2019-03-28 2020-10-01 上海连尚网络科技有限公司 Method and device for providing hosted application
CN113157349A (en) * 2021-05-24 2021-07-23 北京字节跳动网络技术有限公司 Application running method, desktop application generation method, device, server and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920366A (en) * 2018-06-28 2018-11-30 腾讯科技(深圳)有限公司 One seed application adjustment method, apparatus and system
CN109359237A (en) * 2018-09-30 2019-02-19 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus
CN109408696A (en) * 2018-09-30 2019-03-01 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6832239B1 (en) * 2000-07-07 2004-12-14 International Business Machines Corporation Systems for managing network resources
CN102469114B (en) * 2010-11-08 2014-11-26 北京裕源大通科技有限公司 Open mobile terminal widget application platform, realization method thereof and server
CN105307156B (en) * 2015-10-23 2020-08-21 南京博雅区块链研究院有限公司 Device and method for requesting downloading of application
CN107273189A (en) * 2016-04-06 2017-10-20 泰康之家(北京)投资有限公司 A kind of method for managing subapplication and application carry platform
WO2018158784A1 (en) * 2017-02-28 2018-09-07 Forward Unity S.R.L. System, apparatus and method for providing an application development and execution platform
CN109976832A (en) * 2019-03-28 2019-07-05 上海连尚网络科技有限公司 It is a kind of that the method and apparatus of boarding program is provided

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920366A (en) * 2018-06-28 2018-11-30 腾讯科技(深圳)有限公司 One seed application adjustment method, apparatus and system
CN109359237A (en) * 2018-09-30 2019-02-19 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus
CN109408696A (en) * 2018-09-30 2019-03-01 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192745A1 (en) * 2019-03-28 2020-10-01 上海连尚网络科技有限公司 Method and device for providing hosted application
CN110377440A (en) * 2019-07-26 2019-10-25 上海连尚网络科技有限公司 Information processing method and device
CN110377440B (en) * 2019-07-26 2021-10-15 上海连尚网络科技有限公司 Information processing method and device
CN113157349A (en) * 2021-05-24 2021-07-23 北京字节跳动网络技术有限公司 Application running method, desktop application generation method, device, server and medium

Also Published As

Publication number Publication date
WO2020192745A1 (en) 2020-10-01

Similar Documents

Publication Publication Date Title
JP7421511B2 (en) Methods and apparatus, electronic devices, readable storage media and computer programs for deploying applications
US11561835B2 (en) Unified container orchestration controller
CN108958780A (en) A kind of method and apparatus of the more new information for program of lodging for rendering
CN108830720A (en) Intelligent contract operation method, device, system and computer readable storage medium
US10044837B2 (en) Generation and distribution of named, definable, serialized tokens
CN103354542A (en) Enabling web clients to provide web services
CN109564527A (en) The security configuration of cloud computing node
CN109976832A (en) It is a kind of that the method and apparatus of boarding program is provided
CN111367581B (en) Method and equipment for providing hosted program
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
US11546431B2 (en) Efficient and extensive function groups with multi-instance function support for cloud based processing
CN110290557A (en) A kind of method and apparatus of the interior page-tag of load application
CN110519250A (en) It is a kind of that the method and apparatus of information flow is provided
CN109977711A (en) A kind of method and household electrical appliance of the household electrical appliance interaction based on two dimensional code
CN109947504A (en) A kind of method and apparatus executing boarding program in host program
US9569249B1 (en) Pattern design for heterogeneous environments
CN109409947A (en) A kind of client-based resident trip survey method
CN110516414A (en) A kind of method and apparatus of access novel payment chapters and sections
CN113726638B (en) Method, device and equipment for managing multi-cloud multi-core container and storage medium
CN109254781A (en) It is a kind of for installing the method and apparatus of application on a user device
US20210243088A1 (en) Infrastructure resource simulation mechanism
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
CN110333914A (en) A kind of method and apparatus for performance objective operation
CN109245938A (en) A kind of method and apparatus that the resource distribution for executing user operates
CN110502696A (en) A kind of method and apparatus of information stream distribution

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