CN110427749B - Service implementation method, service implementation equipment and computer storage medium - Google Patents

Service implementation method, service implementation equipment and computer storage medium Download PDF

Info

Publication number
CN110427749B
CN110427749B CN201910724421.1A CN201910724421A CN110427749B CN 110427749 B CN110427749 B CN 110427749B CN 201910724421 A CN201910724421 A CN 201910724421A CN 110427749 B CN110427749 B CN 110427749B
Authority
CN
China
Prior art keywords
service
application program
application
management platform
platform server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910724421.1A
Other languages
Chinese (zh)
Other versions
CN110427749A (en
Inventor
吴培希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianshang Xinchang Network Technology Co Ltd
Original Assignee
Lianshang Xinchang 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 Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201910724421.1A priority Critical patent/CN110427749B/en
Publication of CN110427749A publication Critical patent/CN110427749A/en
Application granted granted Critical
Publication of CN110427749B publication Critical patent/CN110427749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a service implementation method, equipment and a computer storage medium, wherein the method comprises the following steps: a first application program in the terminal equipment determines the system authority required by the service to be provided; and if the first application program does not have the system authority, requesting a management platform server to provide the service by a second application program which has the system authority in the terminal equipment. The invention can realize corresponding service when the application program does not have the system authority.

Description

Service implementation method, service implementation equipment and computer storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer application technologies, and in particular, to a service implementation method, service implementation equipment, and a computer storage medium.
[ background of the invention ]
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the wide popularization of intelligent devices, various application programs are also rapidly growing. In order to provide security for the smart device, the operating system of the smart device often controls the rights opened to each application program. When the application program on the intelligent device provides the service, the service cannot be provided if the corresponding system right item is not provided.
[ summary of the invention ]
In view of the above, the present invention provides a method, an apparatus, and a computer storage medium for implementing a service, so that a corresponding service can be implemented even when an application does not have a system right.
The specific technical scheme is as follows:
in a first aspect, the present invention provides a method for implementing a service, where the method includes:
a first application program in the terminal equipment determines the system authority required by the service to be provided;
and if the first application program does not have the system authority, requesting a management platform server to provide the service by a second application program which has the system authority in the terminal equipment.
According to a preferred embodiment of the invention, the method comprises:
and when the first application program is installed in the terminal equipment, applying for system permission and recording an authorization result.
According to a preferred embodiment of the present invention, the requesting, from the management platform server, the service provided by the second application having the system authority in the terminal device includes:
the first application program inquires about the management platform server and acquires application program information with the system authority;
selecting an installed application program of the terminal device from the obtained application program information as the second application program;
and sending a request to the management platform server, wherein the request comprises a first application program identifier, a second application program identifier, the information of the system authority and the information of the service.
According to a preferred embodiment of the present invention, the requesting, from the management platform server, the service provided by the second application having the system authority in the terminal device includes:
sending a request to the management platform server, wherein the request comprises a first application program identifier, the information of the system authority and the information of the service;
and selecting one application program from the application programs with the system authority in the terminal equipment as the second application program by the management platform server side.
According to a preferred embodiment of the present invention, when selecting the second application, one of the applications having the system authority in the terminal device is selected as the second application according to a selling price of each application having the system authority to the system authority.
In a second aspect, the present invention provides a method for implementing a service, where the method includes:
the management platform server side responds to a request of a first application program in the terminal equipment and informs a second application program in the terminal equipment of providing service;
wherein the first application does not have the system permission required by the service, and the second application has the system permission required by the service.
According to a preferred embodiment of the invention, the request comprises a first application identity, a second application identity, information of the system privileges and information of the service;
notifying the second application program in the terminal device to provide the service comprises:
and sending a notification to the second application program according to the second application program identification contained in the request, wherein the notification comprises the information of the service.
According to a preferred embodiment of the invention, the method further comprises:
and the management platform server side responds to the inquiry of the first application program and returns the application program information with the system authority to the first application program so that the first application program can select an application program installed on the terminal equipment as the second application program.
According to a preferred embodiment of the invention, the request comprises a first application identity, information of the system permission and information of the service;
notifying the second application program in the terminal device to provide the service comprises:
the management platform server selects one application program from the application programs with the system authority in the terminal equipment as the second application program;
sending a notification to the second application, the notification including information of the service.
According to a preferred embodiment of the present invention, when the second application is selected, one of the applications having the system authority in the terminal device is selected as the second application according to a selling price of each application having the system authority to the system authority.
According to a preferred embodiment of the present invention, the management platform server maintains registration information of the first application program and the second application program;
the registration information of the first application includes: a list of permissions that the first application is willing to purchase, bid information, and a blacklist application;
the registration information of the second application includes: a list of rights the second application is willing to sell, selling price information, and a blacklist application.
According to a preferred embodiment of the invention, the method further comprises:
and after receiving the response of the second application program to the service, charging the first application program according to the selling price of the second application program to the system authority.
In a third aspect, the present invention further provides a method for implementing a service, where the method includes:
a second application program in the terminal equipment receives the notification of the management platform server;
providing a service indicated by the notification;
the notification is sent by the management platform server side in response to a request of a first application program in the terminal device, the first application program does not have the system permission required by the service, and the second application program has the system permission required by the service.
According to a preferred embodiment of the present invention, the notification includes a type identifier of the service and service content;
providing the service indicated by the notification includes: and determining a class corresponding to the service according to the type identifier of the service, wherein the class defines a method required for realizing the service by using the system authority, and the service content is used as a parameter of the method in the process of loading the class.
According to a preferred embodiment of the invention, the method further comprises:
and returning a response to the management platform server aiming at the service so that the management platform server charges the first application program.
In a fourth aspect, the present invention further provides a method for implementing a service, where the method includes:
a first application program in terminal equipment determines system authority required by service to be provided, and if the first application program does not have the system authority, a second application program with the system authority in the terminal equipment requests a management platform server to provide the service;
the management platform server side responds to the request of the first application program and informs a second application program in the terminal equipment of providing service;
the second application provides the service indicated by the notification in response to the notification.
In a fifth aspect, the present invention also provides an apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method as described above.
In a sixth aspect, the present invention also provides a storage medium containing computer-executable instructions for performing the method as described in any one of the above when executed by a computer processor.
According to the technical scheme, when the first application program in the terminal equipment determines that the first application program does not have the system authority required by the service to be provided, the service can be provided by the second application program with the system authority in the terminal equipment through requesting the management platform server side, so that the corresponding service can be realized when the application program does not have the system authority.
[ description of the drawings ]
FIG. 1 illustrates an exemplary system architecture to which embodiments of the invention may be applied;
FIG. 2 is a flowchart of a method provided in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart of a method provided in a second embodiment of the present invention;
FIG. 4 illustrates a block diagram of an exemplary computer system/server suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
After a terminal device installs various application programs, the phenomenon that: many applications have many rights, but do not make good use of these rights; some applications can provide rich services, but cannot provide the services sufficiently because of lack of rights. Based on this phenomenon, the core idea of the present invention is that if an application needs to provide a service using a certain system authority but does not have the system authority, the service is provided by another application having the system authority in the same terminal device.
FIG. 1 illustrates an exemplary system architecture to which embodiments of the invention may be applied. As shown in fig. 1, the system architecture may include a terminal device 101, a network 102, and a management platform server 103. The network 102 is used to provide a medium for communication links between the terminal devices 101 and the management platform server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal device 101 to interact with the management platform server 103 via the network 102. Various applications may be installed on the terminal device 101, such as a reading application, a web browser application, a communication application, a tool application, a video application, an audio application, a housekeeping application, and so on. Only two applications are shown in fig. 1: the first application and the second application are examples.
The terminal device 101 may be various electronic devices that install and run various applications, including but not limited to smart mobile devices, PCs, smart home devices, wearable devices, and the like. Wherein the smart mobile device may include devices such as a cell phone, a tablet computer, a notebook computer, a PDA (personal digital assistant), an internet automobile, etc. The smart home device may include a smart home device, such as a smart television or the like. Wearable devices may include devices such as smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (i.e., devices that can support virtual reality and augmented reality), and so forth.
The management platform server 103 may be a single server or a server group consisting of a plurality of servers.
In the embodiment of the present invention, the first application mainly has the following functions:
1) when each application program is installed, the system authority is applied and the authorization result is recorded.
2) And determining the system authority required by the service to be provided.
3) If the first application does not have the system authority, the management platform server 103 is requested to provide the service by a second application having the system authority in the terminal device 101.
There are two ways to implement this:
the first mode is as follows: the first application program can inquire the management platform server and acquire the application program information with the system authority, and then one installed application program of the terminal device is selected from the acquired application program information to serve as a second application program. For example, one of the applications with system privileges may be selected as the second application depending on the selling price of the system privilege for the application. And then requesting the management platform server to provide the service by the second application program.
In this way, the first application program can send a request containing the first application program identification, the second application program identification, the system authority information and the service information to the management platform server side.
The second mode is as follows:
the first application program only includes the first application program identification, the system authority information and the service information in the request and sends the request to the management platform server, the management platform server selects one application program with the system authority from the terminal device 101 as a second application program according to the registration information maintained by the management platform server, and the second application program provides the service.
The method flows corresponding to the above two modes will be described in detail in the following through the first embodiment and the second embodiment.
The management platform server side mainly has the following functions:
1) and responding to the request of the first application program in the terminal equipment, and informing the second application program in the terminal equipment of providing the service. The first application program does not have the system authority required by the service, and the second application program has the system authority required by the service.
2) Registration information for the first application and the second application is maintained. Wherein the registration information of the first application includes: a list of permissions that the first application is willing to purchase, bid information, and a blacklist application. The registration information of the second application includes: a list of rights the second application is willing to sell, selling price information, and a blacklist application.
3) And after receiving the response of the second application program to the service, charging the first application program according to the selling price of the second application program to the system authority.
The second application program mainly has the following functions:
1) and receiving the notification of the management platform service end and providing the service indicated by the notification.
2) And returning a response to the management platform server aiming at the service so that the management platform server charges the first application program.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks, and servers may be present, as desired for implementation. In addition, one application in the terminal device may have only the functions of the first application or the second application, or may have both the functions of the first application and the second application. That is, one application may not have certain system rights and need other applications having the system rights in the same terminal device to be served instead. It is also possible to provide services for other applications that do not have certain system rights in the same terminal device because they do.
The first embodiment,
Fig. 2 is a flowchart of a method according to an embodiment of the present invention, and as shown in fig. 2, the method may include the following steps:
in 201, a first application determines system permissions required by a service to be provided but does not possess the system permissions itself.
In this step, when the first application program wants to provide a certain service, the service is regarded as a service to be provided. First, the first application program will determine the system authority required by the service; and then judging whether the first application program has the system authority.
Usually, an application will apply for a series of system permissions at installation, some of which are authorized or prohibited by default by the operating system of the terminal device, and some of which will notify the user of the authorization or prohibition by the user. Through this process, the application records the authorization result, i.e. the system authority possessed by itself.
If the first application program itself has the system authority, the service is directly provided (not shown in the figure), and if the first application program does not have the system authority, the subsequent steps are continuously executed.
At 202, the management platform server is queried for application information that has the system privilege. Specifically, an inquiry message containing system authority information and a first application program identifier can be sent to the management platform server side.
At 203, the management platform server returns a list of applications with the system privilege to the first application.
The management platform server stores the registration information of each application program in advance. For the first application program in the embodiment of the present invention, the registration information of the first application program may include: a list of permissions that the first application is willing to purchase, bid information, and a blacklist application. Where the bid information may be the highest bid to purchase a particular system right. The applications included in the blacklisted applications are applications that a first application needs to exclude when purchasing system privileges, and these applications cannot be a second application of the first application.
For the second application, the registration information may include: a list of rights the second application is willing to sell, selling price information, and blacklist applications, and may also include other such as frequency control information. Where the bid information may be a price at which a particular system right is sold. The applications included in the blacklisted applications are applications that the second application needs to exclude when selling the system rights, and these applications cannot be the first application of the second application. The frequency control information is frequency control information used for a certain system authority, and may be a maximum frequency in general.
In this step, the management platform server may return the application programs which have the system authority and are not in the blacklist application of the other party and have the selling price of the system authority not exceeding the bid price of the first application program to the first application program in a list form. The first application program determines the application programs installed by the terminal device from the received application program list in 204, and then selects one application program from the application programs as a second application program according to the selling price. For example, the application program with the lowest selling price for the system authority is selected as the second application program.
Alternatively, the first application may carry the list of applications installed in the terminal device when sending the query message. The application program list may also be uploaded to the management platform server when the first application program is started, or may also be uploaded to the management platform server when other application programs of the terminal device are started. The management platform server side can return the application programs which have the system authority in the application program list, are not in the blacklist application of the other side, and have the selling price of the system authority not exceeding the price of the first application program to the first application program in a list form. And selecting one application program from the received application program list as a second application program according to the selling price by the first application program. This is not shown in the figure.
In 205, a request is sent to the management platform server, where the request includes the first application identifier, the second application identifier, the system permission information, and the service information.
The information of the service may specifically include type information of the service and specific content of the service. The specific content of the service may include an address of a web page, an address of a multimedia resource, text content, and the like.
At 206, the management platform service sends a notification to the second application, where the notification includes information about the service.
At 207, the second application provides the service as indicated by the notification.
Through the request sent by the first application to the management platform server in step 205 and the notification sent by the management platform server to the second application in step 206, the information transfer of the service has been completed, that is, the information of the service to be implemented is transferred from the first application without the corresponding system authority to the second application with the corresponding system authority.
After receiving the information of the service, the second application program firstly calls the corresponding service according to the type identifier and provides the indicated service content by using the system authority so as to realize the service. In an application, a service may be implemented by one or more methods that are included in the Class (Class) to which the service corresponds. The corresponding class can be determined according to the type identifier of the service contained in the notification, and the class defines a method for realizing the service requirement, wherein the method comprises the use of the system authority. And in the process of loading the class, the service content contained in the notification is used as a parameter of the method, so that the service is realized.
At 208, the second application returns a response to the management platform service for the service.
In this step, the second application may return a response while receiving the instruction and providing the service, or may return a response after completing the service.
At 209, the management platform server charges the first application according to the selling price of the second application to the system authority.
Steps 208 and 209 in this embodiment are not steps necessary for technical implementation, and are implemented so that the rich system rights in the second application are realized while being fully utilized.
Example II,
Fig. 3 is a flowchart of a method according to a second embodiment of the present invention, and as shown in fig. 3, the method may include the following steps:
in 301, a first application determines system permissions required by a service to be provided but does not possess the system permissions itself.
This step is the same as step 201 in the first embodiment, and is not described in detail.
At 302, a request is sent to a management platform server, the request including: the identifier of the terminal device, the identifier of the first application program, the system authority information and the information of the service.
At 303, the management platform server selects one of the applications having the system authority from the terminal device as a second application.
Similarly, the management platform server stores the registration information of each application program in advance. For the first application program in the embodiment of the present invention, the registration information of the first application program may include: a list of permissions that the first application is willing to purchase, bid information, and a blacklist application. Where the bid information may be the highest bid to purchase a particular system right. The applications included in the blacklisted applications are applications that a first application needs to exclude when purchasing system privileges, and these applications cannot be a second application of the first application.
For the second application, the registration information may include: a list of rights the second application is willing to sell, selling price information, and blacklist applications, and may also include other such as frequency control information. Where the bid information may be a price at which a particular system right is sold. The applications included in the blacklisted applications are applications that the second application needs to exclude when selling the system rights, and these applications cannot be the first application of the second application. The frequency control information refers to frequency control information that is utilized by a certain system authority, and may be a maximum frequency allowed to be utilized in general.
The first application program may include an application program list installed in the terminal device in the request sent, where the application program list may also be uploaded to the management platform server when the first application program is started, or may also be uploaded to the management platform server when other application programs of the terminal device are started. The management platform server side can determine the application programs which have the system authority and are not in the blacklist application of the other side from the installed application program list, the selling price of the system authority does not exceed the price of the first application program, and one of the determined application programs is selected as the second application program. For example, the application program with the lowest selling price for the system authority is selected as the second application program.
At 304, the management platform service sends a notification to the second application, the notification including information of the service.
At 305, the second application provides the service as indicated by the notification.
This step is described in detail in step 207 of the embodiment shown in FIG. 2.
At 306, the second application returns a response to the management platform service for the service.
In 307, the management platform server charges the first application according to the selling price of the second application to the system authority.
Also, steps 306 and 307 in this embodiment are not steps necessary for technical implementation, and the steps are implemented so that the rich system rights in the second application are realized while being fully utilized.
One specific example is as follows:
suppose that a series of applications are installed in the user's mobile phone, including: application A, application B, application C, and application D.
The application program A is an information application program and wants to use the floating window authority to perform news exhibition, but the application program A does not have the floating window authority. Therefore, an inquiry message containing the identification of the application program A and the floating window authority information is sent to the management platform server side.
The management platform server maintains the registration information of each application program. Determining the application program with the floating window authority through the registration information comprises the following steps:
application B, selling price M1;
application C, selling price M2;
application E, selling price M3;
application F, selling price M4;
application G, selling price M5;
assume that application E is on the blacklist of application a and that application F has a selling price that is higher than application a's bid for the floating window privilege. The satisfactory application is then: and the application program B, the application program C and the application program G return the list of the application programs meeting the requirements to the application program A.
The application program A scans the installed programs in the mobile phone and determines that the application program B and the application program C are installed in the mobile phone. The application a selects an application with a lower selling price, which is assumed to be the application B, from the application B and the application C.
Then, the application program A sends information containing the identification of the application program A, the identification of the application program B, the floating window authority and the service information to the management platform server side. And the management platform server sends a notice to the application program B, wherein the notice comprises the information of the service. To this end, the information of the service is transferred from the application a to the application B via the management platform server. Wherein the information of the service comprises the service type identification and the specific content of the service. The service type may be a floating window show and the specific content of the service may be the address URL1 of a specific news page.
The application program B of the instant messaging class displays the news content pointed by the URL1 in the form of a floating window according to the notification, and returns a response to the management platform server. Specifically, the communication-Class application B may determine the Class of floating window presentation according to the service type, and in the Class, a method used for implementing the floating window presentation is defined, which includes the use of the floating window right. In the process of loading the Class, the URL1 is used as a parameter of the method, so that the news content pointed by the URL1 is displayed in the form of a floating window.
The management platform server charges the application program A according to the selling price M1, and the charging can be attributed to the application program B or divided by the application program B and the management platform.
Fig. 4 illustrates a block diagram of an exemplary computer system/server 012 suitable for use in implementing embodiments of the invention. The computer system/server 012 shown in fig. 4 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the computer system/server 012 is embodied as a general purpose computing device. The components of computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 that couples various system components including the system memory 028 and the processing unit 016.
Bus 018 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 012 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 012 and includes both volatile and nonvolatile media, removable and non-removable media.
System memory 028 can include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)030 and/or cache memory 032. The computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 034 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be connected to bus 018 via one or more data media interfaces. Memory 028 can include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the present invention.
Program/utility 040 having a set (at least one) of program modules 042 can be stored, for example, in memory 028, such program modules 042 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof might include an implementation of a network environment. Program modules 042 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.
The computer system/server 012 may also communicate with one or more external devices 014 (e.g., keyboard, pointing device, display 024, etc.), hi the present invention, the computer system/server 012 communicates with an external radar device, and may also communicate with one or more devices that enable a user to interact with the computer system/server 012, and/or with any device (e.g., network card, modem, etc.) that enables the computer system/server 012 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 022. Also, the computer system/server 012 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 020. As shown, the network adapter 020 communicates with the other modules of the computer system/server 012 via bus 018. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 016 executes programs stored in the system memory 028, thereby executing various functional applications and data processing, such as implementing the method flow provided by the embodiment of the present invention.
The computer program described above may be provided in a computer storage medium encoded with a computer program that, when executed by one or more computers, causes the one or more computers to perform the method flows and/or apparatus operations shown in the above-described embodiments of the invention. For example, the method flows provided by the embodiments of the invention are executed by one or more processors described above.
With the development of time and technology, the meaning of media is more and more extensive, and the propagation path of computer programs is not limited to tangible media any more, and can also be downloaded from a network directly and the like. Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
From the above description, it can be seen that the method, apparatus, and computer storage medium provided by the embodiments of the present invention can have the following advantages:
1) when the application program in the terminal equipment determines that the application program does not have the system authority required by the service to be provided, the invention can request other application programs with the system authority in the terminal equipment to provide the service to the management platform server, thereby realizing the corresponding service when the application program does not have the system authority.
2) Through the mechanism provided by the invention, after the application program with the system authority provides the service, the management platform server can charge for the application program requesting the service, so that the showing capability of the application program with the system authority and the service capability of the application program requesting the service are improved, and the win-win effect is finally achieved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method for implementing a service, the method comprising:
a first application program in the terminal equipment determines the system authority required by the service to be provided;
if the first application program does not have the system authority, sending a request to a management platform server through a network so that the management platform server can send a notification to a second application program which has the system authority in the terminal device, wherein the notification comprises the type information of the service and the content of the service, and the second application program calls the corresponding service according to the type information and utilizes the content of the service to realize the service.
2. The method of claim 1, characterized in that the method comprises:
and when the first application program is installed in the terminal equipment, applying for system permission and recording an authorization result.
3. The method of claim 1, wherein sending the request to the management platform server comprises:
the first application program inquires about the management platform server and acquires application program information with the system authority;
selecting an installed application program of the terminal device from the obtained application program information as the second application program;
and sending a request to the management platform server, wherein the request comprises a first application program identifier, a second application program identifier, the information of the system authority and the information of the service.
4. The method of claim 1, wherein sending the request to the management platform server comprises:
sending a request to the management platform server, wherein the request comprises a first application program identifier, the information of the system authority and the information of the service;
and selecting one application program from the application programs with the system authority in the terminal equipment as the second application program by the management platform server side.
5. A method for implementing a service, the method comprising:
the management platform server responds to a request of a first application program in the terminal equipment through a network, sends a notification to a second application program in the terminal equipment, wherein the notification comprises the type information of the service and the content of the service, and the second application program calls the corresponding service according to the type information and utilizes the content of the service to realize the service;
wherein the first application does not have the system permission required by the service, and the second application has the system permission required by the service.
6. The method of claim 5, wherein the request comprises a first application identification, a second application identification, information of the system privilege, and information of the service;
sending the notification to the second application in the terminal device comprises:
and sending a notification to the second application program according to the second application program identifier contained in the request.
7. The method of claim 6, further comprising:
and the management platform server side responds to the inquiry of the first application program and returns the application program information with the system authority to the first application program so that the first application program can select an application program installed on the terminal equipment as the second application program.
8. The method of claim 5, wherein the request includes a first application identification, information of the system privilege, and information of the service;
sending the notification to the second application in the terminal device comprises:
the management platform server selects one application program from the application programs with the system authority in the terminal equipment as the second application program;
sending a notification to the second application.
9. A method for implementing a service, the method comprising:
a second application program in the terminal equipment receives a notification of a management platform service end through a network, wherein the notification comprises type information of a service and content of the service;
calling a corresponding service according to the type information and realizing the service by using the content of the service;
the notification is sent by the management platform server side in response to a request of a first application program in the terminal device, the first application program does not have the system permission required by the service, and the second application program has the system permission required by the service.
10. The method of claim 9, wherein invoking the corresponding service according to the type information and implementing the service using the content of the service comprises: determining a class corresponding to the service according to the type information of the service, wherein the class defines a method required for realizing the service by using the system authority, and the service content is used as a parameter of the method in the process of loading the class.
11. The method of claim 9, further comprising:
and returning a response to the management platform server aiming at the service so that the management platform server charges the first application program.
12. A method for implementing a service, the method comprising:
a first application program in terminal equipment determines system authority required by a service to be provided, and if the first application program does not have the system authority, a request is sent to a management platform server through a network;
the management platform server side responds to the request of the first application program and sends a notification to a second application program with the system authority in the terminal equipment, wherein the notification comprises the type information of the service and the content of the service;
and the second application program responds to the notification, calls the corresponding service according to the type information and realizes the service by using the content of the service.
13. An apparatus for implementing a service, the apparatus comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-12.
14. A storage medium containing computer-executable instructions for performing the method of any one of claims 1-12 when executed by a computer processor.
CN201910724421.1A 2019-08-07 2019-08-07 Service implementation method, service implementation equipment and computer storage medium Active CN110427749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910724421.1A CN110427749B (en) 2019-08-07 2019-08-07 Service implementation method, service implementation equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910724421.1A CN110427749B (en) 2019-08-07 2019-08-07 Service implementation method, service implementation equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110427749A CN110427749A (en) 2019-11-08
CN110427749B true CN110427749B (en) 2022-03-01

Family

ID=68412999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910724421.1A Active CN110427749B (en) 2019-08-07 2019-08-07 Service implementation method, service implementation equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110427749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061492B (en) * 2019-12-16 2023-12-29 连尚(新昌)网络科技有限公司 Application processing method, device and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826215A (en) * 2014-02-11 2014-05-28 北京奇虎科技有限公司 Method and apparatus for carrying out root authority management at terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001982B (en) * 2011-09-09 2017-04-26 华为技术有限公司 Real-time sharing method, real-time sharing device and real-time sharing system
CN103065098B (en) * 2011-10-24 2018-01-19 联想(北京)有限公司 Access method and electronic equipment
CN105812479B (en) * 2016-04-15 2020-02-28 腾讯科技(深圳)有限公司 Request method and device and acquisition method and device for use permission

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826215A (en) * 2014-02-11 2014-05-28 北京奇虎科技有限公司 Method and apparatus for carrying out root authority management at terminal equipment

Also Published As

Publication number Publication date
CN110427749A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
EP3231133B1 (en) Providing selective access to resources
CN110389936B (en) Method, equipment and computer storage medium for starting small program
CN110389935B (en) Method, equipment and computer storage medium for starting small program
US20070143856A1 (en) Method and apparatus for managing content in a mobile device
CN110569667B (en) Access control method and device, computer equipment and storage medium
US20220374538A1 (en) Permission control method and device and electronic equipment
WO2021013247A1 (en) Method and device for running applet, and computer storage medium
WO2022111290A1 (en) Display method and apparatus, and electronic device
US8739291B2 (en) System and method for providing access to OMA DRM protected files from java application
WO2021088671A1 (en) Method for calling terminal capability, device, and computer storage medium
CN111079125A (en) Method and device for calling third-party library dynamic lifting authority by application program
EP2057627A2 (en) User-converted media marketplace
CN110427749B (en) Service implementation method, service implementation equipment and computer storage medium
CN113343304A (en) Permission application method and device, electronic equipment and storage medium
US20230379279A1 (en) Interaction method and apparatus, and electronic device
CN111010453B (en) Service request processing method, system, electronic device and computer readable medium
CN112699407A (en) Service data access method, device, equipment and storage medium
CN111475230A (en) Application function configuration method and device and electronic equipment
CN109614089B (en) Automatic generation method, device, equipment and storage medium of data access code
CN115086305B (en) Information processing method, apparatus, electronic device and storage medium
CN116595047A (en) Rights management method, rights management device, electronic device and computer-readable storage medium
CN111143089A (en) Method and device for calling third-party library dynamic lifting authority by application program
CN110059063B (en) Multi-format data synchronous sharing method, device, medium and electronic equipment
CN113486401A (en) Method, device, equipment and medium for verifying access authority
EP3595260B1 (en) Location based network usage policies

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant