Data processing method, system, electronic device and computer storage medium

CN113961633BActive Publication Date: 2026-08-21BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111302208.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2026-08-21
Estimated Expiration
2041-11-04

AI Technical Summary

Benefits of technology

[0008]根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行上述方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113961633B_ABST
    Figure CN113961633B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing method, relates to the technical field of computers, and particularly relates to computer vision technology. The implementation scheme is: obtaining a user request from a client, the user request comprising data information and a keyword; inputting the user request into a basic service system, applying a first algorithm to the data information in the basic service system to obtain an intermediate result; inputting the keyword and the intermediate result into an interface encapsulation system, wherein the interface encapsulation system is suitable for executing at least two result conversion modes; and calling a corresponding result conversion mode in the interface encapsulation system according to the keyword to perform result conversion on the intermediate result to obtain an output result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to computer vision technology, specifically to a data processing method, system, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] In recent years, computer vision technology has developed rapidly, enabling users to obtain various information from images. For example, by inputting an image, users can learn how many people are in the image, the gender of each person, and the interaction between each person and objects. Sometimes, different users need to obtain different information from an image, meaning that the same image input may return different types of results.

[0003] The methods described in this section are not necessarily methods that had been previously conceived or adopted. Unless otherwise specified, no method described in this section should be assumed to be prior art simply because it is included in this section. Similarly, unless otherwise specified, the issues mentioned in this section should not be considered to be accepted in any prior art. Summary of the Invention

[0004] This disclosure provides a method, system, electronic device, computer-readable storage medium, and computer program product for data processing.

[0005] According to one aspect of this disclosure, a data processing method is provided, the method comprising: obtaining a user request from a client, the user request including data information and keywords; inputting the user request into a basic service system, applying a first algorithm in the basic service system to process the data information to obtain intermediate results; inputting the keywords and intermediate results into an interface encapsulation system, wherein the interface encapsulation system is adapted to perform at least two result conversion modes; and invoking the corresponding result conversion mode in the interface encapsulation system according to the keywords to perform result conversion on the intermediate results to obtain an output result.

[0006] According to another aspect of this disclosure, a data processing system is provided, comprising: a basic service system configured to: acquire a user request from a client, wherein the user request includes data information and keywords, and apply a first algorithm to process the data information to obtain intermediate results; and an interface encapsulation system, wherein the interface encapsulation system is adapted to perform at least two result transformation modes, and the interface encapsulation system is configured to: acquire keywords and intermediate results, and perform result transformation on the intermediate results by calling the corresponding result transformation mode in the interface encapsulation system according to the keywords to obtain output results.

[0007] According to another aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the methods described above.

[0008] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause a computer to perform the above-described method.

[0009] According to another aspect of this disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the above-described method when executed by a processor.

[0010] According to one or more embodiments of this disclosure, when designing system services to meet user needs, the underlying basic algorithms in the basic service system can be reused. For personalized return requirements of different users, only the result conversion mode part of the system needs to be redeveloped and encapsulated. This reduces the workload of the development process, saves manpower, and also facilitates system maintenance.

[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0012] The accompanying drawings exemplify embodiments and form part of the specification, serving together with the textual description to explain exemplary implementations of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0013] Figure 1 A schematic diagram of an exemplary system in which the various methods described herein may be implemented according to embodiments of the present disclosure is shown;

[0014] Figure 2 A flowchart of a data processing method according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A flowchart of a data processing system according to an embodiment of the present disclosure is shown;

[0016] Figure 4 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0017] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0018] In this disclosure, unless otherwise stated, the use of terms such as "first," "second," etc., to describe various elements is not intended to limit the positional, temporal, or importance relationships of these elements; such terms are merely used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of that element, while in other cases, based on the context, they may refer to different instances.

[0019] The terminology used in the description of the various examples described in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context explicitly indicates otherwise, an element may be one or more unless the number of elements is specifically limited. Furthermore, the term "and / or" as used in this disclosure covers any one of the listed items and all possible combinations thereof.

[0020] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0021] Figure 1 A schematic diagram of an exemplary system 100 in which the various methods and systems described herein can be implemented according to embodiments of this disclosure is shown. Reference Figure 1 The system 100 includes one or more user terminal devices 101, 102, 103, 104, 105 and 106, a server 120, and one or more communication networks 110 coupling the one or more user terminal devices to the server 120. The user terminal devices 101, 102, 103, 104, 105 and 106 can be configured to execute one or more applications.

[0022] In embodiments of this disclosure, server 120 may run one or more services or software applications that enable the execution of data processing methods.

[0023] In some embodiments, server 120 may also provide other services or software applications that may include non-virtual and virtual environments. In some embodiments, these services may be provided as web-based services or cloud services, such as to users of client devices 101, 102, 103, 104, 105 and / or 106 under a Software as a Service (SaaS) model.

[0024] exist Figure 1 In the configuration shown, server 120 may include one or more components that implement the functions performed by server 120. These components may include software components, hardware components, or combinations thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 can sequentially interact with server 120 using one or more client applications to utilize the services provided by these components. It should be understood that various different system configurations are possible and may differ from system 100. Therefore, Figure 1 This is an example of a system used to implement the various methods described herein, and is not intended to be limiting.

[0025] Users can use client devices 101, 102, 103, 104, 105, and / or 106 to send user requests. The client devices can provide interfaces that allow users to interact with the client devices. The client devices can also output information to users through these interfaces. Although... Figure 1 Only six user terminal devices are described, but those skilled in the art will understand that this disclosure can support any number of user terminal devices.

[0026] User-end devices 101, 102, 103, 104, 105, and / or 106 may include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptops), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors, or other sensing devices. These computer devices can run various types and versions of software applications and operating systems, such as Microsoft Windows, Apple iOS, UNIX-like operating systems, Linux or Linux-like operating systems (such as Google Chrome OS); or include various mobile operating systems, such as Microsoft Windows Mobile OS, iOS, Windows Phone, and Android. Portable handheld devices may include cellular phones, smartphones, tablets, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Gaming systems may include various handheld gaming devices, internet-enabled gaming devices, etc. User-end devices can run a variety of different applications, such as various Internet-related applications, communication applications (e.g., email applications), short message service (SMS) applications, and can use various communication protocols.

[0027] Network 110 can be any type of network well known to those skilled in the art, and can use any of a variety of available protocols (including but not limited to TCP / IP, SNA, IPX, etc.) to support data communication. By way of example only, one or more networks 110 can be a local area network (LAN), an Ethernet-based network, a token ring network, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.

[0028] Server 120 may include one or more general-purpose computers, special-purpose server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running a virtual operating system, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that can be virtualized to maintain virtual storage devices for servers). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

[0029] The computing unit in server 120 can run one or more operating systems, including any of the aforementioned operating systems and any commercially available server operating system. Server 120 can also run any of a variety of additional server applications and / or middleware applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0030] In some implementations, server 120 may include one or more applications to analyze and merge data feeds and / or event updates received from users of user devices 101, 102, 103, 104, 105, and 106. Server 120 may also include one or more applications to display data feeds and / or real-time events via one or more display devices of user devices 101, 102, 103, 104, 105, and 106.

[0031] In some implementations, server 120 can be a server for a distributed system or a server integrated with blockchain. Server 120 can also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. A cloud server is a host product in the cloud computing service system, designed to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0032] System 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. Databases 130 may reside in various locations. For example, a database used by server 120 may be local to server 120, or it may be located away from server 120 and may communicate with server 120 via a network-based or dedicated connection. Databases 130 may be of different types. In some embodiments, the database used by server 120 may be, for example, a relational database. One or more of these databases may store, update, and retrieve data from and from the databases in response to commands.

[0033] In some embodiments, one or more of the databases 130 may also be used by an application to store application data. The databases used by the application may be of different types, such as key-value stores, object stores, or regular stores supported by a file system.

[0034] Figure 1 System 100 can be configured and operated in various ways to enable the application of various methods and systems described in this disclosure.

[0035] Figure 2 A flowchart of a data processing method 200 according to an embodiment of the present disclosure is shown. Figure 2 As shown, method 200 may include the following steps:

[0036] Step S201: Obtain a user request from the client. The user request includes data information and keywords.

[0037] Step S203: Input the user request into the basic service system, and apply the first algorithm to process the data information in the basic service system to obtain intermediate results;

[0038] Step S205: Input the keywords and intermediate results into the interface encapsulation system, wherein the interface encapsulation system is suitable for performing at least two result transformation modes; and

[0039] Step S207: Based on the keyword call interface, the intermediate result is converted according to the corresponding result conversion mode in the encapsulation system to obtain the output result.

[0040] According to the data processing method disclosed herein, when processing image data, the data information can first be processed in the basic service system to obtain intermediate results. Then, in the interface encapsulation system, the corresponding result conversion mode can be called according to the user's needs to perform result conversion. Although different users require different forms of output results, the algorithm for obtaining intermediate results from the original image data is the same. Therefore, the same first algorithm can be used to obtain intermediate results in the same system, avoiding redundant development. At the same time, since the result conversion system can execute different result conversion modes, different types of outputs can be obtained, which can meet the user's customized needs.

[0041] The following will describe in detail the steps of the data processing method according to this disclosure.

[0042] In step S201, the user request includes data information and keywords. According to some embodiments, the data information may be the original image, and the keywords record the type of output result required by the user.

[0043] In step S203, according to the above embodiment, the first algorithm can be a feature extraction algorithm, which can extract features from the original image. The intermediate result can be the coordinates of the detection boxes, which can be represented as [a,b,c,d], where a,b,c,d represent the coordinate vectors of each detection box. The coordinates of the detection boxes in the original image can be obtained through the feature extraction algorithm.

[0044] In steps S205 and S207, the interface encapsulation system is adapted to perform at least two result conversion modes. According to some embodiments, the at least two result conversion modes include a data expression conversion mode, wherein, in response to selecting a data expression conversion mode, the data values ​​of the intermediate results are retained, and the expression form of the data values ​​of the intermediate results is converted according to the selected data expression conversion mode.

[0045] According to some embodiments, at least two result transformation modes include an additional operation mode, wherein, in response to selecting an additional operation mode, a second algorithm, different from the first algorithm, corresponding to the additional operation mode, is applied to process the intermediate results.

[0046] In some examples, User A wants to obtain the coordinates of the detection boxes from the original image, i.e., the intermediate result [a,b,c,d]; User B wants to obtain the coordinates of the detection boxes from the original image, but wants to obtain them in the format {'1':a,'2':b,'3':c,'4':d}; User C wants to obtain the coordinates of the detection boxes from the original image, but wants to obtain them in the format {'results':[a,b,c,d]}; User D wants to obtain information about whether there are people in the image (i.e., the output result is "yes" or "no"); User D also wants to obtain information about how many people are in the image (i.e., the output result is an integer value).

[0047] For all five requirements mentioned above, it is necessary to first obtain the coordinates [a,b,c,d] of the detection boxes. The algorithm for obtaining the coordinates [a,b,c,d] from the original image is the same and can be processed within the basic service system. Once the coordinates [a,b,c,d] are obtained, for user A's requirement, no result transformation is needed for the intermediate result [a,b,c,d]; the intermediate result [a,b,c,d] can be directly used as the final output. For user B's requirement, based on the keywords from user B, the corresponding data representation transformation mode can be called to transform the representation of the intermediate result [a,b,c,d], using {'1':a,'2':b,'3':c,'4':d} as the output. For user C's requirement, based on the keywords from user C, the corresponding data representation transformation mode can be called to transform the representation of the intermediate result [a,b,c,d], using {'results':[a,b,c,d]} as the output. For user D's request, based on the keywords from user D, the corresponding additional operation mode can be invoked to apply the corresponding second algorithm to process the intermediate results [a,b,c,d] and output "yes" or "no". For user E's request, based on the keywords from user E, the corresponding additional operation mode can be invoked to apply the corresponding second algorithm to process the intermediate results [a,b,c,d] and output an integer value.

[0048] Through the above steps, results in different formats can be output in a customized manner according to user needs. This can involve either format conversion or further calculations, thus improving the scalability of this method.

[0049] According to some embodiments, method 200 further includes: returning the output result to the basic service system; and in response to the basic service system receiving the output result, the basic service system transmitting the output result to the client.

[0050] Through the above steps, the client can receive the output results required by the user.

[0051] According to another aspect of this disclosure, a data processing system 300 is also provided, such as... Figure 3 As shown, the system includes: a basic service system 302, configured to: obtain user requests from client 301, wherein the user requests include data information and keywords, and apply a first algorithm to process the data information to obtain intermediate results; and an interface encapsulation system 303, wherein the interface encapsulation system is suitable for performing at least two result conversion modes, and the interface encapsulation system is configured to: obtain keywords and intermediate results, and call the corresponding result conversion mode in the interface encapsulation system according to the keywords to perform result conversion on the intermediate results to obtain output results.

[0052] According to some embodiments, in system 300, at least two result conversion modes include at least one data representation conversion mode, and wherein, in response to selecting one of the at least one data representation conversion modes, the data value of the intermediate result is retained, and the representation of the data value of the intermediate result is converted according to the selected data representation conversion mode.

[0053] According to some embodiments, in system 300, at least two result transformation modes include at least one second algorithm, and wherein, in response to selecting one of the at least one second algorithm, the selected second algorithm is applied to process the intermediate result.

[0054] According to some embodiments, in system 300, the configuration method of interface encapsulation system 303 and basic service system 302 further includes: interface encapsulation system 303 being configured to: return output results to basic service system 302; and basic service system 302 being configured to: in response to receiving output results, transmit output results to client 301.

[0055] According to another aspect of this disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the methods described above.

[0056] According to another aspect of this disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to cause a computer to perform the above-described method.

[0057] According to another aspect of this disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the above-described method when executed by a processor.

[0058] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0059] According to embodiments of this disclosure, an electronic device, a readable storage medium, and a computer program product are also provided.

[0060] refer to Figure 4 The present invention describes a structural block diagram of an electronic device 400 that can serve as a server or user terminal of the present disclosure, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile systems, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing systems. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0061] like Figure 4 As shown, device 400 includes a computing unit 401, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 402 or a computer program loaded from storage unit 408 into random access memory (RAM) 403. RAM 403 may also store various programs and data required for the operation of device 400. The computing unit 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.

[0062] Multiple components in device 400 are connected to I / O interface 405, including: input unit 406, output unit 407, storage unit 408, and communication unit 409. Input unit 406 can be any type of device capable of inputting information to device 400. Input unit 406 can receive input numerical or character information and generate key signal inputs related to user settings and / or function control of the electronic device, and may include, but is not limited to, a mouse, keyboard, touchscreen, trackpad, trackball, joystick, microphone, and / or remote control. Output unit 407 can be any type of device capable of presenting information, and may include, but is not limited to, a monitor, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 408 may include, but is not limited to, a hard disk and an optical disk. Communication unit 409 allows device 400 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, 802.11 devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0063] The computing unit 401 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as method 200. For example, in some embodiments, method 200 may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by the computing unit 401, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform method 200 by any other suitable means (e.g., by means of firmware).

[0064] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input system, and at least one output system, and transferring data and instructions to the storage system, the at least one input system, and the at least one output system.

[0065] Program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing system, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0066] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, system, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0067] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display system (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing system (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of systems can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0068] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0069] A computer system can include client and server components. Clients and servers are generally located far apart and typically interact via a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, a server in a distributed system, or a server incorporating blockchain technology.

[0070] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0071] While embodiments or examples of this disclosure have been described with reference to the accompanying drawings, it should be understood that the methods, systems, and devices described above are merely exemplary embodiments or examples, and the scope of the invention is not limited by these embodiments or examples, but only by the granted claims and their equivalents. Various elements in the embodiments or examples may be omitted or replaced by their equivalents. Furthermore, the steps may be performed in a different order than that described in this disclosure. Further, various elements in the embodiments or examples may be combined in various ways. Importantly, as the technology evolves, many elements described herein can be replaced by equivalents that appear after this disclosure.

Claims

1. A data processing method implemented by a data processing system, wherein, The data processing system includes a basic service system and an interface encapsulation system, and the method includes: The basic service system is used to obtain user requests from clients. The user requests include data information and keywords. The keywords include the type of output result required by the user. The data information includes the original image. In the basic service system, a fixed first algorithm is applied to extract features from the original image to obtain intermediate results, wherein the intermediate results include the coordinates of the detection boxes in the original image; The keywords and intermediate results are input into the interface encapsulation system, wherein the interface encapsulation system is adapted to perform at least two result transformation modes, including a data representation transformation mode and an additional operation mode. The additional operation mode instructs the application of a second algorithm, different from the first algorithm, to process the intermediate results. The second algorithm is used to determine the existence and / or quantity of a target object based on the detection box coordinates. The at least two result transformation modes include at least one second algorithm. Based on the keyword, the corresponding result conversion mode in the interface encapsulation system is invoked to convert the intermediate result and obtain the output result, including: In response to selecting one of the at least one second algorithm, the intermediate result is processed using the selected second algorithm; and In response to selecting the data representation transformation mode, the data values ​​of the intermediate results are retained, and the representation form of the data values ​​of the intermediate results is transformed according to the selected data representation transformation mode. The representation form includes at least one of array, key-value pairs, or nested array. The interface encapsulation system is used to return the output results to the basic service system; and Using the aforementioned basic service system, in response to receiving the output result, the output result is transmitted to the client.

2. A data processing system, the system comprising: The basic service system is configured to: acquire user requests from clients, wherein the user requests include data information and keywords, the data information including an original image, and apply a fixed first algorithm to extract features from the original image to obtain intermediate results, wherein the keywords include the type of output result required by the user, and the intermediate results include the coordinates of detection boxes in the original image; and An interface encapsulation system is provided, wherein the interface encapsulation system is adapted to perform at least two result transformation modes. The interface encapsulation system is configured to: acquire the keyword and the intermediate result, and, based on the keyword, invoke the corresponding result transformation mode in the interface encapsulation system to transform the intermediate result to obtain an output result. The at least two result transformation modes include at least one data representation transformation mode and an additional operation mode. The additional operation mode indicates that a second algorithm, different from the first algorithm, is applied to process the intermediate result. The second algorithm is used to determine the existence and / or quantity of a target object based on the detection box coordinates. The at least two result transformation modes include at least one second algorithm. The interface encapsulation system is further configured to: in response to selecting one of the at least one second algorithm, apply the selected second algorithm to process the intermediate result; and in response to selecting the data representation transformation mode, retain the data value of the intermediate result and transform the representation of the data value of the intermediate result according to the selected data representation transformation mode. The representation includes at least one of arrays, key-value pairs, or nested arrays. The interface encapsulation system is configured to return the output result to the basic service system, and the basic service system is further configured to transmit the output result to the client in response to receiving the output result.

3. An electronic device, comprising: At least one processor; as well as A memory that is communicatively connected to the at least one processor; in The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of claim 1.

4. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to claim 1.

5. A computer program product comprising a computer program, wherein, The computer program, when executed by a processor, implements the method of claim 1.

Citation Information

Patent Citations

  • Multi-database data processing method, apparatus, computer device, and storage medium

    WO2020155760A1