Unlock instant, AI-driven research and patent intelligence for your innovation.

Component calling method and device, computer equipment and storage medium

A component and called technology, applied in the field of data processing, can solve problems such as inability to meet the actual needs of users, complex and other problems, and achieve the effect of ensuring priority execution and ensuring security.

Pending Publication Date: 2022-06-24
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there are still some problems in the above calling method. In the first solution, for each module, a corresponding class extension (category) needs to be generated, which will add a lot of auxiliary classes; while the second solution will depend on the called position If there is a complex calling relationship between components, there will still be intricate coupling problems. Therefore, the existing component calling methods cannot meet the actual needs of users.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Component calling method and device, computer equipment and storage medium
  • Component calling method and device, computer equipment and storage medium
  • Component calling method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0024] figure 1 It is a schematic diagram of the internal structure of a computer device in one embodiment. like figure 1 As shown, the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. Wherein, the non-volatile storage medium of the computer device stores an operating system, a database and computer-readable instructions, and the database can store the identifier of the calling component and the identifier of the called component. When the computer-readable instruction is executed by the processor , which e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a component calling method and device, computer equipment and a storage medium, and the method comprises the steps: carrying out the safety verification of calling messages sent by all calling components, and carrying out the priority sorting of the calling messages after the verification is passed, and obtaining a message queue; cyclically traversing the message queue to obtain a target message; and determining a called component matched with the target message, and sending the target message to the called component. A message distribution center is additionally arranged between a calling component and a called component, the message distribution center carries out safety verification on calling messages sent by all the calling components, a message queue is introduced under the condition that no safety risk exists, message distribution is carried out according to the message queue, the calling messages with high priorities are preferentially called, and the calling efficiency is improved. Therefore, the security of component calling can be ensured while the component decoupling is realized, and the priority execution of the emergency calling task can be ensured.

Description

technical field [0001] The present invention relates to the field of data processing, and in particular to a method, apparatus, computer equipment and storage medium for invoking components. Background technique [0002] With the continuous iteration of the project and the gradual increase of functions, the single project module method will bring many problems, such as: serious code redundancy, poor function reusability, chaotic branch management, continuous delivery, etc. In order to solve these problems, it is necessary to carry out Componentization, there is also a problem of mutual communication between components, resulting in coupling problems between components. At present, two schemes are usually used in the mobile terminal. The first scheme is: based on the target-action method, the class object of the corresponding module entry class is generated through the class extension (category) to call the corresponding action; the second scheme is: based on The method of c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/54
CPCG06F9/546
Inventor 廖加旭
Owner KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD