WO2023045207A1 - 任务处理方法及装置、电子设备、存储介质和计算机程序 - Google Patents
任务处理方法及装置、电子设备、存储介质和计算机程序 Download PDFInfo
- Publication number
- WO2023045207A1 WO2023045207A1 PCT/CN2022/075002 CN2022075002W WO2023045207A1 WO 2023045207 A1 WO2023045207 A1 WO 2023045207A1 CN 2022075002 W CN2022075002 W CN 2022075002W WO 2023045207 A1 WO2023045207 A1 WO 2023045207A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- processing
- task
- processed
- detection frame
- subtask
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
Definitions
- the present disclosure relates to the field of computer technology, and relates to a task processing method and device, electronic equipment, a storage medium and a computer program.
- the traditional method When performing task processing, the traditional method usually executes the task processing process based on the application program at the bottom of the computer. In some current scenarios, tasks can be processed directly through the front-end page. However, since the scripting language of the front-end page is an interpreted scripting language, it can only run in a single-threaded manner, resulting in low task processing efficiency.
- the disclosure proposes a task processing method and device, electronic equipment, a storage medium, and a computer program, aiming at improving task processing efficiency when performing task processing through a front-end page.
- a task processing method comprising:
- the tasks to be processed include data to be processed;
- the main thread divides the task to be processed according to the functions of at least two processing modules to obtain at least two subtasks to be processed, each of which corresponds to a processing module and includes at least part of the data to be processed, each of which The processing modules are respectively used to process different subtasks to be processed;
- the task processing result of the task to be processed is determined based on the processing result of each subtask.
- the acquiring tasks to be processed includes;
- each of the sub-threads sends subtask processing results to the main thread through an asynchronous message passing mechanism.
- the processing module is stored as a binary format file, and the binary format file is obtained by compiling source code other than non-browser code through a binary code compilation specification.
- the processing module is a pre-trained deep learning model.
- each of the deep learning models is used to process at least two of the following subtasks to be processed:
- Face detection task Face detection task, hair detection task, lip segmentation task and nail detection task.
- the process of processing the corresponding pending subtasks by the processing module includes:
- the image data in the subtask to be processed is input into the deep learning model, and the subtask processing result is output; the subtask processing result includes at least one of the following: a face detection frame, a hair detection frame, Lip detection frame and nail detection frame.
- the calling the processing module interface respectively through multiple sub-threads, processing the corresponding subtasks to be processed through each of the processing modules in parallel and obtaining the subtask processing results includes:
- Each of the worker threads calls the processing module interface respectively, processes corresponding subtasks to be processed through each of the processing modules in parallel, and obtains a processing result of the subtask.
- the determining the task processing result of the task to be processed by obtaining the processing result of each subtask through the main thread includes:
- the processing results of each of the subtasks are obtained through the main thread, and the processing results of each of the subtasks are added to the front-end page to obtain the task processing results.
- the subtask processing results include at least two of the following text information: face detection frame coordinates, hair detection frame coordinates, lip detection frame coordinates, and nail detection frame coordinates;
- the task processing result is text information including each subtask processing result.
- the subtask processing results include at least two of the following marked image information: image data with face detection frames, image data with hair detection frames, images with lip detection frames data and image data with nail detection frame;
- the task processing result is a front-end page with superimposed image information
- the superimposed image information is image data including at least two detection frames among face detection frame, hair detection frame, lip detection frame and nail detection frame, or includes The image data of at least one object detection frame obtained by superimposing at least two detection frames among the face detection frame, the hair detection frame, the lip detection frame and the nail detection frame.
- a task processing device comprising:
- the task determination part is configured to obtain pending tasks, and the pending tasks include data to be processed;
- the task segmentation part is configured to divide the task to be processed through the main thread according to the functions of at least two processing modules to obtain at least two subtasks to be processed, each of the subtasks to be processed corresponds to a processing module and includes at least part For the data to be processed, each of the processing modules is respectively used to process different subtasks to be processed;
- the task processing part is configured to respectively call the processing module interface through a plurality of sub-threads, process corresponding sub-tasks to be processed through each of the processing modules in parallel and obtain sub-task processing results;
- the result determining part is configured to determine a task processing result of the task to be processed based on each subtask processing result.
- the task determining part includes;
- a page display subsection configured to display a task processing page having at least two processing modules
- the task obtaining subpart is configured to obtain tasks to be processed through the task processing interface.
- the task determination part includes a page display subsection and a task acquisition subsection;
- a page display subsection configured to display a task processing page having at least two processing modules
- the task obtaining subpart is configured to obtain tasks to be processed through the task processing interface.
- each of the sub-threads sends subtask processing results to the main thread through an asynchronous message passing mechanism.
- the processing module is stored as a binary format file, and the binary format file is obtained by compiling source codes other than non-browser codes through a binary code editing specification.
- the processing module is a pre-trained deep learning model.
- each of the deep learning models is used to process at least two of the following subtasks to be processed: face detection task, hair detection task, lip segmentation task and nail detection task.
- the process of processing the corresponding pending subtasks by the processing module includes:
- the image data in the subtask to be processed is input into the deep learning model, and the subtask processing result is output; the subtask processing result includes at least one of the following: a face detection frame, a hair detection frame, Lip detection frame and nail detection frame.
- the task processing part is further configured to:
- Each of the worker threads calls the processing module interface respectively, processes corresponding subtasks to be processed through each of the processing modules in parallel, and obtains a processing result of the subtask.
- the result determination part includes a result determination subsection, and the result determination subsection is configured to:
- the processing results of each of the subtasks are obtained through the main thread, and the processing results of each of the subtasks are added to the front-end page to obtain the task processing results.
- the subtask processing results include at least two of the following text information: face detection frame coordinates, hair detection frame coordinates, lip detection frame coordinates, and nail detection frame coordinates;
- the task processing result is text information including each subtask processing result.
- the subtask processing results include at least two of the following marked image information: image data with face detection frames, image data with hair detection frames, images with lip detection frames data and image data with nail detection frame;
- the task processing result is a front-end page with superimposed image information
- the superimposed image information is image data including at least two detection frames among face detection frame, hair detection frame, lip detection frame and nail detection frame, or includes The image data of at least one object detection frame obtained by superimposing at least two detection frames among the face detection frame, the hair detection frame, the lip detection frame and the nail detection frame.
- an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above method.
- a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
- a computer program including computer readable codes.
- the computer readable codes When the computer readable codes are run in an electronic device, a processor in the electronic device executes to implement the above method.
- the application processing different tasks is used as the processing module of the task processing page.
- the task processing page receives a task
- the task can be processed in parallel by multiple processing modules by dividing the task, and the task can be obtained by asynchronous message transmission.
- the subtask processing results of each processing module finally obtain the task processing results according to the subtask processing results, which improves the task processing efficiency of task processing based on the front-end page.
- FIG. 1 shows a flow chart of a task processing method according to an embodiment of the present disclosure
- Fig. 2 shows a schematic diagram of a task processing page according to an embodiment of the present disclosure
- FIG. 3 shows a schematic diagram of determining a subtask processing result according to an embodiment of the present disclosure
- Fig. 4 shows a schematic diagram of a task processing result according to an embodiment of the present disclosure
- Fig. 5 shows a schematic diagram of determining a task processing result according to an embodiment of the present disclosure
- Fig. 6 shows a schematic diagram of a task processing device according to an embodiment of the present disclosure
- FIG. 7 shows a schematic diagram of an electronic device according to an embodiment of the present disclosure.
- Fig. 8 shows a schematic diagram of an electronic device according to an embodiment of the present disclosure.
- the Worker thread in the embodiment of the present disclosure is used to create a multi-thread environment for the JavaScript language in single-thread mode, and can be an additional thread created by the main thread. While the main thread is running, the worker thread can run in the background without interfering with the main thread, and after the worker thread completes the calculation task, it returns the result to the main thread. Optionally, the worker thread cannot directly communicate with the main thread, and the communication can be completed through an asynchronous message passing mechanism, such as postMessage.
- postMessage is a common function introduced in the front-end language, which allows scripts from different sources to communicate effectively in an asynchronous manner, and can realize cross-text document, multi-window, and cross-domain message transmission. Both the main thread and the worker thread send their respective messages through the postMessage function.
- WebAssembly is a technical solution that can write code in a non-JavaScript programming language and run on a browser.
- the code written in a non-JavaScript programming language can be any code such as C language code, C++ language code, and Rust language code.
- Fig. 1 shows a flowchart of a task processing method according to an embodiment of the present disclosure.
- the task processing method in the embodiment of the present disclosure is executed by a webpage client of a browser or other application programs that can load front-end pages, or an applet in an application program that can load front-end pages.
- a browser or other application programs can be installed in a terminal device, and the terminal device can be User Equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant) Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices and other terminal devices that can install the above-mentioned application programs, the task processing method can be installed in the terminal device through the web client, application program or one of them
- the applet calls the JS (JavaScript) scripting language implementation of the task processing page.
- the following mainly takes the method for executing a task processing through a webpage client in a browser as an example for illustration.
- the task processing method of the embodiment of the present disclosure may include the following steps:
- Step S10 obtaining tasks to be processed.
- pending tasks can be obtained through a browser.
- the way to determine the task to be processed may be to obtain the task processing page loaded and displayed through the browser, for example, display a task processing page with at least two processing modules, and obtain the pending task through the task processing interface.
- the task to be processed may be an image recognition task, a video processing task, a text processing task, an audio processing task, and the like.
- the to-be-processed task may also include to-be-processed data, and the to-be-processed data is used for task processing.
- the data to be processed is video data that needs to be processed.
- the task to be processed is an image processing task
- the data to be processed is image data that needs to be processed.
- the task to be processed is an audio processing task
- the task to be processed is audio data that needs to be processed.
- the process of obtaining pending tasks through the task processing page may be obtaining pending data through human-computer interaction and determining the pending tasks.
- the task processing page may include a data collection control, which is used to control the corresponding data collection device to start to collect the data to be processed when triggered, and generate a task to be processed corresponding to the data to be processed. That is to say, the browser can collect the data to be processed in response to the triggering of the data collection control, and determine the task to be processed according to the data to be processed.
- the data collection control on the task processing page is an image collection control.
- the browser controls the terminal device installed with the browser to start the image acquisition device, and collects image data through the image acquisition device as data to be processed. Further, a corresponding image processing task is generated as a task to be processed according to the image data to be processed.
- a plurality of data may be pre-stored in the terminal device installed with the browser of the embodiment of the present disclosure, and the user may obtain the data stored in the terminal device as the data to be processed through human-computer interaction with the task processing page.
- the task processing page may include a data upload control for uploading data to the browser.
- the data upload control is triggered, the data in the terminal device is uploaded as data to be processed, and the data to be processed is determined according to the data to be processed.
- Handle tasks For example, in the case that the task processing page is used to process image processing tasks, the data upload control on the task processing page is an image upload control.
- the browser controls the terminal device installed with the browser to open the local photo album, and the user selects at least one image data in the local photo album and uploads it to the browser as data to be processed. Further, a corresponding image processing task is generated as a task to be processed according to the image data to be processed.
- the task processing page may include both a data collection control and a data upload control, and the user may choose to trigger one of the controls to determine the data to be processed and generate a corresponding task to be processed.
- Fig. 2 shows a schematic diagram of a task processing page according to an embodiment of the present disclosure.
- the task processing page 20 may include a data collection control 21 and a data upload control 22 .
- the user collects the data to be processed when the data collection control 21 is triggered, and uploads the data to be processed when the data upload control 22 is triggered, so as to generate a task to be processed according to the data to be processed.
- the embodiment of the present disclosure is used to perform a face recognition task
- the data collection control 21 is used to collect a face image
- the data upload control 22 is used to upload a face image.
- the browser controls the camera device of the terminal device to turn on, and collects face images as data to be processed to generate a face recognition task to be processed.
- the browser controls the opening of the local photo album of the terminal device, and selects the face image to be recognized as the data to be processed to generate a face recognition task to be processed.
- the embodiments of the present disclosure can directly determine the data to be processed through the task processing page, and generate tasks to be processed based on the data to be processed, so that the entire task processing process can be independently completed by the browser from the beginning to the end, without additional calling of the underlying task processing program of the terminal device .
- the task processing page displayed by the browser may also have at least two processing modules, each processing module is used to process different tasks, and can be used by calling the processing module interface through the JS script language.
- the processing module may be stored as a binary format file, and the binary format file is obtained by compiling source codes other than non-browser codes through a binary code compilation specification.
- the binary code compilation specification can be WebAssembly
- the source code can be C language code, C++ language code or Rust language code, etc.
- the binary format file supported by the browser can be obtained by editing the compilation tool emsdk provided by WebAssembly.
- the processing module may be a program for task processing.
- the processing module may include programs such as an image processing tool for image processing, an audio processing tool for audio processing, and the like.
- the processing module can also be a pre-trained deep learning model.
- the processing module can include a face recognition model for face recognition and a hair recognition model for hair recognition. model, a mouth recognition model for mouth recognition, etc. That is to say, when the processing module is a deep learning model, each deep learning model is used to process at least two of the following subtasks to be processed: face detection task, hair detection task, lip segmentation task and nail detection task.
- step S20 the main thread divides the task to be processed according to the functions of at least two processing modules to obtain at least two subtasks to be processed.
- the main thread divides the task to be processed according to the functions of at least two processing modules and the content of the task to be processed to obtain at least two subtasks to be processed.
- each subtask to be processed may correspond to a processing module, and include at least part of the data to be processed in the task to be processed.
- the process of splitting the tasks to be processed is executed through the JavaScript main thread.
- the processing modules of the task processing page include a human eye recognition module, a hair recognition module, a face recognition module, a mouth recognition module, an arm recognition module and a hand recognition module as an example Be explained. Since the face recognition process needs to locate and recognize key points such as human eyes, hair, face, and mouth, and the processing modules on the task processing page include the human eye recognition module that can perform human eye recognition, and the hair recognition module that can perform hair recognition. module, facial recognition module for facial recognition, and mouth recognition module for mouth recognition.
- the task to be processed can be divided into the human eye recognition subtask corresponding to the human eye recognition module, the hair recognition subtask corresponding to the hair recognition module, the face recognition subtask corresponding to the face recognition module, and the mouth recognition subtask corresponding to the mouth recognition module. Part identification subtask.
- the recognition process of different processing modules needs to be recognized based on a complete face, the above-mentioned human eye recognition subtask, hair recognition subtask, face recognition subtask and mouth recognition subtask are all included in the face recognition task.
- the face image data to be processed is all included in the face recognition task.
- the task to be processed can be divided into multiple subtasks by means of task division, so that different processing modules can perform task processing in parallel to improve task processing efficiency.
- Step S30 call the processing module interface through multiple sub-threads, process the corresponding subtasks to be processed through each of the processing modules in parallel, and obtain the processing results of the subtasks.
- the task processing method of the embodiment of the present disclosure uses multiple sub-threads to respectively call the interfaces of the processing modules, so as to process their corresponding pending tasks in parallel and obtain task processing results.
- each sub-thread is created through the main thread, that is, the main thread is a JavaScript language thread in a single-thread mode, so that a task cannot be processed in parallel when a task is processed through the main thread.
- a plurality of worker threads can be created through the main thread, so as to process corresponding subtasks to be processed in parallel through each processing module based on each woker thread.
- the worker thread can run in the background while the main thread is running, and the two do not interfere with each other.
- the worker thread After the worker thread completes the task processing of the currently pending subtask, it obtains the subtask processing result, and returns the subtask processing result to the main thread. That is to say, the task processing process can create multiple worker threads through the main thread. Each worker thread calls the processing module interface respectively, processes corresponding subtasks to be processed through each processing module in parallel and obtains subtask processing results.
- each worker thread can call the processing module interface separately to pass through each worker thread in parallel.
- the processing module processes the corresponding subtasks to be processed, and obtains the processing results of the subtasks.
- the embodiment of the present disclosure solves the drawback that the browser can only execute tasks through a single thread by creating a worker thread, realizes parallel task processing through multiple processing modules, and improves task processing speed and efficiency.
- each processing module is a pre-trained deep learning model.
- the process of processing the corresponding subtask to be processed by the processing module includes: inputting at least part of the data to be processed included in the subtask to be processed corresponding to the processing module into the processing module, and outputting the processing result of the corresponding subtask.
- the processing module is a deep learning model for object recognition
- the image data in the subtask to be processed can be input to the deep learning model, and the subtask processing result is output
- the subtask processing result includes at least one of the following Type: the face detection frame, hair detection frame, lip detection frame and nail detection frame of the image data.
- the subtask to be processed is a mouth recognition task and the processing module is a mouth recognition model
- the face image to be recognized in the mouth recognition task is input into the mouth recognition model, and the mouth coordinate information is output as a subtask.
- Task processing result when the subtask to be processed is a mouth recognition task and the processing module is a mouth recognition model, the face image to be recognized in the mouth recognition
- Fig. 3 shows a schematic diagram of determining a subtask processing result according to an embodiment of the present disclosure.
- the embodiment of the present disclosure may input at least part of the data to be processed included in the subtask 30 to be processed into the pre-trained processing Module 31 , outputting corresponding subtask processing results 32 .
- Step S40 determining the task processing result of the task to be processed based on the processing result of each subtask.
- each worker thread may send the subtask processing results to the main thread through an asynchronous message passing mechanism.
- a message delivery mechanism may be message delivery through the postMessage function.
- the browser obtains the processing results of each subtask through the main thread, so as to determine the task processing results of the tasks to be processed.
- the task processing result is determined according to the content of the subtask processing result and the type of data to be processed included in the task to be processed.
- the process for the main thread to determine the task processing results may be to obtain the processing results of each subtask, and add the processing results of each subtask to the front-end page to obtain the task processing results.
- the subtask processing result may be text information.
- each text information may be acquired through the main thread, and the task processing result of the task to be processed can be obtained by directly adding each text information to the front-end page. That is to say, in the process of each processing module processing subtasks to be processed and obtaining subtask processing results as text information, each text information can be obtained directly through the main thread to obtain a front-end page including each subtask processing result as the task processing result,
- the task processing result can also be displayed through a browser.
- the subtasks process at least two of the following text information: the coordinates of the face detection frame, the coordinates of the hair detection frame, the coordinates of the lip detection frame, and the coordinates of the nail detection frame.
- the task processing result may be a front-end page including the processing results of each subtask.
- the task to be processed is an image recognition task
- each processing module is used to identify the position coordinates of an object of the image data in the task to be processed as an example for illustration.
- the obtained subtask processing results include the coordinates of the face detection frame, the hair detection frame coordinates, coordinates of the lip detection frame and coordinates of the nail detection frame at least two text information.
- the main thread directly adds the text information of the detection frame coordinates to the front-end page, and obtains the text information including the processing results of each subtask as the task processing result of the task to be processed.
- the main thread can also process each subtask As a result, the corresponding image frame is drawn at the coordinate position represented by each text information on the image data to be processed, and the drawn image data is added to the front-end page to obtain the task processing result.
- the subtask processing result may also be image information, and the image information may be image data in which at least one region is marked.
- the processing result of each subtask is the image information of at least one region in the image data, and each image information is obtained through the main thread, and the image information is superimposed and added to the front-end page to obtain the image information to be processed.
- the task processing result of the processing task That is to say, when each processing module processes subtasks to be processed, the subtask processing result obtained is image information including a plurality of image frames, and the image frames are used to mark at least one region in the image data, by superimposing the images in each image information The way to determine the task processing results.
- the manner of superimposing each image frame may be to superimpose the image frames whose positions partially overlap in the processing results of each subtask to obtain the smallest task image frame that can include each superimposed image frame. Further, the obtained task image frames are displayed as task processing results. Alternatively, the manner of superimposing each image frame may also be to obtain and display a task processing result after directly superimposing each image frame.
- the subtask processing results may include at least two of the following marked image information: image data with face detection frame, image data with hair detection frame, image data with lip detection frame, and image data with nail detection frame
- the task processing result can be a front-end page with superimposed image information
- the superimposed image information is image data including at least two detection frames among face detection frame, hair detection frame, lip detection frame and nail detection frame
- the image data includes at least one object detection frame obtained by superimposing at least two detection frames among the face detection frame, the hair detection frame, the lip detection frame and the nail detection frame.
- the task to be processed is an object recognition task
- each processing module is used to identify a characteristic position of image data in the task to be processed as an example for illustration.
- the processing module includes at least two of a face recognition module, a mouth recognition module, a hair recognition module, and a nail recognition module, and after processing and recognizing the image data in the task to be processed, facial image information, mouth image information, and hair image information are respectively obtained and nail image information.
- Facial image information includes image data with at least one face detection frame
- mouth image information includes image data with at least one lip detection frame
- hair image information includes image data with at least one hair detection frame
- nail image information The image data including at least one nail detection frame can directly superimpose the face detection frame, mouth detection frame, hair detection frame and nail detection frame in each image information through the main thread to obtain the image data including the above-mentioned detection frames
- the front-end page is the result of task processing.
- at least one object detection frame obtained by superimposing at least two detection frames in the face detection frame, hair detection frame, lip detection frame and nail detection frame through the main thread, and adding each object detection frame to the image data , add the front-end page as the task processing result.
- Fig. 4 shows a schematic diagram of a task processing result according to an embodiment of the present disclosure.
- each task to be processed is processed by a processing module to obtain a plurality of image information, which respectively includes an area image frame of a feature position of a face.
- the browser obtains at least one human face image frame 41 by superimposing at least partially overlapping image frames in each image information through the main thread, and determines the task processing result 40 including at least one human face image frame 41 .
- the task processing result 40 is displayed through the task processing page of the browser.
- Fig. 5 shows a schematic diagram of determining a task processing result according to an embodiment of the present disclosure.
- the main thread divides the task to be processed according to the task to be processed 50 and each processing module 51 of the task processing page to obtain at least two tasks. 52 subtasks to be processed.
- a worker thread is assigned to each pending subtask 52, and each worker thread calls the processing module 53 corresponding to the pending subtask to process the pending subtask to obtain a subtask processing result 54.
- the browser acquires each subtask processing result 54 through the main thread to obtain a task processing result 55 .
- the browser can also display the task processing result 55 through the task processing page.
- the embodiment of the present disclosure is used for object recognition as an example for description.
- the processing modules included in the browser include a face detection module, a hair detection module, a lips detection module and a nail detection module.
- the tasks to be processed are divided into face detection tasks, hair detection tasks, lip detection tasks and nail detection tasks according to the functions of each processing module through the main thread.
- four worker threads are created through the main thread, and each worker thread calls each processing module to perform subtask processing.
- one subtask processing result among the obtained face detection result, hair detection result, lip detection result and nail detection result is sent to the main thread through postMessage.
- the main thread After the main thread obtains the subtask processing results sent by each worker thread, it writes the processing results of each subtask into the front-end page code in the form of drawing, and obtains the task processing results of the front-end page as an object recognition task.
- the main thread processes each frame in turn, and then performs object recognition on the next frame in a polling manner after obtaining the task processing result of the current frame.
- the embodiments of the present disclosure can compile programs for processing different tasks into processing modules of a task processing page through WebAssembly, and directly call the processing modules through a browser to perform task processing. Further, after the browser determines the task to be processed, the task to be processed can be divided through the main thread, and multiple worker threads can be used to process the divided subtasks in parallel according to the processing modules, and the main thread can obtain the processing results of each processing module to obtain the task The results are processed, and the task processing speed and task processing efficiency are improved.
- the present disclosure also provides task processing devices, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any task processing method provided in the present disclosure.
- task processing devices electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any task processing method provided in the present disclosure.
- Fig. 6 shows a schematic diagram of a task processing device according to an embodiment of the present disclosure. As shown in Fig. 6, the device includes:
- the task determination part 60 is configured to acquire pending tasks, the pending tasks include data to be processed;
- the task division part 61 is configured to divide the task to be processed according to the functions of at least two processing modules through the main thread to obtain at least two subtasks to be processed, and each subtask to be processed corresponds to a processing module and includes at least Part of the data to be processed, each of the processing modules is used to process different subtasks to be processed;
- the task processing part 62 is configured to respectively call the processing module interface through a plurality of sub-threads, process corresponding subtasks to be processed through each of the processing modules in parallel, and obtain subtask processing results;
- the result determining part 63 is configured to determine the task processing result of the task to be processed based on the subtask processing results.
- the task determination part 60 includes a page display subsection and a task acquisition subsection;
- a page display subsection configured to display a task processing page having at least two processing modules
- the task obtaining subpart is configured to obtain tasks to be processed through the task processing interface.
- each of the sub-threads sends subtask processing results to the main thread through an asynchronous message passing mechanism.
- the processing module is stored as a binary format file, and the binary format file is obtained by compiling source codes other than non-browser codes through a binary code editing specification.
- the processing module is a pre-trained deep learning model.
- each of the deep learning models is used to process at least two of the following subtasks to be processed: face detection task, hair detection task, lip segmentation task and nail detection task.
- the process of processing the corresponding pending subtasks by the processing module includes:
- the image data in the subtask to be processed is input into the deep learning model, and the subtask processing result is output; the subtask processing result includes at least one of the following: a face detection frame, a hair detection frame, Lip detection frame and nail detection frame.
- the task processing part 62 is further configured to:
- Each of the worker threads calls the processing module interface respectively, processes corresponding subtasks to be processed through each of the processing modules in parallel, and obtains a processing result of the subtask.
- the result determination part 63 includes a result determination subsection, and the result determination subsection is configured to:
- the subtask processing results include at least two of the following text information: face detection frame coordinates, hair detection frame coordinates, lip detection frame coordinates, and nail detection frame coordinates;
- the task processing result is text information including each subtask processing result.
- the subtask processing results include at least two of the following marked image information: image data with face detection frames, image data with hair detection frames, images with lip detection frames data and image data with nail detection frame;
- the task processing result is a front-end page with superimposed image information
- the superimposed image information is image data including at least two detection frames among face detection frame, hair detection frame, lip detection frame and nail detection frame, or includes The image data of at least one object detection frame obtained by superimposing at least two detection frames among the face detection frame, the hair detection frame, the lip detection frame and the nail detection frame.
- the functions or modules included in the apparatus provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments, and the implementation can refer to the descriptions of the above method embodiments.
- Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor.
- Computer readable storage media may be volatile or nonvolatile computer readable storage media.
- An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
- An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
- Electronic devices may be provided as terminals, servers, or other forms of devices.
- FIG. 7 shows a schematic diagram of an electronic device 800 according to an embodiment of the present disclosure.
- the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
- electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (Input/Output, I/O) interface 812 , sensor component 814 , and communication component 816 .
- the processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
- the memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, etc.
- the memory 804 can be realized by any type of volatile or non-volatile storage device or their combination, such as Static Random-Access Memory (Static Random-Access Memory, SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable read only memory, EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), programmable read-only memory (Programmable Read-Only Memory, PROM), read-only memory (Read-Only Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.
- Static Random-Access Memory SRAM
- Electrically Erasable Programmable Read-Only Memory Electrically Erasable Programmable Read-Only Memory
- EEPROM Electrically Erasable
- the power supply component 806 provides power to various components of the electronic device 800 .
- Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
- the multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user.
- the screen may include a liquid crystal display (Liquid Crystal Display, LCD) and a touch panel (Touch panel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
- the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
- the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
- the audio component 810 is configured to output and/or input audio signals.
- the audio component 810 includes a microphone (microphone, MIC), and when the electronic device 800 is in an operation mode, such as a calling mode, a recording mode and a voice recognition mode, the microphone is configured to receive an external audio signal. Received audio signals may be further stored in memory 804 or sent via communication component 816 .
- the audio component 810 also includes a speaker for outputting audio signals.
- the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
- Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 .
- the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a Changes in position of components, presence or absence of user contact with electronic device 800 , electronic device 800 orientation or acceleration/deceleration and temperature changes in electronic device 800 .
- Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
- the sensor assembly 814 may also include an optical sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge-coupled Device (CCD) image sensor, for use in imaging applications.
- CMOS Complementary Metal Oxide Semiconductor
- CCD Charge-coupled Device
- the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
- the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
- the electronic device 800 can access a wireless network based on a communication standard,
- the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
- the communication component 816 also includes a Near Field Communication (NFC) portion to facilitate short-range communication.
- NFC Near Field Communication
- the NFC part can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (Infrared Data Association, IrDA) technology, Ultra Wide Band (Ultra Wide Band, UWB) technology, Bluetooth (Bluetooth, BT) technology and other technology to achieve.
- RFID Radio Frequency Identification
- IrDA Infrared Data Association
- UWB Ultra Wide Band
- Bluetooth Bluetooth
- the electronic device 800 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (Digital signal processing device , DSPD), programmable logic device (programmable logic device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor or other electronic components to implement, used to perform the above method.
- ASIC Application Specific Integrated Circuit
- DSP Digital Signal Processing
- DSPD digital signal processing devices
- programmable logic device programmable logic device
- FPGA field programmable gate array
- controller microcontroller, microprocessor or other electronic components to implement, used to perform the above method.
- a non-volatile computer-readable storage medium such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
- This disclosure relates to the field of augmented reality.
- acquiring the image information of the target object in the real environment and then using various visual correlation algorithms to detect or identify the relevant features, states and attributes of the target object, and thus obtain the image information that matches the specific application.
- AR effect combining virtual and reality.
- the target object may involve faces, limbs, gestures, actions, etc. related to the human body, or markers and markers related to objects, or sand tables, display areas or display items related to venues or places.
- Vision-related algorithms can involve visual positioning, SLAM, 3D reconstruction, image registration, background segmentation, object key point extraction and tracking, object pose or depth detection, etc.
- Specific applications can not only involve interactive scenes such as guided tours, navigation, explanations, reconstructions, virtual effect overlays and display related to real scenes or objects, but also special effects processing related to people, such as makeup beautification, body beautification, special effect display, virtual Interactive scenarios such as model display.
- the relevant features, states and attributes of the target object can be detected or identified through the convolutional neural network.
- the above-mentioned convolutional neural network is a network model obtained by performing model training based on a deep learning framework.
- FIG. 8 shows a schematic diagram of an electronic device 1900 according to an embodiment of the present disclosure.
- electronic device 1900 may be provided as a server.
- electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs.
- An application program stored in memory 1932 may include one or more portions each corresponding to a set of instructions.
- the processing component 1922 is configured to execute instructions to perform the above method.
- Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 .
- the electronic device 1900 can operate based on the operating system stored in the memory 1932, such as the Microsoft server operating system (Windows ServerTM), the graphical user interface-based operating system (Mac OS XTM) introduced by Apple Inc., and the multi-user and multi-process computer operating system (UnixTM). ), a free and open source Unix-like operating system (LinuxTM), an open source Unix-like operating system (FreeBSDTM), or similar.
- a non-transitory computer-readable storage medium such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
- the present disclosure can be a system, method and/or computer program product.
- a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
- a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
- a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Non-exhaustive list of computer-readable storage media include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), erasable Electrical Programmable Read Only Memory (EPROM or flash memory), Static Random Access Memory (Static Random Access Memory, SRAM), Portable Compact Disc Read-Only Memory (CD-ROM) , Digital Video Disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing.
- RAM Random Access Memory
- ROM read only memory
- EPROM or flash memory erasable Electrical Programmable Read Only Memory
- Static Random Access Memory SRAM
- Portable Compact Disc Read-Only Memory CD-ROM
- DVD Digital Video Disc
- memory sticks floppy disks
- mechanical encoding devices such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing.
- computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
- Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
- Computer program instructions for performing operations of embodiments of the present disclosure may be assembly instructions, instruction set architecture (Industry Standard Architecture, ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in a or any combination of programming languages, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as “C” or similar programming languages language.
- Computer readable program instructions 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 implement.
- the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer such as use an Internet service provider to connect via the Internet).
- electronic circuits such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (programmable logic arrays, PLAs), are personalized by utilizing state information of computer-readable program instructions, The electronic circuit can execute computer readable program instructions, thereby implementing various aspects of the embodiments of the present disclosure.
- These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
- These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
- each block in a flowchart or block diagram may represent a portion, a program segment, or a portion of an instruction that includes one or more Executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
- the computer program product can be realized by hardware, software or a combination thereof.
- the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
- the present disclosure relates to a task processing method and device, an electronic device, a storage medium, and a computer program, wherein, the method obtains a task to be processed, and divides the task to be processed through the main thread according to the functions of at least two processing modules, and obtains the tasks including Pending subtasks with at least some pending data.
- a plurality of sub-threads are used to process corresponding subtasks to be processed in parallel through each processing module to obtain a subtask processing result, and then determine a task processing result of the task to be processed based on the processing results of each subtask.
- the embodiment of the present disclosure can divide tasks through the main thread when receiving tasks, and create multiple sub-threads to process some tasks in parallel through different processing modules, obtain the sub-task processing results of each processing module to obtain the final task processing results, and improve the task processing efficiency.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Image Analysis (AREA)
- Debugging And Monitoring (AREA)
- Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
Description
Claims (15)
- 一种任务处理方法,所述方法包括:获取待处理任务,所述待处理任务中包括待处理数据;通过主线程根据至少两个处理模块的功能分割所述待处理任务,得到至少两个待处理子任务,各所述待处理子任务分别对应一个处理模块且包括至少部分所述待处理数据,各所述处理模块分别用于处理不同的待处理子任务;通过多个子线程分别调用处理模块接口,并行通过各所述处理模块处理对应的待处理子任务并得到子任务处理结果;基于各所述子任务处理结果确定待处理任务的任务处理结果。
- 根据权利要求1所述的方法,其中,所述获取待处理任务包括;显示具有至少两个处理模块的任务处理页面;通过所述任务处理界面获取待处理任务。
- 根据权利要求1所述的方法,其中,各所述子线程通过异步消息传递机制将子任务处理结果发送至主线程。
- 根据权利要求1至3中任意一项所述的方法,其中,所述处理模块存储为二进制格式文件,所述二进制格式文件通过二进制代码编译规范编译非浏览器代码以外的源代码得到。
- 根据权利要求1至4中任意一项所述的方法,其中,所述处理模块为预先训练得到的深度学习模型。
- 根据权利要求5所述的方法,其中,各所述深度学习模型用于处理以下待处理子任务的至少两种:人脸检测任务、头发检测任务、嘴唇分割任务和指甲检测任务。
- 根据权利要求6所述的方法,其中,所述处理模块处理对应的待处理子任务的过程包括:将待处理子任务中的图像数据输入所述深度学习模型,输出所述子任务处理结果;所述子任务处理结果包括以下至少一种:所述图像数据的人脸检测框、头发检测框、嘴唇检测框和指甲检测框。
- 根据权利要求1至7中任意一项所述的方法,其中,所述通过多个子线程分别调用处理模块接口,并行通过各所述处理模块处理对应的待处理子任务并得到子任务处理结果包括:通过所述主线程创建多个worker线程;通过各所述worker线程分别调用处理模块接口,并行通过各所述处理模块处理对应的待处理子任务并得到子任务处理结果。
- 根据权利要求1至8中任意一项所述的方法,其中,所述基于各所述子任务处理结果确定待处理任务的任务处理结果包括:通过所述主线程获取各所述子任务处理结果,并将各所述子任务处理结果添加到前端页面中得到任务处理结果。
- 根据权利要求1至9中任意一项所述的方法,其中,所述子任务处理结果包括以下文本信息的至少两个:人脸检测框坐标、头发检测框坐标、嘴唇检测框坐标以及指甲检测框坐标;所述任务处理结果为包括各所述子任务处理结果的文本信息。
- 根据权利要求1至9中任意一项所述的方法,其中,所述子任务处理结果包括以下已标记的图像信息的至少两个:具有人脸检测框的图像数据、具有头发检测框的图像数据、具有嘴唇检测框的图像数据以及具有指甲检测框的图像数据;所述任务处理结果为具有叠加图像信息的前端页面,所述叠加图像信息为包括人脸检测框、头发检测框、嘴唇检测框和指甲检测框中至少两种检测框的图像数据,或者为包括叠加人脸检测框、头发检测框、嘴唇检测框和指甲检测框中至少两种检测框得到的至少一个对象检测框的图像数据。
- 一种任务处理装置,所述装置包括:任务确定部分,被配置为获取待处理任务,所述待处理任务中包括待处理数据;任务分割部分,被配置为通过主线程根据至少两个处理模块的功能分割所述待处理任务,得到至少两个待处理子任务,各所述待处理子任务分别对应一个处理模块且包括至少部分所述待处理数据,各所述处理模块分别用于处理不同的待处理子任务;任务处理部分,被配置为通过多个子线程分别调用处理模块接口,并行通过各所述处理模块处理对应的待处理子任务并得到子任务处理结果;结果确定部分,被配置为基于各所述子任务处理结果确定待处理任务的任务处理结果。
- 一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至11中任意一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现权利要求1至11中任意一项所述的方法。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至11中任意一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111137684.6 | 2021-09-27 | ||
| CN202111137684.6A CN113806054A (zh) | 2021-09-27 | 2021-09-27 | 任务处理方法及装置、电子设备和存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023045207A1 true WO2023045207A1 (zh) | 2023-03-30 |
Family
ID=78938604
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/075002 Ceased WO2023045207A1 (zh) | 2021-09-27 | 2022-01-29 | 任务处理方法及装置、电子设备、存储介质和计算机程序 |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN113806054A (zh) |
| TW (1) | TW202314496A (zh) |
| WO (1) | WO2023045207A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116126547A (zh) * | 2023-04-18 | 2023-05-16 | 邦邦汽车销售服务(北京)有限公司 | 一种车辆数据处理方法及系统 |
| CN116739090A (zh) * | 2023-05-12 | 2023-09-12 | 北京大学 | 基于Web浏览器的深度神经网络推理度量方法和装置 |
| CN117217279A (zh) * | 2023-09-13 | 2023-12-12 | 安谋科技(中国)有限公司 | 模型切分方法、装置、电子设备及计算机存储介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113806054A (zh) * | 2021-09-27 | 2021-12-17 | 北京市商汤科技开发有限公司 | 任务处理方法及装置、电子设备和存储介质 |
| CN114445427A (zh) * | 2022-01-28 | 2022-05-06 | 北京大甜绵白糖科技有限公司 | 图像处理方法、装置、电子设备及存储介质 |
| CN114546624B (zh) * | 2022-03-01 | 2024-04-09 | 清华大学 | 任务处理方法及装置、电子设备和存储介质 |
| CN114612287B (zh) * | 2022-03-18 | 2025-04-01 | 北京小米移动软件有限公司 | 图像处理方法、装置及存储介质 |
| CN115658325B (zh) * | 2022-11-18 | 2024-01-23 | 北京市大数据中心 | 数据处理方法、装置、多核处理器、电子设备以及介质 |
| CN118115717A (zh) * | 2022-11-30 | 2024-05-31 | 北京罗克维尔斯科技有限公司 | 数据处理方法、装置、设备及介质 |
| KR102832666B1 (ko) * | 2024-06-12 | 2025-07-11 | 쿠팡 주식회사 | 이벤트에 대응되는 복수의 태스크를 동적으로 연결하는 방법, 기록 매체 및 장치 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111881401A (zh) * | 2020-08-04 | 2020-11-03 | 浪潮云信息技术股份公司 | 基于WebAssembly的浏览器深度学习方法及系统 |
| US20210097383A1 (en) * | 2019-09-30 | 2021-04-01 | International Business Machines Corporation | Combined Data Pre-Process And Architecture Search For Deep Learning Models |
| CN112650502A (zh) * | 2020-12-31 | 2021-04-13 | 广州方硅信息技术有限公司 | 批处理任务处理方法、装置、计算机设备和存储介质 |
| CN113034659A (zh) * | 2021-05-24 | 2021-06-25 | 成都天锐星通科技有限公司 | 三维渲染数据处理方法、装置、电子设备和可读存储介质 |
| CN113298692A (zh) * | 2021-05-21 | 2021-08-24 | 北京索为云网科技有限公司 | 终端的位姿跟踪方法、ar渲染方法、设备及存储介质 |
| CN113806054A (zh) * | 2021-09-27 | 2021-12-17 | 北京市商汤科技开发有限公司 | 任务处理方法及装置、电子设备和存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11494987B2 (en) * | 2018-09-06 | 2022-11-08 | 8th Wall Inc. | Providing augmented reality in a web browser |
| CN112437343B (zh) * | 2020-05-15 | 2021-09-17 | 上海哔哩哔哩科技有限公司 | 基于浏览器的封面生成方法和系统 |
| CN111860253B (zh) * | 2020-07-10 | 2024-11-08 | 广东正扬传感科技股份有限公司 | 一种驾驶场景的多任务属性识别方法、装置、介质及设备 |
| CN112257135B (zh) * | 2020-10-30 | 2023-09-05 | 久瓴(上海)智能科技有限公司 | 一种基于多线程的模型加载方法、装置、存储介质及终端 |
| CN112905347A (zh) * | 2021-03-04 | 2021-06-04 | 北京澎思科技有限公司 | 数据处理方法、设备及存储介质 |
| CN113221771B (zh) * | 2021-05-18 | 2023-08-04 | 北京百度网讯科技有限公司 | 活体人脸识别方法、装置、设备、存储介质及程序产品 |
-
2021
- 2021-09-27 CN CN202111137684.6A patent/CN113806054A/zh active Pending
-
2022
- 2022-01-29 WO PCT/CN2022/075002 patent/WO2023045207A1/zh not_active Ceased
- 2022-05-06 TW TW111117088A patent/TW202314496A/zh unknown
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210097383A1 (en) * | 2019-09-30 | 2021-04-01 | International Business Machines Corporation | Combined Data Pre-Process And Architecture Search For Deep Learning Models |
| CN111881401A (zh) * | 2020-08-04 | 2020-11-03 | 浪潮云信息技术股份公司 | 基于WebAssembly的浏览器深度学习方法及系统 |
| CN112650502A (zh) * | 2020-12-31 | 2021-04-13 | 广州方硅信息技术有限公司 | 批处理任务处理方法、装置、计算机设备和存储介质 |
| CN113298692A (zh) * | 2021-05-21 | 2021-08-24 | 北京索为云网科技有限公司 | 终端的位姿跟踪方法、ar渲染方法、设备及存储介质 |
| CN113034659A (zh) * | 2021-05-24 | 2021-06-25 | 成都天锐星通科技有限公司 | 三维渲染数据处理方法、装置、电子设备和可读存储介质 |
| CN113806054A (zh) * | 2021-09-27 | 2021-12-17 | 北京市商汤科技开发有限公司 | 任务处理方法及装置、电子设备和存储介质 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116126547A (zh) * | 2023-04-18 | 2023-05-16 | 邦邦汽车销售服务(北京)有限公司 | 一种车辆数据处理方法及系统 |
| CN116739090A (zh) * | 2023-05-12 | 2023-09-12 | 北京大学 | 基于Web浏览器的深度神经网络推理度量方法和装置 |
| CN116739090B (zh) * | 2023-05-12 | 2023-11-28 | 北京大学 | 基于Web浏览器的深度神经网络推理度量方法和装置 |
| CN117217279A (zh) * | 2023-09-13 | 2023-12-12 | 安谋科技(中国)有限公司 | 模型切分方法、装置、电子设备及计算机存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113806054A (zh) | 2021-12-17 |
| TW202314496A (zh) | 2023-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW202314496A (zh) | 任務處理方法及電子設備、電腦可讀儲存媒體 | |
| CN106385591B (zh) | 视频处理方法及视频处理装置 | |
| US12425716B2 (en) | Content capture with audio input feedback | |
| CN111626183B (zh) | 一种目标对象展示方法及装置、电子设备和存储介质 | |
| JP7395070B1 (ja) | ビデオ処理方法及び装置、電子設備及びコンピュータ読み取り可能な記憶媒体 | |
| CN110929616B (zh) | 一种人手识别方法、装置、电子设备和存储介质 | |
| CN111241887B (zh) | 目标对象关键点识别方法及装置、电子设备和存储介质 | |
| JP2023510443A (ja) | ラベリング方法及び装置、電子機器並びに記憶媒体 | |
| WO2016106997A1 (zh) | 屏幕截图方法及装置、移动终端 | |
| WO2023051356A1 (zh) | 一种虚拟对象的显示方法及装置、电子设备和存储介质 | |
| CN114581525B (zh) | 姿态确定方法及装置、电子设备和存储介质 | |
| WO2022188305A1 (zh) | 信息展示方法及装置、电子设备、存储介质及计算机程序 | |
| CN112613447B (zh) | 关键点检测方法及装置、电子设备和存储介质 | |
| CN114266305A (zh) | 对象识别方法及装置、电子设备和存储介质 | |
| WO2020034763A1 (zh) | 手势识别方法、手势处理方法及装置 | |
| CN112669198A (zh) | 图像特效的处理方法、装置、电子设备和存储介质 | |
| CN110619325A (zh) | 一种文本识别方法及装置 | |
| WO2023142645A1 (zh) | 图像处理方法、装置、电子设备、存储介质和计算机程序产品 | |
| WO2023273498A1 (zh) | 深度检测方法及装置、电子设备和存储介质 | |
| WO2022151687A1 (zh) | 合影图像生成方法、装置、设备、存储介质、计算机程序及产品 | |
| CN114638817B (zh) | 一种图像分割方法及装置、电子设备和存储介质 | |
| CN111753596B (zh) | 神经网络的训练方法及装置、电子设备和存储介质 | |
| CN115471647A (zh) | 位姿估计方法及装置、电子设备和存储介质 | |
| CN106604101A (zh) | 直播互动的方法及装置 | |
| CN114638949A (zh) | 虚拟对象显示方法及装置、电子设备和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22871274 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22871274 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22871274 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.11.2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22871274 Country of ref document: EP Kind code of ref document: A1 |